dt-sql-parser 4.4.2 → 4.5.0-beta.1

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.
Files changed (61) hide show
  1. package/README.md +140 -3
  2. package/dist/lib/SQLParserBase.d.ts +13 -1
  3. package/dist/lib/SQLParserBase.js +40 -5
  4. package/dist/lib/flink/FlinkSqlLexer.d.ts +397 -399
  5. package/dist/lib/flink/FlinkSqlLexer.js +2489 -2504
  6. package/dist/lib/flink/FlinkSqlParser.d.ts +726 -728
  7. package/dist/lib/flink/FlinkSqlParser.js +4727 -5330
  8. package/dist/lib/flink/FlinkSqlParserListener.d.ts +132 -90
  9. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +84 -57
  10. package/dist/lib/hive/HiveSqlParser.d.ts +338 -239
  11. package/dist/lib/hive/HiveSqlParser.js +6466 -5794
  12. package/dist/lib/hive/HiveSqlParserListener.d.ts +88 -0
  13. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +56 -0
  14. package/dist/lib/impala/ImpalaSqlParser.d.ts +236 -125
  15. package/dist/lib/impala/ImpalaSqlParser.js +4257 -3483
  16. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +109 -14
  17. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +69 -8
  18. package/dist/lib/mysql/MySqlParser.d.ts +403 -306
  19. package/dist/lib/mysql/MySqlParser.js +10694 -10030
  20. package/dist/lib/mysql/MySqlParserListener.d.ts +121 -18
  21. package/dist/lib/mysql/MySqlParserVisitor.d.ts +75 -10
  22. package/dist/lib/postgresql/PostgreSqlParser.d.ts +256 -173
  23. package/dist/lib/postgresql/PostgreSqlParser.js +14934 -11710
  24. package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +97 -5
  25. package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +61 -3
  26. package/dist/lib/spark/SparkSqlParser.d.ts +314 -149
  27. package/dist/lib/spark/SparkSqlParser.js +6185 -5227
  28. package/dist/lib/spark/SparkSqlParserListener.d.ts +180 -5
  29. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +113 -3
  30. package/dist/lib/trino/TrinoSqlListener.d.ts +90 -37
  31. package/dist/lib/trino/TrinoSqlParser.d.ts +219 -165
  32. package/dist/lib/trino/TrinoSqlParser.js +4942 -4615
  33. package/dist/lib/trino/TrinoSqlVisitor.d.ts +55 -21
  34. package/dist/parser/common/basicSQL.d.ts +5 -5
  35. package/dist/parser/common/basicSQL.js +4 -2
  36. package/dist/parser/common/entityCollector.d.ts +91 -4
  37. package/dist/parser/common/entityCollector.js +227 -11
  38. package/dist/parser/common/textAndWord.d.ts +9 -1
  39. package/dist/parser/common/textAndWord.js +2 -0
  40. package/dist/parser/common/types.d.ts +2 -0
  41. package/dist/parser/common/types.js +2 -0
  42. package/dist/parser/flink/flinkEntityCollector.d.ts +10 -2
  43. package/dist/parser/flink/flinkEntityCollector.js +76 -14
  44. package/dist/parser/flink/index.js +5 -2
  45. package/dist/parser/hive/hiveEntityCollector.d.ts +13 -1
  46. package/dist/parser/hive/hiveEntityCollector.js +85 -12
  47. package/dist/parser/impala/impalaEntityCollector.d.ts +7 -1
  48. package/dist/parser/impala/impalaEntityCollector.js +63 -12
  49. package/dist/parser/impala/index.js +2 -1
  50. package/dist/parser/mysql/index.js +3 -1
  51. package/dist/parser/mysql/mysqlEntityCollector.d.ts +10 -1
  52. package/dist/parser/mysql/mysqlEntityCollector.js +65 -12
  53. package/dist/parser/mysql/mysqlErrorListener.js +2 -0
  54. package/dist/parser/postgresql/postgreEntityCollector.d.ts +12 -1
  55. package/dist/parser/postgresql/postgreEntityCollector.js +99 -22
  56. package/dist/parser/spark/index.js +3 -1
  57. package/dist/parser/spark/sparkEntityCollector.d.ts +13 -1
  58. package/dist/parser/spark/sparkEntityCollector.js +88 -12
  59. package/dist/parser/trino/trinoEntityCollector.d.ts +7 -1
  60. package/dist/parser/trino/trinoEntityCollector.js +53 -12
  61. package/package.json +1 -1
@@ -95,8 +95,10 @@ import { DatabaseNamePathContext } from "./ImpalaSqlParser.js";
95
95
  import { TableNamePathContext } from "./ImpalaSqlParser.js";
96
96
  import { ViewNamePathContext } from "./ImpalaSqlParser.js";
97
97
  import { FunctionNamePathContext } from "./ImpalaSqlParser.js";
98
+ import { EmptyColumnContext } from "./ImpalaSqlParser.js";
98
99
  import { ColumnNamePathContext } from "./ImpalaSqlParser.js";
99
100
  import { ColumnNameContext } from "./ImpalaSqlParser.js";
101
+ import { ColumnNameAllowEmptyContext } from "./ImpalaSqlParser.js";
100
102
  import { TableOrViewPathContext } from "./ImpalaSqlParser.js";
101
103
  import { CreateCommonItemContext } from "./ImpalaSqlParser.js";
102
104
  import { AssignmentListContext } from "./ImpalaSqlParser.js";
@@ -140,6 +142,7 @@ import { InlineTableContext } from "./ImpalaSqlParser.js";
140
142
  import { SubqueryContext } from "./ImpalaSqlParser.js";
141
143
  import { SortItemContext } from "./ImpalaSqlParser.js";
142
144
  import { QuerySpecificationContext } from "./ImpalaSqlParser.js";
145
+ import { SelectListContext } from "./ImpalaSqlParser.js";
143
146
  import { WhereClauseContext } from "./ImpalaSqlParser.js";
144
147
  import { HavingClauseContext } from "./ImpalaSqlParser.js";
145
148
  import { GroupByContext } from "./ImpalaSqlParser.js";
@@ -147,8 +150,11 @@ import { SingleGroupingSetContext } from "./ImpalaSqlParser.js";
147
150
  import { GroupingSetContext } from "./ImpalaSqlParser.js";
148
151
  import { NamedQueryContext } from "./ImpalaSqlParser.js";
149
152
  import { SetQuantifierContext } from "./ImpalaSqlParser.js";
150
- import { SelectSingleContext } from "./ImpalaSqlParser.js";
151
- import { SelectAllContext } from "./ImpalaSqlParser.js";
153
+ import { SelectItemContext } from "./ImpalaSqlParser.js";
154
+ import { ColumnAliasContext } from "./ImpalaSqlParser.js";
155
+ import { SelectLiteralColumnNameContext } from "./ImpalaSqlParser.js";
156
+ import { SelectExpressionColumnNameContext } from "./ImpalaSqlParser.js";
157
+ import { TableAllColumnsContext } from "./ImpalaSqlParser.js";
152
158
  import { RelationDefaultContext } from "./ImpalaSqlParser.js";
153
159
  import { JoinRelationContext } from "./ImpalaSqlParser.js";
154
160
  import { JoinTypeContext } from "./ImpalaSqlParser.js";
@@ -158,6 +164,7 @@ import { SampleTypeContext } from "./ImpalaSqlParser.js";
158
164
  import { AliasedRelationContext } from "./ImpalaSqlParser.js";
159
165
  import { ColumnAliasesContext } from "./ImpalaSqlParser.js";
160
166
  import { RelationPrimaryContext } from "./ImpalaSqlParser.js";
167
+ import { AtomSubQueryTableSourceContext } from "./ImpalaSqlParser.js";
161
168
  import { SubQueryRelationContext } from "./ImpalaSqlParser.js";
162
169
  import { UnnestContext } from "./ImpalaSqlParser.js";
163
170
  import { ParenthesizedRelationContext } from "./ImpalaSqlParser.js";
@@ -179,6 +186,7 @@ import { ValueExpressionDefaultContext } from "./ImpalaSqlParser.js";
179
186
  import { ConcatenationContext } from "./ImpalaSqlParser.js";
180
187
  import { ArithmeticBinaryContext } from "./ImpalaSqlParser.js";
181
188
  import { ArithmeticUnaryContext } from "./ImpalaSqlParser.js";
189
+ import { FunctionCallExpressionContext } from "./ImpalaSqlParser.js";
182
190
  import { DereferenceContext } from "./ImpalaSqlParser.js";
183
191
  import { TypeConstructorContext } from "./ImpalaSqlParser.js";
184
192
  import { SpecialDateTimeFunctionContext } from "./ImpalaSqlParser.js";
