ayman-sigma opened a new pull request, #1542:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1542

   Databricks supports struct literal (struct function). Struct literal is 
already added for BigQuery. Databricks' syntax is very similar to the BigQuery 
one, except the fields definition part.
   I added two new flags to `Dialect` trait: 
   1. `supports_struct_literal` to specify if the dialect support this literal 
or not
   2. `supports_typed_struct_syntax` for the special BigQuery case where it can 
have fields definition.
   
   Databricks docs: 
https://docs.databricks.com/en/sql/language-manual/functions/struct.html
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to