- 
                Notifications
    You must be signed in to change notification settings 
- Fork 748
fix: add more expressions for SQL refs #6538
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
Conversation
| The latest updates on your projects. Learn more about Vercel for GitHub. 
 | 
| "drop table schema.cars; select * from cars", | ||
| set(), | ||
| {"mo", "cars"}, | ||
| {"mo", "cars", "schema.cars"}, | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dmadisetti , @Light2Dark , does this change look right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think it looks right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see a lot more failing tests, will check.
edit: oh, only fails on minimal deps, maybe old duckdb Tokenizer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
 module 'sqlglot.expressions' has no attribute 'Analyze'
im going to see if i can bump the minimum
| "drop table schema.cars; select * from cars", | ||
| set(), | ||
| {"mo", "cars"}, | ||
| {"mo", "cars", "schema.cars"}, | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think it looks right.
Fixes #6533
This adds more SQL expressions that capture refs.
Bumps sqlglot min dep to a version from Jan 2025