-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relation visitor fails to visit the SHOW COLUMNS
statement in the latest commit of the main branch
#1554
Comments
I think the reason is we changed the table name to datafusion-sqlparser-rs/src/ast/mod.rs Lines 7587 to 7590 in 525d178
|
Thank you for debugging this @goldmedal 🙏 I was wondering why that test was failing on |
I suspect this was introduced by this PR from @yoavcloud Any chance you can help us fix it @yoavcloud? |
I tried to support to visit the option field by #1556 |
Apologies for the regression here, I'm still learning my way around the project. Looks like @goldmedal has a PR already that addresses this issue. |
No problems -- clearly we don't have good test coverage for this either 🤔 |
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
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 isIt 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
The text was updated successfully, but these errors were encountered: