lava-oushudb-dt-sql-parser/test/parser/spark/syntax/fixtures/selectFile.sql
Frank d0ad381833
test: spark sql query syntax unit test (#173)
* 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>
2023-10-10 16:25:43 +08:00

11 lines
259 B
SQL

-- file_format.`file_path`
-- PARQUET file
SELECT * FROM parquet.`examples/src/main/resources/users.parquet`;
-- ORC file
SELECT * FROM orc.`examples/src/main/resources/users.orc`;
-- JSON file
SELECT * FROM json.`examples/src/main/resources/people.json`;