Skip to content

Conversation

@mscolnick
Copy link
Contributor

@mscolnick mscolnick commented Sep 26, 2025

Fixes #6533

This adds more SQL expressions that capture refs.

Bumps sqlglot min dep to a version from Jan 2025

@vercel
Copy link

vercel bot commented Sep 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Sep 26, 2025 3:35pm

"drop table schema.cars; select * from cars",
set(),
{"mo", "cars"},
{"mo", "cars", "schema.cars"},
Copy link
Contributor Author

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?

Copy link
Contributor

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.

Copy link
Contributor

@Light2Dark Light2Dark Sep 26, 2025

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.

Copy link
Contributor Author

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

Light2Dark
Light2Dark previously approved these changes Sep 26, 2025
"drop table schema.cars; select * from cars",
set(),
{"mo", "cars"},
{"mo", "cars", "schema.cars"},
Copy link
Contributor

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.

@mscolnick mscolnick merged commit a37b800 into main Sep 26, 2025
52 of 61 checks passed
@mscolnick mscolnick deleted the ms/more-sql-refs branch September 26, 2025 16:37
@dmadisetti dmadisetti added the bug Something isn't working label Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SQL-cell does not register tables for PIVOT/UNPIVOT/SUMMARIZE/DESCRIBE depend on

4 participants