duckdb / duckdb-wasm

WebAssembly version of DuckDB
https://shell.duckdb.org
MIT License
1.3k stars 131 forks source link

Spurious "Buffering missing file" warning when issuing "COPY" command to export data #1842

Open kposborne opened 2 months ago

kposborne commented 2 months ago

What happens?

When executing a "COPY" statement to export to a file, a warning is logged, e.g. Buffering missing file: orders.json

In this scenario, it is expected for the file to be missing, as it should be created by the query, so I don't think it should log as a warning.

To Reproduce

Execute a copy command which writes to a file

Browser/Environment:

Chrome

Device:

Macbook Pro

DuckDB-Wasm Version:

1.28.1-dev271.0

DuckDB-Wasm Deployment:

duckdb_wasm

Full Name:

Kyle Osborne

Affiliation:

Ascend.io

santiago-medina commented 1 month ago

This is easily reproducible by using https://csvfiddle.io/ with any CSV