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
98 changes: 49 additions & 49 deletions data/sqlite/random/groupby/slt_good_0.slt

Large diffs are not rendered by default.

190 changes: 95 additions & 95 deletions data/sqlite/random/groupby/slt_good_1.slt

Large diffs are not rendered by default.

138 changes: 69 additions & 69 deletions data/sqlite/random/groupby/slt_good_10.slt

Large diffs are not rendered by default.

316 changes: 158 additions & 158 deletions data/sqlite/random/groupby/slt_good_11.slt

Large diffs are not rendered by default.

370 changes: 185 additions & 185 deletions data/sqlite/random/groupby/slt_good_12.slt

Large diffs are not rendered by default.

66 changes: 33 additions & 33 deletions data/sqlite/random/groupby/slt_good_13.slt

Large diffs are not rendered by default.

158 changes: 79 additions & 79 deletions data/sqlite/random/groupby/slt_good_2.slt

Large diffs are not rendered by default.

216 changes: 108 additions & 108 deletions data/sqlite/random/groupby/slt_good_3.slt

Large diffs are not rendered by default.

252 changes: 126 additions & 126 deletions data/sqlite/random/groupby/slt_good_4.slt

Large diffs are not rendered by default.

240 changes: 120 additions & 120 deletions data/sqlite/random/groupby/slt_good_5.slt

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions data/sqlite/random/groupby/slt_good_6.slt
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ SELECT ALL - 85 FROM tab2, tab2 AS cor0 GROUP BY tab2.col0
# Datafusion - Expected - 0
# Datafusion - Expected - 0
skipif postgres
query error DataFusion error: Error during planning: Projection references non\-aggregate values: Expression tab2\.col1 could not be resolved from available columns: tab2\.col0
query error DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "tab2\.col1" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "tab2\.col0" appears in the SELECT clause satisfies this requirement
SELECT - + COALESCE ( 37, + tab2.col1, - 38 * - tab2.col2 + - 41 * tab2.col0 ) / 45 FROM tab2 GROUP BY col0

