You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
COPY (
select id
from customers
limit1
)
TO STDOUT
WITH CSV HEADER QUOTE AS'"'
FORCE QUOTE id;
However, due to the logic in format_flag() it's not possible to pass force_quote="id" or force_quote=["id"] or force_quote=("id",) when calling copy_to() as it calls repr() in each case on those values.
I'm happy to create a pull request if this project is still being maintained?
Perhaps a solution could be to whitelist certain flag names and treat them differently when formatting?
The text was updated successfully, but these errors were encountered:
Example query that I'd like to generate:
However, due to the logic in
format_flag()
it's not possible to passforce_quote="id"
orforce_quote=["id"]
orforce_quote=("id",)
when callingcopy_to()
as it callsrepr()
in each case on those values.I'm happy to create a pull request if this project is still being maintained?
Perhaps a solution could be to whitelist certain flag names and treat them differently when formatting?
The text was updated successfully, but these errors were encountered: