Closed
Description
Description
This problem can be reproduced by adding a test case at
datafusion-sqlparser-rs/src/ast/visitor.rs
Lines 736 to 738 in 525d178
Consider a case
(
"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 525d178 , the test fails and the result is
"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
Metadata
Metadata
Assignees
Labels
No labels