Closed alamb closed 7 months ago
cc @devinjdangelo
cc @ozankabak.
I'm in favour of phasing out this syntax because it's getting hard to keep up with.
Users will mostly use COPY test TO sa.parquet
, which we already support. If they need to state the format, COPY test TO sa.tbl STORED AS CSV
should be enough. Choosing a format directly is rarer than letting the system figure it out.
I think it is reasonable to phase out the format option in favor of the STORED AS keyword.
Great, so sounds good. I think then this is a good first issue -- basically revert https://github.com/apache/arrow-datafusion/pull/9744 and fixup any tests that are needed
take
Is your feature request related to a problem or challenge?
@tinfoil-knight added backwards compatibility to the COPY command format options in version 37.0.0 via https://github.com/apache/arrow-datafusion/pull/9744
So now this format is supported (similar to duckdb)
However, the newer more consistent syntax looks like
@metesynnada asked https://github.com/apache/arrow-datafusion/pull/9753#pullrequestreview-1970055037 if we should phase out the old (
format json
) syntaxDescribe the solution you'd like
Decide if filing this ticket to discuss
Describe alternatives you've considered
No response
Additional context
No response