Skip to content

Upgrade SQL parsers to their latest releases - #4729

Open
kyleconroy wants to merge 1 commit into
mainfrom
claude/project-thread-73oqz4
Open

kyleconroy wants to merge 1 commit into
mainfrom
claude/project-thread-73oqz4

Conversation

@kyleconroy

Copy link
Copy Markdown
Collaborator

Requested by Kyle · project thread

Upgrades every SQL parser to its latest tagged release.

Engine Module From To
DuckDB sqlc-dev/darkwing v0.1.0 v0.3.0
MySQL sqlc-dev/marino v0.3.1 v0.4.0
SQLite sqlc-dev/meyer v0.1.2 v0.1.3
PostgreSQL sqlc-dev/oliphant v0.2.0 v0.2.1
SQL Server sqlc-dev/teesql v1.1.0 v1.2.0

sqlc-dev/doubleclick (ClickHouse, v1.0.0) and sqlc-dev/zetajones (GoogleSQL/Spanner, v0.2.0) are already on their latest releases.

Breakage fixed

teesql v1.2.0 parses VECTOR(n) as a new VectorDataTypeReference instead of a user-defined type, which made analyze_types/mssql and core_types/mssql fail with missing type name. The SQL Server converter now maps it to vector with the dimension as a type modifier, which reproduces the committed goldens.

Testing

  • go build ./... and go vet on the examples module
  • go test ./...: everything passes except tests that need a live MySQL, which couldn't be installed in my environment (dev.mysql.com is blocked); CI covers those
  • SQLC_TEST_CORE=1 go test ./internal/endtoend -run TestReplay/core: same set of failing cases before and after the upgrade

Generated by Claude Code

- darkwing v0.1.0 => v0.3.0 (DuckDB)
- marino v0.3.1 => v0.4.0 (MySQL)
- meyer v0.1.2 => v0.1.3 (SQLite)
- oliphant v0.2.0 => v0.2.1 (PostgreSQL)
- teesql v1.1.0 => v1.2.0 (SQL Server)

teesql now parses VECTOR(n) as a VectorDataTypeReference rather than a
user-defined type, so convert it to the vector type with its dimension
as a type modifier.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LuRZ4Ks5mmqSvBqP5pPzJu
@kyleconroy kyleconroy self-assigned this Dec 2, 2026
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