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

   https://docs.snowflake.com/en/sql-reference/sql/create-database
   
   Added support for
    ```sql
   CREATE [ OR REPLACE ] [ TRANSIENT ] DATABASE [ IF NOT EXISTS ] <name>
       [ CLONE <source_schema>
           [ { AT | BEFORE } ( { TIMESTAMP => <timestamp> | OFFSET => 
<time_difference> | STATEMENT => <id> } ) ]
           [ IGNORE TABLES WITH INSUFFICIENT DATA RETENTION ]
           [ IGNORE HYBRID TABLES ] ]
       [ DATA_RETENTION_TIME_IN_DAYS = <integer> ]
       [ MAX_DATA_EXTENSION_TIME_IN_DAYS = <integer> ]
       [ EXTERNAL_VOLUME = <external_volume_name> ]
       [ CATALOG = <catalog_integration_name> ]
       [ REPLACE_INVALID_CHARACTERS = { TRUE | FALSE } ]
       [ DEFAULT_DDL_COLLATION = '<collation_specification>' ]
       [ STORAGE_SERIALIZATION_POLICY = { COMPATIBLE | OPTIMIZED } ]
       [ COMMENT = '<string_literal>' ]
       [ CATALOG_SYNC = '<snowflake_open_catalog_integration_name>' ]
       [ CATALOG_SYNC_NAMESPACE_MODE = { NEST | FLATTEN } ]
       [ CATALOG_SYNC_NAMESPACE_FLATTEN_DELIMITER = '<string_literal>' ]
       [ [ WITH ] TAG ( <tag_name> = '<tag_value>' [ , <tag_name> = 
'<tag_value>' , ... ] ) ]
       [ WITH CONTACT ( <purpose> = <contact_name> [ , <purpose> = 
<contact_name> ... ] ) ]
   ```
   
   Closes #1938 


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