Skip to content
Merged
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
20 changes: 10 additions & 10 deletions data/sqlite/index/random/10/slt_good_1.slt
Original file line number Diff line number Diff line change
Expand Up @@ -27106,31 +27106,31 @@ SELECT DISTINCT + CAST ( NULL AS INTEGER ) * - col4 AS col4 FROM tab4 cor0 WHERE
# Datafusion - Datafusion expected results:
# Datafusion - Expected - 45
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(45\) AS col0" at position 0 and "count\(\*\) \- count\(\*\) 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\(45\) AS col0" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) \- count\(Int64\(1\)\) AS count\(\*\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT 45 AS col0, COUNT ( * ) - COUNT ( * ) col0 FROM tab0 WHERE 87 < - + col4

# Datafusion - Datafusion expected results:
# Datafusion - Expected - 45
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(45\) AS col0" at position 0 and "count\(\*\) \- count\(\*\) 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\(45\) AS col0" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) \- count\(Int64\(1\)\) AS count\(\*\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT 45 AS col0, COUNT ( * ) - COUNT ( * ) col0 FROM tab1 WHERE 87 < - + col4

# Datafusion - Datafusion expected results:
# Datafusion - Expected - 45
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(45\) AS col0" at position 0 and "count\(\*\) \- count\(\*\) 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\(45\) AS col0" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) \- count\(Int64\(1\)\) AS count\(\*\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT 45 AS col0, COUNT ( * ) - COUNT ( * ) col0 FROM tab2 WHERE 87 < - + col4

# Datafusion - Datafusion expected results:
# Datafusion - Expected - 45
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(45\) AS col0" at position 0 and "count\(\*\) \- count\(\*\) 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\(45\) AS col0" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) \- count\(Int64\(1\)\) AS count\(\*\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT 45 AS col0, COUNT ( * ) - COUNT ( * ) col0 FROM tab3 WHERE 87 < - + col4

# Datafusion - Datafusion expected results:
# Datafusion - Expected - 45
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(45\) AS col0" at position 0 and "count\(\*\) \- count\(\*\) 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\(45\) AS col0" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) \- count\(Int64\(1\)\) AS count\(\*\) AS col0" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT 45 AS col0, COUNT ( * ) - COUNT ( * ) col0 FROM tab4 WHERE 87 < - + col4

# Datafusion - Types were automatically converted from:
Expand Down Expand Up @@ -44761,31 +44761,31 @@ SELECT * FROM tab4 AS cor0 WHERE 85 * - col1 IS NULL
# Datafusion - Datafusion expected results:
# Datafusion - Expected - 0
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- count\(\*\)\)" at position 0 and "\(\- count\(\*\)\)" 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 "\(\- count\(Int64\(1\)\) AS count\(\*\)\)" at position 0 and "\(\- count\(Int64\(1\)\) AS count\(\*\)\)" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT ALL + - COUNT ( * ), - COUNT ( * ) FROM tab0 WHERE NULL IS NOT NULL

# Datafusion - Datafusion expected results:
# Datafusion - Expected - 0
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- count\(\*\)\)" at position 0 and "\(\- count\(\*\)\)" 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 "\(\- count\(Int64\(1\)\) AS count\(\*\)\)" at position 0 and "\(\- count\(Int64\(1\)\) AS count\(\*\)\)" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT ALL + - COUNT ( * ), - COUNT ( * ) FROM tab1 WHERE NULL IS NOT NULL

# Datafusion - Datafusion expected results:
# Datafusion - Expected - 0
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- count\(\*\)\)" at position 0 and "\(\- count\(\*\)\)" 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 "\(\- count\(Int64\(1\)\) AS count\(\*\)\)" at position 0 and "\(\- count\(Int64\(1\)\) AS count\(\*\)\)" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT ALL + - COUNT ( * ), - COUNT ( * ) FROM tab2 WHERE NULL IS NOT NULL

