You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
COPY TO fails on passing options for format through cli #9707
COPY TO fails with Error: Invalid or Unsupported Configuration: Specify a format for TableOptions even when valid configuration options are provided for the format.
To Reproduce
Clone the main branch. In the datafusion-cli directory, run this command:
cargo run -- --command "COPY (VALUES (1, 'Foo'), (2, 'Bar')) TO 'test_files/scratch/copy/tab.parquet' STORED AS parquet OPTIONS ('format.compression' 'zstd(10)');"
Expected behavior
The command should run without error & the values should be copied to the provided destination.
Additional context
Running the same query in a SQL Logic Test (.slt) doesn't throw any error. See copy.slt which has tests with similar commands to the one described above.
Activity
tinfoil-knight commentedon Mar 20, 2024
take
alamb commentedon Mar 20, 2024
Thank you @tinfoil-knight