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
query error DataFusion error: This feature is not implemented: Unsupported CAST from Utf8 to Duration\(s\)
319
+
query error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*This feature is not implemented: Unsupported CAST from Utf8 to Duration\(s\)
query error DataFusion error: Arrow error: Cast error: Cannot cast to FixedSizeList\(4\): value at index 0 has length 3
409
+
query error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*Arrow error: Cast error: Cannot cast to FixedSizeList\(4\): value at index 0 has length 3
Copy file name to clipboardExpand all lines: datafusion/sqllogictest/test_files/cte.slt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -764,7 +764,7 @@ WITH RECURSIVE my_cte AS (
764
764
765
765
# Test issue: https://github.com/apache/datafusion/issues/9794
766
766
# Non-recursive term and recursive term have different types, and cannot be casted
767
-
query error DataFusion error: Arrow error: Cast error: Cannot cast string 'abc' to value of Int64 type
767
+
query error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*Arrow error: Cast error: Cannot cast string 'abc' to value of Int64 type
Copy file name to clipboardExpand all lines: datafusion/sqllogictest/test_files/errors.slt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,7 @@ SELECT
145
145
LIMIT 5;
146
146
147
147
148
-
query error DataFusion error: Arrow error: Cast error: Cannot cast string 'foo' to value of Int64 type
148
+
query error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*Arrow error: Cast error: Cannot cast string 'foo' to value of Int64 type
149
149
create table foo as values (1), ('foo');
150
150
151
151
query error DataFusion error: Error during planning: Substring without for/from is not valid
query error DataFusion error: Arrow error: Cast error: Cannot cast string 'ab' to value of Int64 type
158
+
query error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*Arrow error: Cast error: Cannot cast string 'ab' to value of Int64 type
query error DataFusion error: Arrow error: Cast error: Cannot cast string 'a' to value of Int64 type
526
+
query error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*Arrow error: Cast error: Cannot cast string 'a' to value of Int64 type
query error DataFusion error: Arrow error: Cast error: Cannot cast string 'a' to value of Int64 type
673
+
query error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*Arrow error: Cast error: Cannot cast string 'a' to value of Int64 type
query error DataFusion error: Arrow error: Cast error: Cannot cast string 'a' to value of Int64 type
724
+
query error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*Arrow error: Cast error: Cannot cast string 'a' to value of Int64 type
725
725
SELECT map_keys(MAP { 'a': 1, 2: 3 });
726
726
727
727
query ?
@@ -768,7 +768,7 @@ NULL
768
768
769
769
# Tests for map_values
770
770
771
-
query error DataFusion error: Arrow error: Cast error: Cannot cast string 'a' to value of Int64 type
771
+
query error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*Arrow error: Cast error: Cannot cast string 'a' to value of Int64 type
Copy file name to clipboardExpand all lines: datafusion/sqllogictest/test_files/nullif.slt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@ select nullif(1.0, 2);
112
112
----
113
113
1
114
114
115
-
query error DataFusion error: Arrow error: Cast error: Cannot cast string 'a' to value of Int64 type
115
+
query error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*Arrow error: Cast error: Cannot cast string 'a' to value of Int64 type
query error DataFusion error: Arrow error: Cast error: Cannot cast string 'a' to value of Float64 type
495
+
query error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*Arrow error: Cast error: Cannot cast string 'a' to value of Float64 type
496
496
create table t as values({r: 'a', c: 1}), ({c: 2.3, r: 'b'});
497
497
498
498
##################################
@@ -554,14 +554,14 @@ statement ok
554
554
drop table t;
555
555
556
556
# row() with incorrect order
557
-
statement error DataFusion error: Arrow error: Cast error: Cannot cast string 'blue' to value of Float32 type
558
-
create table t(a struct(r varchar, c int), b struct(r varchar, c float)) as values
557
+
statement error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*Arrow error: Cast error: Cannot cast string 'blue' to value of Float32 type
558
+
create table t(a struct(r varchar, c int), b struct(r varchar, c float)) as values
559
559
(row('red', 1), row(2.3, 'blue')),
560
560
(row('purple', 1), row('green', 2.3));
561
561
562
562
# out of order struct literal
563
563
# TODO: This query should not fail
564
-
statement error DataFusion error: Arrow error: Cast error: Cannot cast string 'b' to value of Int32 type
564
+
statement error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*Arrow error: Cast error: Cannot cast string 'b' to value of Int32 type
565
565
create table t(a struct(r varchar, c int)) as values ({r: 'a', c: 1}), ({c: 2, r: 'b'});
query error DataFusion error: Arrow error: Cast error: Cannot cast string 'not a time' to value of Time64\(ns\) type
694
+
query error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*Arrow error: Cast error: Cannot cast string 'not a time' to value of Time64\(ns\) type
695
695
SELECT TIME 'not a time' as time;
696
696
697
697
# invalid time
698
-
query error DataFusion error: Arrow error: Cast error: Cannot cast string '24:01:02' to value of Time64\(ns\) type
698
+
query error DataFusion error: Optimizer rule 'simplify_expressions' failed[\s\S]*Arrow error: Cast error: Cannot cast string '24:01:02' to value of Time64\(ns\) type
699
699
SELECT TIME '24:01:02' as time;
700
700
701
701
# invalid timezone
@@ -3271,7 +3271,7 @@ statement error The to_local_time function can only accept Timestamp as the arg
0 commit comments