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

   Closes #1882
   
   Extend CreateTable `CLUSTER BY` parsing to support general expressions 
instead of only identifiers. This allows statements like CLUSTER BY 
(to_date(ts)) to be parsed correctly.
   
https://docs.snowflake.com/en/user-guide/tables-clustering-keys#defining-a-clustering-key-for-a-table
   
   **Currently supported:**
   ```sql
   CLUSTER BY (a, b)
   CLUSTER BY a, b
   ```
   **Extended support:**
   ```sql
   CLUSTER BY (a, b, my_func(c))
   ```
   


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