yoavcloud opened a new pull request, #1805: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1805
This PR adds support for the following in Snowflake's COPY INTO: 1. Specifying a list of columns in the destination table: ```sql COPY INTO [<namespace>.]<table_name> [ ( <col_name> [ , <col_name> ... ] ) ] ``` 2. Using regular SQL expressions in the data transformation query, typically for constant or computed values: ```sql SELECT t1.$1:st AS st, $1:index, t2.$1, 4, '5' AS const_str FROM @schema.general_finished ``` 3. The `AS` keyword is optional when specifying an alias for the stage in the data transformation query ```sql COPY INTO tbl FROM (SELECT t1.$1:st AS st, 4, '5' AS const_str FROM @stage S) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org