@@ -234,6 +242,7 @@ import { PathSpecificationContext } from "./ImpalaSqlParser.js";
234
242
  import { PrivilegeContext } from "./ImpalaSqlParser.js";
235
243
  import { ObjectTypeContext } from "./ImpalaSqlParser.js";
236
244
  import { QualifiedNameContext } from "./ImpalaSqlParser.js";
245
+ import { QualifiedNameAllowEmptyContext } from "./ImpalaSqlParser.js";
237
246
  import { RolePrincipalContext } from "./ImpalaSqlParser.js";
238
247
  import { UserPrincipalContext } from "./ImpalaSqlParser.js";
239
248
  import { GroupPrincipalContext } from "./ImpalaSqlParser.js";
@@ -1211,6 +1220,16 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
1211
1220
  * @param ctx the parse tree
1212
1221
  */
1213
1222
  exitFunctionNamePath?: (ctx: FunctionNamePathContext) => void;
1223
+ /**
1224
+ * Enter a parse tree produced by `ImpalaSqlParser.emptyColumn`.
1225
+ * @param ctx the parse tree
1226
+ */
1227
+ enterEmptyColumn?: (ctx: EmptyColumnContext) => void;
1228
+ /**
1229
+ * Exit a parse tree produced by `ImpalaSqlParser.emptyColumn`.
1230
+ * @param ctx the parse tree
1231
+ */
1232
+ exitEmptyColumn?: (ctx: EmptyColumnContext) => void;
1214
1233
  /**
1215
1234
  * Enter a parse tree produced by `ImpalaSqlParser.columnNamePath`.
1216
1235
  * @param ctx the parse tree
@@ -1231,6 +1250,16 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
1231
1250
  * @param ctx the parse tree
1232
1251
  */
1233
1252
  exitColumnName?: (ctx: ColumnNameContext) => void;
1253
+ /**
1254
+ * Enter a parse tree produced by `ImpalaSqlParser.columnNameAllowEmpty`.
1255
+ * @param ctx the parse tree
1256
+ */
1257
+ enterColumnNameAllowEmpty?: (ctx: ColumnNameAllowEmptyContext) => void;
1258
+ /**
1259
+ * Exit a parse tree produced by `ImpalaSqlParser.columnNameAllowEmpty`.
1260
+ * @param ctx the parse tree
1261
+ */
1262
+ exitColumnNameAllowEmpty?: (ctx: ColumnNameAllowEmptyContext) => void;
1234
1263
  /**
1235
1264
  * Enter a parse tree produced by `ImpalaSqlParser.tableOrViewPath`.
1236
1265
  * @param ctx the parse tree
@@ -1673,6 +1702,16 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
1673
1702
  * @param ctx the parse tree
1674
1703
  */
1675
1704
  exitQuerySpecification?: (ctx: QuerySpecificationContext) => void;
1705
+ /**
1706
+ * Enter a parse tree produced by `ImpalaSqlParser.selectList`.
1707
+ * @param ctx the parse tree
1708
+ */
1709
+ enterSelectList?: (ctx: SelectListContext) => void;
1710
+ /**
1711
+ * Exit a parse tree produced by `ImpalaSqlParser.selectList`.
1712
+ * @param ctx the parse tree
1713
+ */
1714
+ exitSelectList?: (ctx: SelectListContext) => void;
1676
1715
  /**
1677
1716
  * Enter a parse tree produced by `ImpalaSqlParser.whereClause`.
1678
1717
  * @param ctx the parse tree
@@ -1746,29 +1785,55 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
1746
1785
  */
1747
1786
  exitSetQuantifier?: (ctx: SetQuantifierContext) => void;
1748
1787
  /**
1749
- * Enter a parse tree produced by the `selectSingle`
1750
- * labeled alternative in `ImpalaSqlParser.selectItem`.
1788
+ * Enter a parse tree produced by `ImpalaSqlParser.selectItem`.
1789
+ * @param ctx the parse tree
1790
+ */
1791
+ enterSelectItem?: (ctx: SelectItemContext) => void;
1792
+ /**
1793
+ * Exit a parse tree produced by `ImpalaSqlParser.selectItem`.
1794
+ * @param ctx the parse tree
1795
+ */
1796
+ exitSelectItem?: (ctx: SelectItemContext) => void;
1797
+ /**
1798
+ * Enter a parse tree produced by `ImpalaSqlParser.columnAlias`.
1799
+ * @param ctx the parse tree
1800
+ */
1801
+ enterColumnAlias?: (ctx: ColumnAliasContext) => void;
1802
+ /**
1803
+ * Exit a parse tree produced by `ImpalaSqlParser.columnAlias`.
1751
1804
  * @param ctx the parse tree
1752
1805
  */
1753
- enterSelectSingle?: (ctx: SelectSingleContext) => void;
1806
+ exitColumnAlias?: (ctx: ColumnAliasContext) => void;
1754
1807
  /**
1755
- * Exit a parse tree produced by the `selectSingle`
1756
- * labeled alternative in `ImpalaSqlParser.selectItem`.
1808
+ * Enter a parse tree produced by `ImpalaSqlParser.selectLiteralColumnName`.
1757
1809
  * @param ctx the parse tree
1758
1810
  */
1759
- exitSelectSingle?: (ctx: SelectSingleContext) => void;
1811
+ enterSelectLiteralColumnName?: (ctx: SelectLiteralColumnNameContext) => void;
1760
1812
  /**
1761
- * Enter a parse tree produced by the `selectAll`
1762
- * labeled alternative in `ImpalaSqlParser.selectItem`.
1813
+ * Exit a parse tree produced by `ImpalaSqlParser.selectLiteralColumnName`.
1763
1814
  * @param ctx the parse tree
1764
1815
  */
1765
- enterSelectAll?: (ctx: SelectAllContext) => void;
1816
+ exitSelectLiteralColumnName?: (ctx: SelectLiteralColumnNameContext) => void;
1766
1817
  /**
1767
- * Exit a parse tree produced by the `selectAll`
1768
- * labeled alternative in `ImpalaSqlParser.selectItem`.
1818
+ * Enter a parse tree produced by `ImpalaSqlParser.selectExpressionColumnName`.
1769
1819
  * @param ctx the parse tree
1770
1820
  */
1771
- exitSelectAll?: (ctx: SelectAllContext) => void;
1821
+ enterSelectExpressionColumnName?: (ctx: SelectExpressionColumnNameContext) => void;
1822
+ /**
1823
+ * Exit a parse tree produced by `ImpalaSqlParser.selectExpressionColumnName`.
1824
+ * @param ctx the parse tree
1825
+ */
1826
+ exitSelectExpressionColumnName?: (ctx: SelectExpressionColumnNameContext) => void;
1827
+ /**
1828
+ * Enter a parse tree produced by `ImpalaSqlParser.tableAllColumns`.
1829
+ * @param ctx the parse tree
1830
+ */
1831
+ enterTableAllColumns?: (ctx: TableAllColumnsContext) => void;
1832
+ /**
1833
+ * Exit a parse tree produced by `ImpalaSqlParser.tableAllColumns`.
1834
+ * @param ctx the parse tree
1835
+ */
1836
+ exitTableAllColumns?: (ctx: TableAllColumnsContext) => void;
1772
1837
  /**
1773
1838
  * Enter a parse tree produced by the `relationDefault`
1774
1839
  * labeled alternative in `ImpalaSqlParser.relation`.
@@ -1863,6 +1928,16 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
1863
1928
  * @param ctx the parse tree
1864
1929
  */
1865
1930
  exitRelationPrimary?: (ctx: RelationPrimaryContext) => void;
1931
+ /**
1932
+ * Enter a parse tree produced by `ImpalaSqlParser.atomSubQueryTableSource`.
1933
+ * @param ctx the parse tree
1934
+ */
1935
+ enterAtomSubQueryTableSource?: (ctx: AtomSubQueryTableSourceContext) => void;
1936
+ /**
1937
+ * Exit a parse tree produced by `ImpalaSqlParser.atomSubQueryTableSource`.
1938
+ * @param ctx the parse tree
1939
+ */
1940
+ exitAtomSubQueryTableSource?: (ctx: AtomSubQueryTableSourceContext) => void;
1866
1941
  /**
1867
1942
  * Enter a parse tree produced by `ImpalaSqlParser.subQueryRelation`.
1868
1943
  * @param ctx the parse tree
@@ -2105,6 +2180,16 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
2105
2180
  * @param ctx the parse tree
2106
2181
  */
2107
2182
  exitArithmeticUnary?: (ctx: ArithmeticUnaryContext) => void;
2183
+ /**
2184
+ * Enter a parse tree produced by `ImpalaSqlParser.functionCallExpression`.
2185
+ * @param ctx the parse tree
2186
+ */
2187
+ enterFunctionCallExpression?: (ctx: FunctionCallExpressionContext) => void;
2188
+ /**
2189
+ * Exit a parse tree produced by `ImpalaSqlParser.functionCallExpression`.
2190
+ * @param ctx the parse tree
2191
+ */
2192
+ exitFunctionCallExpression?: (ctx: FunctionCallExpressionContext) => void;
2108
2193
  /**
2109
2194
  * Enter a parse tree produced by the `dereference`
2110
2195
  * labeled alternative in `ImpalaSqlParser.primaryExpression`.
@@ -2727,6 +2812,16 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
2727
2812
  * @param ctx the parse tree
2728
2813
  */
2729
2814
  exitQualifiedName?: (ctx: QualifiedNameContext) => void;
2815
+ /**
2816
+ * Enter a parse tree produced by `ImpalaSqlParser.qualifiedNameAllowEmpty`.
2817
+ * @param ctx the parse tree
2818
+ */
2819
+ enterQualifiedNameAllowEmpty?: (ctx: QualifiedNameAllowEmptyContext) => void;
2820
+ /**
2821
+ * Exit a parse tree produced by `ImpalaSqlParser.qualifiedNameAllowEmpty`.
2822
+ * @param ctx the parse tree
2823
+ */
2824
+ exitQualifiedNameAllowEmpty?: (ctx: QualifiedNameAllowEmptyContext) => void;
2730
2825
  /**
2731
2826
  * Enter a parse tree produced by the `rolePrincipal`
2732
2827
  * labeled alternative in `ImpalaSqlParser.principal`.
@@ -95,8 +95,10 @@ import { DatabaseNamePathContext } from "./ImpalaSqlParser.js";
95
95
  import { TableNamePathContext } from "./ImpalaSqlParser.js";
96
96
  import { ViewNamePathContext } from "./ImpalaSqlParser.js";
97
97
  import { FunctionNamePathContext } from "./ImpalaSqlParser.js";
98
+ import { EmptyColumnContext } from "./ImpalaSqlParser.js";
98
99
  import { ColumnNamePathContext } from "./ImpalaSqlParser.js";
99
100
  import { ColumnNameContext } from "./ImpalaSqlParser.js";
101
+ import { ColumnNameAllowEmptyContext } from "./ImpalaSqlParser.js";
100
102
  import { TableOrViewPathContext } from "./ImpalaSqlParser.js";
101
103
  import { CreateCommonItemContext } from "./ImpalaSqlParser.js";
102
104
  import { AssignmentListContext } from "./ImpalaSqlParser.js";
@@ -140,6 +142,7 @@ import { InlineTableContext } from "./ImpalaSqlParser.js";
140
142
  import { SubqueryContext } from "./ImpalaSqlParser.js";
141
143
  import { SortItemContext } from "./ImpalaSqlParser.js";
142
144
  import { QuerySpecificationContext } from "./ImpalaSqlParser.js";
145
+ import { SelectListContext } from "./ImpalaSqlParser.js";
143
146
  import { WhereClauseContext } from "./ImpalaSqlParser.js";
144
147
  import { HavingClauseContext } from "./ImpalaSqlParser.js";
145
148
  import { GroupByContext } from "./ImpalaSqlParser.js";
@@ -147,8 +150,11 @@ import { SingleGroupingSetContext } from "./ImpalaSqlParser.js";
147
150
  import { GroupingSetContext } from "./ImpalaSqlParser.js";
148
151
  import { NamedQueryContext } from "./ImpalaSqlParser.js";
149
152
  import { SetQuantifierContext } from "./ImpalaSqlParser.js";
150
- import { SelectSingleContext } from "./ImpalaSqlParser.js";
151
- import { SelectAllContext } from "./ImpalaSqlParser.js";
153
+ import { SelectItemContext } from "./ImpalaSqlParser.js";
154
+ import { ColumnAliasContext } from "./ImpalaSqlParser.js";
155
+ import { SelectLiteralColumnNameContext } from "./ImpalaSqlParser.js";
156
+ import { SelectExpressionColumnNameContext } from "./ImpalaSqlParser.js";
157
+ import { TableAllColumnsContext } from "./ImpalaSqlParser.js";
152
158
  import { RelationDefaultContext } from "./ImpalaSqlParser.js";
153
159
  import { JoinRelationContext } from "./ImpalaSqlParser.js";
154
160
  import { JoinTypeContext } from "./ImpalaSqlParser.js";
@@ -158,6 +164,7 @@ import { SampleTypeContext } from "./ImpalaSqlParser.js";
158
164
  import { AliasedRelationContext } from "./ImpalaSqlParser.js";
159
165
  import { ColumnAliasesContext } from "./ImpalaSqlParser.js";
160
166
  import { RelationPrimaryContext } from "./ImpalaSqlParser.js";
167
+ import { AtomSubQueryTableSourceContext } from "./ImpalaSqlParser.js";
161
168
  import { SubQueryRelationContext } from "./ImpalaSqlParser.js";
162
169
  import { UnnestContext } from "./ImpalaSqlParser.js";
163
170
  import { ParenthesizedRelationContext } from "./ImpalaSqlParser.js";
@@ -179,6 +186,7 @@ import { ValueExpressionDefaultContext } from "./ImpalaSqlParser.js";
179
186
  import { ConcatenationContext } from "./ImpalaSqlParser.js";
180
187
  import { ArithmeticBinaryContext } from "./ImpalaSqlParser.js";
181
188
  import { ArithmeticUnaryContext } from "./ImpalaSqlParser.js";
189
+ import { FunctionCallExpressionContext } from "./ImpalaSqlParser.js";
182
190
  import { DereferenceContext } from "./ImpalaSqlParser.js";
183
191
  import { TypeConstructorContext } from "./ImpalaSqlParser.js";
184
192
  import { SpecialDateTimeFunctionContext } from "./ImpalaSqlParser.js";
@@ -234,6 +242,7 @@ import { PathSpecificationContext } from "./ImpalaSqlParser.js";
234
242
  import { PrivilegeContext } from "./ImpalaSqlParser.js";
235
243
  import { ObjectTypeContext } from "./ImpalaSqlParser.js";
236
244
  import { QualifiedNameContext } from "./ImpalaSqlParser.js";
245
+ import { QualifiedNameAllowEmptyContext } from "./ImpalaSqlParser.js";
237
246
  import { RolePrincipalContext } from "./ImpalaSqlParser.js";
238
247
  import { UserPrincipalContext } from "./ImpalaSqlParser.js";
239
248
  import { GroupPrincipalContext } from "./ImpalaSqlParser.js";
@@ -830,6 +839,12 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
830
839
  * @return the visitor result
831
840
  */
832
841
  visitFunctionNamePath?: (ctx: FunctionNamePathContext) => Result;
842
+ /**
843
+ * Visit a parse tree produced by `ImpalaSqlParser.emptyColumn`.
844
+ * @param ctx the parse tree
845
+ * @return the visitor result
846
+ */
847
+ visitEmptyColumn?: (ctx: EmptyColumnContext) => Result;
833
848
  /**
834
849
  * Visit a parse tree produced by `ImpalaSqlParser.columnNamePath`.
835
850
  * @param ctx the parse tree
@@ -842,6 +857,12 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
842
857
  * @return the visitor result
843
858
  */
844
859
  visitColumnName?: (ctx: ColumnNameContext) => Result;
860
+ /**
861
+ * Visit a parse tree produced by `ImpalaSqlParser.columnNameAllowEmpty`.
862
+ * @param ctx the parse tree
863
+ * @return the visitor result
864
+ */
865
+ visitColumnNameAllowEmpty?: (ctx: ColumnNameAllowEmptyContext) => Result;
845
866
  /**
846
867
  * Visit a parse tree produced by `ImpalaSqlParser.tableOrViewPath`.
847
868
  * @param ctx the parse tree
@@ -1106,6 +1127,12 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
1106
1127
  * @return the visitor result
1107
1128
  */
1108
1129
  visitQuerySpecification?: (ctx: QuerySpecificationContext) => Result;
1130
+ /**
1131
+ * Visit a parse tree produced by `ImpalaSqlParser.selectList`.
1132
+ * @param ctx the parse tree
1133
+ * @return the visitor result
1134
+ */
1135
+ visitSelectList?: (ctx: SelectListContext) => Result;
1109
1136
  /**
1110
1137
  * Visit a parse tree produced by `ImpalaSqlParser.whereClause`.
1111
1138
  * @param ctx the parse tree
@@ -1150,19 +1177,35 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
1150
1177
  */
1151
1178
  visitSetQuantifier?: (ctx: SetQuantifierContext) => Result;
1152
1179
  /**
1153
- * Visit a parse tree produced by the `selectSingle`
1154
- * labeled alternative in `ImpalaSqlParser.selectItem`.
1180
+ * Visit a parse tree produced by `ImpalaSqlParser.selectItem`.
1181
+ * @param ctx the parse tree
1182
+ * @return the visitor result
1183
+ */
1184
+ visitSelectItem?: (ctx: SelectItemContext) => Result;
1185
+ /**
1186
+ * Visit a parse tree produced by `ImpalaSqlParser.columnAlias`.
1187
+ * @param ctx the parse tree
1188
+ * @return the visitor result
1189
+ */
1190
+ visitColumnAlias?: (ctx: ColumnAliasContext) => Result;
1191
+ /**
1192
+ * Visit a parse tree produced by `ImpalaSqlParser.selectLiteralColumnName`.
1155
1193
  * @param ctx the parse tree
1156
1194
  * @return the visitor result
1157
1195
  */
1158
- visitSelectSingle?: (ctx: SelectSingleContext) => Result;
1196
+ visitSelectLiteralColumnName?: (ctx: SelectLiteralColumnNameContext) => Result;
1159
1197
  /**
1160
- * Visit a parse tree produced by the `selectAll`
1161
- * labeled alternative in `ImpalaSqlParser.selectItem`.
1198
+ * Visit a parse tree produced by `ImpalaSqlParser.selectExpressionColumnName`.
1162
1199
  * @param ctx the parse tree
1163
1200
  * @return the visitor result
1164
1201
  */
1165
- visitSelectAll?: (ctx: SelectAllContext) => Result;
1202
+ visitSelectExpressionColumnName?: (ctx: SelectExpressionColumnNameContext) => Result;
1203
+ /**
1204
+ * Visit a parse tree produced by `ImpalaSqlParser.tableAllColumns`.
1205
+ * @param ctx the parse tree
1206
+ * @return the visitor result
1207
+ */
1208
+ visitTableAllColumns?: (ctx: TableAllColumnsContext) => Result;
1166
1209
  /**
1167
1210
  * Visit a parse tree produced by the `relationDefault`
1168
1211
  * labeled alternative in `ImpalaSqlParser.relation`.
@@ -1219,6 +1262,12 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
1219
1262
  * @return the visitor result
1220
1263
  */
1221
1264
  visitRelationPrimary?: (ctx: RelationPrimaryContext) => Result;
1265
+ /**
1266
+ * Visit a parse tree produced by `ImpalaSqlParser.atomSubQueryTableSource`.
1267
+ * @param ctx the parse tree
1268
+ * @return the visitor result
1269
+ */
1270
+ visitAtomSubQueryTableSource?: (ctx: AtomSubQueryTableSourceContext) => Result;
1222
1271
  /**
1223
1272
  * Visit a parse tree produced by `ImpalaSqlParser.subQueryRelation`.
1224
1273
  * @param ctx the parse tree
@@ -1361,6 +1410,12 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
1361
1410
  * @return the visitor result
1362
1411
  */
1363
1412
  visitArithmeticUnary?: (ctx: ArithmeticUnaryContext) => Result;
1413
+ /**
1414
+ * Visit a parse tree produced by `ImpalaSqlParser.functionCallExpression`.
1415
+ * @param ctx the parse tree
1416
+ * @return the visitor result
1417
+ */
1418
+ visitFunctionCallExpression?: (ctx: FunctionCallExpressionContext) => Result;
1364
1419
  /**
1365
1420
  * Visit a parse tree produced by the `dereference`
1366
1421
  * labeled alternative in `ImpalaSqlParser.primaryExpression`.
@@ -1727,6 +1782,12 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
1727
1782
  * @return the visitor result
1728
1783
  */
1729
1784
  visitQualifiedName?: (ctx: QualifiedNameContext) => Result;
1785
+ /**
1786
+ * Visit a parse tree produced by `ImpalaSqlParser.qualifiedNameAllowEmpty`.
1787
+ * @param ctx the parse tree
1788
+ * @return the visitor result
1789
+ */
1790
+ visitQualifiedNameAllowEmpty?: (ctx: QualifiedNameAllowEmptyContext) => Result;
1730
1791
  /**
1731
1792
  * Visit a parse tree produced by the `rolePrincipal`
1732
1793
  * labeled alternative in `ImpalaSqlParser.principal`.