Commit 9c82a5d
mumiao
feat: support trino(presto) sql language (#105)
* feat(trino): intergrate prestoGrammar to dt-sql-parser
* feat(trino): add trinoSQl test framework
* feat(trino): intergrate test files for trinoSQL
* test(trino): support alterStatement test
* test(trino): support alter table set authorization statement
* feat(trino): complete trinosql alter unit tests
* test(trino): complete dropStatement unit cases for trinosql
* test(trino): complete create statement unit cases for trinoSQL
* test(trino): complete insertStatement unit cases for trinoSQl
* test(trino): dropStatement test files changed to short line split
* test(trino): complete selectStatement unit cases and grammar check
* test(trino): complete commentStatement unit case for trinoSQL
* test(trino): complete analyze commit and call clause unit case
* test(trino): complete delete deny and describe statement unit case
* test(trino): complete explain execute and grant statement unit case
* feat(trino): improve GRANT Role grammar
* test(trino): complete show statement unit case
* test(trino): complete truncateTable startTransaction update and values statement unit case
* test(trino): improve update statement test cases
* test(trino): complete revoke revoke roles and rollback statement unit case
* test(trino): add set statement test case
* feat: generator new trino parser and lexer file
* feat(trino): improve alter statement grammar
* test(trino): complete alter statement unit cases
* feat(trino): support case-insensitive lexers
* fix(trino): rm unless gen files
* test(trino): complete merge and reset session statement unit cases
* test(trino): complete merge anduse statement unit cases
* test(trino): complete prepare and refresh materialized view statement unit cases
* test(trino): improve statement unit cases
* test(trino): complete match recognize statement unit cases
* test(trino): complete window with row pattern recognition statement unit cases1 parent 0924acf commit 9c82a5d
119 files changed
Lines changed: 35039 additions & 2 deletions
File tree
- build
- src
- grammar/trinosql
- lib/trinosql
- parser
- test/parser/trinosql
- syntax
- fixtures
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
0 commit comments