Skip to content

fix(sql-parsing): remove sqlglot.Expression compat shim#17758

Merged
aviraj-gour merged 1 commit into
masterfrom
remove-sqlglot-expression-shim
Jun 5, 2026
Merged

fix(sql-parsing): remove sqlglot.Expression compat shim#17758
aviraj-gour merged 1 commit into
masterfrom
remove-sqlglot-expression-shim

Conversation

@aviraj-gour
Copy link
Copy Markdown
Contributor

Summary

  • Removes the sqlglot.Expression = sqlglot.expressions.Expression compat shim from _sqlglot_patch.py
  • Updates a comment in dataset.py that referenced sqlglot.Expression to use the correct sqlglot.expressions.Expression

No runtime code used sqlglot.Expression — confirmed by grepping the full codebase.

sqlglot.Expression was removed as a top-level re-export in v30.
The shim restoring it was dead code — no runtime usage existed,
only a comment in dataset.py which has been updated.
@github-actions github-actions Bot added the ingestion PR or Issue related to the ingestion of metadata label Jun 5, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@datahub-connector-tests
Copy link
Copy Markdown

Connector Tests Results

All connector tests passed for commit a8b93cb

View full test logs →

To skip connector tests, add the skip-connector-tests label (org members only).

Autogenerated by the connector-tests CI pipeline.

@aviraj-gour aviraj-gour merged commit 7134603 into master Jun 5, 2026
93 checks passed
@aviraj-gour aviraj-gour deleted the remove-sqlglot-expression-shim branch June 5, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ingestion PR or Issue related to the ingestion of metadata

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants