should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,69 @@
# name: test/sql/parser/star_expression.test
# description: Test star expression in different places
# group: [parser]
statement ok
PRAGMA enable_verification
statement ok
CREATE TABLE integers AS SELECT 42 i, 84 j UNION ALL SELECT 13, 14
statement error
SELECT * FROM integers WHERE *
----
Use COLUMNS(*) instead
statement error
SELECT * FROM integers WHERE * IS NOT NULL
----
Use COLUMNS(*) instead
query II
SELECT * FROM integers WHERE COLUMNS(*) IS NULL ORDER BY ALL
----
statement error
SELECT * FROM integers GROUP BY COLUMNS(*)
----
not supported
statement error
SELECT * FROM integers GROUP BY * + 42
----
not supported
statement error
SELECT * FROM integers GROUP BY i HAVING * > 42
----
not supported
statement error
SELECT * FROM integers GROUP BY i HAVING COLUMNS(*)>42
----
not supported
query II
SELECT * FROM integers ORDER BY *, *
----
13 14
42 84
statement error
SELECT * FROM integers ORDER BY * + 42
----
cannot be applied to a star expression
statement error
INSERT INTO integers VALUES (*, *)
----
not supported
statement error
VALUES (*)
----
not supported
statement error
FROM read_csv(*, *);
----
not supported