Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions data/sqlite/index/random/10/slt_good_10.slt
Original file line number Diff line number Diff line change
Expand Up @@ -48504,23 +48504,23 @@ SELECT * FROM tab4 WHERE + 54 - col4 IS NULL
----

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(NULL AS Int32\) \* \(\- cor0\.col0\) AS col3" at position 0 and "cor0\.col1 AS col3" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(NULL AS Int64\) \* \(\- cor0\.col0\) AS col3" at position 0 and "cor0\.col1 AS col3" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT DISTINCT CAST ( NULL AS INTEGER ) * + - col0 col3, + col1 AS col3 FROM tab0 AS cor0 WHERE NOT NULL IS NULL

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(NULL AS Int32\) \* \(\- cor0\.col0\) AS col3" at position 0 and "cor0\.col1 AS col3" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(NULL AS Int64\) \* \(\- cor0\.col0\) AS col3" at position 0 and "cor0\.col1 AS col3" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT DISTINCT CAST ( NULL AS INTEGER ) * + - col0 col3, + col1 AS col3 FROM tab1 AS cor0 WHERE NOT NULL IS NULL

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(NULL AS Int32\) \* \(\- cor0\.col0\) AS col3" at position 0 and "cor0\.col1 AS col3" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(NULL AS Int64\) \* \(\- cor0\.col0\) AS col3" at position 0 and "cor0\.col1 AS col3" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT DISTINCT CAST ( NULL AS INTEGER ) * + - col0 col3, + col1 AS col3 FROM tab2 AS cor0 WHERE NOT NULL IS NULL

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(NULL AS Int32\) \* \(\- cor0\.col0\) AS col3" at position 0 and "cor0\.col1 AS col3" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(NULL AS Int64\) \* \(\- cor0\.col0\) AS col3" at position 0 and "cor0\.col1 AS col3" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT DISTINCT CAST ( NULL AS INTEGER ) * + - col0 col3, + col1 AS col3 FROM tab3 AS cor0 WHERE NOT NULL IS NULL

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(NULL AS Int32\) \* \(\- cor0\.col0\) AS col3" at position 0 and "cor0\.col1 AS col3" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(NULL AS Int64\) \* \(\- cor0\.col0\) AS col3" at position 0 and "cor0\.col1 AS col3" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT DISTINCT CAST ( NULL AS INTEGER ) * + - col0 col3, + col1 AS col3 FROM tab4 AS cor0 WHERE NOT NULL IS NULL

