bombsimon opened a new pull request, #2009: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2009
Implements querying `SEMANTIC_VIEW` in Snowflake: https://docs.snowflake.com/en/sql-reference/constructs/semantic_view ```sql SEMANTIC_VIEW( [<namespace>.]<semantic_view_name> [ { METRICS <metric> [ , ... ] | FACTS <fact_expr> [ , ... ] } ] [ DIMENSIONS <dimension_expr> [ , ... ] ] [ WHERE <predicate> ] ) ``` --- This change was more or less completely made with AI using [Claude](https://claude.ai/). I thought that's interesting to share both to ensure there's no non-AI policy I might violate, but also to showcase how quick it can be to extend functionality of this parser! Other than some missing links, assumptions about `METRICS` and the usage of the discouraged `dialect_of` macro it more or less worked with a single prompt with some example queries and constraints as input! 🎉 -- 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]
