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
v1.2.618-nightly
Trying to COPY INTO gcs from table with dashes in name gives error. Works fine for table with no dashes
CREATE table t1 (c1 int null); CREATE table "t-2" (c1 int null); select * from default.t1; COPY INTO 'gcs://projects/tables/t1' CONNECTION = ( CREDENTIAL = '<snip>' ) FROM default.t1 FILE_FORMAT = (TYPE = PARQUET); select * from default."t-2"; COPY INTO 'gcs://projects/tables/t-2' CONNECTION = ( CREDENTIAL = '<snip>' ) FROM default."t-2" FILE_FORMAT = (TYPE = PARQUET);
SQL:1:32 | 1 | SELECT * FROM default.default.t-2 | ^ unexpected `-`, expecting `AT`, `CHANGES`, `WITH`, <Ident>, <LiteralString>, `IDENTIFIER`, `AS`, `PIVOT`, `UNPIVOT`, `SAMPLE`, `ROW`, `BLOCK`, `(`, `LiteralAtString`, `LATERAL`, `NATURAL`, `INNER`, `LEFT`, `SEMI`, `RIGHT`, `ANTI`, `FULL`, `CROSS`, `JOIN`, `ON`, `USING`, `,`, `WHERE`, `GROUP`, `HAVING`, `WINDOW`, `QUALIFY`, `UNION`, `EXCEPT`, `INTERSECT`, `FROM`, `SELECT`, `VALUES`, `ORDER`, `LIMIT`, `OFFSET`, `IGNORE_RESULT`, `FORMAT`, or `;` } cause: null
The text was updated successfully, but these errors were encountered:
I am able to run the following SQL, is this going to perform the same?
COPY INTO 'gcs://projects/tables/t-2' CONNECTION = ( CREDENTIAL = '<snip>' ) FROM (SELECT * FROM default."t-2") FILE_FORMAT = (TYPE = PARQUET);
Sorry, something went wrong.
I am able to run the following SQL, is this going to perform the same? COPY INTO 'gcs://projects/tables/t-2' CONNECTION = ( CREDENTIAL = '<snip>' ) FROM (SELECT * FROM default."t-2") FILE_FORMAT = (TYPE = PARQUET);
Yeah.
sundy-li
Successfully merging a pull request may close this issue.
Search before asking
Version
v1.2.618-nightly
What's Wrong?
Trying to COPY INTO gcs from table with dashes in name gives error. Works fine for table with no dashes
How to Reproduce?
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: