Repository navigation
Advance the pin to DuckDB v2.0.1 - #7
Open
kyleconroy wants to merge 4 commits into
Open
kyleconroy wants to merge 4 commits into
kyleconroy wants to merge 4 commits into
Conversation
…rmer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4HRrRLBPqxCRMFCvAX
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4HRrRLBPqxCRMFCvAX
The v2.0.1 json_serialize_sql output adds is_legacy_function_call to function and window expressions, and only the outermost call of an AT TIME ZONE chain carries a location. The corpus SELECT sweep is now 34,901 match, 0 mismatch, 118 skipped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4HRrRLBPqxCRMFCvAX
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
Advances the pin from DuckDB v2.0.0 to v2.0.1 (
8d78114e90, released 2026-11-19) through the regeneration workflow.Grammar and engine
.gramfiles verbatim from v2.0.1. The keyword lists did not change..starts a number only when a digit follows it. Otherwise it lexes as an operator, sousers..idis now a syntax error, as it is upstream.DottedNameoverride, a port ofDottedNameMatcher, used byINSTALL ... FROMand external resource types. Also addsReservedTableFunctionNameand memoizesParensTableRef.Transformer and AST
->/->>JSON chains are parsed through the newOtherOperatortails.ANY/ALLsubquery tails are handled there too.CREATE INDEX CONCURRENTLY, recorded asCreateIndexInfo.Concurrently.SET LOCAL|SESSION TIME ZONEandRESET [scope] TIME ZONE.CREATE EXTENSION REPOSITORY ... FROM <host>.SHOW [ALL] EXTERNAL RESOURCES [TYPE t]andSHOW EXTERNAL RESOURCE TYPES, both desugared to table functions as upstream does.QualifiedName::FromPath. This addsQualifiedName.QualificationandUseStatement.Path.USE a.b.c,SHOW TABLES FROM a.b.cand deepCOMMENT ONnames now parse instead of raising "Too many qualifications".ESCAPEwithSIMILAR TOor regex match operators.REPEATABLEseed out of range.-2147483648is BIGINT.EXCLUDE/REPLACEmessage lost its extra quotes.ast.ExternalResourceShowis removed, because upstream now desugars SHOW EXTERNAL RESOURCES.Corpus and goldens
is_legacy_function_call. Only the outermost call of anAT TIME ZONEchain carries a location.Testing
go build ./... && go vet ./... && gofmt -l . && go test -race ./...passes.parser/stmt_v201_test.gopins the new syntax and messages; each one was checked against the oracle.Notes
OVERRIDE_GIT_DESCRIBE=v2.0.1(core_functions, icu, json, parquet, autocomplete).duckdbsrc.ReleaseURLpoints at the official v2.0.1 asset.WITH NO DATALIMIT rewrite, CTE visibility for PIVOT enum extraction, and the performance-only transformer changes.Generated by Claude Code