Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The COPY ... TO Options should indicate that some options aren't supported in some formats. #4037

Open
kennycarruthers opened this issue Nov 10, 2024 · 0 comments

Comments

@kennycarruthers
Copy link

The documentation for COPY ... TO Options should indicate that some options might not be available depending on the FORMAT being used.

https://duckdb.org/docs/sql/statements/copy.html#copy--to-options

For example, when FORMAT = json, attempting to include the return_files option generates a BinderException because of an "Unknown option". Including return_files when FORMAT = csv or FORMAT = parquet does not produce any errors.

When possible, it would be helpful if the documentation indicated which formats support which options (as it does lower down where there are specific sections for csv, json and parquet specific options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant