Repository navigation
Commit 97667a1
committed
Add the native DuckDB 2.0.0 parser and link it into the syntax coverage checker
sqlquack-syntax-duckdb scans and parses DuckDB 2.0.0 SQL into the shared tree, keeping the
transformer's refusals with DuckDB's messages and every statement it does not build as a named
gap. It bounds nesting depth, type depth, flat AND/OR/set-operation chains (1,000 links, until the
shared tree's derived impls are safe on them) and the finished tree's depth (8,000 levels), and
it is clean at every depth of the deep-nesting probe.
The shared tree gains DuckDB-only fields, each last and skipped when empty: catalog parts on a
table name, qualified star modifiers, CTE key items, an aggregate's qualified name and quoting,
EXPORT_STATE, a method call's DISTINCT and ORDER BY, and a macro's further overloads. The syntax
coverage checker can now use DuckDB as its local parser, and the depth probe includes it.1 parent fe5b932 commit 97667a1
109 files changed
Lines changed: 20076 additions & 26 deletions
File tree
- corpora/duckdb-core
- coverage
- crates
- sqlquack-syntax-bigquery/src/parse/_helpers
- tree
- values
- sqlquack-syntax-coverage
- src
- cli/_helpers
- depth
- _helpers
- formats
- sqlquack-syntax-duckdb
- src
- keywords
- main
- parse
- _helpers
- commands
- tree
- values
- main
- tests
- scan
- _helpers
- main
- tests
- sqlquack-syntax-postgres/src/parse/_helpers/tree
- sqlquack-syntax/src
- expressions
- columns
- functions
- main
- names
- operators
- queries
- schema_objects
- statements
- tree
- _helpers
- guard/tests
- parser/_helpers
- ddl
- expressions
- functions
- queries
- statements
- support
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
Large diffs are not rendered by default.
0 commit comments