Skip to content

Commit ba9c2b3

Browse files
committed
feat: add basic sql based on spark sql
1 parent dc2acf9 commit ba9c2b3

File tree

112 files changed

+54512
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+54512
-2
lines changed

src/grammar/basic/BasicSqlLexer.g4

+470
Large diffs are not rendered by default.

src/grammar/basic/BasicSqlParser.g4

+2,012
Large diffs are not rendered by default.

src/grammar/basic/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Basic SQL
2+
3+
grammar file based on spark sql grammar

src/index.ts

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
export { MySQL, FlinkSQL, SparkSQL, HiveSQL, PostgreSQL, TrinoSQL, ImpalaSQL } from './parser';
1+
export {
2+
MySQL,
3+
FlinkSQL,
4+
SparkSQL,
5+
HiveSQL,
6+
PostgreSQL,
7+
TrinoSQL,
8+
ImpalaSQL,
9+
BasicSQL,
10+
} from './parser';
211

312
export {
413
MySqlParserListener,
@@ -15,6 +24,8 @@ export {
1524
TrinoSqlVisitor,
1625
ImpalaSqlParserListener,
1726
ImpalaSqlParserVisitor,
27+
BasicSqlParserListener,
28+
BasicSqlParserVisitor,
1829
} from './lib';
1930

2031
export { EntityContextType } from './parser/common/types';

0 commit comments

Comments
 (0)