Commit Graph

71 Commits

Author SHA1 Message Date
wewoor
06f30ff5a4 build: update release script 2023-06-14 10:46:13 +08:00
wewoor
322b33a916 chore(release): 4.0.0 2023-06-14 10:43:22 +08:00
Hayden
1b02ff5d75
feat: FlinkSQL supports auto complete (#115)
* feat: add antlr4-c3 dependencies

* feat: distinguish table, catalog and database from uid

* feat: move semicolon from sqlStatements to sqlStatement

* chore: move antlr4ts-cli to devDependencies

* feat: improve basic parser and support suggestions of token and syntax

* feat: implement suggest method in sql parsers

* test: flink sql suggestion test cases

* feat: optimize ts defination of suggestion

* feat: add split listener and optimize performance of auto-completion

* test: supplementary flink suggestion unit tests
2023-06-09 11:22:53 +08:00
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
wewoor
a5a62dd6ef chore: add dist field 2023-05-11 18:13:42 +08:00
Ziv
c1c72def30
feat: upgrade antlr4 to 4.12.0 (#88) 2023-05-04 10:13:05 +08:00
xiaowei
11915b155d chore(release): 4.0.0-beta.3.2 2023-01-09 11:16:17 +08:00
nankanull
0c3af873ea chore(release): 4.0.0-beta.3.1 2022-12-30 17:42:50 +08:00
mortalYoung
16b317b427 chore(release): 4.0.0-beta.3 2022-12-16 17:17:41 +08:00
Salvatore Ravidà
a15da8e275 Added pgSQL support 2022-12-16 15:13:56 +08:00
xiaowei
ccafdf8e37 chore(release): 4.0.0-beta.2.2 2021-09-10 18:01:48 +08:00
xiaowei
dd38dda19a feat: remove the impala 2021-09-10 17:50:58 +08:00
xiaowei
629b43a7b2 chore(release): 4.0.0-beta.2.1 2021-07-16 14:49:26 +08:00
Ziv
02232cc870
docs: integrating with monaco-editor (#34)
* build: move standard-version to devDep

* docs: integrating with monaco-editor

* docs: update README
2021-07-16 14:33:35 +08:00
xiaowei
bcdcbafa3f chore(release): 4.0.0-beta.2 2021-05-11 14:22:34 +08:00
Ziv
ca85be9696
build: add the basic type declaration (#30) 2021-05-11 14:20:07 +08:00
xiaowei
bc888b7339 refactor: update exporting and testing 2021-01-05 19:13:26 +08:00
xiaowei
0003736e46 chore: update the package description 2021-01-05 18:58:42 +08:00
xiaowei
3dc5869024 build(release): add standard-version 2021-01-05 18:47:50 +08:00
xiaowei
8ef25b2c56 chore(release): 4.0.1-beta 2021-01-05 12:38:54 +08:00
xiaowei
e366559c3c chore: alter the license to MIT 2021-01-04 14:42:22 +08:00
xiaowei
0259212981 chore(release): 4.0.0-beta 2020-12-30 16:40:28 +08:00
xiaowei
2f400b8fc4 chore(release): 4.0.0-beta.1 2020-12-30 16:39:02 +08:00
xiaowei
76f1efb690 ci: update publishConfig and repository url 2020-12-30 16:36:23 +08:00
Erindcl
d0dd763533 chore(release):4.0.0-beta 2020-12-30 15:35:43 +08:00
Erindcl
996d875167 Merge branch 'dev' of ssh://gitlab.prod.dtstack.cn:10022/dt-insight-front/infrastructure/dt-sql-parser into dev 2020-12-30 10:40:17 +08:00
Erindcl
9b80234e66 merge master 2020-12-30 10:39:57 +08:00
Erindcl
76675e8251 fix: jest command 2020-12-29 19:18:38 +08:00
xiaowei
343ce60a09 ci: integrate with gitlab-ci 2020-12-17 19:03:25 +08:00
Erindcl
d9c0928f7a fix: lock antlr version 2020-11-25 19:50:57 +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
d86a6e7638 build: optimize cli and add eslint 2020-08-28 13:29:47 +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
62aa00ebf1 update js 2019-12-31 18:47:24 +08:00
HSunboy
93125a715a update new parser 2019-12-31 18:34:31 +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
4b7fd37a72 bugfix: add impala insert round brackets 2019-12-23 17:09:16 +08:00
HSunboy
3b4b7bdf83 remove unused library 2019-11-15 11:04:01 +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
9a9ccd197a build 2.0.2 2019-09-25 16:53:32 +08:00
HSunboy
325a2db4cf add empty sql support 2019-09-25 16:48:19 +08:00