Skip to content

chore(deps): bump sqlglot from 30.17.0 to 30.18.0 - #44192

Merged
rusackas merged 4 commits into
masterfrom
dependabot/pip/sqlglot-30.18.0
Sep 12, 2026
Merged

rusackas merged 4 commits into
masterfrom
dependabot/pip/sqlglot-30.18.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 12, 2026

Copy link
Copy Markdown
Contributor

Bumps sqlglot from 30.17.0 to 30.18.0.

Commits
  • 2e86ded feat(teradata): mod() func syntax
  • 9ea78d0 Clean up mod patch
  • 2391144 fix(postgres): keep the time zone argument of DATE_TRUNC [CLAUDE] (#8305)
  • 3128980 Sync w/ integration tests
  • b3f23fe fix(generator)!: mod generation precedence (#8290)
  • 1fa9653 perf(dialects): cache dialect classes resolved through the package _getattr...
  • e1fa30d Sync w/ integration tests
  • bb6220b fix(snowflake)!: stop dropping structured types on CREATE TABLE [GROK] (#8299)
  • c6c1fa4 fix(transforms): keep the table when dropping an unnamed UNIQUE constraint [C...
  • d546830 fix(spark): distinguish GROUPING SETS suffix syntax (#8288)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [sqlglot](https://github.com/tobymao/sqlglot) from 30.17.0 to 30.18.0.
- [Commits](tobymao/sqlglot@v30.17.0...v30.18.0)

---
updated-dependencies:
- dependency-name: sqlglot
  dependency-version: 30.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependabot minor Dependabot PRs that bump minor version for dependencies pip Dependabot - pip related PRs labels Sep 12, 2026
@bito-code-review

bito-code-review Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #0d4b2c

Actionable Suggestions - 0
Filtered by Review Rules

Bito filtered these suggestions based on rules created automatically for your feedback. Manage rules.

  • pyproject.toml - 1
Review Details
  • Files reviewed - 1 · Commit Range: e76580b..e76580b
    • pyproject.toml
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@codecov

codecov Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.17%. Comparing base (3e7bdec) to head (6b33f82).
⚠️ Report is 10 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #44192   +/-   ##
=======================================
  Coverage   80.16%   80.17%           
=======================================
  Files        2925     2925           
  Lines      172563   172648   +85     
  Branches    40058    40076   +18     
=======================================
+ Hits       138339   138422   +83     
- Misses      31627    31629    +2     
  Partials     2597     2597           
Flag Coverage Δ
hive 37.33% <57.14%> (-0.01%) ⬇️
mysql 56.86% <57.14%> (-0.01%) ⬇️
postgres 56.89% <57.14%> (+<0.01%) ⬆️
presto 39.22% <57.14%> (-0.01%) ⬇️
python 84.56% <100.00%> (+0.01%) ⬆️
sqlite 56.58% <57.14%> (-0.01%) ⬇️
unit 75.89% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bito-code-review

bito-code-review Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #e95240

Actionable Suggestions - 0
Review Details
  • Files reviewed - 2 · Commit Range: e76580b..a0e3803
    • requirements/base.txt
    • requirements/development.txt
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

…al change

sqlglot 30.18.0 renamed exp.Drop's `this` arg to `tables` (a list),
breaking the StarRocks dialect's custom DROP parser. It also made
`traverse_scope` raise `OptimizeError` instead of skipping a
set-operation operand it can't build a scope for (e.g. a bare
predicate like `1 = 1` in `1 = 1 UNION ALL SELECT ...`), which broke
table extraction for any such statement.

Co-Authored-By: Evan Rusackas <evan@preset.io>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@bito-code-review

bito-code-review Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #bcd2e4

Actionable Suggestions - 0
Review Details
  • Files reviewed - 2 · Commit Range: a0e3803..a82b062
    • superset/sql/dialects/starrocks.py
    • superset/sql/parse.py
  • Files skipped - 0
  • Tools
    • MyPy (Static Code Analysis) - ✔︎ Successful
    • Astral Ruff (Static Code Analysis) - ✔︎ Successful
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

…fallback dead

sqlglot 30.18 now intercepts a bare column-level `KEY` attribute before
dispatching to the dialect's CONSTRAINT_PARSERS override, so the
unnamed-fallback branch in _parse_starrocks_key_constraint is no longer
reachable through any known SQL construct. Adds a test for the still-live
`KEY <name> (...)` inline index form and marks the now-dead fallback
`pragma: no cover` to restore the 100% coverage gate.

Co-Authored-By: Evan Rusackas <evan@preset.io>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@pull-request-size pull-request-size Bot added size/M and removed size/S labels Sep 12, 2026
@bito-code-review

bito-code-review Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #280a3b

Actionable Suggestions - 0
Review Details
  • Files reviewed - 2 · Commit Range: a82b062..6b33f82
    • superset/sql/dialects/starrocks.py
    • tests/unit_tests/sql/parse_tests.py
  • Files skipped - 0
  • Tools
    • MyPy (Static Code Analysis) - ✔︎ Successful
    • Astral Ruff (Static Code Analysis) - ✔︎ Successful
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@rusackas rusackas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Green across the board, minor sqlglot bump. Approving.

@rusackas
rusackas merged commit f4706c6 into master Sep 12, 2026
105 checks passed
@rusackas
rusackas deleted the dependabot/pip/sqlglot-30.18.0 branch September 12, 2026 23:19
villebro added a commit that referenced this pull request Oct 9, 2026
sqlglot 30.18.0 passes a ``parse_mod`` keyword to ``Parser._parse_term``,
which 7.0's DB2 dialect overrides without that argument. Under 30.18+ every
DB2 statement with LIMIT/OFFSET raises ``TypeError: DB2.Parser._parse_term()
got an unexpected keyword argument 'parse_mod'``, and Superset applies a
LIMIT to nearly every query. The locked requirements pin 30.17.0, so Docker
images were unaffected, but pip installs resolved the newest release the
``<31`` range allowed.

On master the DB2 override was adapted (#44708) together with the sqlglot
30.18/30.19 bumps (#44192, #44935); 7.0 keeps 30.17 instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependabot dependencies:python minor Dependabot PRs that bump minor version for dependencies pip Dependabot - pip related PRs size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant