We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi
There is a strange error when I making create table in attached pg.
make
INSTALL postgres; LOAD postgres; INSTALL httpfs; LOAD httpfs; ATTACH 'dbname=postgres user=postgres host=127.0.0.1 password=mysecretpassword port=5432' AS db (TYPE POSTGRES); create table db.public.big_csv_s3 as select * from 's3://duckdb/bigcsv/2018_Yellow_Taxi_Trip_Data.csv.gz'; select * from db.public.big_csv_s3
receiving
SQL Error: Invalid Error: Failed to prepare COPY " COPY (SELECT "VendorID", "tpep_pickup_datetime", "tpep_dropoff_datetime", "passenger_count", "trip_distance", "RatecodeID", "store_and_fwd_flag", "PULocationID", "DOLocationID", "payment_type", "fare_amount", "extra", "mta_tax", "tip_amount", "tolls_amount", "improvement_surcharge", "total_amount" FROM "public"."big_csv_s3" WHERE ctid BETWEEN '(0,0)'::tid AND '(1000,0)'::tid) TO STDOUT (FORMAT binary); ": ERROR: column "VendorID" does not exist LINE 2: COPY (SELECT "VendorID", "tpep_pickup_datetime", "tpep_drop... ^ HINT: Perhaps you meant to reference the column "big_csv_s3.vendorid".
but everything is ok in pg
if I make another attach pg like pg2 then I cat select this table.
so some errors in some cache data maybe.
The text was updated successfully, but these errors were encountered:
Fix #250 - always quote column names in CREATE TABLE to avoid Postgre…
54cafa2
…s' lowercasing them
Thanks for the report! I've pushed a fix in #253
Sorry, something went wrong.
Merge pull request #253 from duckdb/issue250
ea103b4
Fix #250 - always quote column names in CREATE TABLE to avoid Postgres' lowercasing them
Wow, so fast 🚀
Successfully merging a pull request may close this issue.
Hi
There is a strange error when I making create table in attached pg.
make
receiving
but everything is ok in pg
if I make another attach pg like pg2 then I cat select this table.
so some errors in some cache data maybe.
The text was updated successfully, but these errors were encountered: