You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: datafusion/sqllogictest/test_files/explain.slt
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -411,3 +411,19 @@ logical_plan
411
411
physical_plan
412
412
01)ProjectionExec: expr=[{c0:1,c1:2.3,c2:abc} as struct(Int64(1),Float64(2.3),Utf8("abc"))]
413
413
02)--PlaceholderRowExec
414
+
415
+
416
+
statement ok
417
+
create table t1(a int);
418
+
419
+
statement ok
420
+
create table t2(b int);
421
+
422
+
query error DataFusion error: Error during planning: This feature is not implemented: Physical plan does not support logical expression Exists\(Exists \{ subquery: <subquery>, negated: false \}\)
423
+
explain select a from t1 where exists (select count(*) from t2);
Copy file name to clipboardExpand all lines: datafusion/sqllogictest/test_files/joins.slt
+2-24Lines changed: 2 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -4049,19 +4049,8 @@ physical_plan
4049
4049
4050
4050
4051
4051
# Test CROSS JOIN LATERAL syntax (planning)
4052
-
query TT
4052
+
query error DataFusion error: Error during planning: This feature is not implemented: Physical plan does not support logical expression OuterReferenceColumn\(UInt32, Column \{ relation: Some\(Bare \{ table: "t1" \}\), name: "t1_int" \}\)
4053
4053
explain select t1_id, t1_name, i from join_t1 t1 cross join lateral (select * from unnest(generate_series(1, t1_int))) as series(i);
08)----------Projection: generate_series(Int64(1), CAST(outer_ref(t1.t1_int) AS Int64)) AS unnest_placeholder(generate_series(Int64(1),outer_ref(t1.t1_int)))
4064
-
09)------------EmptyRelation
4065
4054
4066
4055
4067
4056
# Test CROSS JOIN LATERAL syntax (execution)
@@ -4071,19 +4060,8 @@ select t1_id, t1_name, i from join_t1 t1 cross join lateral (select * from unnes
4071
4060
4072
4061
4073
4062
# Test INNER JOIN LATERAL syntax (planning)
4074
-
query TT
4063
+
query error DataFusion error: Error during planning: This feature is not implemented: Physical plan does not support logical expression OuterReferenceColumn\(UInt32, Column \{ relation: Some\(Bare \{ table: "t2" \}\), name: "t1_int" \}\)
4075
4064
explain select t1_id, t1_name, i from join_t1 t2 inner join lateral (select * from unnest(generate_series(1, t1_int))) as series(i) on(t1_id > i);
4076
-
----
4077
-
logical_plan
4078
-
01)Inner Join: Filter: CAST(t2.t1_id AS Int64) > series.i
08)----------Projection: generate_series(Int64(1), CAST(outer_ref(t2.t1_int) AS Int64)) AS unnest_placeholder(generate_series(Int64(1),outer_ref(t2.t1_int)))
Copy file name to clipboardExpand all lines: datafusion/sqllogictest/test_files/update.slt
+5-42Lines changed: 5 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -26,50 +26,22 @@ create table t1(a int, b varchar, c double, d int);
26
26
statement ok
27
27
set datafusion.optimizer.max_passes = 0;
28
28
29
-
query TT
29
+
query error DataFusion error: Error during planning: This feature is not implemented: Unsupported logical plan: Dml\(Update\)
30
30
explain update t1 set a=1, b=2, c=3.0, d=NULL;
31
-
----
32
-
logical_plan
33
-
01)Dml: op=[Update] table=[t1]
34
-
02)--Projection: CAST(Int64(1) AS Int32) AS a, CAST(Int64(2) AS Utf8) AS b, Float64(3) AS c, CAST(NULL AS Int32) AS d
35
-
03)----TableScan: t1
36
31
37
-
query TT
32
+
query error DataFusion error: Error during planning: This feature is not implemented: Unsupported logical plan: Dml\(Update\)
38
33
explain update t1 set a=c+1, b=a, c=c+1.0, d=b;
39
-
----
40
-
logical_plan
41
-
01)Dml: op=[Update] table=[t1]
42
-
02)--Projection: CAST(t1.c + CAST(Int64(1) AS Float64) AS Int32) AS a, CAST(t1.a AS Utf8) AS b, t1.c + Float64(1) AS c, CAST(t1.b AS Int32) AS d
43
-
03)----TableScan: t1
44
34
45
35
statement ok
46
36
create table t2(a int, b varchar, c double, d int);
47
37
48
38
## set from subquery
49
-
query TT
39
+
query error DataFusion error: Error during planning: This feature is not implemented: Physical plan does not support logical expression ScalarSubquery\(<subquery>\)
50
40
explain update t1 set b = (select max(b) from t2 where t1.a = t2.a)
51
-
----
52
-
logical_plan
53
-
01)Dml: op=[Update] table=[t1]
54
-
02)--Projection: t1.a AS a, (<subquery>) AS b, t1.c AS c, t1.d AS d
0 commit comments