query I rowsort
Expand Down Expand Up @@ -1428,7 +1428,7 @@ SELECT + 33 FROM tab0 AS cor0 GROUP BY col1
# Datafusion - Datafusion expected results:
# Datafusion - Expected - -30
skipif postgres
query error DataFusion error: Error during planning: Projection references non\-aggregate values: Expression cor0\.col1 could not be resolved from available columns: cor0\.col0, cor0\.col0
query error DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "cor0\.col1" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "cor0\.col0, cor0\.col0" appears in the SELECT clause satisfies this requirement
SELECT DISTINCT COALESCE ( - 30, - col1 * cor0.col2 + - 56 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col0

query I rowsort
Expand Down Expand Up @@ -3943,7 +3943,7 @@ SELECT + cor0.col1 / + cor0.col1 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1
# Datafusion - Expected - 82
# Datafusion - Expected - 82
skipif postgres
query error DataFusion error: Error during planning: Projection references non\-aggregate values: Expression cor0\.col0 could not be resolved from available columns: cor0\.col1
query error DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "cor0\.col0" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "cor0\.col1" appears in the SELECT clause satisfies this requirement
SELECT + COALESCE ( + 82, - cor0.col0 * col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1

query I rowsort
Expand Down Expand Up @@ -5927,7 +5927,7 @@ SELECT DISTINCT cor0.col1 / + 7 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1, co
# Datafusion - Expected - -8
# Datafusion - Expected - -8
skipif postgres
query error DataFusion error: Error during planning: Projection references non\-aggregate values: Expression cor0\.col2 could not be resolved from available columns: cor0\.col0
query error DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "cor0\.col2" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "cor0\.col0" appears in the SELECT clause satisfies this requirement
SELECT ALL COALESCE ( - 8, + col2, + col0 ) AS col1 FROM tab0 cor0 GROUP BY cor0.col0

query I rowsort
Expand Down Expand Up @@ -6792,7 +6792,7 @@ SELECT + 94 AS col0 FROM tab1 cor0 GROUP BY col1
# Datafusion - Expected - -62
# Datafusion - Expected - -62
skipif postgres
query error DataFusion error: Error during planning: Projection references non\-aggregate values: Expression cor0\.col1 could not be resolved from available columns: cor0\.col2
query error DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "cor0\.col1" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "cor0\.col2" appears in the SELECT clause satisfies this requirement
SELECT COALESCE ( - 62, cor0.col1, - 51, - 15 * + cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col2

query I rowsort
Expand Down Expand Up @@ -6855,7 +6855,7 @@ SELECT DISTINCT col1 AS col1 FROM tab2 AS cor0 GROUP BY col1
# Datafusion - Datafusion expected results:
# Datafusion - Expected - 35
skipif postgres
query error DataFusion error: Error during planning: Projection references non\-aggregate values: Expression cor0\.col2 could not be resolved from available columns: cor0\.col0
query error DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "cor0\.col2" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "cor0\.col0" appears in the SELECT clause satisfies this requirement
SELECT DISTINCT + COALESCE ( + 35, + col2, NULLIF ( cor0.col0, - cor0.col0 ) + cor0.col1 * + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col0

query I rowsort label-1031
Expand Down Expand Up @@ -7261,7 +7261,7 @@ SELECT ALL col2 * + 94 FROM tab0 AS cor0 GROUP BY cor0.col2
# Datafusion - Datafusion expected results:
# Datafusion - Expected - 35
skipif postgres
query error DataFusion error: Error during planning: Projection references non\-aggregate values: Expression tab0\.col2 could not be resolved from available columns: tab0\.col0
query error DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "tab0\.col2" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "tab0\.col0" appears in the SELECT clause satisfies this requirement
SELECT DISTINCT COALESCE ( 35, - tab0.col2, + tab0.col1 ) FROM tab0 GROUP BY tab0.col0

query I rowsort
Expand Down Expand Up @@ -7483,7 +7483,7 @@ SELECT 4 FROM tab1 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col0
# Datafusion - Expected - 29
# Datafusion - Expected - 29
skipif postgres
query error DataFusion error: Error during planning: Projection references non\-aggregate values: Expression cor0\.col1 could not be resolved from available columns: cor0\.col2, cor0\.col0
query error DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "cor0\.col1" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "cor0\.col2, cor0\.col0" appears in the SELECT clause satisfies this requirement
SELECT COALESCE ( 30, col1 ) + cor0.col0 / - cor0.col0 FROM tab1 AS cor0 GROUP BY col2, cor0.col0

query I rowsort
Expand Down Expand Up @@ -8066,7 +8066,7 @@ SELECT + ( 94 ) * - tab1.col2 FROM tab1 GROUP BY col2
# Datafusion - Expected - -25
# Datafusion - Expected - -25
skipif postgres
query error DataFusion error: Error during planning: Projection references non\-aggregate values: Expression tab2\.col2 could not be resolved from available columns: tab2\.col1
query error DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "tab2\.col2" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "tab2\.col1" appears in the SELECT clause satisfies this requirement
SELECT ALL + - COALESCE ( + 25, tab2.col2 + + tab2.col1, tab2.col1 * tab2.col0 ) AS col0 FROM tab2 GROUP BY col1

# Postgresql - Postgres error: db error: ERROR: column "tab2.col2" must appear in the GROUP BY clause or be used in an aggregate function
Expand All @@ -8075,7 +8075,7 @@ SELECT ALL + - COALESCE ( + 25, tab2.col2 + + tab2.col1, tab2.col1 * tab2.col0 )
# Datafusion - Expected - 3
# Datafusion - Expected - 3
skipif postgres
query error DataFusion error: Error during planning: Projection references non\-aggregate values: Expression tab2\.col2 could not be resolved from available columns: tab2\.col0
query error DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "tab2\.col2" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "tab2\.col0" appears in the SELECT clause satisfies this requirement
SELECT + CASE - 35 WHEN + tab2.col0 + - tab2.col0 THEN NULL WHEN - 76 THEN - tab2.col2 ELSE + 3 END FROM tab2 GROUP BY tab2.col0

query I rowsort
Expand Down Expand Up @@ -10621,7 +10621,7 @@ SELECT DISTINCT - tab0.col2 - 48 FROM tab0 GROUP BY tab0.col2
# Datafusion - Datafusion expected results:
# Datafusion - Expected - 54
skipif postgres
query error DataFusion error: Error during planning: Projection references non\-aggregate values: Expression cor0\.col0 could not be resolved from available columns: cor0\.col1
query error DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "cor0\.col0" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "cor0\.col1" appears in the SELECT clause satisfies this requirement
SELECT DISTINCT cor0.col1 / COALESCE ( + 80, cor0.col1 * cor0.col0 ) + 54 FROM tab1 cor0 GROUP BY cor0.col1

query I rowsort
Expand Down Expand Up @@ -10929,7 +10929,7 @@ SELECT DISTINCT + 89 + + tab0.col2 AS col0 FROM tab0 GROUP BY col2
# Datafusion - Expected - NULL
# Datafusion - Expected - NULL
skipif postgres
query error DataFusion error: Error during planning: Projection references non\-aggregate values: Expression cor0\.col0 could not be resolved from available columns: cor0\.col1
query error DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "cor0\.col0" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "cor0\.col1" appears in the SELECT clause satisfies this requirement
SELECT ALL CASE + 71 WHEN + 85 THEN col0 * cor0.col1 ELSE NULL END + 43 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1

query I rowsort
Expand Down Expand Up @@ -11504,7 +11504,7 @@ SELECT ALL + 21 * cor0.col2 col2 FROM tab0 AS cor0 GROUP BY cor0.col2
# Datafusion - Expected - -19
# Datafusion - Expected - 41
skipif postgres
query error DataFusion error: Error during planning: Projection references non\-aggregate values: Expression cor0\.col2 could not be resolved from available columns: cor0\.col0
query error DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "cor0\.col2" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "cor0\.col0" appears in the SELECT clause satisfies this requirement
SELECT COALESCE ( - 41, cor0.col2, cor0.col1 ) + cor0.col0 FROM tab1 cor0 GROUP BY col0

query I rowsort
Expand Down Expand Up @@ -13267,7 +13267,7 @@ SELECT DISTINCT - 11 / col0 AS col1 FROM tab2 AS cor0 GROUP BY col0
# Datafusion - Expected - -178
# Datafusion - Expected - -179
skipif postgres
query error DataFusion error: Error during planning: Projection references non\-aggregate values: Expression tab2\.col2 could not be resolved from available columns: tab2\.col0
query error DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "tab2\.col2" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "tab2\.col0" appears in the SELECT clause satisfies this requirement
SELECT - tab2.col0 + COALESCE ( - 87, - tab2.col2 + - tab2.col1 * + COALESCE ( + tab2.col1, tab2.col0 ) ) FROM tab2 GROUP BY tab2.col0

query I rowsort
Expand Down Expand Up @@ -17965,7 +17965,7 @@ SELECT - cor0.col0 + - col0 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0
# Postgresql - Postgres error: db error: ERROR: column "cor0.col0" must appear in the GROUP BY clause or be used in an aggregate function
# Datafusion - Datafusion expected results:
skipif postgres
query error DataFusion error: Error during planning: HAVING clause references non\-aggregate values: Expression cor0\.col0 could not be resolved from available columns: cor0\.col2
query error DataFusion error: Error during planning: Column in HAVING must be in GROUP BY or an aggregate function: While expanding wildcard, column "cor0\.col0" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "cor0\.col2" appears in the SELECT clause satisfies this requirement
SELECT ALL + cor0.col2 * - cor0.col2 + cor0.col2 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2 HAVING NULL <= - col0

query I rowsort label-2705
Expand Down Expand Up @@ -25081,7 +25081,7 @@ SELECT DISTINCT cor0.col0 / cor0.col0 AS col1 FROM tab2 AS cor0 GROUP BY cor0.co
# Postgresql - Postgres error: db error: ERROR: column "cor0.col2" must appear in the GROUP BY clause or be used in an aggregate function
# Datafusion - Datafusion expected results:
skipif postgres
query error DataFusion error: Error during planning: HAVING clause references non\-aggregate values: Expression cor0\.col2 could not be resolved from available columns: cor0\.col0
query error DataFusion error: Error during planning: Column in HAVING must be in GROUP BY or an aggregate function: While expanding wildcard, column "cor0\.col2" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "cor0\.col0" appears in the SELECT clause satisfies this requirement
SELECT ALL + cor0.col0 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0 HAVING NULL NOT IN ( - cor0.col0 * - col2 )

query I rowsort
Expand Down
Loading