Commit Graph

333 Commits

Author SHA1 Message Date
wewoor
04a56ba618 refactor: import readSQL function 2023-05-11 18:12:50 +08:00
wewoor
b39825e31a fix: ingore the unused errors of libs 2023-05-11 18:12:10 +08:00
wewoor
4af913cf30 feat: extracting the common readSQL function 2023-05-11 18:11:12 +08:00
野迂迂
370cccf8d9
feat: improve flinksql createStatement (#91)
* feat: improve flinksql createStatement

* feat: complete CREATE syntax unit tests

* feat: complete CREATA TABLE syntax tests

* feat: develop flinkSQL grammar

* feat: improve tableConstraint

* fix: convert TIMESTAMP_LTZ

* test: improve tests

* feat: build new flinksql parser and lexer

* test: add CREATE TEMPLATE TABLE test
2023-05-11 17:41:34 +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
xiaowei
11915b155d chore(release): 4.0.0-beta.3.2 2023-01-09 11:16:17 +08:00
xiaowei
6637e7a5cc chore(release): 4.0.0-beta.3.1 2023-01-09 11:13:19 +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
xiaowei
93b1c5141a build: ignore useless file 2023-01-06 10:19:26 +08:00
nankanull
0c3af873ea chore(release): 4.0.0-beta.3.1 2022-12-30 17:42:50 +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
nankanull
d4ac1ae940 test: add nested bracket test 2022-12-25 13:30:43 +08:00
nankanull
e446fc0435 fix: fix bracket match 2022-12-25 13:30:43 +08:00
Salvatore Ravidà
d3e91e6f74 update readme 2022-12-23 09:39:47 +08:00
mortalYoung
16b317b427 chore(release): 4.0.0-beta.3 2022-12-16 17:17:41 +08:00
James Wiens
1da353ece8 Docs: fix console log in example listener code 2022-12-16 16:03:49 +08:00
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
Ziv
dea53d45ad docs: add discord channel 2022-03-01 18:45:46 +08:00
xiaowei
ccafdf8e37 chore(release): 4.0.0-beta.2.2 2021-09-10 18:01:48 +08:00
xiaowei
eae322c0a3 build: update the SQL libs 2021-09-10 17:50:58 +08:00
xiaowei
850b6087fd test: split special sqls 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
5404cdd4d0 test: unit test for the custom variables 2021-09-10 17:50:58 +08:00
xiaowei
df18e6cb21 feat: support custom variables ${} 2021-09-10 17:50:58 +08:00
xiaowei
dd38dda19a feat: remove the impala 2021-09-10 17:50:58 +08:00
xiaowei
8b2900b890 build: disable the max-len rule 2021-09-10 17:50:58 +08:00
xiaowei
f9cf65d951 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
dependabot[bot]
d020591da1
build(deps): bump glob-parent from 5.1.1 to 5.1.2 (#32)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-16 14:30:20 +08:00
xiaowei
9f5661f45b docs: release 4.0.0-beta.2 2021-05-11 14:24:13 +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
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
dependabot[bot]
7acde4512f
build(deps): bump lodash from 4.17.20 to 4.17.21 (#25)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 13:34:24 +08:00
dependabot[bot]
aedfbe172f
build(deps): bump handlebars from 4.7.6 to 4.7.7 (#23)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 11:51:29 +08:00
dependabot[bot]
61f762f96a
build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#24)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 11:51:17 +08:00
dependabot[bot]
3212c1917d
build(deps): bump y18n from 4.0.0 to 4.0.1 (#18)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 11:50:48 +08:00
Ziv
3fbb1b3373
ci: remove 10.x node version (#15) 2021-02-07 13:12:21 +08:00
xiaowei
afbcce241d docs: release v4.0.0-beta.1 2021-01-05 19:17:21 +08:00
xiaowei
02b5bc8d8b chore(release): 4.0.0-beta.1 2021-01-05 19:16:17 +08:00