colinthebomb1 opened a new pull request, #2985: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2985
Fixes #2801 `CACHE TABLE t; SELECT 1` failed with `Expected: a QUERY statement, found: ;`. The query is optional for Spark and Databricks in CACHE TABLE statements https://spark.apache.org/docs/latest/sql-ref-syntax-aux-cache-cache-table.html. Fixed by checking for a semicolon or EOF as end of input when parsing CACHE TABLE statements with no query. Claude Code was used to help make this PR Dialects: Spark, Databricks -- 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]
