goldmedal opened a new issue, #1554: URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1554
# Description This problem can be reproduced by adding a test case at https://github.com/apache/datafusion-sqlparser-rs/blob/525d1780e8f5c7ba6b7be327eaa788b6c8c47716/src/ast/visitor.rs#L736-L738 Consider a case ```rust ( "SHOW COLUMNS FROM t1", vec![ "PRE: STATEMENT: SHOW COLUMNS FROM t1", "PRE: RELATION: t1", "POST: RELATION: t1", "POST: STATEMENT: SHOW COLUMNS FROM t1", ], ), ``` The test case is passed in the previous release tag `v0.52.0-rc3`. However, in the latest commit of the main branch 525d1780e8f5c7ba6b7be327eaa788b6c8c47716 , the test fails and the result is ```rust "PRE: STATEMENT: SHOW COLUMNS FROM t1", "POST: STATEMENT: SHOW COLUMNS FROM t1", ``` It may cause the upstream project, DataFusion, to fail to execute the `SHOW COLUMNS FROM xxx` SQL. https://github.com/apache/datafusion/blob/18fc103a403ab0efe5245dd4352f3f3b93c2a4fe/datafusion/core/src/execution/session_state.rs#L540 -- 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]
