pg_duckdb icon indicating copy to clipboard operation
pg_duckdb copied to clipboard

Tests for COPY and COPY to local parquet file

Open JelteF opened this issue 1 year ago • 1 comments

We completely broke COPY support without us noticing. That problem is being fixed by #264, but it might happen again if we don't add some tests. For the 0.1.0 release we can manage with manual testing though.

I think the easiest way would be to have a test write locally to parquet and read the resulting file to see that it contains the expected content in parquet format. We currently don't support writing parquet locally but that should be fairly easy to do forcing the COPY to go through DuckDB if it contains a .parquet suffix.

JelteF avatar Oct 09 '24 12:10 JelteF