Skip to content

Upgrade sqlparser from 0.45 to 0.61#9881

Merged
smklein merged 1 commit into
mainfrom
sqlparser
Feb 23, 2026
Merged

Upgrade sqlparser from 0.45 to 0.61#9881
smklein merged 1 commit into
mainfrom
sqlparser

Conversation

@smklein

@smklein smklein commented Feb 18, 2026

Copy link
Copy Markdown
Collaborator

Bumps the workspace sqlparser dependency from 0.45 to 0.61 and updates
the sole consumer (oximeter/db/src/sql/mod.rs) for the breaking API changes:

  • ObjectName inner type changed from Vec<Ident> to Vec<ObjectNamePart>
  • Ident gained a span field (use Ident::new() / Ident::with_quote())
  • Expr::Value now wraps ValueWithSpan instead of Value
  • Query.order_by changed from Vec<OrderByExpr> to Option<OrderBy>
  • Query.limit/offset/limit_by consolidated into limit_clause
  • OrderByExpr.asc/nulls_first moved into OrderByOptions
  • New fields on Select, TableAlias, TableFactor, Join, Cte, With
  • Bare JOIN now parses as JoinOperator::Join (distinct from Inner)

@smklein smklein merged commit d315c91 into main Feb 23, 2026
18 checks passed
@smklein smklein deleted the sqlparser branch February 23, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants