dt-sql-parser 4.1.0 → 4.1.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/flink/FlinkSqlParser.d.ts +129 -87
- package/dist/lib/flink/FlinkSqlParser.js +2560 -2122
- package/dist/lib/flink/FlinkSqlParserListener.d.ts +55 -13
- package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +35 -8
- package/dist/parser/flink/index.js +7 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -369
|
@@ -140,6 +140,7 @@ import { ValueExpressionDefaultContext } from "./FlinkSqlParser.js";
|
|
|
140
140
|
import { ComparisonContext } from "./FlinkSqlParser.js";
|
|
141
141
|
import { ArithmeticBinaryContext } from "./FlinkSqlParser.js";
|
|
142
142
|
import { ArithmeticUnaryContext } from "./FlinkSqlParser.js";
|
|
143
|
+
import { FunctionCallExpressionContext } from "./FlinkSqlParser.js";
|
|
143
144
|
import { DereferenceContext } from "./FlinkSqlParser.js";
|
|
144
145
|
import { SimpleCaseContext } from "./FlinkSqlParser.js";
|
|
145
146
|
import { ColumnReferenceContext } from "./FlinkSqlParser.js";
|
|
@@ -153,10 +154,11 @@ import { ParenthesizedExpressionContext } from "./FlinkSqlParser.js";
|
|
|
153
154
|
import { FunctionCallContext } from "./FlinkSqlParser.js";
|
|
154
155
|
import { SearchedCaseContext } from "./FlinkSqlParser.js";
|
|
155
156
|
import { PositionContext } from "./FlinkSqlParser.js";
|
|
156
|
-
import { DateFunctionExpressionContext } from "./FlinkSqlParser.js";
|
|
157
157
|
import { FirstContext } from "./FlinkSqlParser.js";
|
|
158
158
|
import { FunctionNameCreateContext } from "./FlinkSqlParser.js";
|
|
159
159
|
import { FunctionNameContext } from "./FlinkSqlParser.js";
|
|
160
|
+
import { FunctionNameAndParamsContext } from "./FlinkSqlParser.js";
|
|
161
|
+
import { FunctionNameWithParamsContext } from "./FlinkSqlParser.js";
|
|
160
162
|
import { FunctionParamContext } from "./FlinkSqlParser.js";
|
|
161
163
|
import { DereferenceDefinitionContext } from "./FlinkSqlParser.js";
|
|
162
164
|
import { CorrelationNameContext } from "./FlinkSqlParser.js";
|
|
@@ -209,6 +211,8 @@ import { SetQuantifierContext } from "./FlinkSqlParser.js";
|
|
|
209
211
|
import { TimePointUnitContext } from "./FlinkSqlParser.js";
|
|
210
212
|
import { TimeIntervalUnitContext } from "./FlinkSqlParser.js";
|
|
211
213
|
import { ReservedKeywordsUsedAsFuncParamContext } from "./FlinkSqlParser.js";
|
|
214
|
+
import { ReservedKeywordsNoParamsUsedAsFuncNameContext } from "./FlinkSqlParser.js";
|
|
215
|
+
import { ReservedKeywordsFollowParamsUsedAsFuncNameContext } from "./FlinkSqlParser.js";
|
|
212
216
|
import { ReservedKeywordsUsedAsFuncNameContext } from "./FlinkSqlParser.js";
|
|
213
217
|
import { NonReservedKeywordsContext } from "./FlinkSqlParser.js";
|
|
214
218
|
/**
|
|
@@ -1648,6 +1652,16 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1648
1652
|
* @param ctx the parse tree
|
|
1649
1653
|
*/
|
|
1650
1654
|
exitArithmeticUnary?: (ctx: ArithmeticUnaryContext) => void;
|
|
1655
|
+
/**
|
|
1656
|
+
* Enter a parse tree produced by `FlinkSqlParser.functionCallExpression`.
|
|
1657
|
+
* @param ctx the parse tree
|
|
1658
|
+
*/
|
|
1659
|
+
enterFunctionCallExpression?: (ctx: FunctionCallExpressionContext) => void;
|
|
1660
|
+
/**
|
|
1661
|
+
* Exit a parse tree produced by `FlinkSqlParser.functionCallExpression`.
|
|
1662
|
+
* @param ctx the parse tree
|
|
1663
|
+
*/
|
|
1664
|
+
exitFunctionCallExpression?: (ctx: FunctionCallExpressionContext) => void;
|
|
1651
1665
|
/**
|
|
1652
1666
|
* Enter a parse tree produced by the `dereference`
|
|
1653
1667
|
* labeled alternative in `FlinkSqlParser.primaryExpression`.
|
|
@@ -1804,18 +1818,6 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1804
1818
|
* @param ctx the parse tree
|
|
1805
1819
|
*/
|
|
1806
1820
|
exitPosition?: (ctx: PositionContext) => void;
|
|
1807
|
-
/**
|
|
1808
|
-
* Enter a parse tree produced by the `dateFunctionExpression`
|
|
1809
|
-
* labeled alternative in `FlinkSqlParser.primaryExpression`.
|
|
1810
|
-
* @param ctx the parse tree
|
|
1811
|
-
*/
|
|
1812
|
-
enterDateFunctionExpression?: (ctx: DateFunctionExpressionContext) => void;
|
|
1813
|
-
/**
|
|
1814
|
-
* Exit a parse tree produced by the `dateFunctionExpression`
|
|
1815
|
-
* labeled alternative in `FlinkSqlParser.primaryExpression`.
|
|
1816
|
-
* @param ctx the parse tree
|
|
1817
|
-
*/
|
|
1818
|
-
exitDateFunctionExpression?: (ctx: DateFunctionExpressionContext) => void;
|
|
1819
1821
|
/**
|
|
1820
1822
|
* Enter a parse tree produced by the `first`
|
|
1821
1823
|
* labeled alternative in `FlinkSqlParser.primaryExpression`.
|
|
@@ -1848,6 +1850,26 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1848
1850
|
* @param ctx the parse tree
|
|
1849
1851
|
*/
|
|
1850
1852
|
exitFunctionName?: (ctx: FunctionNameContext) => void;
|
|
1853
|
+
/**
|
|
1854
|
+
* Enter a parse tree produced by `FlinkSqlParser.functionNameAndParams`.
|
|
1855
|
+
* @param ctx the parse tree
|
|
1856
|
+
*/
|
|
1857
|
+
enterFunctionNameAndParams?: (ctx: FunctionNameAndParamsContext) => void;
|
|
1858
|
+
/**
|
|
1859
|
+
* Exit a parse tree produced by `FlinkSqlParser.functionNameAndParams`.
|
|
1860
|
+
* @param ctx the parse tree
|
|
1861
|
+
*/
|
|
1862
|
+
exitFunctionNameAndParams?: (ctx: FunctionNameAndParamsContext) => void;
|
|
1863
|
+
/**
|
|
1864
|
+
* Enter a parse tree produced by `FlinkSqlParser.functionNameWithParams`.
|
|
1865
|
+
* @param ctx the parse tree
|
|
1866
|
+
*/
|
|
1867
|
+
enterFunctionNameWithParams?: (ctx: FunctionNameWithParamsContext) => void;
|
|
1868
|
+
/**
|
|
1869
|
+
* Exit a parse tree produced by `FlinkSqlParser.functionNameWithParams`.
|
|
1870
|
+
* @param ctx the parse tree
|
|
1871
|
+
*/
|
|
1872
|
+
exitFunctionNameWithParams?: (ctx: FunctionNameWithParamsContext) => void;
|
|
1851
1873
|
/**
|
|
1852
1874
|
* Enter a parse tree produced by `FlinkSqlParser.functionParam`.
|
|
1853
1875
|
* @param ctx the parse tree
|
|
@@ -2378,6 +2400,26 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
2378
2400
|
* @param ctx the parse tree
|
|
2379
2401
|
*/
|
|
2380
2402
|
exitReservedKeywordsUsedAsFuncParam?: (ctx: ReservedKeywordsUsedAsFuncParamContext) => void;
|
|
2403
|
+
/**
|
|
2404
|
+
* Enter a parse tree produced by `FlinkSqlParser.reservedKeywordsNoParamsUsedAsFuncName`.
|
|
2405
|
+
* @param ctx the parse tree
|
|
2406
|
+
*/
|
|
2407
|
+
enterReservedKeywordsNoParamsUsedAsFuncName?: (ctx: ReservedKeywordsNoParamsUsedAsFuncNameContext) => void;
|
|
2408
|
+
/**
|
|
2409
|
+
* Exit a parse tree produced by `FlinkSqlParser.reservedKeywordsNoParamsUsedAsFuncName`.
|
|
2410
|
+
* @param ctx the parse tree
|
|
2411
|
+
*/
|
|
2412
|
+
exitReservedKeywordsNoParamsUsedAsFuncName?: (ctx: ReservedKeywordsNoParamsUsedAsFuncNameContext) => void;
|
|
2413
|
+
/**
|
|
2414
|
+
* Enter a parse tree produced by `FlinkSqlParser.reservedKeywordsFollowParamsUsedAsFuncName`.
|
|
2415
|
+
* @param ctx the parse tree
|
|
2416
|
+
*/
|
|
2417
|
+
enterReservedKeywordsFollowParamsUsedAsFuncName?: (ctx: ReservedKeywordsFollowParamsUsedAsFuncNameContext) => void;
|
|
2418
|
+
/**
|
|
2419
|
+
* Exit a parse tree produced by `FlinkSqlParser.reservedKeywordsFollowParamsUsedAsFuncName`.
|
|
2420
|
+
* @param ctx the parse tree
|
|
2421
|
+
*/
|
|
2422
|
+
exitReservedKeywordsFollowParamsUsedAsFuncName?: (ctx: ReservedKeywordsFollowParamsUsedAsFuncNameContext) => void;
|
|
2381
2423
|
/**
|
|
2382
2424
|
* Enter a parse tree produced by `FlinkSqlParser.reservedKeywordsUsedAsFuncName`.
|
|
2383
2425
|
* @param ctx the parse tree
|
|
@@ -140,6 +140,7 @@ import { ValueExpressionDefaultContext } from "./FlinkSqlParser.js";
|
|
|
140
140
|
import { ComparisonContext } from "./FlinkSqlParser.js";
|
|
141
141
|
import { ArithmeticBinaryContext } from "./FlinkSqlParser.js";
|
|
142
142
|
import { ArithmeticUnaryContext } from "./FlinkSqlParser.js";
|
|
143
|
+
import { FunctionCallExpressionContext } from "./FlinkSqlParser.js";
|
|
143
144
|
import { DereferenceContext } from "./FlinkSqlParser.js";
|
|
144
145
|
import { SimpleCaseContext } from "./FlinkSqlParser.js";
|
|
145
146
|
import { ColumnReferenceContext } from "./FlinkSqlParser.js";
|
|
@@ -153,10 +154,11 @@ import { ParenthesizedExpressionContext } from "./FlinkSqlParser.js";
|
|
|
153
154
|
import { FunctionCallContext } from "./FlinkSqlParser.js";
|
|
154
155
|
import { SearchedCaseContext } from "./FlinkSqlParser.js";
|
|
155
156
|
import { PositionContext } from "./FlinkSqlParser.js";
|
|
156
|
-
import { DateFunctionExpressionContext } from "./FlinkSqlParser.js";
|
|
157
157
|
import { FirstContext } from "./FlinkSqlParser.js";
|
|
158
158
|
import { FunctionNameCreateContext } from "./FlinkSqlParser.js";
|
|
159
159
|
import { FunctionNameContext } from "./FlinkSqlParser.js";
|
|
160
|
+
import { FunctionNameAndParamsContext } from "./FlinkSqlParser.js";
|
|
161
|
+
import { FunctionNameWithParamsContext } from "./FlinkSqlParser.js";
|
|
160
162
|
import { FunctionParamContext } from "./FlinkSqlParser.js";
|
|
161
163
|
import { DereferenceDefinitionContext } from "./FlinkSqlParser.js";
|
|
162
164
|
import { CorrelationNameContext } from "./FlinkSqlParser.js";
|
|
@@ -209,6 +211,8 @@ import { SetQuantifierContext } from "./FlinkSqlParser.js";
|
|
|
209
211
|
import { TimePointUnitContext } from "./FlinkSqlParser.js";
|
|
210
212
|
import { TimeIntervalUnitContext } from "./FlinkSqlParser.js";
|
|
211
213
|
import { ReservedKeywordsUsedAsFuncParamContext } from "./FlinkSqlParser.js";
|
|
214
|
+
import { ReservedKeywordsNoParamsUsedAsFuncNameContext } from "./FlinkSqlParser.js";
|
|
215
|
+
import { ReservedKeywordsFollowParamsUsedAsFuncNameContext } from "./FlinkSqlParser.js";
|
|
212
216
|
import { ReservedKeywordsUsedAsFuncNameContext } from "./FlinkSqlParser.js";
|
|
213
217
|
import { NonReservedKeywordsContext } from "./FlinkSqlParser.js";
|
|
214
218
|
/**
|
|
@@ -1076,6 +1080,12 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
1076
1080
|
* @return the visitor result
|
|
1077
1081
|
*/
|
|
1078
1082
|
visitArithmeticUnary?: (ctx: ArithmeticUnaryContext) => Result;
|
|
1083
|
+
/**
|
|
1084
|
+
* Visit a parse tree produced by `FlinkSqlParser.functionCallExpression`.
|
|
1085
|
+
* @param ctx the parse tree
|
|
1086
|
+
* @return the visitor result
|
|
1087
|
+
*/
|
|
1088
|
+
visitFunctionCallExpression?: (ctx: FunctionCallExpressionContext) => Result;
|
|
1079
1089
|
/**
|
|
1080
1090
|
* Visit a parse tree produced by the `dereference`
|
|
1081
1091
|
* labeled alternative in `FlinkSqlParser.primaryExpression`.
|
|
@@ -1167,13 +1177,6 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
1167
1177
|
* @return the visitor result
|
|
1168
1178
|
*/
|
|
1169
1179
|
visitPosition?: (ctx: PositionContext) => Result;
|
|
1170
|
-
/**
|
|
1171
|
-
* Visit a parse tree produced by the `dateFunctionExpression`
|
|
1172
|
-
* labeled alternative in `FlinkSqlParser.primaryExpression`.
|
|
1173
|
-
* @param ctx the parse tree
|
|
1174
|
-
* @return the visitor result
|
|
1175
|
-
*/
|
|
1176
|
-
visitDateFunctionExpression?: (ctx: DateFunctionExpressionContext) => Result;
|
|
1177
1180
|
/**
|
|
1178
1181
|
* Visit a parse tree produced by the `first`
|
|
1179
1182
|
* labeled alternative in `FlinkSqlParser.primaryExpression`.
|
|
@@ -1193,6 +1196,18 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
1193
1196
|
* @return the visitor result
|
|
1194
1197
|
*/
|
|
1195
1198
|
visitFunctionName?: (ctx: FunctionNameContext) => Result;
|
|
1199
|
+
/**
|
|
1200
|
+
* Visit a parse tree produced by `FlinkSqlParser.functionNameAndParams`.
|
|
1201
|
+
* @param ctx the parse tree
|
|
1202
|
+
* @return the visitor result
|
|
1203
|
+
*/
|
|
1204
|
+
visitFunctionNameAndParams?: (ctx: FunctionNameAndParamsContext) => Result;
|
|
1205
|
+
/**
|
|
1206
|
+
* Visit a parse tree produced by `FlinkSqlParser.functionNameWithParams`.
|
|
1207
|
+
* @param ctx the parse tree
|
|
1208
|
+
* @return the visitor result
|
|
1209
|
+
*/
|
|
1210
|
+
visitFunctionNameWithParams?: (ctx: FunctionNameWithParamsContext) => Result;
|
|
1196
1211
|
/**
|
|
1197
1212
|
* Visit a parse tree produced by `FlinkSqlParser.functionParam`.
|
|
1198
1213
|
* @param ctx the parse tree
|
|
@@ -1510,6 +1525,18 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
1510
1525
|
* @return the visitor result
|
|
1511
1526
|
*/
|
|
1512
1527
|
visitReservedKeywordsUsedAsFuncParam?: (ctx: ReservedKeywordsUsedAsFuncParamContext) => Result;
|
|
1528
|
+
/**
|
|
1529
|
+
* Visit a parse tree produced by `FlinkSqlParser.reservedKeywordsNoParamsUsedAsFuncName`.
|
|
1530
|
+
* @param ctx the parse tree
|
|
1531
|
+
* @return the visitor result
|
|
1532
|
+
*/
|
|
1533
|
+
visitReservedKeywordsNoParamsUsedAsFuncName?: (ctx: ReservedKeywordsNoParamsUsedAsFuncNameContext) => Result;
|
|
1534
|
+
/**
|
|
1535
|
+
* Visit a parse tree produced by `FlinkSqlParser.reservedKeywordsFollowParamsUsedAsFuncName`.
|
|
1536
|
+
* @param ctx the parse tree
|
|
1537
|
+
* @return the visitor result
|
|
1538
|
+
*/
|
|
1539
|
+
visitReservedKeywordsFollowParamsUsedAsFuncName?: (ctx: ReservedKeywordsFollowParamsUsedAsFuncNameContext) => Result;
|
|
1513
1540
|
/**
|
|
1514
1541
|
* Visit a parse tree produced by `FlinkSqlParser.reservedKeywordsUsedAsFuncName`.
|
|
1515
1542
|
* @param ctx the parse tree
|
|
@@ -18,6 +18,9 @@ export class FlinkSQL extends BasicSQL {
|
|
|
18
18
|
FlinkSqlParser.RULE_viewPath, // view name path
|
|
19
19
|
FlinkSqlParser.RULE_viewPathCreate, // viewName that will be created
|
|
20
20
|
FlinkSqlParser.RULE_functionName, // functionName
|
|
21
|
+
FlinkSqlParser.RULE_functionNameWithParams, // functionName
|
|
22
|
+
FlinkSqlParser.RULE_reservedKeywordsFollowParamsUsedAsFuncName, // functionName
|
|
23
|
+
FlinkSqlParser.RULE_reservedKeywordsNoParamsUsedAsFuncName, // functionName
|
|
21
24
|
FlinkSqlParser.RULE_functionNameCreate, // functionName that will be created
|
|
22
25
|
FlinkSqlParser.RULE_columnName,
|
|
23
26
|
FlinkSqlParser.RULE_columnNameCreate,
|
|
@@ -76,7 +79,10 @@ export class FlinkSQL extends BasicSQL {
|
|
|
76
79
|
syntaxContextType = EntityContextType.VIEW_CREATE;
|
|
77
80
|
break;
|
|
78
81
|
}
|
|
79
|
-
case FlinkSqlParser.RULE_functionName:
|
|
82
|
+
case FlinkSqlParser.RULE_functionName:
|
|
83
|
+
case FlinkSqlParser.RULE_functionNameWithParams:
|
|
84
|
+
case FlinkSqlParser.RULE_reservedKeywordsFollowParamsUsedAsFuncName:
|
|
85
|
+
case FlinkSqlParser.RULE_reservedKeywordsNoParamsUsedAsFuncName: {
|
|
80
86
|
syntaxContextType = EntityContextType.FUNCTION;
|
|
81
87
|
break;
|
|
82
88
|
}
|
package/package.json
CHANGED
package/CHANGELOG.md
DELETED
|
@@ -1,369 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
-
|
|
5
|
-
## [4.1.0](https://github.com/DTStack/dt-sql-parser/compare/v4.0.1...v4.1.0) (2025-02-13)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
* add alter table stmt ([#312](https://github.com/DTStack/dt-sql-parser/issues/312)) ([5aade9e](https://github.com/DTStack/dt-sql-parser/commit/5aade9e6daafc2c6e70c5202d7ef06572ec37f6e))
|
|
11
|
-
* add benchmark test suite ([#273](https://github.com/DTStack/dt-sql-parser/issues/273)) ([de1bd9d](https://github.com/DTStack/dt-sql-parser/commit/de1bd9de4cb7c3b42d51bedd79635eb91afba9ed))
|
|
12
|
-
* **basicSql:** remove judge splitListener/collectListener, all sqlParser implements it ([#316](https://github.com/DTStack/dt-sql-parser/issues/316)) ([eb2e920](https://github.com/DTStack/dt-sql-parser/commit/eb2e920e345aef98285ba261c2060db61d1d56b8))
|
|
13
|
-
* sync some useful syntax from antlr/grammars-v4 ([95a1087](https://github.com/DTStack/dt-sql-parser/commit/95a108744bb40e418056faaf86bd97b85dd191f8))
|
|
14
|
-
* upgrade trino to 450 ([#323](https://github.com/DTStack/dt-sql-parser/issues/323)) ([2b0de6a](https://github.com/DTStack/dt-sql-parser/commit/2b0de6a3da16561ec52b0c69d4e052226d54a553))
|
|
15
|
-
* use common sql to run benchmark ([#326](https://github.com/DTStack/dt-sql-parser/issues/326)) ([76d0900](https://github.com/DTStack/dt-sql-parser/commit/76d090040e7af26227727673a82f77cda08b3f9e))
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
### Bug Fixes
|
|
19
|
-
|
|
20
|
-
* [#351](https://github.com/DTStack/dt-sql-parser/issues/351) antlr4 command optimize ([74d6435](https://github.com/DTStack/dt-sql-parser/commit/74d643599eb5603279a180262c49eccb04779a30))
|
|
21
|
-
* [#381](https://github.com/DTStack/dt-sql-parser/issues/381) antlr4 flink grammar ([74be81c](https://github.com/DTStack/dt-sql-parser/commit/74be81cc695cb26f9b7e90c866e8183f34020a42))
|
|
22
|
-
* add hash partition table keywords MODULUS and REMAINDER ([#384](https://github.com/DTStack/dt-sql-parser/issues/384)) ([f2e6b60](https://github.com/DTStack/dt-sql-parser/commit/f2e6b605eca5f8221588d2ca9b85ac2b824aae8d))
|
|
23
|
-
* alert to alterView ([#346](https://github.com/DTStack/dt-sql-parser/issues/346)) ([9ba5100](https://github.com/DTStack/dt-sql-parser/commit/9ba51007e2f21ab8bc42623596ee281801904cfa))
|
|
24
|
-
* **benchmark:** add reports dir judge and remove plsql and include pgsql ([9c534c2](https://github.com/DTStack/dt-sql-parser/commit/9c534c25cacba3cfba6bd234c68e8f27bd90b2e2))
|
|
25
|
-
* build mysql ([5d6ff46](https://github.com/DTStack/dt-sql-parser/commit/5d6ff4662a11acf9f16b1f18c41c204922890df9))
|
|
26
|
-
* **ci:** add antlr4 all sql in ci ([2b30e78](https://github.com/DTStack/dt-sql-parser/commit/2b30e781a24f9d7685e46ebc90b1cc153f7e267e))
|
|
27
|
-
* **ci:** change ci and add hash judge ([276cc34](https://github.com/DTStack/dt-sql-parser/commit/276cc34c55bacd34cda4e8eeb7eef5f0955f9b82))
|
|
28
|
-
* **ci:** change crypto to devDependencies ([b788e1c](https://github.com/DTStack/dt-sql-parser/commit/b788e1ca788308cc56601bcbf7ae24f3156e3af9))
|
|
29
|
-
* createFunction and createFunctionLoadable ([e83449a](https://github.com/DTStack/dt-sql-parser/commit/e83449a0cc0a50be510c7b4a3337597b1890fc92))
|
|
30
|
-
* flinksql function params add more time functions ([#347](https://github.com/DTStack/dt-sql-parser/issues/347)) ([b835c4b](https://github.com/DTStack/dt-sql-parser/commit/b835c4b5b506c8e4bf0bd9c99fe66c15e53a179b))
|
|
31
|
-
* **hive:** add select into configPropertiesItem ([#365](https://github.com/DTStack/dt-sql-parser/issues/365)) ([bdb4b96](https://github.com/DTStack/dt-sql-parser/commit/bdb4b962f2e170c4e703359a9cd6a451f7b8fd60))
|
|
32
|
-
* **impala:** fix alter table change statement ([#332](https://github.com/DTStack/dt-sql-parser/issues/332)) ([4a9681e](https://github.com/DTStack/dt-sql-parser/commit/4a9681ed3bd188e41c30a6d7be39d6e77df7f61b))
|
|
33
|
-
* mysql case when ([#317](https://github.com/DTStack/dt-sql-parser/issues/317)) ([fea1ad1](https://github.com/DTStack/dt-sql-parser/commit/fea1ad1a357b70291a240eca6d2058bab9b49469))
|
|
34
|
-
* **postgresql:** change func_application to add column_name and paren ([#359](https://github.com/DTStack/dt-sql-parser/issues/359)) ([9a5eda8](https://github.com/DTStack/dt-sql-parser/commit/9a5eda8d80789e37f2904a1ceb3f8c646237a207))
|
|
35
|
-
* **postgresql:** combine plsql_unreserved_keyword to unreserved_keyword and remove unused rules ([7884cbe](https://github.com/DTStack/dt-sql-parser/commit/7884cbe37844c057fa41fde4d0716af43c4023af))
|
|
36
|
-
* **trino:** update timezone grammar to avoid ambiguity ([#394](https://github.com/DTStack/dt-sql-parser/issues/394)) ([05134bc](https://github.com/DTStack/dt-sql-parser/commit/05134bc569996d108f961a7228c2e34cea0fd98b))
|
|
37
|
-
* update isContainCaret judgment when caret position token is whit… ([#390](https://github.com/DTStack/dt-sql-parser/issues/390)) ([20f065d](https://github.com/DTStack/dt-sql-parser/commit/20f065d6f099ee6e021d9b0499e4c4aa7de92e6b))
|
|
38
|
-
|
|
39
|
-
## [4.1.0-beta.0](https://github.com/DTStack/dt-sql-parser/compare/v4.0.1...v4.1.0-beta.0) (2024-08-27)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
### Features
|
|
43
|
-
|
|
44
|
-
* add alter table stmt ([#312](https://github.com/DTStack/dt-sql-parser/issues/312)) ([5aade9e](https://github.com/DTStack/dt-sql-parser/commit/5aade9e6daafc2c6e70c5202d7ef06572ec37f6e))
|
|
45
|
-
* add benchmark test suite ([#273](https://github.com/DTStack/dt-sql-parser/issues/273)) ([de1bd9d](https://github.com/DTStack/dt-sql-parser/commit/de1bd9de4cb7c3b42d51bedd79635eb91afba9ed))
|
|
46
|
-
* **basicSql:** remove judge splitListener/collectListener, all sqlParser implements it ([#316](https://github.com/DTStack/dt-sql-parser/issues/316)) ([eb2e920](https://github.com/DTStack/dt-sql-parser/commit/eb2e920e345aef98285ba261c2060db61d1d56b8))
|
|
47
|
-
* collect entity's attribute([#333](https://github.com/DTStack/dt-sql-parser/issues/333)) ([a3b6b7e](https://github.com/DTStack/dt-sql-parser/commit/a3b6b7eb8bad2444b16481985278461c35360570))
|
|
48
|
-
* **flinksql:** collect comment, type attribute for entity ([#319](https://github.com/DTStack/dt-sql-parser/issues/319)) ([ae52ebd](https://github.com/DTStack/dt-sql-parser/commit/ae52ebdd6b6d1511cf92eb09521b06bdec66ba0d)), closes [#305](https://github.com/DTStack/dt-sql-parser/issues/305)
|
|
49
|
-
* improve errorListener msg ([#281](https://github.com/DTStack/dt-sql-parser/issues/281)) ([deef123](https://github.com/DTStack/dt-sql-parser/commit/deef1238bb25d5bfee80ddaf1fea5ad48178d17b))
|
|
50
|
-
* sync some useful syntax from antlr/grammars-v4 ([95a1087](https://github.com/DTStack/dt-sql-parser/commit/95a108744bb40e418056faaf86bd97b85dd191f8))
|
|
51
|
-
* upgrade trino to 450 ([#323](https://github.com/DTStack/dt-sql-parser/issues/323)) ([2b0de6a](https://github.com/DTStack/dt-sql-parser/commit/2b0de6a3da16561ec52b0c69d4e052226d54a553))
|
|
52
|
-
* use common sql to run benchmark ([#326](https://github.com/DTStack/dt-sql-parser/issues/326)) ([76d0900](https://github.com/DTStack/dt-sql-parser/commit/76d090040e7af26227727673a82f77cda08b3f9e))
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
### Bug Fixes
|
|
56
|
-
|
|
57
|
-
* alert to alterView ([#346](https://github.com/DTStack/dt-sql-parser/issues/346)) ([9ba5100](https://github.com/DTStack/dt-sql-parser/commit/9ba51007e2f21ab8bc42623596ee281801904cfa))
|
|
58
|
-
* **benchmark:** add reports dir judge and remove plsql and include pgsql ([9c534c2](https://github.com/DTStack/dt-sql-parser/commit/9c534c25cacba3cfba6bd234c68e8f27bd90b2e2))
|
|
59
|
-
* build mysql ([5d6ff46](https://github.com/DTStack/dt-sql-parser/commit/5d6ff4662a11acf9f16b1f18c41c204922890df9))
|
|
60
|
-
* createFunction and createFunctionLoadable ([e83449a](https://github.com/DTStack/dt-sql-parser/commit/e83449a0cc0a50be510c7b4a3337597b1890fc92))
|
|
61
|
-
* flinksql function params add more time functions ([#347](https://github.com/DTStack/dt-sql-parser/issues/347)) ([b835c4b](https://github.com/DTStack/dt-sql-parser/commit/b835c4b5b506c8e4bf0bd9c99fe66c15e53a179b))
|
|
62
|
-
* **impala:** fix alter table change statement ([#332](https://github.com/DTStack/dt-sql-parser/issues/332)) ([4a9681e](https://github.com/DTStack/dt-sql-parser/commit/4a9681ed3bd188e41c30a6d7be39d6e77df7f61b))
|
|
63
|
-
* mysql case when ([#317](https://github.com/DTStack/dt-sql-parser/issues/317)) ([fea1ad1](https://github.com/DTStack/dt-sql-parser/commit/fea1ad1a357b70291a240eca6d2058bab9b49469))
|
|
64
|
-
* **postgresql:** combine plsql_unreserved_keyword to unreserved_keyword and remove unused rules ([7884cbe](https://github.com/DTStack/dt-sql-parser/commit/7884cbe37844c057fa41fde4d0716af43c4023af))
|
|
65
|
-
* spell check ([#337](https://github.com/DTStack/dt-sql-parser/issues/337)) ([694b0cd](https://github.com/DTStack/dt-sql-parser/commit/694b0cdf15943d02a9402a748155a1b06508af95))
|
|
66
|
-
|
|
67
|
-
### [4.0.2](https://github.com/DTStack/dt-sql-parser/compare/v4.0.1...v4.0.2) (2024-06-19)
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
### Features
|
|
71
|
-
|
|
72
|
-
* add benchmark test suite ([#273](https://github.com/DTStack/dt-sql-parser/issues/273)) ([de1bd9d](https://github.com/DTStack/dt-sql-parser/commit/de1bd9de4cb7c3b42d51bedd79635eb91afba9ed))
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
### Bug Fixes
|
|
76
|
-
|
|
77
|
-
* **benchmark:** add reports dir judge and remove plsql and include pgsql ([9c534c2](https://github.com/DTStack/dt-sql-parser/commit/9c534c25cacba3cfba6bd234c68e8f27bd90b2e2))
|
|
78
|
-
* mysql case when ([#317](https://github.com/DTStack/dt-sql-parser/issues/317)) ([fea1ad1](https://github.com/DTStack/dt-sql-parser/commit/fea1ad1a357b70291a240eca6d2058bab9b49469))
|
|
79
|
-
|
|
80
|
-
### [4.0.1](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0...v4.0.1) (2024-04-28)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
### Features
|
|
84
|
-
|
|
85
|
-
* deprecate legacy APIs ([#304](https://github.com/DTStack/dt-sql-parser/issues/304)) ([f1c3bbe](https://github.com/DTStack/dt-sql-parser/commit/f1c3bbe17c2f48a55f8ac1664ce635323c88b579))
|
|
86
|
-
|
|
87
|
-
## [4.0.0](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.15...v4.0.0) (2024-04-28)
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
### Bug Fixes
|
|
91
|
-
|
|
92
|
-
* [#301](https://github.com/DTStack/dt-sql-parser/issues/301) pgsql truncate table suggestion ([#302](https://github.com/DTStack/dt-sql-parser/issues/302)) ([25358ec](https://github.com/DTStack/dt-sql-parser/commit/25358ec65353129933c0711212f2f90d854fa242))
|
|
93
|
-
|
|
94
|
-
## [4.0.0-beta.4.15](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.14...v4.0.0-beta.4.15) (2024-04-21)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
### Bug Fixes
|
|
98
|
-
|
|
99
|
-
* [#295](https://github.com/DTStack/dt-sql-parser/issues/295) [#297](https://github.com/DTStack/dt-sql-parser/issues/297) optimize impala data types suggestion and create table ([#296](https://github.com/DTStack/dt-sql-parser/issues/296)) ([31b57a4](https://github.com/DTStack/dt-sql-parser/commit/31b57a494be5cb5a8145ab48348f797fa6e0c261))
|
|
100
|
-
* [#298](https://github.com/DTStack/dt-sql-parser/issues/298) support hive set configuration properties ([#299](https://github.com/DTStack/dt-sql-parser/issues/299)) ([0e752fb](https://github.com/DTStack/dt-sql-parser/commit/0e752fb9a84655322666a1ba26204f7b4be4abb0))
|
|
101
|
-
|
|
102
|
-
## [4.0.0-beta.4.14](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.13...v4.0.0-beta.4.14) (2024-04-19)
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
### Bug Fixes
|
|
106
|
-
|
|
107
|
-
* [#290](https://github.com/DTStack/dt-sql-parser/issues/290) hive lifecycle ([#293](https://github.com/DTStack/dt-sql-parser/issues/293)) ([37974ca](https://github.com/DTStack/dt-sql-parser/commit/37974ca0cb8146b0350740cc8d2fb2e6d2d4ee63))
|
|
108
|
-
|
|
109
|
-
## [4.0.0-beta.4.13](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.12...v4.0.0-beta.4.13) (2024-04-19)
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
### Features
|
|
113
|
-
|
|
114
|
-
* [#290](https://github.com/DTStack/dt-sql-parser/issues/290) support dtstack SparkSQL/HiveSQL lifecycle ([#292](https://github.com/DTStack/dt-sql-parser/issues/292)) ([da77180](https://github.com/DTStack/dt-sql-parser/commit/da77180a50456e3cdc165cd6a7e06be563a31f23))
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
### Bug Fixes
|
|
118
|
-
|
|
119
|
-
* [#285](https://github.com/DTStack/dt-sql-parser/issues/285) No longer just export types from libs ([#286](https://github.com/DTStack/dt-sql-parser/issues/286)) ([8bb27ee](https://github.com/DTStack/dt-sql-parser/commit/8bb27ee771b4b1ecf4b6660b5fb87184188ba7e2))
|
|
120
|
-
|
|
121
|
-
## [4.0.0-beta.4.12](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.11...v4.0.0-beta.4.12) (2024-03-28)
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
### Features
|
|
125
|
-
|
|
126
|
-
* add toMatchUnorderedArray matcher and apply it ([#271](https://github.com/DTStack/dt-sql-parser/issues/271)) ([a05f099](https://github.com/DTStack/dt-sql-parser/commit/a05f099aa1ad555c408bc2018240fb4611ec09b8))
|
|
127
|
-
* collect entity ([#265](https://github.com/DTStack/dt-sql-parser/issues/265)) ([a997211](https://github.com/DTStack/dt-sql-parser/commit/a99721162be0d463b513f53bb13ada6d10168548)), closes [#256](https://github.com/DTStack/dt-sql-parser/issues/256) [#263](https://github.com/DTStack/dt-sql-parser/issues/263) [#268](https://github.com/DTStack/dt-sql-parser/issues/268)
|
|
128
|
-
* migrate to antlr4ng ([#267](https://github.com/DTStack/dt-sql-parser/issues/267)) ([195878d](https://github.com/DTStack/dt-sql-parser/commit/195878da9bb1ff8011b5d60c02389fa66d2bc0b8))
|
|
129
|
-
* **spark:** support materialized view for spark sql ([#262](https://github.com/DTStack/dt-sql-parser/issues/262)) ([5ce89cb](https://github.com/DTStack/dt-sql-parser/commit/5ce89cb421de18330d56e23a4ab5b658b2130a0b))
|
|
130
|
-
* use SLL mode ([#269](https://github.com/DTStack/dt-sql-parser/issues/269)) ([3f62ad0](https://github.com/DTStack/dt-sql-parser/commit/3f62ad0d3241f574f7caaa8fc52a6e8189484e91))
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
### Bug Fixes
|
|
134
|
-
|
|
135
|
-
* **pgsql:** (issue [#255](https://github.com/DTStack/dt-sql-parser/issues/255)) select from support view name ([#257](https://github.com/DTStack/dt-sql-parser/issues/257)) ([337885b](https://github.com/DTStack/dt-sql-parser/commit/337885be8bb011fefff39bb1b5078b74e5168b90))
|
|
136
|
-
* trino validation ([#248](https://github.com/DTStack/dt-sql-parser/issues/248)) ([1038a3a](https://github.com/DTStack/dt-sql-parser/commit/1038a3a828a60b4382dcddf8bb08bd0dc8be78da)), closes [#246](https://github.com/DTStack/dt-sql-parser/issues/246)
|
|
137
|
-
|
|
138
|
-
## [4.0.0-beta.4.11](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.10...v4.0.0-beta.4.11) (2024-01-04)
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
### Bug Fixes
|
|
142
|
-
|
|
143
|
-
* rename createLexerFormCharStream to createLexerFromCharStream ([#243](https://github.com/DTStack/dt-sql-parser/issues/243)) ([4d19f05](https://github.com/DTStack/dt-sql-parser/commit/4d19f058900d973155e648816abc3b2c24ee97de))
|
|
144
|
-
|
|
145
|
-
## [4.0.0-beta.4.10](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.9...v4.0.0-beta.4.10) (2023-12-19)
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
### Features
|
|
149
|
-
|
|
150
|
-
* export visitor and listener as type ([d4c97ef](https://github.com/DTStack/dt-sql-parser/commit/d4c97ef833c1c38410930c4094c71359b483332a))
|
|
151
|
-
|
|
152
|
-
## [4.0.0-beta.4.9](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.8...v4.0.0-beta.4.9) (2023-12-13)
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
### Features
|
|
156
|
-
|
|
157
|
-
* add ErrorStrategy([#230](https://github.com/DTStack/dt-sql-parser/issues/230)) ([ee8b468](https://github.com/DTStack/dt-sql-parser/commit/ee8b468778d6c109402ee9f110c34bac2eca17db))
|
|
158
|
-
* add readonly modifier ([17eba1f](https://github.com/DTStack/dt-sql-parser/commit/17eba1f2aa6cee44920086ba363ecb9cc26b5efd))
|
|
159
|
-
* optimize suggestion ([#231](https://github.com/DTStack/dt-sql-parser/issues/231)) ([3c7c59f](https://github.com/DTStack/dt-sql-parser/commit/3c7c59fb70e47b1052a6a15d120a9220e17fa0c1))
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
### Bug Fixes
|
|
163
|
-
|
|
164
|
-
* add missing expression predicate to impala parser([#225](https://github.com/DTStack/dt-sql-parser/issues/225)) ([484c881](https://github.com/DTStack/dt-sql-parser/commit/484c88158370a2a8017d5988adec3d23dfdcbe3b))
|
|
165
|
-
* correct import path ([96b0376](https://github.com/DTStack/dt-sql-parser/commit/96b037651072d4e30d232af0a23aaed28bda4cc8))
|
|
166
|
-
* **impala:** update impala nonReserved and keywords use as functionName ([#229](https://github.com/DTStack/dt-sql-parser/issues/229)) ([8c594cf](https://github.com/DTStack/dt-sql-parser/commit/8c594cf0f25f8c852c14350b78395834e85540c7))
|
|
167
|
-
|
|
168
|
-
## [4.0.0-beta.4.8](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.7...v4.0.0-beta.4.8) (2023-11-29)
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
### Features
|
|
172
|
-
|
|
173
|
-
* [#190](https://github.com/DTStack/dt-sql-parser/issues/190) improve mysql grammer ([#196](https://github.com/DTStack/dt-sql-parser/issues/196)) ([428d851](https://github.com/DTStack/dt-sql-parser/commit/428d851913dffff317776928c8cdc1e10d1808e6))
|
|
174
|
-
* deprecate legacy util ([#223](https://github.com/DTStack/dt-sql-parser/issues/223)) ([340ccae](https://github.com/DTStack/dt-sql-parser/commit/340ccae7d702c2fd479799e3ddd7b15ae37a6bd7))
|
|
175
|
-
* export impala listener and visitor ([329f161](https://github.com/DTStack/dt-sql-parser/commit/329f161d2d5743d1dd576acb99f66fbced9ccdef))
|
|
176
|
-
* mysql auto complete ([#219](https://github.com/DTStack/dt-sql-parser/issues/219)) ([3dadc0c](https://github.com/DTStack/dt-sql-parser/commit/3dadc0c4b517f7be80b1349112d2763c00172539))
|
|
177
|
-
* pgsql collect column name ([#216](https://github.com/DTStack/dt-sql-parser/issues/216)) ([db05cb3](https://github.com/DTStack/dt-sql-parser/commit/db05cb3e4f3409fbfa188bb3aed2c80023636c44))
|
|
178
|
-
* recomplie plsql parser ([a98f7f9](https://github.com/DTStack/dt-sql-parser/commit/a98f7f938a8977b227d0c26db390badb5744f584))
|
|
179
|
-
* support impala ([#184](https://github.com/DTStack/dt-sql-parser/issues/184)) ([e203f1a](https://github.com/DTStack/dt-sql-parser/commit/e203f1a48aec65353ba472c15868087569d8358d))
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
### Bug Fixes
|
|
183
|
-
|
|
184
|
-
* add partitioned by sql unit test and compile impala ([#221](https://github.com/DTStack/dt-sql-parser/issues/221)) ([4be3640](https://github.com/DTStack/dt-sql-parser/commit/4be3640219cada34781f9f8fe97608b2ab7e0cbc))
|
|
185
|
-
|
|
186
|
-
## [4.0.0-beta.4.7](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.6...v4.0.0-beta.4.7) (2023-11-24)
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
### Features
|
|
190
|
-
|
|
191
|
-
* add column to syntaxContextType ([00b66cc](https://github.com/DTStack/dt-sql-parser/commit/00b66ccf4476a7ead6558677e858449c3c4693ec))
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
### Bug Fixes
|
|
195
|
-
|
|
196
|
-
* [#213](https://github.com/DTStack/dt-sql-parser/issues/213) flinksql expression syntax ([#215](https://github.com/DTStack/dt-sql-parser/issues/215)) ([6bbcb3c](https://github.com/DTStack/dt-sql-parser/commit/6bbcb3c8d33d45b26a87f47485dd75b6648da2a6))
|
|
197
|
-
|
|
198
|
-
## [4.0.0-beta.4.6](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.5...v4.0.0-beta.4.6) (2023-11-20)
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
### Features
|
|
202
|
-
|
|
203
|
-
* improve pgsql grammar and add unit tests([#201](https://github.com/DTStack/dt-sql-parser/issues/201)) ([2e6d18e](https://github.com/DTStack/dt-sql-parser/commit/2e6d18e7dce19ec7e4a9a44b208b445ac17e69ae))
|
|
204
|
-
* pgsql: optimize drop rule's content ([adeb26b](https://github.com/DTStack/dt-sql-parser/commit/adeb26b7dff98d917d3608834880735bc76f89b1))
|
|
205
|
-
* pgsql: update routine's name ([a5757a3](https://github.com/DTStack/dt-sql-parser/commit/a5757a30b6a65118cd5d6e71e46194ef2fe43926))
|
|
206
|
-
* **pgsql: upgrade rules' name:** pgsql: upgrade rules' name ([4736a65](https://github.com/DTStack/dt-sql-parser/commit/4736a65e0c3acbb22b1c0490b6f2b60787dae4f7))
|
|
207
|
-
* upgrade antlr4-c3 and fix the version ([1711feb](https://github.com/DTStack/dt-sql-parser/commit/1711febca7abdbe19f8ad0220a6fb841d8a54740))
|
|
208
|
-
|
|
209
|
-
## [4.0.0-beta.4.5](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.4...v4.0.0-beta.4.5) (2023-11-02)
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
### Features
|
|
213
|
-
|
|
214
|
-
* add sideEffects field to trigger treeShaking ([#198](https://github.com/DTStack/dt-sql-parser/issues/198)) ([fc4fdbf](https://github.com/DTStack/dt-sql-parser/commit/fc4fdbfbf55364eb142402008d5059cdb80c31e0))
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
### Bug Fixes
|
|
218
|
-
|
|
219
|
-
* [#197](https://github.com/DTStack/dt-sql-parser/issues/197) keyword rename like value more ([56c410e](https://github.com/DTStack/dt-sql-parser/commit/56c410ebb1ea31752bfbda41b1d651b216d68a5d))
|
|
220
|
-
|
|
221
|
-
## [4.0.0-beta.4.4](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.3...v4.0.0-beta.4.4) (2023-10-24)
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
### Bug Fixes
|
|
225
|
-
|
|
226
|
-
* correct import path of CaretPosition ([9a93be6](https://github.com/DTStack/dt-sql-parser/commit/9a93be64afa3079562e35d9da21267c0d4beddbb))
|
|
227
|
-
|
|
228
|
-
## [4.0.0-beta.4.3](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.1...v4.0.0-beta.4.3) (2023-10-20)
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
### Features
|
|
232
|
-
|
|
233
|
-
* declare copyright ownership ([b8c47d0](https://github.com/DTStack/dt-sql-parser/commit/b8c47d0ac9a45e2936f6c5e41e517db473fae6da))
|
|
234
|
-
* export trino sql ([917cb98](https://github.com/DTStack/dt-sql-parser/commit/917cb988f22dd2891cc3d99033c8111ed6a3ae6d))
|
|
235
|
-
* format hive grammar files name ([1d890e5](https://github.com/DTStack/dt-sql-parser/commit/1d890e58fe94de7f270bd84ba16b35e8589944cf))
|
|
236
|
-
* hive Authorization syntax and unit tests ([#159](https://github.com/DTStack/dt-sql-parser/issues/159)) ([2ec03f1](https://github.com/DTStack/dt-sql-parser/commit/2ec03f1770c0042f8ce7df9abe64ca494518d791))
|
|
237
|
-
* hiveSQL support create/drop/alter index grammar ([ebd9a1e](https://github.com/DTStack/dt-sql-parser/commit/ebd9a1ed85c103b8525948a60da2c57b0c80c361))
|
|
238
|
-
* improve hive keywords rule ([#154](https://github.com/DTStack/dt-sql-parser/issues/154)) ([ded9f28](https://github.com/DTStack/dt-sql-parser/commit/ded9f28e3672e6edd85a2a2a98c1555179584984))
|
|
239
|
-
* recomplie hive sql grammar and fix parser about ([e97e0b2](https://github.com/DTStack/dt-sql-parser/commit/e97e0b2ef60e24f6b7f88afa0b13f839062579e8))
|
|
240
|
-
* spark sql DDL test ([#170](https://github.com/DTStack/dt-sql-parser/issues/170)) ([d13a929](https://github.com/DTStack/dt-sql-parser/commit/d13a92914d877409ff896445446503520b072304))
|
|
241
|
-
* support DT_ADD_CONFIG_FILE syntax ([13b58b2](https://github.com/DTStack/dt-sql-parser/commit/13b58b2dec049c66e85b55c3c9a5b695d4ef14e6))
|
|
242
|
-
* support spark sql auto complete ([#179](https://github.com/DTStack/dt-sql-parser/issues/179)) ([4d1dfa6](https://github.com/DTStack/dt-sql-parser/commit/4d1dfa676fdfa6858271c1e2e0aaa8b379b2091d))
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
### Bug Fixes
|
|
246
|
-
|
|
247
|
-
* allow ROW and ROWS as function name ([82d097b](https://github.com/DTStack/dt-sql-parser/commit/82d097b034e69094da8d3e7fa3aa2960a2d3f977))
|
|
248
|
-
* flinkSqlParser should not import src ([f413a29](https://github.com/DTStack/dt-sql-parser/commit/f413a29fac6ab4552e33784b2eb803b728d75a92))
|
|
249
|
-
|
|
250
|
-
## [4.0.0-beta.4.2](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4.1...v4.0.0-beta.4.2) (2023-08-31)
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
### Features
|
|
254
|
-
|
|
255
|
-
* format hive grammar files name ([1d890e5](https://github.com/DTStack/dt-sql-parser/commit/1d890e58fe94de7f270bd84ba16b35e8589944cf))
|
|
256
|
-
* hiveSQL support create/drop/alter index grammar ([ebd9a1e](https://github.com/DTStack/dt-sql-parser/commit/ebd9a1ed85c103b8525948a60da2c57b0c80c361))
|
|
257
|
-
* recomplie hive sql grammar and fix parser about ([e97e0b2](https://github.com/DTStack/dt-sql-parser/commit/e97e0b2ef60e24f6b7f88afa0b13f839062579e8))
|
|
258
|
-
* support DT_ADD_CONFIG_FILE syntax ([13b58b2](https://github.com/DTStack/dt-sql-parser/commit/13b58b2dec049c66e85b55c3c9a5b695d4ef14e6))
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
### Bug Fixes
|
|
262
|
-
|
|
263
|
-
* allow ROW and ROWS as function name ([82d097b](https://github.com/DTStack/dt-sql-parser/commit/82d097b034e69094da8d3e7fa3aa2960a2d3f977))
|
|
264
|
-
* flinkSqlParser should not import src ([f413a29](https://github.com/DTStack/dt-sql-parser/commit/f413a29fac6ab4552e33784b2eb803b728d75a92))
|
|
265
|
-
|
|
266
|
-
## [4.0.0-beta.4.1](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.4...v4.0.0-beta.4.1) (2023-06-16)
|
|
267
|
-
|
|
268
|
-
## [4.0.0-beta.4](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.3.1...v4.0.0-beta.4) (2023-06-14)
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
### Features
|
|
272
|
-
|
|
273
|
-
* complete Query statements of FlinkSQL ([#93](https://github.com/DTStack/dt-sql-parser/issues/93)) ([a026ae0](https://github.com/DTStack/dt-sql-parser/commit/a026ae059297d732dd5af7af4a851c5fe55a3229))
|
|
274
|
-
* extracting the common readSQL function ([4af913c](https://github.com/DTStack/dt-sql-parser/commit/4af913cf301d61e7ce9652cf47669bfa87a6b84b))
|
|
275
|
-
* FlinkSQL supports auto complete ([#115](https://github.com/DTStack/dt-sql-parser/issues/115)) ([1b02ff5](https://github.com/DTStack/dt-sql-parser/commit/1b02ff5d7582bf626f9bef5ea1c1f0e65732d23e))
|
|
276
|
-
* **flink:** support insert multipe tables statement for FlinkSQL 1.15([#104](https://github.com/DTStack/dt-sql-parser/issues/104)) ([c409b80](https://github.com/DTStack/dt-sql-parser/commit/c409b80ee1a3b1df92fab522442f3425d984d8c7))
|
|
277
|
-
* **flink:** support NOT NULL syntax ([#103](https://github.com/DTStack/dt-sql-parser/issues/103)) ([4b824fb](https://github.com/DTStack/dt-sql-parser/commit/4b824fb50004c0938171d887a21e761fdb62df89))
|
|
278
|
-
* improve flinksql createStatement ([#91](https://github.com/DTStack/dt-sql-parser/issues/91)) ([370cccf](https://github.com/DTStack/dt-sql-parser/commit/370cccf8d9328aabccba1c9140a2adea395783f7))
|
|
279
|
-
* improve flinksql insertStatement ([dc417e1](https://github.com/DTStack/dt-sql-parser/commit/dc417e1381ca52525037b215a153df28ddc81272))
|
|
280
|
-
* replace fliePath with slashText to resolve conflict between filePath and arithmetic ([#112](https://github.com/DTStack/dt-sql-parser/issues/112)) ([793ff6e](https://github.com/DTStack/dt-sql-parser/commit/793ff6ef0e10e502eeb61ad8e40ccfe05ae50929))
|
|
281
|
-
* support trino(presto) sql language ([#105](https://github.com/DTStack/dt-sql-parser/issues/105)) ([9c82a5d](https://github.com/DTStack/dt-sql-parser/commit/9c82a5d248e9d94479045ad7b248e4a785e62e92))
|
|
282
|
-
* update alter and drop statements ([#94](https://github.com/DTStack/dt-sql-parser/issues/94)) ([fbee70c](https://github.com/DTStack/dt-sql-parser/commit/fbee70cde54fcec773cf35f858016c1a23459cc0))
|
|
283
|
-
* update the builtin funcs of flinksql ([#102](https://github.com/DTStack/dt-sql-parser/issues/102)) ([0924acf](https://github.com/DTStack/dt-sql-parser/commit/0924acf730df41866be18f82172a58854f3bb0a3))
|
|
284
|
-
* upgrade antlr4 to 4.12.0 ([#88](https://github.com/DTStack/dt-sql-parser/issues/88)) ([c1c72de](https://github.com/DTStack/dt-sql-parser/commit/c1c72def30a2df90182290fb2e5bc64265dfa3c3))
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
### Bug Fixes
|
|
288
|
-
|
|
289
|
-
* correct the grammar usage, especially in the parts targeting javascript ([#109](https://github.com/DTStack/dt-sql-parser/issues/109)) ([eeb111b](https://github.com/DTStack/dt-sql-parser/commit/eeb111b5c5e06eb144d7679d4b813082537945d4))
|
|
290
|
-
* ingore the unused errors of libs ([b39825e](https://github.com/DTStack/dt-sql-parser/commit/b39825e31a4d25dc4ab2a0c6fb12d84d55944b12))
|
|
291
|
-
* rename to TrinoSqlParser ([46a8a7a](https://github.com/DTStack/dt-sql-parser/commit/46a8a7ab125638b5e2dd6067d8b74b0f90ff543d))
|
|
292
|
-
* rename TrinoSqlParser to TrinoSql ([8084c79](https://github.com/DTStack/dt-sql-parser/commit/8084c7919a5e1d982556d4684abfad6afa58c124))
|
|
293
|
-
* rename TrinoSqlVisitor ([76d7ee5](https://github.com/DTStack/dt-sql-parser/commit/76d7ee5e7074b5549e791e529dc925ab32b51f4a))
|
|
294
|
-
* update the exports path of trino ([1442ad6](https://github.com/DTStack/dt-sql-parser/commit/1442ad66d73144b4f4d29ed899f4dc7406cbff1f))
|
|
295
|
-
|
|
296
|
-
## [4.0.0-beta.3.2](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.3.1...v4.0.0-beta.3.2) (2023-01-09)
|
|
297
|
-
|
|
298
|
-
## [4.0.0-beta.3.1](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.3...v4.0.0-beta.3.1) (2022-12-30)
|
|
299
|
-
|
|
300
|
-
### Bug Fixes
|
|
301
|
-
|
|
302
|
-
* fix bracket match ([e446fc0](https://github.com/DTStack/dt-sql-parser/commit/e446fc0435eb21c4a931db161c9c3a25dc8edb2b))
|
|
303
|
-
* fix flinksql create table grammar, add test ([#65](https://github.com/DTStack/dt-sql-parser/issues/65)) ([0c9a831](https://github.com/DTStack/dt-sql-parser/commit/0c9a831585a3609cca5d9c8003f53f4cc4149632))
|
|
304
|
-
|
|
305
|
-
## [4.0.0-beta.3](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.2.2...v4.0.0-beta.3) (2022-12-16)
|
|
306
|
-
|
|
307
|
-
## [4.0.0-beta.2.2](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.2.1...v4.0.0-beta.2.2) (2021-09-10)
|
|
308
|
-
|
|
309
|
-
### Features
|
|
310
|
-
|
|
311
|
-
* add Bracket, Comma, and FunctionArguments tokens ([b1ae454](https://github.com/DTStack/dt-sql-parser/commit/b1ae454ae4f8cc78071a5708486bd0f6dc96d29c))
|
|
312
|
-
* remove the impala ([dd38dda](https://github.com/DTStack/dt-sql-parser/commit/dd38dda19a8d714c0024b65cf51da078da835692))
|
|
313
|
-
* remove the impala ([f9cf65d](https://github.com/DTStack/dt-sql-parser/commit/f9cf65d95142f17e0055e00997304a7d3888aa44))
|
|
314
|
-
* support custom variables ${} ([df18e6c](https://github.com/DTStack/dt-sql-parser/commit/df18e6cb21c025266716ffff3be5ce17390bec1f))
|
|
315
|
-
* tokenizer for the function arugments ([bb6e8ac](https://github.com/DTStack/dt-sql-parser/commit/bb6e8ac025a2b71594c75705ffd0df753cdb5e55))
|
|
316
|
-
|
|
317
|
-
## [4.0.0-beta.2.1](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.2...v4.0.0-beta.2.1) (2021-07-16)
|
|
318
|
-
|
|
319
|
-
## [4.0.0-beta.2](https://github.com/DTStack/dt-sql-parser/compare/v3.0.5...v4.0.0-beta.2) (2021-05-11)
|
|
320
|
-
|
|
321
|
-
### Bug Fixes
|
|
322
|
-
|
|
323
|
-
* adjust import path ([e7e0c15](https://github.com/DTStack/dt-sql-parser/commit/e7e0c15b0d60095fbe85a37e7a60836d7fa34396))
|
|
324
|
-
* clea sql white spaces \n fix [#21](https://github.com/DTStack/dt-sql-parser/issues/21) ([#26](https://github.com/DTStack/dt-sql-parser/issues/26)) ([b632f62](https://github.com/DTStack/dt-sql-parser/commit/b632f62678a140d094c9a956d29fb50951a28e33))
|
|
325
|
-
* clean sql white spaces [#21](https://github.com/DTStack/dt-sql-parser/issues/21) ([dc49697](https://github.com/DTStack/dt-sql-parser/commit/dc496973022a93825549a003daa4d8da977a1970))
|
|
326
|
-
* delete mock data ([da25815](https://github.com/DTStack/dt-sql-parser/commit/da2581533fa7a8196710c6046a03f57d476fd090))
|
|
327
|
-
* jest command ([76675e8](https://github.com/DTStack/dt-sql-parser/commit/76675e8251d272f43421e362d200ea7df4caca8e))
|
|
328
|
-
* lexer for comment ([5f5af0a](https://github.com/DTStack/dt-sql-parser/commit/5f5af0a4aba52f988bafcf25b066a6b0d2310f9b))
|
|
329
|
-
* restore antlr4 config ([504f6df](https://github.com/DTStack/dt-sql-parser/commit/504f6df2ec8415a7c4a5fce1478d87f9ed5f4dd1))
|
|
330
|
-
* ts problem ([6b16f75](https://github.com/DTStack/dt-sql-parser/commit/6b16f752e40e4170b6a92c37a67ed330fe9ab100))
|
|
331
|
-
* **flink:** clear useless comments ([771b562](https://github.com/DTStack/dt-sql-parser/commit/771b562c7893d89002b29cfeae9d2fbe0e8ee8d6))
|
|
332
|
-
|
|
333
|
-
## 4.0.0-beta.1 (2021-01-05)
|
|
334
|
-
|
|
335
|
-
### Features
|
|
336
|
-
|
|
337
|
-
* **fink:** refactoring selectStatement ([d7d32a3](https://github.com/DTStack/dt-sql-parser/commit/d7d32a382404df8917282d835134f50b1f3a6eff))
|
|
338
|
-
* **flin:** add split sql test ([3054e90](https://github.com/DTStack/dt-sql-parser/commit/3054e909176ee09333e9686e53f767c07c52693e))
|
|
339
|
-
* **flink:** add createTable grammar ([b7df08f](https://github.com/DTStack/dt-sql-parser/commit/b7df08f01287e7ded40581e85d79cc13a5ad794f))
|
|
340
|
-
* **flink:** add describe/explain/use/show statement and some test ([0ef8069](https://github.com/DTStack/dt-sql-parser/commit/0ef80696f49d26423d98642b82a60cc038c3d8ed))
|
|
341
|
-
* **flink:** add drop/alter test add add part of queryStatement ([9fc91a5](https://github.com/DTStack/dt-sql-parser/commit/9fc91a572af11843c801ca7749818a04d67039d2))
|
|
342
|
-
* **flink:** add grammar rules that pass the test ([afef8e6](https://github.com/DTStack/dt-sql-parser/commit/afef8e6d72533df170e5e862fd2a31708a55a52d))
|
|
343
|
-
* **flink:** add inset\drop\alter grammar ([158e235](https://github.com/DTStack/dt-sql-parser/commit/158e235b012d7ef263b92f8726b4235596b0c5b2))
|
|
344
|
-
* **flink:** add performance test ([cc1d5ab](https://github.com/DTStack/dt-sql-parser/commit/cc1d5abcdd2e1ccc9d0a383d933b9296b6f64333))
|
|
345
|
-
* **flink:** add queryStatement ([ba29949](https://github.com/DTStack/dt-sql-parser/commit/ba29949359325ca2b329d0e70a6ebfb431810fa8))
|
|
346
|
-
* **flink:** adjust lexer position to fix test error ([da9660c](https://github.com/DTStack/dt-sql-parser/commit/da9660c6fe7c9a8654bec89edf718cd38c160898))
|
|
347
|
-
* **flink:** merge parser and lexer in order to java test ([0735269](https://github.com/DTStack/dt-sql-parser/commit/0735269f4e641235188af461bd5df5cb416c9828))
|
|
348
|
-
* **flink:** modify grammar to match keywords ([e67f991](https://github.com/DTStack/dt-sql-parser/commit/e67f991ede461b847e6a3daa2bf71a00dc739d88))
|
|
349
|
-
* **flink:** perfect query statement ([1b9efdc](https://github.com/DTStack/dt-sql-parser/commit/1b9efdccd54ecf863bafb4192d8c294e86a5d8e1))
|
|
350
|
-
* **flink:** update createTable grammar ([d1259b4](https://github.com/DTStack/dt-sql-parser/commit/d1259b46a065d4b30fca2612b1146dbd040b03bb))
|
|
351
|
-
* **flink:** update flink SQL grammar ([04c4c40](https://github.com/DTStack/dt-sql-parser/commit/04c4c4039770bf351f067f6193d7f6ab0720a524))
|
|
352
|
-
* **flink:** update flinkSql grammar and add some test ([c9d88d0](https://github.com/DTStack/dt-sql-parser/commit/c9d88d00a606c7130415ab3db35f088ec0cecac1))
|
|
353
|
-
* **flink:** update grammar to match special columnName ([a9b1e90](https://github.com/DTStack/dt-sql-parser/commit/a9b1e90d73a733e47ea108f47790fe148fb6fa20))
|
|
354
|
-
* **utils:** add cleanSql、splitSql、lexer func and test ([7d6c753](https://github.com/DTStack/dt-sql-parser/commit/7d6c753d824cfb8e3808132356a2c78bda81795c))
|
|
355
|
-
* add generic and plsql basic parser file ([f851638](https://github.com/DTStack/dt-sql-parser/commit/f85163892a1b5249bbe73162cfc515100765fa22))
|
|
356
|
-
* add some query grammar ([a5ea7be](https://github.com/DTStack/dt-sql-parser/commit/a5ea7be6069e239ac20f69ffa1cc9f0c043b8dc3))
|
|
357
|
-
* create hive lexer and hive parser ([ec41432](https://github.com/DTStack/dt-sql-parser/commit/ec41432ee300f9b00306aaf1cecc95d02afe0302))
|
|
358
|
-
* refactoring hive SQL lexer ([557e9a3](https://github.com/DTStack/dt-sql-parser/commit/557e9a32466f6f899e809bd37927e091052033d9))
|
|
359
|
-
* **flinksql:** add some lexer ([6082c2b](https://github.com/DTStack/dt-sql-parser/commit/6082c2b151960189f3ff27a8b76e033b22b53561))
|
|
360
|
-
|
|
361
|
-
### Bug Fixes
|
|
362
|
-
|
|
363
|
-
* adjust import path ([e7e0c15](https://github.com/DTStack/dt-sql-parser/commit/e7e0c15b0d60095fbe85a37e7a60836d7fa34396))
|
|
364
|
-
* delete mock data ([da25815](https://github.com/DTStack/dt-sql-parser/commit/da2581533fa7a8196710c6046a03f57d476fd090))
|
|
365
|
-
* jest command ([76675e8](https://github.com/DTStack/dt-sql-parser/commit/76675e8251d272f43421e362d200ea7df4caca8e))
|
|
366
|
-
* lock antlr version ([d9c0928](https://github.com/DTStack/dt-sql-parser/commit/d9c0928f7a3a7367944523767fdc758dbdeb1268))
|
|
367
|
-
* ts problem ([6b16f75](https://github.com/DTStack/dt-sql-parser/commit/6b16f752e40e4170b6a92c37a67ed330fe9ab100))
|
|
368
|
-
* **flink:** clear useless comments ([771b562](https://github.com/DTStack/dt-sql-parser/commit/771b562c7893d89002b29cfeae9d2fbe0e8ee8d6))
|
|
369
|
-
* restore antlr4 config ([504f6df](https://github.com/DTStack/dt-sql-parser/commit/504f6df2ec8415a7c4a5fce1478d87f9ed5f4dd1))
|