Open rafiss opened 1 year ago
hi @rafiss, we're looking into ways of ingesting large amounts of Cockroach-stored data into Arrow, and pgeon (https://github.com/0x0L/pgeon) is the most promising we've found. It uses COPY TO ... BINARY
to export the data from PG-like databases, so I believe that's the only thing standing in the way of it being used with Cockroach. Just wanted to share a use-case that maps directly to this issue, and if we can be helpful in testing any implementation please let us know.
Ran into similar issue with ADBC - https://arrow.apache.org/adbc/main/format/specification.html It also uses "COPY TO ... BINARY" syntax.
Hitting the same issue when using DuckDB with Cockroach
See https://www.postgresql.org/docs/current/sql-copy.html
The binary format is described in detail there. We already support this for COPY FROM.
Jira issue: CRDB-24562
Epic CRDB-18320