# Datafusion - Datafusion expected results:
# Datafusion - Expected - 0
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- count\(\*\)\)" at position 0 and "\(\- count\(\*\)\)" 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 "\(\- count\(Int64\(1\)\) AS count\(\*\)\)" at position 0 and "\(\- count\(Int64\(1\)\) AS count\(\*\)\)" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT ALL + - COUNT ( * ), - COUNT ( * ) FROM tab3 WHERE NULL IS NOT NULL

# Datafusion - Datafusion expected results:
# Datafusion - Expected - 0
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "\(\- count\(\*\)\)" at position 0 and "\(\- count\(\*\)\)" 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 "\(\- count\(Int64\(1\)\) AS count\(\*\)\)" at position 0 and "\(\- count\(Int64\(1\)\) AS count\(\*\)\)" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT ALL + - COUNT ( * ), - COUNT ( * ) FROM tab4 WHERE NULL IS NOT NULL

# Datafusion - Types were automatically converted from:
Expand Down
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 @@ -8211,31 +8211,31 @@ SELECT + 89 FROM tab4 AS cor0 WHERE NULL >= + col4
# Datafusion - Datafusion expected results:
# Datafusion - Expected - -59
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-59\) AS col5" at position 0 and "count\(\*\) 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 "Int64\(\-59\) AS col5" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT ALL - 59 col5, + COUNT ( * ) AS col5 FROM tab0 AS cor0 WHERE 71 / - col0 >= NULL

# Datafusion - Datafusion expected results:
# Datafusion - Expected - -59
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-59\) AS col5" at position 0 and "count\(\*\) 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 "Int64\(\-59\) AS col5" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT ALL - 59 col5, + COUNT ( * ) AS col5 FROM tab1 AS cor0 WHERE 71 / - col0 >= NULL

# Datafusion - Datafusion expected results:
# Datafusion - Expected - -59
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-59\) AS col5" at position 0 and "count\(\*\) 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 "Int64\(\-59\) AS col5" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT ALL - 59 col5, + COUNT ( * ) AS col5 FROM tab2 AS cor0 WHERE 71 / - col0 >= NULL

# Datafusion - Datafusion expected results:
# Datafusion - Expected - -59
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-59\) AS col5" at position 0 and "count\(\*\) 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 "Int64\(\-59\) AS col5" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT ALL - 59 col5, + COUNT ( * ) AS col5 FROM tab3 AS cor0 WHERE 71 / - col0 >= NULL

# Datafusion - Datafusion expected results:
# Datafusion - Expected - -59
# Datafusion - Expected - 0
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-59\) AS col5" at position 0 and "count\(\*\) 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 "Int64\(\-59\) AS col5" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) AS col5" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT ALL - 59 col5, + COUNT ( * ) AS col5 FROM tab4 AS cor0 WHERE 71 / - col0 >= NULL

