-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I want to create a table from a CSV(JSON or AVRO) file, execute a query and write the results into a CSV file.
Describe the solution you'd like
If we support this on a logical plan level, this might be executed. It may also require enhancing catalog management.
- Create table
CREATE EXTERNAL TABLE source_table(c1 int) STORED AS CSV LOCATION 'foo.csv'- Sink table
CREATE EXTERNAL TABLE sink_table(c1 int) LOCATION 'bar.csv'- Insert the sink table
INSERT INTO sink_table
SELECT * FROM t
WHERE c1 > 10;Describe alternatives you've considered
NA
Additional context
NA
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request