Repository navigation
Upgrade SQL parsers to their latest releases - #4729
Open
kyleconroy wants to merge 1 commit into
Open
kyleconroy wants to merge 1 commit into
kyleconroy wants to merge 1 commit into
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Kyle · project thread
Upgrades every SQL parser to its latest tagged release.
sqlc-dev/darkwingsqlc-dev/marinosqlc-dev/meyersqlc-dev/oliphantsqlc-dev/teesqlsqlc-dev/doubleclick(ClickHouse, v1.0.0) andsqlc-dev/zetajones(GoogleSQL/Spanner, v0.2.0) are already on their latest releases.Breakage fixed
teesql v1.2.0 parses
VECTOR(n)as a newVectorDataTypeReferenceinstead of a user-defined type, which madeanalyze_types/mssqlandcore_types/mssqlfail withmissing type name. The SQL Server converter now maps it tovectorwith the dimension as a type modifier, which reproduces the committed goldens.Testing
go build ./...andgo veton the examples modulego 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 thoseSQLC_TEST_CORE=1 go test ./internal/endtoend -run TestReplay/core: same set of failing cases before and after the upgradeGenerated by Claude Code