# Datafusion - Types were automatically converted from:
Expand Down
20 changes: 10 additions & 10 deletions data/sqlite/index/random/10/slt_good_11.slt
Original file line number Diff line number Diff line change
Expand Up @@ -25669,31 +25669,31 @@ SELECT 79 - + ( + 20 ) * + col3 AS col4 FROM tab4 AS cor0 WHERE col4 IS NOT NULL
# Datafusion - Datafusion expected results:
# Datafusion - Expected - 0
# Datafusion - Expected - 7
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "count\(\*\) AS col4" at position 0 and "Int64\(7\) 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 "count\(Int64\(1\)\) AS count\(\*\) AS col4" at position 0 and "Int64\(7\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT + COUNT ( * ) AS col4, 7 AS col4 FROM tab0 WHERE NOT NULL >= + col1

# Datafusion - Datafusion expected results:
# Datafusion - Expected - 0
# Datafusion - Expected - 7
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "count\(\*\) AS col4" at position 0 and "Int64\(7\) 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 "count\(Int64\(1\)\) AS count\(\*\) AS col4" at position 0 and "Int64\(7\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT + COUNT ( * ) AS col4, 7 AS col4 FROM tab1 WHERE NOT NULL >= + col1

# Datafusion - Datafusion expected results:
# Datafusion - Expected - 0
# Datafusion - Expected - 7
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "count\(\*\) AS col4" at position 0 and "Int64\(7\) 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 "count\(Int64\(1\)\) AS count\(\*\) AS col4" at position 0 and "Int64\(7\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT + COUNT ( * ) AS col4, 7 AS col4 FROM tab2 WHERE NOT NULL >= + col1

# Datafusion - Datafusion expected results:
# Datafusion - Expected - 0
# Datafusion - Expected - 7
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "count\(\*\) AS col4" at position 0 and "Int64\(7\) 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 "count\(Int64\(1\)\) AS count\(\*\) AS col4" at position 0 and "Int64\(7\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT + COUNT ( * ) AS col4, 7 AS col4 FROM tab3 WHERE NOT NULL >= + col1

# Datafusion - Datafusion expected results:
# Datafusion - Expected - 0
# Datafusion - Expected - 7
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "count\(\*\) AS col4" at position 0 and "Int64\(7\) 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 "count\(Int64\(1\)\) AS count\(\*\) AS col4" at position 0 and "Int64\(7\) AS col4" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT + COUNT ( * ) AS col4, 7 AS col4 FROM tab4 WHERE NOT NULL >= + col1

query I rowsort label-4190
Expand Down Expand Up @@ -28644,31 +28644,31 @@ SELECT col4 FROM tab4 AS cor0 WHERE NULL < NULL
# Datafusion - Datafusion expected results:
# Datafusion - Expected - -78
# Datafusion - Expected - 10
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-78\) AS col2" at position 0 and "count\(\*\) AS col2" 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\(\-78\) AS col2" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) AS col2" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT DISTINCT - 78 AS col2, COUNT ( * ) AS col2 FROM tab0 AS cor0 WHERE NOT NULL IS NOT NULL

# Datafusion - Datafusion expected results:
# Datafusion - Expected - -78
# Datafusion - Expected - 10
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-78\) AS col2" at position 0 and "count\(\*\) AS col2" 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\(\-78\) AS col2" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) AS col2" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT DISTINCT - 78 AS col2, COUNT ( * ) AS col2 FROM tab1 AS cor0 WHERE NOT NULL IS NOT NULL

# Datafusion - Datafusion expected results:
# Datafusion - Expected - -78
# Datafusion - Expected - 10
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-78\) AS col2" at position 0 and "count\(\*\) AS col2" 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\(\-78\) AS col2" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) AS col2" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT DISTINCT - 78 AS col2, COUNT ( * ) AS col2 FROM tab2 AS cor0 WHERE NOT NULL IS NOT NULL

# Datafusion - Datafusion expected results:
# Datafusion - Expected - -78
# Datafusion - Expected - 10
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-78\) AS col2" at position 0 and "count\(\*\) AS col2" 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\(\-78\) AS col2" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) AS col2" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT DISTINCT - 78 AS col2, COUNT ( * ) AS col2 FROM tab3 AS cor0 WHERE NOT NULL IS NOT NULL

# Datafusion - Datafusion expected results:
# Datafusion - Expected - -78
# Datafusion - Expected - 10
query error DataFusion error: Error during planning: Projections require unique expression names but the expression "Int64\(\-78\) AS col2" at position 0 and "count\(\*\) AS col2" 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\(\-78\) AS col2" at position 0 and "count\(Int64\(1\)\) AS count\(\*\) AS col2" at position 1 have the same name\. Consider aliasing \("AS"\) one of them\.
SELECT DISTINCT - 78 AS col2, COUNT ( * ) AS col2 FROM tab4 AS cor0 WHERE NOT NULL IS NOT NULL

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