yoavcloud opened a new pull request, #1929:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1929

   Expand the support for the `IDENTIFIER` function in Snowflake, which is used 
to generate identifiers dynamically. See here: 
https://docs.snowflake.com/en/sql-reference/identifier-literal
   
   The ObjectNamePart enum was extended with a new part type to support the use 
of the identifier function as an object name. Some work went into organizing 
`Parser:parse_object_name` a bit.
   
   A few examples:
   ```sql
   -- identifier for table name
   create or replace temp table identifier('test')(c1 int, identifier int); 
   -- identifier for column name
   select identifier('identifier') from test;
   -- identifier for table name
   select c1 from identifier('test');
   -- identifier for table alias
   select identifier('alias1').* from test as alias1;
   ```


-- 
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

Reply via email to