yussypu opened a new pull request, #3064: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/3064
Dialects: PostgreSQL Closes #3039 TABLE t; failed with Expected: an SQL statement, found: TABLE, while (TABLE t); parsed. PostgreSQL documents TABLE name as shorthand for SELECT * FROM name: https://www.postgresql.org/docs/current/sql-select.html#SQL-TABLE parse_statement now starts a query at TABLE, as parse_query_body already did. In ClickHouse and Snowflake, where DESCRIBE TABLE t describes a table, EXPLAIN TABLE t keeps that meaning; elsewhere it explains the TABLE t query. -- 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]
