Closed cldellow closed 1 year ago
Ah, because it is a writeable connection and I have not fiddled execute_write
Hm, and now parts of database.py want the conn to be a context manager, so we're getting AttributeError on __enter__
I put in a dummy context manager that does nothing - this is wrong for real world use, but sufficient for exporting parquet files, which is convenient. I might rip this out later.
I was trying to use duckdb to export a parquet file with a writable query like:
This gave:
near "copy": syntax error
and didn't seem to go through my rewriter. That error message is what sqlite3 gives if I run the command.