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

Give error message when wrong option is used in the copy statement #2704

Closed
acquamarin opened this issue Jan 22, 2024 · 0 comments · Fixed by #3379
Closed

Give error message when wrong option is used in the copy statement #2704

acquamarin opened this issue Jan 22, 2024 · 0 comments · Fixed by #3379
Assignees
Labels
usability Issues related to better usability experience, including bad error messages

Comments

@acquamarin
Copy link
Collaborator

Some copy options are only supported in csv (e.g. header=true). If the user provides those options while loading a parquet file, the binder should error.
Example:
COPY tableOfTypes FROM "s3://kuzu-dataset-us/types_50k_*.parquet" (header=true)

@acquamarin acquamarin added the usability Issues related to better usability experience, including bad error messages label Jan 22, 2024
@manh9203 manh9203 mentioned this issue Apr 24, 2024
manh9203 added a commit that referenced this issue Apr 26, 2024
* Fix bind file scan
* Fix parquet and npy reader bindFunc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usability Issues related to better usability experience, including bad error messages
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants