dt-sql-parser 4.5.2-beta.0 → 4.5.2-beta.2
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/README.md +8 -8
- package/dist/lib/flink/FlinkSqlParser.d.ts +220 -363
- package/dist/lib/flink/FlinkSqlParser.js +3246 -4046
- package/dist/lib/flink/FlinkSqlParserListener.d.ts +0 -154
- package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +0 -98
- package/dist/lib/generic/GenericSqlListener.d.ts +90 -5
- package/dist/lib/generic/GenericSqlParser.d.ts +102 -33
- package/dist/lib/generic/GenericSqlParser.js +1329 -930
- package/dist/lib/generic/GenericSqlVisitor.d.ts +56 -3
- package/dist/lib/hive/HiveSqlParser.d.ts +515 -943
- package/dist/lib/hive/HiveSqlParser.js +8234 -10573
- package/dist/lib/hive/HiveSqlParserListener.d.ts +50 -490
- package/dist/lib/hive/HiveSqlParserVisitor.d.ts +30 -310
- package/dist/lib/impala/ImpalaSqlParser.d.ts +96 -131
- package/dist/lib/impala/ImpalaSqlParser.js +3311 -3522
- package/dist/lib/impala/ImpalaSqlParserListener.d.ts +0 -44
- package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +0 -28
- package/dist/lib/mysql/MySqlParser.d.ts +422 -464
- package/dist/lib/mysql/MySqlParser.js +9954 -10184
- package/dist/lib/mysql/MySqlParserListener.d.ts +0 -44
- package/dist/lib/mysql/MySqlParserVisitor.d.ts +0 -28
- package/dist/lib/trino/TrinoSqlListener.d.ts +0 -328
- package/dist/lib/trino/TrinoSqlParser.d.ts +203 -476
- package/dist/lib/trino/TrinoSqlParser.js +6680 -7917
- package/dist/lib/trino/TrinoSqlVisitor.d.ts +0 -206
- package/dist/parser/common/entityCollector.js +5 -0
- package/dist/parser/flink/flinkEntityCollector.js +1 -1
- package/dist/parser/generic/genericEntityCollector.d.ts +6 -3
- package/dist/parser/generic/genericEntityCollector.js +30 -42
- package/dist/parser/generic/index.js +13 -10
- package/package.json +1 -1
|
@@ -118,7 +118,6 @@ import { ColumnSpecWithKuduContext } from "./ImpalaSqlParser.js";
|
|
|
118
118
|
import { CreateColumnSpecWithKuduContext } from "./ImpalaSqlParser.js";
|
|
119
119
|
import { KuduAttributesContext } from "./ImpalaSqlParser.js";
|
|
120
120
|
import { KuduStorageAttrContext } from "./ImpalaSqlParser.js";
|
|
121
|
-
import { StatsKeyContext } from "./ImpalaSqlParser.js";
|
|
122
121
|
import { FileFormatContext } from "./ImpalaSqlParser.js";
|
|
123
122
|
import { KuduPartitionClauseContext } from "./ImpalaSqlParser.js";
|
|
124
123
|
import { HashClauseContext } from "./ImpalaSqlParser.js";
|
|
@@ -160,7 +159,6 @@ import { JoinRelationContext } from "./ImpalaSqlParser.js";
|
|
|
160
159
|
import { JoinTypeContext } from "./ImpalaSqlParser.js";
|
|
161
160
|
import { JoinCriteriaContext } from "./ImpalaSqlParser.js";
|
|
162
161
|
import { SampledRelationContext } from "./ImpalaSqlParser.js";
|
|
163
|
-
import { SampleTypeContext } from "./ImpalaSqlParser.js";
|
|
164
162
|
import { AliasedRelationContext } from "./ImpalaSqlParser.js";
|
|
165
163
|
import { ColumnAliasesContext } from "./ImpalaSqlParser.js";
|
|
166
164
|
import { RelationPrimaryContext } from "./ImpalaSqlParser.js";
|
|
@@ -220,10 +218,8 @@ import { BasicStringLiteralContext } from "./ImpalaSqlParser.js";
|
|
|
220
218
|
import { UnicodeStringLiteralContext } from "./ImpalaSqlParser.js";
|
|
221
219
|
import { ComparisonOperatorContext } from "./ImpalaSqlParser.js";
|
|
222
220
|
import { ComparisonQuantifierContext } from "./ImpalaSqlParser.js";
|
|
223
|
-
import { BooleanValueContext } from "./ImpalaSqlParser.js";
|
|
224
221
|
import { IntervalContext } from "./ImpalaSqlParser.js";
|
|
225
222
|
import { IntervalFieldContext } from "./ImpalaSqlParser.js";
|
|
226
|
-
import { NormalFormContext } from "./ImpalaSqlParser.js";
|
|
227
223
|
import { TypeContext } from "./ImpalaSqlParser.js";
|
|
228
224
|
import { DataTypeContext } from "./ImpalaSqlParser.js";
|
|
229
225
|
import { TypeParameterContext } from "./ImpalaSqlParser.js";
|
|
@@ -1450,16 +1446,6 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
|
|
|
1450
1446
|
* @param ctx the parse tree
|
|
1451
1447
|
*/
|
|
1452
1448
|
exitKuduStorageAttr?: (ctx: KuduStorageAttrContext) => void;
|
|
1453
|
-
/**
|
|
1454
|
-
* Enter a parse tree produced by `ImpalaSqlParser.statsKey`.
|
|
1455
|
-
* @param ctx the parse tree
|
|
1456
|
-
*/
|
|
1457
|
-
enterStatsKey?: (ctx: StatsKeyContext) => void;
|
|
1458
|
-
/**
|
|
1459
|
-
* Exit a parse tree produced by `ImpalaSqlParser.statsKey`.
|
|
1460
|
-
* @param ctx the parse tree
|
|
1461
|
-
*/
|
|
1462
|
-
exitStatsKey?: (ctx: StatsKeyContext) => void;
|
|
1463
1449
|
/**
|
|
1464
1450
|
* Enter a parse tree produced by `ImpalaSqlParser.fileFormat`.
|
|
1465
1451
|
* @param ctx the parse tree
|
|
@@ -1888,16 +1874,6 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
|
|
|
1888
1874
|
* @param ctx the parse tree
|
|
1889
1875
|
*/
|
|
1890
1876
|
exitSampledRelation?: (ctx: SampledRelationContext) => void;
|
|
1891
|
-
/**
|
|
1892
|
-
* Enter a parse tree produced by `ImpalaSqlParser.sampleType`.
|
|
1893
|
-
* @param ctx the parse tree
|
|
1894
|
-
*/
|
|
1895
|
-
enterSampleType?: (ctx: SampleTypeContext) => void;
|
|
1896
|
-
/**
|
|
1897
|
-
* Exit a parse tree produced by `ImpalaSqlParser.sampleType`.
|
|
1898
|
-
* @param ctx the parse tree
|
|
1899
|
-
*/
|
|
1900
|
-
exitSampleType?: (ctx: SampleTypeContext) => void;
|
|
1901
1877
|
/**
|
|
1902
1878
|
* Enter a parse tree produced by `ImpalaSqlParser.aliasedRelation`.
|
|
1903
1879
|
* @param ctx the parse tree
|
|
@@ -2582,16 +2558,6 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
|
|
|
2582
2558
|
* @param ctx the parse tree
|
|
2583
2559
|
*/
|
|
2584
2560
|
exitComparisonQuantifier?: (ctx: ComparisonQuantifierContext) => void;
|
|
2585
|
-
/**
|
|
2586
|
-
* Enter a parse tree produced by `ImpalaSqlParser.booleanValue`.
|
|
2587
|
-
* @param ctx the parse tree
|
|
2588
|
-
*/
|
|
2589
|
-
enterBooleanValue?: (ctx: BooleanValueContext) => void;
|
|
2590
|
-
/**
|
|
2591
|
-
* Exit a parse tree produced by `ImpalaSqlParser.booleanValue`.
|
|
2592
|
-
* @param ctx the parse tree
|
|
2593
|
-
*/
|
|
2594
|
-
exitBooleanValue?: (ctx: BooleanValueContext) => void;
|
|
2595
2561
|
/**
|
|
2596
2562
|
* Enter a parse tree produced by `ImpalaSqlParser.interval`.
|
|
2597
2563
|
* @param ctx the parse tree
|
|
@@ -2612,16 +2578,6 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
|
|
|
2612
2578
|
* @param ctx the parse tree
|
|
2613
2579
|
*/
|
|
2614
2580
|
exitIntervalField?: (ctx: IntervalFieldContext) => void;
|
|
2615
|
-
/**
|
|
2616
|
-
* Enter a parse tree produced by `ImpalaSqlParser.normalForm`.
|
|
2617
|
-
* @param ctx the parse tree
|
|
2618
|
-
*/
|
|
2619
|
-
enterNormalForm?: (ctx: NormalFormContext) => void;
|
|
2620
|
-
/**
|
|
2621
|
-
* Exit a parse tree produced by `ImpalaSqlParser.normalForm`.
|
|
2622
|
-
* @param ctx the parse tree
|
|
2623
|
-
*/
|
|
2624
|
-
exitNormalForm?: (ctx: NormalFormContext) => void;
|
|
2625
2581
|
/**
|
|
2626
2582
|
* Enter a parse tree produced by `ImpalaSqlParser.type`.
|
|
2627
2583
|
* @param ctx the parse tree
|
|
@@ -118,7 +118,6 @@ import { ColumnSpecWithKuduContext } from "./ImpalaSqlParser.js";
|
|
|
118
118
|
import { CreateColumnSpecWithKuduContext } from "./ImpalaSqlParser.js";
|
|
119
119
|
import { KuduAttributesContext } from "./ImpalaSqlParser.js";
|
|
120
120
|
import { KuduStorageAttrContext } from "./ImpalaSqlParser.js";
|
|
121
|
-
import { StatsKeyContext } from "./ImpalaSqlParser.js";
|
|
122
121
|
import { FileFormatContext } from "./ImpalaSqlParser.js";
|
|
123
122
|
import { KuduPartitionClauseContext } from "./ImpalaSqlParser.js";
|
|
124
123
|
import { HashClauseContext } from "./ImpalaSqlParser.js";
|
|
@@ -160,7 +159,6 @@ import { JoinRelationContext } from "./ImpalaSqlParser.js";
|
|
|
160
159
|
import { JoinTypeContext } from "./ImpalaSqlParser.js";
|
|
161
160
|
import { JoinCriteriaContext } from "./ImpalaSqlParser.js";
|
|
162
161
|
import { SampledRelationContext } from "./ImpalaSqlParser.js";
|
|
163
|
-
import { SampleTypeContext } from "./ImpalaSqlParser.js";
|
|
164
162
|
import { AliasedRelationContext } from "./ImpalaSqlParser.js";
|
|
165
163
|
import { ColumnAliasesContext } from "./ImpalaSqlParser.js";
|
|
166
164
|
import { RelationPrimaryContext } from "./ImpalaSqlParser.js";
|
|
@@ -220,10 +218,8 @@ import { BasicStringLiteralContext } from "./ImpalaSqlParser.js";
|
|
|
220
218
|
import { UnicodeStringLiteralContext } from "./ImpalaSqlParser.js";
|
|
221
219
|
import { ComparisonOperatorContext } from "./ImpalaSqlParser.js";
|
|
222
220
|
import { ComparisonQuantifierContext } from "./ImpalaSqlParser.js";
|
|
223
|
-
import { BooleanValueContext } from "./ImpalaSqlParser.js";
|
|
224
221
|
import { IntervalContext } from "./ImpalaSqlParser.js";
|
|
225
222
|
import { IntervalFieldContext } from "./ImpalaSqlParser.js";
|
|
226
|
-
import { NormalFormContext } from "./ImpalaSqlParser.js";
|
|
227
223
|
import { TypeContext } from "./ImpalaSqlParser.js";
|
|
228
224
|
import { DataTypeContext } from "./ImpalaSqlParser.js";
|
|
229
225
|
import { TypeParameterContext } from "./ImpalaSqlParser.js";
|
|
@@ -977,12 +973,6 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
|
|
|
977
973
|
* @return the visitor result
|
|
978
974
|
*/
|
|
979
975
|
visitKuduStorageAttr?: (ctx: KuduStorageAttrContext) => Result;
|
|
980
|
-
/**
|
|
981
|
-
* Visit a parse tree produced by `ImpalaSqlParser.statsKey`.
|
|
982
|
-
* @param ctx the parse tree
|
|
983
|
-
* @return the visitor result
|
|
984
|
-
*/
|
|
985
|
-
visitStatsKey?: (ctx: StatsKeyContext) => Result;
|
|
986
976
|
/**
|
|
987
977
|
* Visit a parse tree produced by `ImpalaSqlParser.fileFormat`.
|
|
988
978
|
* @param ctx the parse tree
|
|
@@ -1238,12 +1228,6 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
|
|
|
1238
1228
|
* @return the visitor result
|
|
1239
1229
|
*/
|
|
1240
1230
|
visitSampledRelation?: (ctx: SampledRelationContext) => Result;
|
|
1241
|
-
/**
|
|
1242
|
-
* Visit a parse tree produced by `ImpalaSqlParser.sampleType`.
|
|
1243
|
-
* @param ctx the parse tree
|
|
1244
|
-
* @return the visitor result
|
|
1245
|
-
*/
|
|
1246
|
-
visitSampleType?: (ctx: SampleTypeContext) => Result;
|
|
1247
1231
|
/**
|
|
1248
1232
|
* Visit a parse tree produced by `ImpalaSqlParser.aliasedRelation`.
|
|
1249
1233
|
* @param ctx the parse tree
|
|
@@ -1645,12 +1629,6 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
|
|
|
1645
1629
|
* @return the visitor result
|
|
1646
1630
|
*/
|
|
1647
1631
|
visitComparisonQuantifier?: (ctx: ComparisonQuantifierContext) => Result;
|
|
1648
|
-
/**
|
|
1649
|
-
* Visit a parse tree produced by `ImpalaSqlParser.booleanValue`.
|
|
1650
|
-
* @param ctx the parse tree
|
|
1651
|
-
* @return the visitor result
|
|
1652
|
-
*/
|
|
1653
|
-
visitBooleanValue?: (ctx: BooleanValueContext) => Result;
|
|
1654
1632
|
/**
|
|
1655
1633
|
* Visit a parse tree produced by `ImpalaSqlParser.interval`.
|
|
1656
1634
|
* @param ctx the parse tree
|
|
@@ -1663,12 +1641,6 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
|
|
|
1663
1641
|
* @return the visitor result
|
|
1664
1642
|
*/
|
|
1665
1643
|
visitIntervalField?: (ctx: IntervalFieldContext) => Result;
|
|
1666
|
-
/**
|
|
1667
|
-
* Visit a parse tree produced by `ImpalaSqlParser.normalForm`.
|
|
1668
|
-
* @param ctx the parse tree
|
|
1669
|
-
* @return the visitor result
|
|
1670
|
-
*/
|
|
1671
|
-
visitNormalForm?: (ctx: NormalFormContext) => Result;
|
|
1672
1644
|
/**
|
|
1673
1645
|
* Visit a parse tree produced by `ImpalaSqlParser.type`.
|
|
1674
1646
|
* @param ctx the parse tree
|