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 binary format #103542

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

copy: support binary format #103542

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 binary);

COPY (SELECT * FROM test LIMIT 5) TO STDOUT (FORMAT binary);  
ERROR: unimplemented: binary format for COPY TO not implemented
SQLSTATE: 0A000
HINT: You have attempted to use a feature that is not yet implemented.
See: https://go.crdb.dev/issue-v/97180/v23.1

Describe the solution you'd like
Support the binary format

Describe alternatives you've considered
Unfortunately DuckDB does not support FORMAT text or csv today.

Additional context
Add any other context or screenshots about the feature request here.

Related issues: #103543 and #103544

This is CockroachDB 23.1.1

Jira issue: CRDB-28069

@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