野迂迂
4b824fb500
feat(flink): support NOT NULL syntax ( #103 )
...
* feat(flink): support NOT NULL syntax
* feat(flinksql): support NULL
2023-05-23 10:12:05 +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
Hayden
a026ae0592
feat: complete Query statements of FlinkSQL ( #93 )
...
* feat: add inlineDataValueClasue rule
* test: update tests of select statements
* feat: support flinksql window TVF grammar
* test: flink sql windown TVF statement test
* feat: support grouping sets grammar
* test: window TVF Aggregation and Group Window Aggregation tests
* test: supplemental selectAggregation with test cases
* test: add Having statement test case
* feat: support flinkSql over aggregation grammar
* test: add over aggregation grammar test cases
* test: flink sql join statement test cases
* test: flink sql set Operations grammar test cases
* test: flink sql limit clause test case
* feat: remove allPlusUid and replace with uid
* feat: support flink sql pattern recognition grammar
* test: flink sql pattern recognition tests
* feat: add flink sql with clause rule
* test: flink sql with clasue select tests
* feat: rebuild flink sql parser
2023-05-17 10:30:25 +08:00
Ziv
fbee70cde5
feat: update alter and drop statements ( #94 )
...
* feat: add UNIQUE keyword
* feat: support ifExist, addConstraint, dropConstraint and addUnique of alter table statement
* feat: support ifExist, addConstraint, dropConstraint and addUnique of alter table statement
* tests: add tests of alter statements
* docs: add comments for sql syntax
* build: optimize promote of build/antlr4
* ci: add max_old_space_size
* ci: add max_old_space_size
* ci: update tests script
2023-05-17 10:00:35 +08:00
mumiao
dc417e1381
feat: improve flinksql insertStatement
...
* feat: feat: improve flinksql insertStatement
* feat: complete insertFromSelectQueries syntax unit tests
* feat: complete insertValuesIntoTable syntax unit tests
* feat: improve insertValuesIntoTable sql case data
* feat: complete insertMultipeTables unit cases
* feat: depracate insertMulStatement grammar for 1.1.4
* fix: depracate unless files
* test: recover jest.config info
* feat: improve insertMultipleTable.sql test case
* feat: build new flinksql parser and lexer
* feat: generator new flink parser and lexer file
* test: improve readSQL logic
* test: fix insertMultipleTable sql error
* test: recover jest.config.js info
2023-05-12 09:31:54 +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
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
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
df18e6cb21
feat: support custom variables ${}
2021-09-10 17:50:58 +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
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
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
f85163892a
feat: add generic and plsql basic parser file
2020-09-11 17:39:10 +08:00
xiaowei
c069f9f714
refactor: unify the parser generator to antlr4
2020-08-28 13:29:11 +08:00