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

copy: support parquet format #103544

Open
dbist opened this issue May 17, 2023 · 0 comments
Open

copy: support parquet format #103544

dbist opened this issue May 17, 2023 · 0 comments
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Comments

@dbist
Copy link
Contributor

dbist commented May 17, 2023

Is your feature request related to a problem? Please describe.
Testing DuckDB Postgres connector which relies on libpq and which translates queries to COPY (SELECT *) TO STDOUT (FORMAT parquet);`

COPY (SELECT * FROM test LIMIT 
                                                                      -> 5) TO STDOUT (FORMAT parquet); 
invalid syntax: statement ignored: at or near "parquet": syntax error: unimplemented: this syntax
SQLSTATE: 0A000
DETAIL: source SQL:
COPY (SELECT * FROM test LIMIT 5) TO STDOUT (FORMAT parquet)
                                                    ^
HINT: You have attempted to use a feature that is not yet implemented.
See: https://go.crdb.dev/issue-v/96590/v23.1

Describe the solution you'd like
support copy with parquet

Describe alternatives you've considered
unfortunately DuckDB does not support csv or text

This is CockroachDB 23.1.1

Related issues: #103542 and #103543

Jira issue: CRDB-28071

@dbist dbist added the C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) label May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Projects
None yet
Development

No branches or pull requests

1 participant