Commit Graph

123 Commits

Author SHA1 Message Date
Salvatore Ravidà
ae767d5815 convert base to es5 - code clean 2022-12-16 15:13:56 +08:00
Salvatore Ravidà
ea0f061ff9 Added tests - restore target es6 - transpile base into es5 2022-12-16 15:13:56 +08:00
Salvatore Ravidà
f79202a5b7 Rename root to program 2022-12-16 15:13:56 +08:00
Salvatore Ravidà
a15da8e275 Added pgSQL support 2022-12-16 15:13:56 +08:00
xiaowei
eae322c0a3 build: update the SQL libs 2021-09-10 17:50:58 +08:00
xiaowei
bb6e8ac025 feat: tokenizer for the function arugments 2021-09-10 17:50:58 +08:00
xiaowei
b1ae454ae4 feat: add Bracket, Comma, and FunctionArguments tokens 2021-09-10 17:50:58 +08:00
xiaowei
df18e6cb21 feat: support custom variables ${} 2021-09-10 17:50:58 +08:00
Ziv
ca85be9696
build: add the basic type declaration (#30) 2021-05-11 14:20:07 +08:00
xiaowei
5f5af0a4ab fix: lexer for comment 2021-05-11 13:40:52 +08:00
Ziv
dc49697302
fix: clean sql white spaces #21 2021-05-11 13:39:42 +08:00
Ziv
bff1618742
Revert "fix: clea sql white spaces \n fix #21 (#26)" (#28)
This reverts commit b632f62678.
2021-05-11 13:37:34 +08:00
Ziv
b632f62678
fix: clea sql white spaces \n fix #21 (#26) 2021-05-11 13:35:45 +08:00
xiaowei
dc9974bbff refactor(spark): extract spark export into src index 2021-01-05 17:57:33 +08:00
xiaowei
221482cc7c refactor(plsql): extract plsql export into src index 2021-01-05 17:49:34 +08:00
xiaowei
57aba357ab refactor(hive): extract hive export into src index 2021-01-05 17:45:54 +08:00
xiaowei
ca44962acc refactor: update flinkSQL and genericSQL exporting location 2021-01-05 17:40:34 +08:00
xiaowei
1ac760e01a refactor: rename BasicParser.ts to basicParser.ts 2021-01-05 15:27:43 +08:00
xigua
1c8d020826 modify parser export 2020-12-17 17:43:12 +08:00
xigua
084efe1aab modify sparkSql grammar 2020-12-17 16:35:49 +08:00
xigua
8418c42c26 Merge branch 'dev' into feat_sparkSql 2020-12-17 14:59:52 +08:00
xigua
edbc87e8f1 update sql parser name 2020-12-17 11:44:45 +08:00
Erindcl
e6ee2ff411 Merge branch 'dev' into feat_flinkSql 2020-12-14 14:03:28 +08:00
Erindcl
771b562c78 fix(flink): clear useless comments 2020-12-14 11:48:08 +08:00
Erindcl
7d6c753d82 feat(utils): add cleanSql、splitSql、lexer func and test 2020-12-09 17:59:24 +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
c9d88d00a6 feat(flink): update flinkSql grammar and add some test 2020-12-03 20:03:25 +08:00
Erindcl
04c4c40397 feat(flink): update flink SQL grammar 2020-12-03 16:25:43 +08:00
Erindcl
0ef80696f4 feat(flink): add describe/explain/use/show statement and some test 2020-11-26 11:20:57 +08:00
Erindcl
d1259b46a0 feat(flink): update createTable grammar 2020-11-25 19:48:06 +08:00
chenfeng
2aab4b6ca7 refactor: listener and visitor entrance 2020-11-25 16:57:53 +08:00
chenfeng
e7e0c15b0d fix: adjust import path 2020-11-25 15:03:16 +08:00
chenfeng
ec41432ee3 feat: create hive lexer and hive parser 2020-11-25 14:55:51 +08:00
chenfeng
557e9a3246 feat: refactoring hive SQL lexer 2020-11-25 14:49:33 +08:00
Erindcl
1b9efdccd5 feat(flink): perfect query statement 2020-11-24 16:49:45 +08:00
Erindcl
afef8e6d72 feat(flink): add grammar rules that pass the test 2020-11-20 17:08:17 +08:00
Erindcl
da9660c6fe feat(flink): adjust lexer position to fix test error 2020-11-19 19:52:59 +08:00
Erindcl
0735269f4e feat(flink): merge parser and lexer in order to java test 2020-11-18 20:05:49 +08:00
Erindcl
d7d32a3824 feat(fink): refactoring selectStatement 2020-11-17 19:57:12 +08:00
Erindcl
a5ea7be606 feat: add some query grammar 2020-11-11 19:58:14 +08:00
xigua
0d47b7debc modify grammar, add syntax test 2020-11-05 20:37:07 +08:00
Erindcl
ba29949359 feat(flink): add queryStatement 2020-11-05 20:00:20 +08:00
Erindcl
9fc91a572a feat(flink): add drop/alter test add add part of queryStatement 2020-11-04 18:03:41 +08:00
xigua
bfe055be71 add sparkSql base grammar 2020-10-28 21:34:13 +08:00
Erindcl
158e235b01 feat(flink): add inset\drop\alter grammar 2020-10-28 16:15: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
xiaowei
654d96028c refactor: update parser root statement 2020-09-17 20:54:45 +08:00
xiaowei
be863e1acb build: update parser lib 2020-09-11 18:47:53 +08:00
xiaowei
f85163892a feat: add generic and plsql basic parser file 2020-09-11 17:39:10 +08:00
xiaowei
68800312d3 build: add antlr4 compile script 2020-09-09 14:11:04 +08:00
xiaowei
c069f9f714 refactor: unify the parser generator to antlr4 2020-08-28 13:29:11 +08:00
HSunboy
3bf241408c fix insert rowValuesList syntax 2020-03-26 13:06:16 +08:00
HSunboy
0c5f6164f4 fix hive insert syntax 2020-03-26 11:47:47 +08:00
HSunboy
364dc5fcae fix impala create table as select column bug 2020-01-10 17:00:09 +08:00
HSunboy
93125a715a update new parser 2019-12-31 18:34:31 +08:00
HSunboy
6eda025e39 add left function 2019-12-27 19:30:37 +08:00
HSunboy
a486270ab1 add impala lifecycle 2019-12-25 10:58:12 +08:00
HSunboy
67b3f68113 fix impala 2019-12-23 17:57:22 +08:00
HSunboy
e3cc938cae add impala WITH SERDEPROPERTIES syntax 2019-12-23 17:56:54 +08:00
HSunboy
4b7fd37a72 bugfix: add impala insert round brackets 2019-12-23 17:09:16 +08:00
HSunboy
02b00e17e0 add primary key support 2019-11-15 11:01:55 +08:00
HSunboy
2962271262 support MATCH_RECOGNIZE 2019-10-21 16:52:16 +08:00
HSunboy
eb0d32751b add lateral table support 2019-10-08 17:22:35 +08:00
HSunboy
3b6c224e0e fix split bug 2019-09-29 17:38:52 +08:00
HSunboy
966a8d31f4 fix error position 2019-09-25 17:04:43 +08:00
HSunboy
325a2db4cf add empty sql support 2019-09-25 16:48:19 +08:00
HSunboy
8d7040d04b add flinksql 2019-09-25 15:43:36 +08:00
HSunboy
e79a5a3d07 fix bugs 2019-06-04 17:54:27 +08:00
HSunboy
29eabe44af add test folder 2019-05-31 15:58:05 +08:00
HSunboy
41aed6b4ce complete ts type, add test 2019-05-14 16:57:09 +08:00
HSunboy
a15ab96a66 change to ts 2019-01-28 20:25:26 +08:00