query I rowsort label-7980
Expand Down
10 changes: 5 additions & 5 deletions data/sqlite/index/random/10/slt_good_13.slt
Original file line number Diff line number Diff line change
Expand Up @@ -16521,23 +16521,23 @@ SELECT ALL * FROM tab4 AS cor0 WHERE col1 IN ( col0 )
----

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(\(\- \(\- cor0\.col1\)\) AS Int32\) \* cor0\.col0 \+ \(\- Int64\(\-2\)\) AS col4" at position 0 and "Int64\(60\) \+ \(\- \(\- cor0\.col4\)\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(\(\- \(\- cor0\.col1\)\) AS Int64\) \* cor0\.col0 \+ \(\- Int64\(\-2\)\) AS col4" at position 0 and "Int64\(60\) \+ \(\- \(\- cor0\.col4\)\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT CAST ( - - col1 AS INTEGER ) * + col0 + - - 2 AS col4, 60 + - - col4 col4 FROM tab0 AS cor0 WHERE ( NOT 92 IS NOT NULL )

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(\(\- \(\- cor0\.col1\)\) AS Int32\) \* cor0\.col0 \+ \(\- Int64\(\-2\)\) AS col4" at position 0 and "Int64\(60\) \+ \(\- \(\- cor0\.col4\)\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(\(\- \(\- cor0\.col1\)\) AS Int64\) \* cor0\.col0 \+ \(\- Int64\(\-2\)\) AS col4" at position 0 and "Int64\(60\) \+ \(\- \(\- cor0\.col4\)\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT CAST ( - - col1 AS INTEGER ) * + col0 + - - 2 AS col4, 60 + - - col4 col4 FROM tab1 AS cor0 WHERE ( NOT 92 IS NOT NULL )

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(\(\- \(\- cor0\.col1\)\) AS Int32\) \* cor0\.col0 \+ \(\- Int64\(\-2\)\) AS col4" at position 0 and "Int64\(60\) \+ \(\- \(\- cor0\.col4\)\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(\(\- \(\- cor0\.col1\)\) AS Int64\) \* cor0\.col0 \+ \(\- Int64\(\-2\)\) AS col4" at position 0 and "Int64\(60\) \+ \(\- \(\- cor0\.col4\)\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT CAST ( - - col1 AS INTEGER ) * + col0 + - - 2 AS col4, 60 + - - col4 col4 FROM tab2 AS cor0 WHERE ( NOT 92 IS NOT NULL )

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(\(\- \(\- cor0\.col1\)\) AS Int32\) \* cor0\.col0 \+ \(\- Int64\(\-2\)\) AS col4" at position 0 and "Int64\(60\) \+ \(\- \(\- cor0\.col4\)\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(\(\- \(\- cor0\.col1\)\) AS Int64\) \* cor0\.col0 \+ \(\- Int64\(\-2\)\) AS col4" at position 0 and "Int64\(60\) \+ \(\- \(\- cor0\.col4\)\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT CAST ( - - col1 AS INTEGER ) * + col0 + - - 2 AS col4, 60 + - - col4 col4 FROM tab3 AS cor0 WHERE ( NOT 92 IS NOT NULL )

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(\(\- \(\- cor0\.col1\)\) AS Int32\) \* cor0\.col0 \+ \(\- Int64\(\-2\)\) AS col4" at position 0 and "Int64\(60\) \+ \(\- \(\- cor0\.col4\)\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "CAST\(\(\- \(\- cor0\.col1\)\) AS Int64\) \* cor0\.col0 \+ \(\- Int64\(\-2\)\) AS col4" at position 0 and "Int64\(60\) \+ \(\- \(\- cor0\.col4\)\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT CAST ( - - col1 AS INTEGER ) * + col0 + - - 2 AS col4, 60 + - - col4 col4 FROM tab4 AS cor0 WHERE ( NOT 92 IS NOT NULL )

# Datafusion - Types were automatically converted from:
Expand Down
10 changes: 5 additions & 5 deletions data/sqlite/index/random/10/slt_good_4.slt
Original file line number Diff line number Diff line change
Expand Up @@ -41385,23 +41385,23 @@ query error DataFusion error: Schema error: Schema contains qualified field name
SELECT DISTINCT col0, - col0 col0 FROM tab4 AS cor0 WHERE NOT ( NULL ) >= NULL

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "cor0\.col4 AS col5" at position 0 and "CAST\(NULL AS Int32\) \* cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "cor0\.col4 AS col5" at position 0 and "CAST\(NULL AS Int64\) \* cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT + col4 AS col5, CAST ( NULL AS INTEGER ) * + + col3 AS col5 FROM tab0 AS cor0 WHERE NULL IS NOT NULL

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "cor0\.col4 AS col5" at position 0 and "CAST\(NULL AS Int32\) \* cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "cor0\.col4 AS col5" at position 0 and "CAST\(NULL AS Int64\) \* cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT + col4 AS col5, CAST ( NULL AS INTEGER ) * + + col3 AS col5 FROM tab1 AS cor0 WHERE NULL IS NOT NULL

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "cor0\.col4 AS col5" at position 0 and "CAST\(NULL AS Int32\) \* cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "cor0\.col4 AS col5" at position 0 and "CAST\(NULL AS Int64\) \* cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT + col4 AS col5, CAST ( NULL AS INTEGER ) * + + col3 AS col5 FROM tab2 AS cor0 WHERE NULL IS NOT NULL

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "cor0\.col4 AS col5" at position 0 and "CAST\(NULL AS Int32\) \* cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "cor0\.col4 AS col5" at position 0 and "CAST\(NULL AS Int64\) \* cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT + col4 AS col5, CAST ( NULL AS INTEGER ) * + + col3 AS col5 FROM tab3 AS cor0 WHERE NULL IS NOT NULL

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "cor0\.col4 AS col5" at position 0 and "CAST\(NULL AS Int32\) \* cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "cor0\.col4 AS col5" at position 0 and "CAST\(NULL AS Int64\) \* cor0\.col3 AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT + col4 AS col5, CAST ( NULL AS INTEGER ) * + + col3 AS col5 FROM tab4 AS cor0 WHERE NULL IS NOT NULL

# Datafusion - Types were automatically converted from:
Expand Down
20 changes: 10 additions & 10 deletions data/sqlite/index/random/10/slt_good_5.slt
Original file line number Diff line number Diff line change
Expand Up @@ -4449,23 +4449,23 @@ SELECT * FROM tab4 AS cor0 WHERE NULL = + 30
----

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(69\) \+ \(\- Int64\(9\)\) AS col0" at position 0 and "\(\- CAST\(NULL AS Int32\)\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(69\) \+ \(\- Int64\(9\)\) AS col0" at position 0 and "\(\- CAST\(NULL AS Int64\)\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT 69 + - + 9 AS col0, + ( + - CAST ( NULL AS INTEGER ) ) AS col0 FROM tab0 WHERE NOT col2 IS NOT NULL

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(69\) \+ \(\- Int64\(9\)\) AS col0" at position 0 and "\(\- CAST\(NULL AS Int32\)\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(69\) \+ \(\- Int64\(9\)\) AS col0" at position 0 and "\(\- CAST\(NULL AS Int64\)\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT 69 + - + 9 AS col0, + ( + - CAST ( NULL AS INTEGER ) ) AS col0 FROM tab1 WHERE NOT col2 IS NOT NULL

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(69\) \+ \(\- Int64\(9\)\) AS col0" at position 0 and "\(\- CAST\(NULL AS Int32\)\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(69\) \+ \(\- Int64\(9\)\) AS col0" at position 0 and "\(\- CAST\(NULL AS Int64\)\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT 69 + - + 9 AS col0, + ( + - CAST ( NULL AS INTEGER ) ) AS col0 FROM tab2 WHERE NOT col2 IS NOT NULL

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(69\) \+ \(\- Int64\(9\)\) AS col0" at position 0 and "\(\- CAST\(NULL AS Int32\)\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(69\) \+ \(\- Int64\(9\)\) AS col0" at position 0 and "\(\- CAST\(NULL AS Int64\)\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT 69 + - + 9 AS col0, + ( + - CAST ( NULL AS INTEGER ) ) AS col0 FROM tab3 WHERE NOT col2 IS NOT NULL

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(69\) \+ \(\- Int64\(9\)\) AS col0" at position 0 and "\(\- CAST\(NULL AS Int32\)\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(69\) \+ \(\- Int64\(9\)\) AS col0" at position 0 and "\(\- CAST\(NULL AS Int64\)\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT 69 + - + 9 AS col0, + ( + - CAST ( NULL AS INTEGER ) ) AS col0 FROM tab4 WHERE NOT col2 IS NOT NULL

# Datafusion - Types were automatically converted from:
Expand Down Expand Up @@ -41549,23 +41549,23 @@ SELECT ALL 1 + + 4 + + + col1 FROM tab4 cor0 WHERE NOT NULL BETWEEN col0 + CAST
----

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- CAST\(\(\- Int64\(13\)\) AS Int32\)\) AS col4" at position 0 and "cor0\.col1 AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- CAST\(\(\- Int64\(13\)\) AS Int64\)\) AS col4" at position 0 and "cor0\.col1 AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT - CAST ( - + 13 AS INTEGER ) AS col4, col1 col4 FROM tab0 cor0 WHERE NULL >= ( NULL )

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- CAST\(\(\- Int64\(13\)\) AS Int32\)\) AS col4" at position 0 and "cor0\.col1 AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- CAST\(\(\- Int64\(13\)\) AS Int64\)\) AS col4" at position 0 and "cor0\.col1 AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT - CAST ( - + 13 AS INTEGER ) AS col4, col1 col4 FROM tab1 cor0 WHERE NULL >= ( NULL )

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- CAST\(\(\- Int64\(13\)\) AS Int32\)\) AS col4" at position 0 and "cor0\.col1 AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- CAST\(\(\- Int64\(13\)\) AS Int64\)\) AS col4" at position 0 and "cor0\.col1 AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT - CAST ( - + 13 AS INTEGER ) AS col4, col1 col4 FROM tab2 cor0 WHERE NULL >= ( NULL )

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- CAST\(\(\- Int64\(13\)\) AS Int32\)\) AS col4" at position 0 and "cor0\.col1 AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- CAST\(\(\- Int64\(13\)\) AS Int64\)\) AS col4" at position 0 and "cor0\.col1 AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT - CAST ( - + 13 AS INTEGER ) AS col4, col1 col4 FROM tab3 cor0 WHERE NULL >= ( NULL )

# Datafusion - Datafusion expected results:
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- CAST\(\(\- Int64\(13\)\) AS Int32\)\) AS col4" at position 0 and "cor0\.col1 AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- CAST\(\(\- Int64\(13\)\) AS Int64\)\) AS col4" at position 0 and "cor0\.col1 AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT - CAST ( - + 13 AS INTEGER ) AS col4, col1 col4 FROM tab4 cor0 WHERE NULL >= ( NULL )

# Datafusion - Types were automatically converted from:
Expand Down
Loading