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
Update expected results for duplicate column names fix
Queries that previously failed with "Projections require unique
expression names" now succeed after the duplicate column names fix
(apache/datafusion#21126). Updated ~39,706 query blocks across 279
files from query error to expected results.
Generated using --complete mode with a post-processing script to
preserve valuewise format and correct hash values.
Copy file name to clipboardExpand all lines: data/sqlite/index/random/10/slt_good_0.slt
+50-20Lines changed: 50 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -17977,28 +17977,38 @@ SELECT * FROM tab4 cor0 WHERE - CAST ( NULL AS INTEGER ) + col4 + - + 93 >= col3
17977
17977
17978
17978
# Datafusion - Datafusion expected results:
17979
17979
# Datafusion - Expected - 30 values hashing to 5f81150a056dd7191789a1ad7f86171e
17980
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(13\) AS col0" at position 1 and "\(\- \(\- cor0\.col3\)\) AS col0" at position 2 have the same name\. Consider aliasing \("AS"\) one of them\.
17980
+
query TII valuesort
17981
17981
SELECT col5 AS col2, 13 AS col0, - - col3 AS col0 FROM tab0 AS cor0 WHERE + col4 > + 12
17982
+
----
17983
+
30 values hashing to df4f53dd191885cda56262255e3cf796
17982
17984
17983
17985
# Datafusion - Datafusion expected results:
17984
17986
# Datafusion - Expected - 30 values hashing to 5f81150a056dd7191789a1ad7f86171e
17985
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(13\) AS col0" at position 1 and "\(\- \(\- cor0\.col3\)\) AS col0" at position 2 have the same name\. Consider aliasing \("AS"\) one of them\.
17987
+
query TII valuesort
17986
17988
SELECT col5 AS col2, 13 AS col0, - - col3 AS col0 FROM tab1 AS cor0 WHERE + col4 > + 12
17989
+
----
17990
+
30 values hashing to df4f53dd191885cda56262255e3cf796
17987
17991
17988
17992
# Datafusion - Datafusion expected results:
17989
17993
# Datafusion - Expected - 30 values hashing to 5f81150a056dd7191789a1ad7f86171e
17990
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(13\) AS col0" at position 1 and "\(\- \(\- cor0\.col3\)\) AS col0" at position 2 have the same name\. Consider aliasing \("AS"\) one of them\.
17994
+
query TII valuesort
17991
17995
SELECT col5 AS col2, 13 AS col0, - - col3 AS col0 FROM tab2 AS cor0 WHERE + col4 > + 12
17996
+
----
17997
+
30 values hashing to df4f53dd191885cda56262255e3cf796
17992
17998
17993
17999
# Datafusion - Datafusion expected results:
17994
18000
# Datafusion - Expected - 30 values hashing to 5f81150a056dd7191789a1ad7f86171e
17995
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(13\) AS col0" at position 1 and "\(\- \(\- cor0\.col3\)\) AS col0" at position 2 have the same name\. Consider aliasing \("AS"\) one of them\.
18001
+
query TII valuesort
17996
18002
SELECT col5 AS col2, 13 AS col0, - - col3 AS col0 FROM tab3 AS cor0 WHERE + col4 > + 12
18003
+
----
18004
+
30 values hashing to df4f53dd191885cda56262255e3cf796
17997
18005
17998
18006
# Datafusion - Datafusion expected results:
17999
18007
# Datafusion - Expected - 30 values hashing to 5f81150a056dd7191789a1ad7f86171e
18000
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(13\) AS col0" at position 1 and "\(\- \(\- cor0\.col3\)\) AS col0" at position 2 have the same name\. Consider aliasing \("AS"\) one of them\.
18008
+
query TII valuesort
18001
18009
SELECT col5 AS col2, 13 AS col0, - - col3 AS col0 FROM tab4 AS cor0 WHERE + col4 > + 12
18010
+
----
18011
+
30 values hashing to df4f53dd191885cda56262255e3cf796
18002
18012
18003
18013
# Datafusion - Types were automatically converted from:
18004
18014
# Datafusion - [Expected] III[I][I][I][I]
@@ -34456,24 +34466,29 @@ SELECT * FROM tab4 WHERE - 29 IS NULL
34456
34466
----
34457
34467
34458
34468
# Datafusion - Datafusion expected results:
34459
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- tab0\.col0\) AS col2" at position 0 and "Int64\(53\) AS col2" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
34469
+
query II valuesort
34460
34470
SELECT DISTINCT - col0 AS col2, + 53 AS col2 FROM tab0 WHERE + 88 * col0 <= NULL
34471
+
----
34461
34472
34462
34473
# Datafusion - Datafusion expected results:
34463
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- tab1\.col0\) AS col2" at position 0 and "Int64\(53\) AS col2" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
34474
+
query II valuesort
34464
34475
SELECT DISTINCT - col0 AS col2, + 53 AS col2 FROM tab1 WHERE + 88 * col0 <= NULL
34476
+
----
34465
34477
34466
34478
# Datafusion - Datafusion expected results:
34467
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- tab2\.col0\) AS col2" at position 0 and "Int64\(53\) AS col2" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
34479
+
query II valuesort
34468
34480
SELECT DISTINCT - col0 AS col2, + 53 AS col2 FROM tab2 WHERE + 88 * col0 <= NULL
34481
+
----
34469
34482
34470
34483
# Datafusion - Datafusion expected results:
34471
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- tab3\.col0\) AS col2" at position 0 and "Int64\(53\) AS col2" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
34484
+
query II valuesort
34472
34485
SELECT DISTINCT - col0 AS col2, + 53 AS col2 FROM tab3 WHERE + 88 * col0 <= NULL
34486
+
----
34473
34487
34474
34488
# Datafusion - Datafusion expected results:
34475
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- tab4\.col0\) AS col2" at position 0 and "Int64\(53\) AS col2" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
34489
+
query II valuesort
34476
34490
SELECT DISTINCT - col0 AS col2, + 53 AS col2 FROM tab4 WHERE + 88 * col0 <= NULL
34491
+
----
34477
34492
34478
34493
# Datafusion - Types were automatically converted from:
34479
34494
# Datafusion - [Expected] [I]
@@ -36142,28 +36157,38 @@ SELECT - + col3 FROM tab4 AS cor0 WHERE NOT + col4 IS NOT NULL
36142
36157
36143
36158
# Datafusion - Datafusion expected results:
36144
36159
# Datafusion - Expected - 20 values hashing to 6a9e76a1a58a455ff0a67da846d2df3d
36145
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-8\) AS col5" at position 0 and "Int64\(0\) \* \(\- cor0\.col0\) \* Int64\(57\) \- cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
36160
+
query II valuesort
36146
36161
SELECT - 8 AS col5, + 0 * - col0 * 57 - + col3 AS col5 FROM tab0 AS cor0 WHERE NOT NULL IS NOT NULL
36162
+
----
36163
+
20 values hashing to f32e8b3810a864cd772906b9c7348f15
36147
36164
36148
36165
# Datafusion - Datafusion expected results:
36149
36166
# Datafusion - Expected - 20 values hashing to 6a9e76a1a58a455ff0a67da846d2df3d
36150
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-8\) AS col5" at position 0 and "Int64\(0\) \* \(\- cor0\.col0\) \* Int64\(57\) \- cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
36167
+
query II valuesort
36151
36168
SELECT - 8 AS col5, + 0 * - col0 * 57 - + col3 AS col5 FROM tab1 AS cor0 WHERE NOT NULL IS NOT NULL
36169
+
----
36170
+
20 values hashing to f32e8b3810a864cd772906b9c7348f15
36152
36171
36153
36172
# Datafusion - Datafusion expected results:
36154
36173
# Datafusion - Expected - 20 values hashing to 6a9e76a1a58a455ff0a67da846d2df3d
36155
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-8\) AS col5" at position 0 and "Int64\(0\) \* \(\- cor0\.col0\) \* Int64\(57\) \- cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
36174
+
query II valuesort
36156
36175
SELECT - 8 AS col5, + 0 * - col0 * 57 - + col3 AS col5 FROM tab2 AS cor0 WHERE NOT NULL IS NOT NULL
36176
+
----
36177
+
20 values hashing to f32e8b3810a864cd772906b9c7348f15
36157
36178
36158
36179
# Datafusion - Datafusion expected results:
36159
36180
# Datafusion - Expected - 20 values hashing to 6a9e76a1a58a455ff0a67da846d2df3d
36160
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-8\) AS col5" at position 0 and "Int64\(0\) \* \(\- cor0\.col0\) \* Int64\(57\) \- cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
36181
+
query II valuesort
36161
36182
SELECT - 8 AS col5, + 0 * - col0 * 57 - + col3 AS col5 FROM tab3 AS cor0 WHERE NOT NULL IS NOT NULL
36183
+
----
36184
+
20 values hashing to f32e8b3810a864cd772906b9c7348f15
36162
36185
36163
36186
# Datafusion - Datafusion expected results:
36164
36187
# Datafusion - Expected - 20 values hashing to 6a9e76a1a58a455ff0a67da846d2df3d
36165
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-8\) AS col5" at position 0 and "Int64\(0\) \* \(\- cor0\.col0\) \* Int64\(57\) \- cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
36188
+
query II valuesort
36166
36189
SELECT - 8 AS col5, + 0 * - col0 * 57 - + col3 AS col5 FROM tab4 AS cor0 WHERE NOT NULL IS NOT NULL
36190
+
----
36191
+
20 values hashing to f32e8b3810a864cd772906b9c7348f15
36167
36192
36168
36193
# Datafusion - Types were automatically converted from:
36169
36194
# Datafusion - [Expected] [I]
@@ -48351,24 +48376,29 @@ SELECT DISTINCT - CAST ( NULL AS INTEGER ) + col3 col5, 26 * 3 FROM tab4 AS cor0
48351
48376
----
48352
48377
48353
48378
# Datafusion - Datafusion expected results:
48354
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "tab0\.col4" at position 0 and "tab0\.col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
48379
+
query RR valuesort
48355
48380
SELECT + col4, col4 AS col4 FROM tab0 WHERE NOT ( NULL ) IS NULL
48381
+
----
48356
48382
48357
48383
# Datafusion - Datafusion expected results:
48358
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "tab1\.col4" at position 0 and "tab1\.col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
48384
+
query RR valuesort
48359
48385
SELECT + col4, col4 AS col4 FROM tab1 WHERE NOT ( NULL ) IS NULL
48386
+
----
48360
48387
48361
48388
# Datafusion - Datafusion expected results:
48362
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "tab2\.col4" at position 0 and "tab2\.col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
48389
+
query RR valuesort
48363
48390
SELECT + col4, col4 AS col4 FROM tab2 WHERE NOT ( NULL ) IS NULL
48391
+
----
48364
48392
48365
48393
# Datafusion - Datafusion expected results:
48366
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "tab3\.col4" at position 0 and "tab3\.col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
48394
+
query RR valuesort
48367
48395
SELECT + col4, col4 AS col4 FROM tab3 WHERE NOT ( NULL ) IS NULL
48396
+
----
48368
48397
48369
48398
# Datafusion - Datafusion expected results:
48370
-
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "tab4\.col4" at position 0 and "tab4\.col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
48399
+
query RR valuesort
48371
48400
SELECT + col4, col4 AS col4 FROM tab4 WHERE NOT ( NULL ) IS NULL
48401
+
----
48372
48402
48373
48403
query I rowsort label-7945
48374
48404
SELECT ALL col3 + + + 43 AS col4 FROM tab0 WHERE NULL IS NULL
0 commit comments