Ziv
34f64e6bea
refactor: migrate antlr4 v4.12.0 to antlr4ts(4.9.0) ( #106 )
...
* build: ignore gen folder
* refactor: remove useless code
* fix: correct the Javascript usage in grammar
* refactor: move to antlr4ts
* fix: remove useless
* fix: update grammars for javascript target
* refactor: migrate to antlr4ts
* refactor: migrate to antlr4ts
* refactor: implements ParserErrorListener
* fix: rename the start reserved word
* refactor: remove unused import
* refactor: migrate to antlr4ts
* test: update the expects of test cases
* refactor: migrate hive to antlr4ts
* refactor: update the incompatible syntax for antlr4ts
* refactor: migrate pgsql grammar to antlr4ts, increasing tests
* refactor: migrate the plsql to antlr4ts
* build: remove unused config
* build: migrate to antlr4ts
* build: migrate ts-jest to @swc/jest
* refactor: migrate to anltr4ts
* build: migrate ts-jest to @swc/jest
2023-05-30 14:44:03 +08:00
Hayden
40c911597b
refactor: improve keywords definations ( #100 )
...
* feat: improve keywords definations and add prefix named KW_
* test: capitalize keywords in alter sql test cases
* test: capitalize keywords in create sql test cases
* feat: merge interval rule and timeIntervalExpression rule in flinksql grammar
* test: put keywords in quotation marks around insert sql test cases
* test: put keywords in quotation marks around select sql test cases
* feat: improve uid rule
* test: rename sum to _sum because it is a reserved keyword
* docs: improve comments in flinkSqlLexer
2023-05-19 14:28:25 +08:00
Ziv
c1c72def30
feat: upgrade antlr4 to 4.12.0 ( #88 )
2023-05-04 10:13:05 +08:00
nankaNULL
c0842b3e07
Feat/flink dt sql ( #75 )
...
* feat: dt self develop grammar
* feat: dt self develop grammar
2023-03-21 09:53:25 +08:00
nankaNULL
4f02f9aca0
Feat/flink grammar ( #73 )
...
* feat: complete flink sql insert statement
* feat: complete flink sql drop statement
* feat: complete flink sql alert statement
* feat: complete flink sql create statement, remove console log
* feat: complete flink sql describe, show, explain, use statement
* feat(flinksql): add statement, such as set, load
* fix(flinksql): fix insert, add temporary table
2023-02-27 19:03:32 +08:00
Ziv
14c2534de7
fix: remove space character in line comment rule ( #69 )
...
* fix: remove space character in line comment rule
* build: recompile grammars
* test: add cases for line comment
2023-01-09 11:01:10 +08:00
nankaNULL
0c9a831585
fix: fix flinksql create table grammar, add test ( #65 )
...
* fix: fix flinksql create table grammar, add test
* feat: add cross join, left outer join and time temporal join
* test: supplement flinksql join test
* fix: fix catalog table grammar, add test
* fix: fix flinksql data type, add test
* fix: delete console
* feat: add query with clause, add test
2022-12-28 14:20:33 +08:00
xiaowei
0f6c7849f2
refactor(test): import from src index file
2021-01-05 17:41:21 +08:00
Erindcl
da2581533f
fix: delete mock data
2021-01-05 11:49:40 +08:00
Erindcl
771b562c78
fix(flink): clear useless comments
2020-12-14 11:48:08 +08:00
Erindcl
3054e90917
feat(flin): add split sql test
2020-12-14 11:23:40 +08:00
Erindcl
a9b1e90d73
feat(flink): update grammar to match special columnName
2020-12-09 11:08:56 +08:00
Erindcl
e67f991ede
feat(flink): modify grammar to match keywords
2020-12-08 16:04:56 +08:00
Erindcl
cc1d5abcdd
feat(flink): add performance test
2020-12-04 11:14:20 +08:00
Erindcl
c9d88d00a6
feat(flink): update flinkSql grammar and add some test
2020-12-03 20:03:25 +08:00
Erindcl
0ef80696f4
feat(flink): add describe/explain/use/show statement and some test
2020-11-26 11:20:57 +08:00
Erindcl
0735269f4e
feat(flink): merge parser and lexer in order to java test
2020-11-18 20:05:49 +08:00
Erindcl
a5ea7be606
feat: add some query grammar
2020-11-11 19:58:14 +08:00
Erindcl
9fc91a572a
feat(flink): add drop/alter test add add part of queryStatement
2020-11-04 18:03:41 +08:00
Erindcl
6082c2b151
feat(flinksql): add some lexer
2020-10-23 17:52:43 +08:00
Erindcl
b7df08f012
feat(flink): add createTable grammar
2020-10-22 19:57:13 +08:00