d0ad381833
* test: add spark query unit test and check grammar * test: add select explain、lateralSubQuery、transform unit test * chore: fileName exchange --------- Co-authored-by: dilu <dilu@dtstack.com>
11 lines
348 B
SQL
11 lines
348 B
SQL
-- VALUES ( expression [ , ... ] ) [ table_alias ]
|
|
|
|
-- single row, without a table alias
|
|
SELECT * FROM VALUES ("one", 1);
|
|
|
|
-- three rows with a table alias
|
|
SELECT * FROM VALUES ("one", 1), ("two", 2), ("three", null) AS data(a, b);
|
|
|
|
-- complex types with a table alias
|
|
SELECT * FROM VALUES ("one", array(0, 1)), ("two", array(2, 3)) AS data(a, b);
|