dt-sql-parser 4.0.0-beta.4.2 → 4.0.0-beta.4.3

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 (80) hide show
  1. package/README.md +124 -43
  2. package/dist/index.d.ts +3 -3
  3. package/dist/index.js +2 -2
  4. package/dist/index.js.map +1 -1
  5. package/dist/lib/flinksql/FlinkSqlParser.d.ts +122 -64
  6. package/dist/lib/flinksql/FlinkSqlParser.js +3429 -2829
  7. package/dist/lib/flinksql/FlinkSqlParser.js.map +1 -1
  8. package/dist/lib/flinksql/FlinkSqlParserListener.d.ts +44 -0
  9. package/dist/lib/flinksql/FlinkSqlParserVisitor.d.ts +28 -0
  10. package/dist/lib/hive/HiveSqlLexer.d.ts +365 -350
  11. package/dist/lib/hive/HiveSqlLexer.js +2395 -2339
  12. package/dist/lib/hive/HiveSqlLexer.js.map +1 -1
  13. package/dist/lib/hive/HiveSqlParser.d.ts +1213 -967
  14. package/dist/lib/hive/HiveSqlParser.js +10262 -8596
  15. package/dist/lib/hive/HiveSqlParser.js.map +1 -1
  16. package/dist/lib/hive/HiveSqlParserListener.d.ts +225 -27
  17. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +143 -17
  18. package/dist/lib/pgsql/PostgreSQLLexerBase.js +0 -4
  19. package/dist/lib/pgsql/PostgreSQLLexerBase.js.map +1 -1
  20. package/dist/lib/pgsql/PostgreSQLParserBase.js +0 -6
  21. package/dist/lib/pgsql/PostgreSQLParserBase.js.map +1 -1
  22. package/dist/lib/spark/SparkSqlLexer.d.ts +398 -322
  23. package/dist/lib/spark/SparkSqlLexer.js +2302 -1738
  24. package/dist/lib/spark/SparkSqlLexer.js.map +1 -1
  25. package/dist/lib/spark/SparkSqlParser.d.ts +3319 -3314
  26. package/dist/lib/spark/SparkSqlParser.js +18718 -16132
  27. package/dist/lib/spark/SparkSqlParser.js.map +1 -1
  28. package/dist/lib/spark/SparkSqlParserListener.d.ts +2130 -0
  29. package/dist/lib/spark/SparkSqlParserListener.js +3 -0
  30. package/dist/lib/spark/SparkSqlParserListener.js.map +1 -0
  31. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +1361 -0
  32. package/dist/lib/spark/SparkSqlParserVisitor.js +3 -0
  33. package/dist/lib/spark/SparkSqlParserVisitor.js.map +1 -0
  34. package/dist/parser/common/basic-parser-types.d.ts +16 -3
  35. package/dist/parser/common/basic-parser-types.js +12 -2
  36. package/dist/parser/common/basic-parser-types.js.map +1 -1
  37. package/dist/parser/common/basicParser.d.ts +27 -28
  38. package/dist/parser/common/basicParser.js +76 -60
  39. package/dist/parser/common/basicParser.js.map +1 -1
  40. package/dist/parser/common/parseErrorListener.d.ts +33 -0
  41. package/dist/parser/common/parseErrorListener.js +28 -0
  42. package/dist/parser/common/parseErrorListener.js.map +1 -0
  43. package/dist/parser/flinksql.js +32 -13
  44. package/dist/parser/flinksql.js.map +1 -1
  45. package/dist/parser/generic.js +1 -1
  46. package/dist/parser/generic.js.map +1 -1
  47. package/dist/parser/hive.d.ts +10 -3
  48. package/dist/parser/hive.js +89 -5
  49. package/dist/parser/hive.js.map +1 -1
  50. package/dist/parser/index.d.ts +1 -0
  51. package/dist/parser/index.js +1 -0
  52. package/dist/parser/index.js.map +1 -1
  53. package/dist/parser/pgsql.js +1 -1
  54. package/dist/parser/pgsql.js.map +1 -1
  55. package/dist/parser/plsql.js +1 -1
  56. package/dist/parser/plsql.js.map +1 -1
  57. package/dist/parser/spark.d.ts +10 -3
  58. package/dist/parser/spark.js +90 -7
  59. package/dist/parser/spark.js.map +1 -1
  60. package/dist/parser/trinosql.js +1 -1
  61. package/dist/parser/trinosql.js.map +1 -1
  62. package/dist/utils/findCaretTokenIndex.d.ts +2 -2
  63. package/dist/utils/findCaretTokenIndex.js +5 -4
  64. package/dist/utils/findCaretTokenIndex.js.map +1 -1
  65. package/dist/utils/index.d.ts +1 -1
  66. package/dist/utils/index.js +1 -5
  67. package/dist/utils/index.js.map +1 -1
  68. package/dist/utils/token.d.ts +2 -2
  69. package/dist/utils/token.js +2 -2
  70. package/dist/utils/token.js.map +1 -1
  71. package/package.json +15 -9
  72. package/dist/lib/spark/SparkSqlListener.d.ts +0 -3516
  73. package/dist/lib/spark/SparkSqlListener.js +0 -3
  74. package/dist/lib/spark/SparkSqlListener.js.map +0 -1
  75. package/dist/lib/spark/SparkSqlVisitor.d.ts +0 -2201
  76. package/dist/lib/spark/SparkSqlVisitor.js +0 -3
  77. package/dist/lib/spark/SparkSqlVisitor.js.map +0 -1
  78. package/dist/parser/common/parserErrorListener.d.ts +0 -30
  79. package/dist/parser/common/parserErrorListener.js +0 -62
  80. package/dist/parser/common/parserErrorListener.js.map +0 -1
@@ -82,356 +82,370 @@ export declare class HiveSqlParser extends Parser {
82
82
  static readonly KW_DATE = 71;
83
83
  static readonly KW_DATETIME = 72;
84
84
  static readonly KW_DAY = 73;
85
- static readonly KW_DAYOFWEEK = 74;
86
- static readonly KW_DBPROPERTIES = 75;
87
- static readonly KW_DCPROPERTIES = 76;
88
- static readonly KW_DDL = 77;
89
- static readonly KW_DEBUG = 78;
90
- static readonly KW_DECIMAL = 79;
91
- static readonly KW_DEFAULT = 80;
92
- static readonly KW_DEFERRED = 81;
93
- static readonly KW_DEFINED = 82;
94
- static readonly KW_DELETE = 83;
95
- static readonly KW_DELIMITED = 84;
96
- static readonly KW_DEPENDENCY = 85;
97
- static readonly KW_DESC = 86;
98
- static readonly KW_DESCRIBE = 87;
99
- static readonly KW_DETAIL = 88;
100
- static readonly KW_DIRECTORIES = 89;
101
- static readonly KW_DIRECTORY = 90;
102
- static readonly KW_DISABLE = 91;
103
- static readonly KW_DISTINCT = 92;
104
- static readonly KW_DISTRIBUTE = 93;
105
- static readonly KW_DISTRIBUTED = 94;
106
- static readonly KW_DO = 95;
107
- static readonly KW_DOUBLE = 96;
108
- static readonly KW_DROP = 97;
109
- static readonly KW_DUMP = 98;
110
- static readonly KW_ELEM_TYPE = 99;
111
- static readonly KW_ELSE = 100;
112
- static readonly KW_ENABLE = 101;
113
- static readonly KW_END = 102;
114
- static readonly KW_ENFORCED = 103;
115
- static readonly KW_ESCAPED = 104;
116
- static readonly KW_EVERY = 105;
117
- static readonly KW_EXCEPT = 106;
118
- static readonly KW_EXCHANGE = 107;
119
- static readonly KW_EXCLUSIVE = 108;
120
- static readonly KW_EXECUTE = 109;
121
- static readonly KW_EXECUTED = 110;
122
- static readonly KW_EXISTS = 111;
123
- static readonly KW_EXPIRE_SNAPSHOTS = 112;
124
- static readonly KW_EXPLAIN = 113;
125
- static readonly KW_EXPORT = 114;
126
- static readonly KW_EXPRESSION = 115;
127
- static readonly KW_EXTENDED = 116;
128
- static readonly KW_EXTERNAL = 117;
129
- static readonly KW_EXTRACT = 118;
130
- static readonly KW_FALSE = 119;
131
- static readonly KW_FETCH = 120;
132
- static readonly KW_FIELDS = 121;
133
- static readonly KW_FILE = 122;
134
- static readonly KW_FILEFORMAT = 123;
135
- static readonly KW_FIRST = 124;
136
- static readonly KW_FLOAT = 125;
137
- static readonly KW_FLOOR = 126;
138
- static readonly KW_FOLLOWING = 127;
139
- static readonly KW_FOR = 128;
140
- static readonly KW_FORCE = 129;
141
- static readonly KW_FOREIGN = 130;
142
- static readonly KW_FORMAT = 131;
143
- static readonly KW_FORMATTED = 132;
144
- static readonly KW_FROM = 133;
145
- static readonly KW_FULL = 134;
146
- static readonly KW_FUNCTION = 135;
147
- static readonly KW_FUNCTIONS = 136;
148
- static readonly KW_GRANT = 137;
149
- static readonly KW_GROUP = 138;
150
- static readonly KW_GROUPING = 139;
151
- static readonly KW_HAVING = 140;
152
- static readonly KW_HOLD_DDLTIME = 141;
153
- static readonly KW_HOUR = 142;
154
- static readonly KW_IDXPROPERTIES = 143;
155
- static readonly KW_IF = 144;
156
- static readonly KW_IGNORE = 145;
157
- static readonly KW_IMPORT = 146;
158
- static readonly KW_IN = 147;
159
- static readonly KW_INDEX = 148;
160
- static readonly KW_INDEXES = 149;
161
- static readonly KW_INNER = 150;
162
- static readonly KW_INPATH = 151;
163
- static readonly KW_INPUTDRIVER = 152;
164
- static readonly KW_INPUTFORMAT = 153;
165
- static readonly KW_INSERT = 154;
166
- static readonly KW_INT = 155;
167
- static readonly KW_INTERSECT = 156;
168
- static readonly KW_INTERVAL = 157;
169
- static readonly KW_INTO = 158;
170
- static readonly KW_IS = 159;
171
- static readonly KW_ISOLATION = 160;
172
- static readonly KW_ITEMS = 161;
173
- static readonly KW_JAR = 162;
174
- static readonly KW_JOIN = 163;
175
- static readonly KW_JOINCOST = 164;
176
- static readonly KW_KEY = 165;
177
- static readonly KW_KEYS = 166;
178
- static readonly KW_KEY_TYPE = 167;
179
- static readonly KW_KILL = 168;
180
- static readonly KW_LAST = 169;
181
- static readonly KW_LATERAL = 170;
182
- static readonly KW_LEADING = 171;
183
- static readonly KW_LEFT = 172;
184
- static readonly KW_LESS = 173;
185
- static readonly KW_LEVEL = 174;
186
- static readonly KW_LIKE = 175;
187
- static readonly KW_LIMIT = 176;
188
- static readonly KW_LINES = 177;
189
- static readonly KW_LOAD = 178;
190
- static readonly KW_LOCAL = 179;
191
- static readonly KW_LOCATION = 180;
192
- static readonly KW_LOCK = 181;
193
- static readonly KW_LOCKS = 182;
194
- static readonly KW_LOGICAL = 183;
195
- static readonly KW_LONG = 184;
196
- static readonly KW_MACRO = 185;
197
- static readonly KW_MANAGED = 186;
198
- static readonly KW_MANAGEDLOCATION = 187;
199
- static readonly KW_MANAGEMENT = 188;
200
- static readonly KW_MAP = 189;
201
- static readonly KW_MAPJOIN = 190;
202
- static readonly KW_MAPPING = 191;
203
- static readonly KW_MATCHED = 192;
204
- static readonly KW_MATERIALIZED = 193;
205
- static readonly KW_MERGE = 194;
206
- static readonly KW_METADATA = 195;
207
- static readonly KW_MINUS = 196;
208
- static readonly KW_MINUTE = 197;
209
- static readonly KW_MONTH = 198;
210
- static readonly KW_MORE = 199;
211
- static readonly KW_MOVE = 200;
212
- static readonly KW_MSCK = 201;
213
- static readonly KW_NONE = 202;
214
- static readonly KW_NORELY = 203;
215
- static readonly KW_NOSCAN = 204;
216
- static readonly KW_NOT = 205;
217
- static readonly KW_NOVALIDATE = 206;
218
- static readonly KW_NO_DROP = 207;
219
- static readonly KW_NULL = 208;
220
- static readonly KW_NULLS = 209;
221
- static readonly KW_OF = 210;
222
- static readonly KW_OFFLINE = 211;
223
- static readonly KW_OFFSET = 212;
224
- static readonly KW_ON = 213;
225
- static readonly KW_ONLY = 214;
226
- static readonly KW_OPERATOR = 215;
227
- static readonly KW_OPTION = 216;
228
- static readonly KW_OR = 217;
229
- static readonly KW_ORDER = 218;
230
- static readonly KW_OUT = 219;
231
- static readonly KW_OUTER = 220;
232
- static readonly KW_OUTPUTDRIVER = 221;
233
- static readonly KW_OUTPUTFORMAT = 222;
234
- static readonly KW_OVER = 223;
235
- static readonly KW_OVERWRITE = 224;
236
- static readonly KW_OWNER = 225;
237
- static readonly KW_PARTITION = 226;
238
- static readonly KW_PARTITIONED = 227;
239
- static readonly KW_PARTITIONS = 228;
240
- static readonly KW_PATH = 229;
241
- static readonly KW_PERCENT = 230;
242
- static readonly KW_PKFK_JOIN = 231;
243
- static readonly KW_PLAN = 232;
244
- static readonly KW_PLANS = 233;
245
- static readonly KW_PLUS = 234;
246
- static readonly KW_POOL = 235;
247
- static readonly KW_PRECEDING = 236;
248
- static readonly KW_PRECISION = 237;
249
- static readonly KW_PREPARE = 238;
250
- static readonly KW_PRESERVE = 239;
251
- static readonly KW_PRIMARY = 240;
252
- static readonly KW_PRINCIPALS = 241;
253
- static readonly KW_PROCEDURE = 242;
254
- static readonly KW_PROTECTION = 243;
255
- static readonly KW_PURGE = 244;
256
- static readonly KW_QUALIFY = 245;
257
- static readonly KW_QUARTER = 246;
258
- static readonly KW_QUERY = 247;
259
- static readonly KW_QUERY_PARALLELISM = 248;
260
- static readonly KW_RANGE = 249;
261
- static readonly KW_READ = 250;
262
- static readonly KW_READONLY = 251;
263
- static readonly KW_READS = 252;
264
- static readonly KW_REAL = 253;
265
- static readonly KW_REBUILD = 254;
266
- static readonly KW_RECORDREADER = 255;
267
- static readonly KW_RECORDWRITER = 256;
268
- static readonly KW_REDUCE = 257;
269
- static readonly KW_REFERENCES = 258;
270
- static readonly KW_REGEXP = 259;
271
- static readonly KW_RELOAD = 260;
272
- static readonly KW_RELY = 261;
273
- static readonly KW_REMOTE = 262;
274
- static readonly KW_RENAME = 263;
275
- static readonly KW_REOPTIMIZATION = 264;
276
- static readonly KW_REPAIR = 265;
277
- static readonly KW_REPL = 266;
278
- static readonly KW_REPLACE = 267;
279
- static readonly KW_REPLICATION = 268;
280
- static readonly KW_RESOURCE = 269;
281
- static readonly KW_RESPECT = 270;
282
- static readonly KW_RESTRICT = 271;
283
- static readonly KW_REVOKE = 272;
284
- static readonly KW_REWRITE = 273;
285
- static readonly KW_RIGHT = 274;
286
- static readonly KW_RLIKE = 275;
287
- static readonly KW_ROLE = 276;
288
- static readonly KW_ROLES = 277;
289
- static readonly KW_ROLLBACK = 278;
290
- static readonly KW_ROLLUP = 279;
291
- static readonly KW_ROW = 280;
292
- static readonly KW_ROWS = 281;
293
- static readonly KW_SCHEDULED = 282;
294
- static readonly KW_SCHEDULING_POLICY = 283;
295
- static readonly KW_SCHEMA = 284;
296
- static readonly KW_SCHEMAS = 285;
297
- static readonly KW_SECOND = 286;
298
- static readonly KW_SELECT = 287;
299
- static readonly KW_SEMI = 288;
300
- static readonly KW_SERDE = 289;
301
- static readonly KW_SERDEPROPERTIES = 290;
302
- static readonly KW_SERVER = 291;
303
- static readonly KW_SET = 292;
304
- static readonly KW_SETS = 293;
305
- static readonly KW_SET_CURRENT_SNAPSHOT = 294;
306
- static readonly KW_SHARED = 295;
307
- static readonly KW_SHOW = 296;
308
- static readonly KW_SHOW_DATABASE = 297;
309
- static readonly KW_SKEWED = 298;
310
- static readonly KW_SMALLINT = 299;
311
- static readonly KW_SNAPSHOT = 300;
312
- static readonly KW_SOME = 301;
313
- static readonly KW_SORT = 302;
314
- static readonly KW_SORTED = 303;
315
- static readonly KW_SPEC = 304;
316
- static readonly KW_SSL = 305;
317
- static readonly KW_START = 306;
318
- static readonly KW_STATISTICS = 307;
319
- static readonly KW_STATUS = 308;
320
- static readonly KW_STORED = 309;
321
- static readonly KW_STREAMTABLE = 310;
322
- static readonly KW_STRING = 311;
323
- static readonly KW_STRUCT = 312;
324
- static readonly KW_SUMMARY = 313;
325
- static readonly KW_SYNC = 314;
326
- static readonly KW_SYSTEM_TIME = 315;
327
- static readonly KW_SYSTEM_VERSION = 316;
328
- static readonly KW_TABLE = 317;
329
- static readonly KW_TABLES = 318;
330
- static readonly KW_TABLESAMPLE = 319;
331
- static readonly KW_TBLPROPERTIES = 320;
332
- static readonly KW_TEMPORARY = 321;
333
- static readonly KW_TERMINATED = 322;
334
- static readonly KW_THEN = 323;
335
- static readonly KW_TIME = 324;
336
- static readonly KW_TIMESTAMP = 325;
337
- static readonly KW_TIMESTAMPLOCALTZ = 326;
338
- static readonly KW_TIMESTAMPTZ = 327;
339
- static readonly KW_TINYINT = 328;
340
- static readonly KW_TO = 329;
341
- static readonly KW_TOUCH = 330;
342
- static readonly KW_TRAILING = 331;
343
- static readonly KW_TRANSACTION = 332;
344
- static readonly KW_TRANSACTIONAL = 333;
345
- static readonly KW_TRANSACTIONS = 334;
346
- static readonly KW_TRANSFORM = 335;
347
- static readonly KW_TRIGGER = 336;
348
- static readonly KW_TRIM = 337;
349
- static readonly KW_TRUE = 338;
350
- static readonly KW_TRUNCATE = 339;
351
- static readonly KW_TYPE = 340;
352
- static readonly KW_UNARCHIVE = 341;
353
- static readonly KW_UNBOUNDED = 342;
354
- static readonly KW_UNDO = 343;
355
- static readonly KW_UNION = 344;
356
- static readonly KW_UNIONTYPE = 345;
357
- static readonly KW_UNIQUE = 346;
358
- static readonly KW_UNIQUEJOIN = 347;
359
- static readonly KW_UNKNOWN = 348;
360
- static readonly KW_UNLOCK = 349;
361
- static readonly KW_UNMANAGED = 350;
362
- static readonly KW_UNSET = 351;
363
- static readonly KW_UNSIGNED = 352;
364
- static readonly KW_UPDATE = 353;
365
- static readonly KW_URI = 354;
366
- static readonly KW_URL = 355;
367
- static readonly KW_USE = 356;
368
- static readonly KW_USER = 357;
369
- static readonly KW_USING = 358;
370
- static readonly KW_UTC = 359;
371
- static readonly KW_UTCTIMESTAMP = 360;
372
- static readonly KW_VALIDATE = 361;
373
- static readonly KW_VALUES = 362;
374
- static readonly KW_VALUE_TYPE = 363;
375
- static readonly KW_VARCHAR = 364;
376
- static readonly KW_VECTORIZATION = 365;
377
- static readonly KW_VIEW = 366;
378
- static readonly KW_VIEWS = 367;
379
- static readonly KW_WAIT = 368;
380
- static readonly KW_WEEK = 369;
381
- static readonly KW_WHEN = 370;
382
- static readonly KW_WHERE = 371;
383
- static readonly KW_WHILE = 372;
384
- static readonly KW_WINDOW = 373;
385
- static readonly KW_WITH = 374;
386
- static readonly KW_WITHIN = 375;
387
- static readonly KW_WORK = 376;
388
- static readonly KW_WORKLOAD = 377;
389
- static readonly KW_WRITE = 378;
390
- static readonly KW_YEAR = 379;
391
- static readonly KW_ZONE = 380;
392
- static readonly DOT = 381;
393
- static readonly COLON = 382;
394
- static readonly COMMA = 383;
395
- static readonly SEMICOLON = 384;
396
- static readonly LPAREN = 385;
397
- static readonly RPAREN = 386;
398
- static readonly LSQUARE = 387;
399
- static readonly RSQUARE = 388;
400
- static readonly LCURLY = 389;
401
- static readonly RCURLY = 390;
402
- static readonly EQUAL = 391;
403
- static readonly EQUAL_NS = 392;
404
- static readonly NOTEQUAL = 393;
405
- static readonly LESSTHANOREQUALTO = 394;
406
- static readonly LESSTHAN = 395;
407
- static readonly GREATERTHANOREQUALTO = 396;
408
- static readonly GREATERTHAN = 397;
409
- static readonly DIVIDE = 398;
410
- static readonly PLUS = 399;
411
- static readonly MINUS = 400;
412
- static readonly STAR = 401;
413
- static readonly MOD = 402;
414
- static readonly DIV = 403;
415
- static readonly AMPERSAND = 404;
416
- static readonly TILDE = 405;
417
- static readonly BITWISEOR = 406;
418
- static readonly CONCATENATE = 407;
419
- static readonly BITWISEXOR = 408;
420
- static readonly QUESTION = 409;
421
- static readonly DOLLAR = 410;
422
- static readonly StringLiteral = 411;
423
- static readonly CharSetLiteral = 412;
424
- static readonly IntegralLiteral = 413;
425
- static readonly NumberLiteral = 414;
426
- static readonly ByteLengthLiteral = 415;
427
- static readonly Number = 416;
428
- static readonly Identifier = 417;
429
- static readonly CharSetName = 418;
430
- static readonly WHITE_SPACE = 419;
431
- static readonly LINE_COMMENT = 420;
432
- static readonly QUERY_HINT = 421;
433
- static readonly SHOW_HINT = 422;
434
- static readonly HIDDEN_HINT = 423;
85
+ static readonly KW_DAYS = 74;
86
+ static readonly KW_DAYOFWEEK = 75;
87
+ static readonly KW_DBPROPERTIES = 76;
88
+ static readonly KW_DCPROPERTIES = 77;
89
+ static readonly KW_DDL = 78;
90
+ static readonly KW_DEBUG = 79;
91
+ static readonly KW_DEC = 80;
92
+ static readonly KW_DECIMAL = 81;
93
+ static readonly KW_NUMERIC = 82;
94
+ static readonly KW_DEFAULT = 83;
95
+ static readonly KW_DEFERRED = 84;
96
+ static readonly KW_DEFINED = 85;
97
+ static readonly KW_DELETE = 86;
98
+ static readonly KW_DELIMITED = 87;
99
+ static readonly KW_DEPENDENCY = 88;
100
+ static readonly KW_DESC = 89;
101
+ static readonly KW_DESCRIBE = 90;
102
+ static readonly KW_DETAIL = 91;
103
+ static readonly KW_DIRECTORIES = 92;
104
+ static readonly KW_DIRECTORY = 93;
105
+ static readonly KW_DISABLE = 94;
106
+ static readonly KW_DISABLED = 95;
107
+ static readonly KW_DISTINCT = 96;
108
+ static readonly KW_DISTRIBUTE = 97;
109
+ static readonly KW_DISTRIBUTED = 98;
110
+ static readonly KW_DO = 99;
111
+ static readonly KW_DOUBLE = 100;
112
+ static readonly KW_DROP = 101;
113
+ static readonly KW_RECOVER = 102;
114
+ static readonly KW_DUMP = 103;
115
+ static readonly KW_ELEM_TYPE = 104;
116
+ static readonly KW_ELSE = 105;
117
+ static readonly KW_ENABLE = 106;
118
+ static readonly KW_ENABLED = 107;
119
+ static readonly KW_END = 108;
120
+ static readonly KW_ENFORCED = 109;
121
+ static readonly KW_ESCAPED = 110;
122
+ static readonly KW_EVERY = 111;
123
+ static readonly KW_EXCEPT = 112;
124
+ static readonly KW_EXCHANGE = 113;
125
+ static readonly KW_EXCLUSIVE = 114;
126
+ static readonly KW_EXECUTE = 115;
127
+ static readonly KW_EXECUTED = 116;
128
+ static readonly KW_EXISTS = 117;
129
+ static readonly KW_EXPIRE_SNAPSHOTS = 118;
130
+ static readonly KW_EXPLAIN = 119;
131
+ static readonly KW_EXPORT = 120;
132
+ static readonly KW_EXPRESSION = 121;
133
+ static readonly KW_EXTENDED = 122;
134
+ static readonly KW_EXTERNAL = 123;
135
+ static readonly KW_EXTRACT = 124;
136
+ static readonly KW_FALSE = 125;
137
+ static readonly KW_FETCH = 126;
138
+ static readonly KW_FIELDS = 127;
139
+ static readonly KW_FILE = 128;
140
+ static readonly KW_FILEFORMAT = 129;
141
+ static readonly KW_FIRST = 130;
142
+ static readonly KW_FLOAT = 131;
143
+ static readonly KW_FLOOR = 132;
144
+ static readonly KW_FOLLOWING = 133;
145
+ static readonly KW_FOR = 134;
146
+ static readonly KW_FORCE = 135;
147
+ static readonly KW_FOREIGN = 136;
148
+ static readonly KW_FORMAT = 137;
149
+ static readonly KW_FORMATTED = 138;
150
+ static readonly KW_FROM = 139;
151
+ static readonly KW_FULL = 140;
152
+ static readonly KW_FUNCTION = 141;
153
+ static readonly KW_FUNCTIONS = 142;
154
+ static readonly KW_GRANT = 143;
155
+ static readonly KW_GROUP = 144;
156
+ static readonly KW_GROUPING = 145;
157
+ static readonly KW_HAVING = 146;
158
+ static readonly KW_HOLD_DDLTIME = 147;
159
+ static readonly KW_HOUR = 148;
160
+ static readonly KW_HOURS = 149;
161
+ static readonly KW_IDXPROPERTIES = 150;
162
+ static readonly KW_IF = 151;
163
+ static readonly KW_IGNORE = 152;
164
+ static readonly KW_IMPORT = 153;
165
+ static readonly KW_IN = 154;
166
+ static readonly KW_INDEX = 155;
167
+ static readonly KW_INDEXES = 156;
168
+ static readonly KW_INNER = 157;
169
+ static readonly KW_INPATH = 158;
170
+ static readonly KW_INPUTDRIVER = 159;
171
+ static readonly KW_INPUTFORMAT = 160;
172
+ static readonly KW_INSERT = 161;
173
+ static readonly KW_INT = 162;
174
+ static readonly KW_INTEGER = 163;
175
+ static readonly KW_INTERSECT = 164;
176
+ static readonly KW_INTERVAL = 165;
177
+ static readonly KW_INTO = 166;
178
+ static readonly KW_IS = 167;
179
+ static readonly KW_ISOLATION = 168;
180
+ static readonly KW_ITEMS = 169;
181
+ static readonly KW_JAR = 170;
182
+ static readonly KW_JOIN = 171;
183
+ static readonly KW_JOINCOST = 172;
184
+ static readonly KW_KEY = 173;
185
+ static readonly KW_KEYS = 174;
186
+ static readonly KW_KEY_TYPE = 175;
187
+ static readonly KW_KILL = 176;
188
+ static readonly KW_LAST = 177;
189
+ static readonly KW_LATERAL = 178;
190
+ static readonly KW_LEADING = 179;
191
+ static readonly KW_LEFT = 180;
192
+ static readonly KW_LESS = 181;
193
+ static readonly KW_LEVEL = 182;
194
+ static readonly KW_LIKE = 183;
195
+ static readonly KW_LIMIT = 184;
196
+ static readonly KW_LINES = 185;
197
+ static readonly KW_LOAD = 186;
198
+ static readonly KW_LOCAL = 187;
199
+ static readonly KW_LOCATION = 188;
200
+ static readonly KW_LOCK = 189;
201
+ static readonly KW_LOCKS = 190;
202
+ static readonly KW_LOGICAL = 191;
203
+ static readonly KW_LONG = 192;
204
+ static readonly KW_MACRO = 193;
205
+ static readonly KW_MANAGED = 194;
206
+ static readonly KW_MANAGEDLOCATION = 195;
207
+ static readonly KW_MANAGEMENT = 196;
208
+ static readonly KW_MAP = 197;
209
+ static readonly KW_MAPJOIN = 198;
210
+ static readonly KW_MAPPING = 199;
211
+ static readonly KW_MATCHED = 200;
212
+ static readonly KW_MATERIALIZED = 201;
213
+ static readonly KW_MERGE = 202;
214
+ static readonly KW_METADATA = 203;
215
+ static readonly KW_MINUS = 204;
216
+ static readonly KW_MINUTE = 205;
217
+ static readonly KW_MINUTES = 206;
218
+ static readonly KW_MONTH = 207;
219
+ static readonly KW_MONTHS = 208;
220
+ static readonly KW_MORE = 209;
221
+ static readonly KW_MOVE = 210;
222
+ static readonly KW_MSCK = 211;
223
+ static readonly KW_NONE = 212;
224
+ static readonly KW_NORELY = 213;
225
+ static readonly KW_NOSCAN = 214;
226
+ static readonly KW_NOT = 215;
227
+ static readonly KW_NOVALIDATE = 216;
228
+ static readonly KW_NO_DROP = 217;
229
+ static readonly KW_NULL = 218;
230
+ static readonly KW_NULLS = 219;
231
+ static readonly KW_OF = 220;
232
+ static readonly KW_OFFLINE = 221;
233
+ static readonly KW_OFFSET = 222;
234
+ static readonly KW_ON = 223;
235
+ static readonly KW_ONLY = 224;
236
+ static readonly KW_OPERATOR = 225;
237
+ static readonly KW_OPTION = 226;
238
+ static readonly KW_OR = 227;
239
+ static readonly KW_ORDER = 228;
240
+ static readonly KW_OUT = 229;
241
+ static readonly KW_OUTER = 230;
242
+ static readonly KW_OUTPUTDRIVER = 231;
243
+ static readonly KW_OUTPUTFORMAT = 232;
244
+ static readonly KW_OVER = 233;
245
+ static readonly KW_OVERWRITE = 234;
246
+ static readonly KW_OWNER = 235;
247
+ static readonly KW_PARTITION = 236;
248
+ static readonly KW_PARTITIONED = 237;
249
+ static readonly KW_PARTITIONS = 238;
250
+ static readonly KW_PATH = 239;
251
+ static readonly KW_PERCENT = 240;
252
+ static readonly KW_PKFK_JOIN = 241;
253
+ static readonly KW_PLAN = 242;
254
+ static readonly KW_PLANS = 243;
255
+ static readonly KW_PLUS = 244;
256
+ static readonly KW_POOL = 245;
257
+ static readonly KW_PRECEDING = 246;
258
+ static readonly KW_PRECISION = 247;
259
+ static readonly KW_PREPARE = 248;
260
+ static readonly KW_PRESERVE = 249;
261
+ static readonly KW_PRIMARY = 250;
262
+ static readonly KW_PRINCIPALS = 251;
263
+ static readonly KW_PROCEDURE = 252;
264
+ static readonly KW_PROTECTION = 253;
265
+ static readonly KW_PURGE = 254;
266
+ static readonly KW_QUALIFY = 255;
267
+ static readonly KW_QUARTER = 256;
268
+ static readonly KW_QUERY = 257;
269
+ static readonly KW_QUERY_PARALLELISM = 258;
270
+ static readonly KW_RANGE = 259;
271
+ static readonly KW_READ = 260;
272
+ static readonly KW_READONLY = 261;
273
+ static readonly KW_READS = 262;
274
+ static readonly KW_REAL = 263;
275
+ static readonly KW_REBUILD = 264;
276
+ static readonly KW_RECORDREADER = 265;
277
+ static readonly KW_RECORDWRITER = 266;
278
+ static readonly KW_REDUCE = 267;
279
+ static readonly KW_REFERENCES = 268;
280
+ static readonly KW_REGEXP = 269;
281
+ static readonly KW_RELOAD = 270;
282
+ static readonly KW_RELY = 271;
283
+ static readonly KW_REMOTE = 272;
284
+ static readonly KW_RENAME = 273;
285
+ static readonly KW_REOPTIMIZATION = 274;
286
+ static readonly KW_REPAIR = 275;
287
+ static readonly KW_REPL = 276;
288
+ static readonly KW_REPLACE = 277;
289
+ static readonly KW_REPLICATION = 278;
290
+ static readonly KW_RESOURCE = 279;
291
+ static readonly KW_RESPECT = 280;
292
+ static readonly KW_RESTRICT = 281;
293
+ static readonly KW_REVOKE = 282;
294
+ static readonly KW_REWRITE = 283;
295
+ static readonly KW_RIGHT = 284;
296
+ static readonly KW_RLIKE = 285;
297
+ static readonly KW_ROLE = 286;
298
+ static readonly KW_ROLES = 287;
299
+ static readonly KW_ROLLBACK = 288;
300
+ static readonly KW_ROLLUP = 289;
301
+ static readonly KW_ROW = 290;
302
+ static readonly KW_ROWS = 291;
303
+ static readonly KW_SCHEDULED = 292;
304
+ static readonly KW_SCHEDULING_POLICY = 293;
305
+ static readonly KW_SCHEMA = 294;
306
+ static readonly KW_SCHEMAS = 295;
307
+ static readonly KW_SECOND = 296;
308
+ static readonly KW_SECONDS = 297;
309
+ static readonly KW_SELECT = 298;
310
+ static readonly KW_SEMI = 299;
311
+ static readonly KW_SERDE = 300;
312
+ static readonly KW_SERDEPROPERTIES = 301;
313
+ static readonly KW_SERVER = 302;
314
+ static readonly KW_SET = 303;
315
+ static readonly KW_SETS = 304;
316
+ static readonly KW_SET_CURRENT_SNAPSHOT = 305;
317
+ static readonly KW_SHARED = 306;
318
+ static readonly KW_SHOW = 307;
319
+ static readonly KW_SHOW_DATABASE = 308;
320
+ static readonly KW_SKEWED = 309;
321
+ static readonly KW_SMALLINT = 310;
322
+ static readonly KW_SNAPSHOT = 311;
323
+ static readonly KW_SOME = 312;
324
+ static readonly KW_SORT = 313;
325
+ static readonly KW_SORTED = 314;
326
+ static readonly KW_SPEC = 315;
327
+ static readonly KW_SSL = 316;
328
+ static readonly KW_START = 317;
329
+ static readonly KW_STATISTICS = 318;
330
+ static readonly KW_STATUS = 319;
331
+ static readonly KW_STORED = 320;
332
+ static readonly KW_STREAMTABLE = 321;
333
+ static readonly KW_STRING = 322;
334
+ static readonly KW_STRUCT = 323;
335
+ static readonly KW_SUMMARY = 324;
336
+ static readonly KW_SYNC = 325;
337
+ static readonly KW_SYSTEM_TIME = 326;
338
+ static readonly KW_SYSTEM_VERSION = 327;
339
+ static readonly KW_TABLE = 328;
340
+ static readonly KW_TABLES = 329;
341
+ static readonly KW_TABLESAMPLE = 330;
342
+ static readonly KW_TBLPROPERTIES = 331;
343
+ static readonly KW_TEMPORARY = 332;
344
+ static readonly KW_TERMINATED = 333;
345
+ static readonly KW_THEN = 334;
346
+ static readonly KW_TIME = 335;
347
+ static readonly KW_TIMESTAMP = 336;
348
+ static readonly KW_TIMESTAMPLOCALTZ = 337;
349
+ static readonly KW_TIMESTAMPTZ = 338;
350
+ static readonly KW_TINYINT = 339;
351
+ static readonly KW_TO = 340;
352
+ static readonly KW_TOUCH = 341;
353
+ static readonly KW_TRAILING = 342;
354
+ static readonly KW_TRANSACTION = 343;
355
+ static readonly KW_TRANSACTIONAL = 344;
356
+ static readonly KW_TRANSACTIONS = 345;
357
+ static readonly KW_TRANSFORM = 346;
358
+ static readonly KW_TRIGGER = 347;
359
+ static readonly KW_TRIM = 348;
360
+ static readonly KW_TRUE = 349;
361
+ static readonly KW_TRUNCATE = 350;
362
+ static readonly KW_TYPE = 351;
363
+ static readonly KW_UNARCHIVE = 352;
364
+ static readonly KW_UNBOUNDED = 353;
365
+ static readonly KW_UNDO = 354;
366
+ static readonly KW_UNION = 355;
367
+ static readonly KW_UNIONTYPE = 356;
368
+ static readonly KW_UNIQUE = 357;
369
+ static readonly KW_UNIQUEJOIN = 358;
370
+ static readonly KW_UNKNOWN = 359;
371
+ static readonly KW_UNLOCK = 360;
372
+ static readonly KW_UNMANAGED = 361;
373
+ static readonly KW_UNSET = 362;
374
+ static readonly KW_UNSIGNED = 363;
375
+ static readonly KW_UPDATE = 364;
376
+ static readonly KW_URI = 365;
377
+ static readonly KW_URL = 366;
378
+ static readonly KW_USE = 367;
379
+ static readonly KW_USER = 368;
380
+ static readonly KW_USING = 369;
381
+ static readonly KW_UTC = 370;
382
+ static readonly KW_UTCTIMESTAMP = 371;
383
+ static readonly KW_VALIDATE = 372;
384
+ static readonly KW_VALUES = 373;
385
+ static readonly KW_VALUE_TYPE = 374;
386
+ static readonly KW_VARCHAR = 375;
387
+ static readonly KW_VECTORIZATION = 376;
388
+ static readonly KW_VIEW = 377;
389
+ static readonly KW_VIEWS = 378;
390
+ static readonly KW_WAIT = 379;
391
+ static readonly KW_WEEK = 380;
392
+ static readonly KW_WEEKS = 381;
393
+ static readonly KW_WHEN = 382;
394
+ static readonly KW_WHERE = 383;
395
+ static readonly KW_WHILE = 384;
396
+ static readonly KW_WINDOW = 385;
397
+ static readonly KW_WITH = 386;
398
+ static readonly KW_WITHIN = 387;
399
+ static readonly KW_WORK = 388;
400
+ static readonly KW_WORKLOAD = 389;
401
+ static readonly KW_WRITE = 390;
402
+ static readonly KW_YEAR = 391;
403
+ static readonly KW_YEARS = 392;
404
+ static readonly KW_ZONE = 393;
405
+ static readonly DOT = 394;
406
+ static readonly COLON = 395;
407
+ static readonly COMMA = 396;
408
+ static readonly SEMICOLON = 397;
409
+ static readonly LPAREN = 398;
410
+ static readonly RPAREN = 399;
411
+ static readonly LSQUARE = 400;
412
+ static readonly RSQUARE = 401;
413
+ static readonly LCURLY = 402;
414
+ static readonly RCURLY = 403;
415
+ static readonly EQUAL = 404;
416
+ static readonly EQUAL_NS = 405;
417
+ static readonly NOTEQUAL = 406;
418
+ static readonly LESSTHANOREQUALTO = 407;
419
+ static readonly LESSTHAN = 408;
420
+ static readonly GREATERTHANOREQUALTO = 409;
421
+ static readonly GREATERTHAN = 410;
422
+ static readonly DIVIDE = 411;
423
+ static readonly PLUS = 412;
424
+ static readonly MINUS = 413;
425
+ static readonly STAR = 414;
426
+ static readonly MOD = 415;
427
+ static readonly DIV = 416;
428
+ static readonly BITWISENOT = 417;
429
+ static readonly AMPERSAND = 418;
430
+ static readonly TILDE = 419;
431
+ static readonly BITWISEOR = 420;
432
+ static readonly CONCATENATE = 421;
433
+ static readonly BITWISEXOR = 422;
434
+ static readonly QUESTION = 423;
435
+ static readonly DOLLAR = 424;
436
+ static readonly StringLiteral = 425;
437
+ static readonly CharSetLiteral = 426;
438
+ static readonly IntegralLiteral = 427;
439
+ static readonly NumberLiteral = 428;
440
+ static readonly ByteLengthLiteral = 429;
441
+ static readonly Number = 430;
442
+ static readonly Identifier = 431;
443
+ static readonly CharSetName = 432;
444
+ static readonly WHITE_SPACE = 433;
445
+ static readonly LINE_COMMENT = 434;
446
+ static readonly QUERY_HINT = 435;
447
+ static readonly SHOW_HINT = 436;
448
+ static readonly HIDDEN_HINT = 437;
435
449
  static readonly RULE_program = 0;
436
450
  static readonly RULE_statement = 1;
437
451
  static readonly RULE_explainStatement = 2;
@@ -440,501 +454,519 @@ export declare class HiveSqlParser extends Parser {
440
454
  static readonly RULE_vectorizatonDetail = 5;
441
455
  static readonly RULE_execStatement = 6;
442
456
  static readonly RULE_loadStatement = 7;
443
- static readonly RULE_replicationClause = 8;
444
- static readonly RULE_exportStatement = 9;
445
- static readonly RULE_importStatement = 10;
446
- static readonly RULE_replDumpStatement = 11;
447
- static readonly RULE_replDbPolicy = 12;
448
- static readonly RULE_replLoadStatement = 13;
449
- static readonly RULE_replConfigs = 14;
450
- static readonly RULE_replConfigsList = 15;
451
- static readonly RULE_replTableLevelPolicy = 16;
452
- static readonly RULE_replStatusStatement = 17;
453
- static readonly RULE_ddlStatement = 18;
454
- static readonly RULE_ifExists = 19;
455
- static readonly RULE_restrictOrCascade = 20;
456
- static readonly RULE_ifNotExists = 21;
457
- static readonly RULE_force = 22;
458
- static readonly RULE_rewriteEnabled = 23;
459
- static readonly RULE_rewriteDisabled = 24;
460
- static readonly RULE_storedAsDirs = 25;
461
- static readonly RULE_orReplace = 26;
462
- static readonly RULE_createDatabaseStatement = 27;
463
- static readonly RULE_dbLocation = 28;
464
- static readonly RULE_dbManagedLocation = 29;
465
- static readonly RULE_dbProperties = 30;
466
- static readonly RULE_dbPropertiesList = 31;
467
- static readonly RULE_dbConnectorName = 32;
468
- static readonly RULE_switchDatabaseStatement = 33;
469
- static readonly RULE_dropDatabaseStatement = 34;
470
- static readonly RULE_databaseComment = 35;
471
- static readonly RULE_truncateTableStatement = 36;
472
- static readonly RULE_dropTableStatement = 37;
473
- static readonly RULE_inputFileFormat = 38;
474
- static readonly RULE_tabTypeExpr = 39;
475
- static readonly RULE_partTypeExpr = 40;
476
- static readonly RULE_tabPartColTypeExpr = 41;
477
- static readonly RULE_descStatement = 42;
478
- static readonly RULE_analyzeStatement = 43;
479
- static readonly RULE_from_in = 44;
480
- static readonly RULE_db_schema = 45;
481
- static readonly RULE_showStatement = 46;
482
- static readonly RULE_showTablesFilterExpr = 47;
483
- static readonly RULE_lockStatement = 48;
484
- static readonly RULE_lockDatabase = 49;
485
- static readonly RULE_lockMode = 50;
486
- static readonly RULE_unlockStatement = 51;
487
- static readonly RULE_unlockDatabase = 52;
488
- static readonly RULE_createRoleStatement = 53;
489
- static readonly RULE_dropRoleStatement = 54;
490
- static readonly RULE_grantPrivileges = 55;
491
- static readonly RULE_revokePrivileges = 56;
492
- static readonly RULE_grantRole = 57;
493
- static readonly RULE_revokeRole = 58;
494
- static readonly RULE_showRoleGrants = 59;
495
- static readonly RULE_showRoles = 60;
496
- static readonly RULE_showCurrentRole = 61;
497
- static readonly RULE_setRole = 62;
498
- static readonly RULE_showGrants = 63;
499
- static readonly RULE_showRolePrincipals = 64;
500
- static readonly RULE_privilegeIncludeColObject = 65;
501
- static readonly RULE_privilegeObject = 66;
502
- static readonly RULE_privObject = 67;
503
- static readonly RULE_privObjectCols = 68;
504
- static readonly RULE_privilegeList = 69;
505
- static readonly RULE_privlegeDef = 70;
506
- static readonly RULE_privilegeType = 71;
507
- static readonly RULE_principalSpecification = 72;
508
- static readonly RULE_principalName = 73;
509
- static readonly RULE_withGrantOption = 74;
510
- static readonly RULE_grantOptionFor = 75;
511
- static readonly RULE_adminOptionFor = 76;
512
- static readonly RULE_withAdminOption = 77;
513
- static readonly RULE_metastoreCheck = 78;
514
- static readonly RULE_resourceList = 79;
515
- static readonly RULE_resource = 80;
516
- static readonly RULE_resourceType = 81;
517
- static readonly RULE_createFunctionStatement = 82;
518
- static readonly RULE_dropFunctionStatement = 83;
519
- static readonly RULE_reloadFunctionsStatement = 84;
520
- static readonly RULE_createMacroStatement = 85;
521
- static readonly RULE_dropMacroStatement = 86;
522
- static readonly RULE_createIndexStatement = 87;
523
- static readonly RULE_dropIndexStatement = 88;
524
- static readonly RULE_createViewStatement = 89;
525
- static readonly RULE_viewPartition = 90;
526
- static readonly RULE_viewOrganization = 91;
527
- static readonly RULE_viewClusterSpec = 92;
528
- static readonly RULE_viewComplexSpec = 93;
529
- static readonly RULE_viewDistSpec = 94;
530
- static readonly RULE_viewSortSpec = 95;
531
- static readonly RULE_dropViewStatement = 96;
532
- static readonly RULE_createMaterializedViewStatement = 97;
533
- static readonly RULE_dropMaterializedViewStatement = 98;
534
- static readonly RULE_createScheduledQueryStatement = 99;
535
- static readonly RULE_dropScheduledQueryStatement = 100;
536
- static readonly RULE_alterScheduledQueryStatement = 101;
537
- static readonly RULE_alterScheduledQueryChange = 102;
538
- static readonly RULE_scheduleSpec = 103;
539
- static readonly RULE_executedAsSpec = 104;
540
- static readonly RULE_definedAsSpec = 105;
541
- static readonly RULE_showFunctionIdentifier = 106;
542
- static readonly RULE_showStmtIdentifier = 107;
543
- static readonly RULE_tableComment = 108;
544
- static readonly RULE_createTablePartitionSpec = 109;
545
- static readonly RULE_createTablePartitionColumnTypeSpec = 110;
546
- static readonly RULE_createTablePartitionColumnSpec = 111;
547
- static readonly RULE_partitionTransformSpec = 112;
548
- static readonly RULE_columnNameTransformConstraint = 113;
549
- static readonly RULE_partitionTransformType = 114;
550
- static readonly RULE_tableBuckets = 115;
551
- static readonly RULE_tableImplBuckets = 116;
552
- static readonly RULE_tableSkewed = 117;
553
- static readonly RULE_rowFormat = 118;
554
- static readonly RULE_recordReader = 119;
555
- static readonly RULE_recordWriter = 120;
556
- static readonly RULE_rowFormatSerde = 121;
557
- static readonly RULE_rowFormatDelimited = 122;
558
- static readonly RULE_tableRowFormat = 123;
559
- static readonly RULE_tablePropertiesPrefixed = 124;
560
- static readonly RULE_tableProperties = 125;
561
- static readonly RULE_tablePropertiesList = 126;
562
- static readonly RULE_keyValueProperty = 127;
563
- static readonly RULE_keyProperty = 128;
564
- static readonly RULE_tableRowFormatFieldIdentifier = 129;
565
- static readonly RULE_tableRowFormatCollItemsIdentifier = 130;
566
- static readonly RULE_tableRowFormatMapKeysIdentifier = 131;
567
- static readonly RULE_tableRowFormatLinesIdentifier = 132;
568
- static readonly RULE_tableRowNullFormat = 133;
569
- static readonly RULE_tableFileFormat = 134;
570
- static readonly RULE_tableLocation = 135;
571
- static readonly RULE_columnNameTypeList = 136;
572
- static readonly RULE_columnNameTypeOrConstraintList = 137;
573
- static readonly RULE_columnNameColonTypeList = 138;
574
- static readonly RULE_columnNameList = 139;
575
- static readonly RULE_columnName = 140;
576
- static readonly RULE_extColumnName = 141;
577
- static readonly RULE_columnNameOrderList = 142;
578
- static readonly RULE_columnParenthesesList = 143;
579
- static readonly RULE_enableValidateSpecification = 144;
580
- static readonly RULE_enableSpecification = 145;
581
- static readonly RULE_validateSpecification = 146;
582
- static readonly RULE_enforcedSpecification = 147;
583
- static readonly RULE_relySpecification = 148;
584
- static readonly RULE_createConstraint = 149;
585
- static readonly RULE_alterConstraintWithName = 150;
586
- static readonly RULE_tableLevelConstraint = 151;
587
- static readonly RULE_pkUkConstraint = 152;
588
- static readonly RULE_checkConstraint = 153;
589
- static readonly RULE_createForeignKey = 154;
590
- static readonly RULE_alterForeignKeyWithName = 155;
591
- static readonly RULE_skewedValueElement = 156;
592
- static readonly RULE_skewedColumnValuePairList = 157;
593
- static readonly RULE_skewedColumnValuePair = 158;
594
- static readonly RULE_skewedColumnValues = 159;
595
- static readonly RULE_skewedColumnValue = 160;
596
- static readonly RULE_skewedValueLocationElement = 161;
597
- static readonly RULE_orderSpecification = 162;
598
- static readonly RULE_nullOrdering = 163;
599
- static readonly RULE_columnNameOrder = 164;
600
- static readonly RULE_columnNameCommentList = 165;
601
- static readonly RULE_columnNameComment = 166;
602
- static readonly RULE_orderSpecificationRewrite = 167;
603
- static readonly RULE_columnRefOrder = 168;
604
- static readonly RULE_columnNameType = 169;
605
- static readonly RULE_columnNameTypeOrConstraint = 170;
606
- static readonly RULE_tableConstraint = 171;
607
- static readonly RULE_columnNameTypeConstraint = 172;
608
- static readonly RULE_columnConstraint = 173;
609
- static readonly RULE_foreignKeyConstraint = 174;
610
- static readonly RULE_colConstraint = 175;
611
- static readonly RULE_alterColumnConstraint = 176;
612
- static readonly RULE_alterForeignKeyConstraint = 177;
613
- static readonly RULE_alterColConstraint = 178;
614
- static readonly RULE_columnConstraintType = 179;
615
- static readonly RULE_defaultVal = 180;
616
- static readonly RULE_tableConstraintType = 181;
617
- static readonly RULE_constraintOptsCreate = 182;
618
- static readonly RULE_constraintOptsAlter = 183;
619
- static readonly RULE_columnNameColonType = 184;
620
- static readonly RULE_colType = 185;
621
- static readonly RULE_colTypeList = 186;
622
- static readonly RULE_type = 187;
623
- static readonly RULE_primitiveType = 188;
624
- static readonly RULE_listType = 189;
625
- static readonly RULE_structType = 190;
626
- static readonly RULE_mapType = 191;
627
- static readonly RULE_unionType = 192;
628
- static readonly RULE_setOperator = 193;
629
- static readonly RULE_queryStatementExpression = 194;
630
- static readonly RULE_queryStatementExpressionBody = 195;
631
- static readonly RULE_withClause = 196;
632
- static readonly RULE_cteStatement = 197;
633
- static readonly RULE_fromStatement = 198;
634
- static readonly RULE_singleFromStatement = 199;
635
- static readonly RULE_regularBody = 200;
636
- static readonly RULE_atomSelectStatement = 201;
637
- static readonly RULE_selectStatement = 202;
638
- static readonly RULE_setOpSelectStatement = 203;
639
- static readonly RULE_selectStatementWithCTE = 204;
640
- static readonly RULE_body = 205;
641
- static readonly RULE_insertClause = 206;
642
- static readonly RULE_destination = 207;
643
- static readonly RULE_limitClause = 208;
644
- static readonly RULE_deleteStatement = 209;
645
- static readonly RULE_columnAssignmentClause = 210;
646
- static readonly RULE_precedencePlusExpressionOrDefault = 211;
647
- static readonly RULE_setColumnsClause = 212;
648
- static readonly RULE_updateStatement = 213;
649
- static readonly RULE_sqlTransactionStatement = 214;
650
- static readonly RULE_startTransactionStatement = 215;
651
- static readonly RULE_transactionMode = 216;
652
- static readonly RULE_transactionAccessMode = 217;
653
- static readonly RULE_isolationLevel = 218;
654
- static readonly RULE_levelOfIsolation = 219;
655
- static readonly RULE_commitStatement = 220;
656
- static readonly RULE_rollbackStatement = 221;
657
- static readonly RULE_setAutoCommitStatement = 222;
658
- static readonly RULE_abortTransactionStatement = 223;
659
- static readonly RULE_abortCompactionStatement = 224;
660
- static readonly RULE_mergeStatement = 225;
661
- static readonly RULE_whenClauses = 226;
662
- static readonly RULE_whenNotMatchedClause = 227;
663
- static readonly RULE_whenMatchedAndClause = 228;
664
- static readonly RULE_whenMatchedThenClause = 229;
665
- static readonly RULE_updateOrDelete = 230;
666
- static readonly RULE_killQueryStatement = 231;
667
- static readonly RULE_compactionId = 232;
668
- static readonly RULE_compactionPool = 233;
669
- static readonly RULE_compactionType = 234;
670
- static readonly RULE_compactionStatus = 235;
671
- static readonly RULE_alterStatement = 236;
672
- static readonly RULE_alterTableStatementSuffix = 237;
673
- static readonly RULE_alterTblPartitionStatementSuffix = 238;
674
- static readonly RULE_alterStatementPartitionKeyType = 239;
675
- static readonly RULE_alterViewStatementSuffix = 240;
676
- static readonly RULE_alterMaterializedViewStatementSuffix = 241;
677
- static readonly RULE_alterMaterializedViewSuffixRewrite = 242;
678
- static readonly RULE_alterMaterializedViewSuffixRebuild = 243;
679
- static readonly RULE_alterDatabaseStatementSuffix = 244;
680
- static readonly RULE_alterDatabaseSuffixProperties = 245;
681
- static readonly RULE_alterDatabaseSuffixSetOwner = 246;
682
- static readonly RULE_alterDatabaseSuffixSetLocation = 247;
683
- static readonly RULE_alterDatabaseSuffixSetManagedLocation = 248;
684
- static readonly RULE_alterStatementSuffixRename = 249;
685
- static readonly RULE_alterStatementSuffixAddCol = 250;
686
- static readonly RULE_alterStatementSuffixAddConstraint = 251;
687
- static readonly RULE_alterStatementSuffixUpdateColumns = 252;
688
- static readonly RULE_alterStatementSuffixProtections = 253;
689
- static readonly RULE_alterStatementSuffixDropConstraint = 254;
690
- static readonly RULE_alterStatementSuffixRenameCol = 255;
691
- static readonly RULE_alterStatementSuffixUpdateStatsCol = 256;
692
- static readonly RULE_alterStatementSuffixUpdateStats = 257;
693
- static readonly RULE_alterStatementChangeColPosition = 258;
694
- static readonly RULE_alterStatementSuffixAddPartitions = 259;
695
- static readonly RULE_alterStatementSuffixAddPartitionsElement = 260;
696
- static readonly RULE_alterStatementSuffixTouch = 261;
697
- static readonly RULE_alterStatementSuffixArchive = 262;
698
- static readonly RULE_alterStatementSuffixUnArchive = 263;
699
- static readonly RULE_partitionLocation = 264;
700
- static readonly RULE_alterStatementSuffixDropPartitions = 265;
701
- static readonly RULE_alterStatementSuffixProperties = 266;
702
- static readonly RULE_alterViewSuffixProperties = 267;
703
- static readonly RULE_alterStatementSuffixSerdeProperties = 268;
704
- static readonly RULE_tablePartitionPrefix = 269;
705
- static readonly RULE_alterStatementSuffixFileFormat = 270;
706
- static readonly RULE_alterStatementSuffixClusterbySortby = 271;
707
- static readonly RULE_alterTblPartitionStatementSuffixSkewedLocation = 272;
708
- static readonly RULE_skewedLocations = 273;
709
- static readonly RULE_skewedLocationsList = 274;
710
- static readonly RULE_skewedLocationMap = 275;
711
- static readonly RULE_alterStatementSuffixLocation = 276;
712
- static readonly RULE_alterStatementSuffixSkewedby = 277;
713
- static readonly RULE_alterStatementSuffixExchangePartition = 278;
714
- static readonly RULE_alterStatementSuffixRenamePart = 279;
715
- static readonly RULE_alterStatementSuffixStatsPart = 280;
716
- static readonly RULE_alterStatementSuffixMergeFiles = 281;
717
- static readonly RULE_alterStatementSuffixBucketNum = 282;
718
- static readonly RULE_blocking = 283;
719
- static readonly RULE_compactPool = 284;
720
- static readonly RULE_alterStatementSuffixCompact = 285;
721
- static readonly RULE_alterStatementSuffixSetOwner = 286;
722
- static readonly RULE_alterStatementSuffixSetPartSpec = 287;
723
- static readonly RULE_alterStatementSuffixExecute = 288;
724
- static readonly RULE_alterIndexStatementSuffix = 289;
725
- static readonly RULE_fileFormat = 290;
726
- static readonly RULE_alterDataConnectorStatementSuffix = 291;
727
- static readonly RULE_alterDataConnectorSuffixProperties = 292;
728
- static readonly RULE_alterDataConnectorSuffixSetOwner = 293;
729
- static readonly RULE_alterDataConnectorSuffixSetUrl = 294;
730
- static readonly RULE_likeTableOrFile = 295;
731
- static readonly RULE_createTableStatement = 296;
732
- static readonly RULE_createDataConnectorStatement = 297;
733
- static readonly RULE_dataConnectorComment = 298;
734
- static readonly RULE_dataConnectorUrl = 299;
735
- static readonly RULE_dataConnectorType = 300;
736
- static readonly RULE_dcProperties = 301;
737
- static readonly RULE_dropDataConnectorStatement = 302;
738
- static readonly RULE_tableAllColumns = 303;
739
- static readonly RULE_tableOrColumn = 304;
740
- static readonly RULE_defaultValue = 305;
741
- static readonly RULE_expressionList = 306;
742
- static readonly RULE_aliasList = 307;
743
- static readonly RULE_fromClause = 308;
744
- static readonly RULE_fromSource = 309;
745
- static readonly RULE_atomjoinSource = 310;
746
- static readonly RULE_joinSource = 311;
747
- static readonly RULE_joinSourcePart = 312;
748
- static readonly RULE_uniqueJoinSource = 313;
749
- static readonly RULE_uniqueJoinExpr = 314;
750
- static readonly RULE_uniqueJoinToken = 315;
751
- static readonly RULE_joinToken = 316;
752
- static readonly RULE_lateralView = 317;
753
- static readonly RULE_tableAlias = 318;
754
- static readonly RULE_tableBucketSample = 319;
755
- static readonly RULE_splitSample = 320;
756
- static readonly RULE_tableSample = 321;
757
- static readonly RULE_tableSource = 322;
758
- static readonly RULE_asOfClause = 323;
759
- static readonly RULE_uniqueJoinTableSource = 324;
760
- static readonly RULE_tableName = 325;
761
- static readonly RULE_viewName = 326;
762
- static readonly RULE_subQuerySource = 327;
763
- static readonly RULE_partitioningSpec = 328;
764
- static readonly RULE_partitionTableFunctionSource = 329;
765
- static readonly RULE_partitionedTableFunction = 330;
766
- static readonly RULE_whereClause = 331;
767
- static readonly RULE_searchCondition = 332;
768
- static readonly RULE_valuesSource = 333;
769
- static readonly RULE_valuesClause = 334;
770
- static readonly RULE_valuesTableConstructor = 335;
771
- static readonly RULE_valueRowConstructor = 336;
772
- static readonly RULE_firstValueRowConstructor = 337;
773
- static readonly RULE_virtualTableSource = 338;
774
- static readonly RULE_selectClause = 339;
775
- static readonly RULE_all_distinct = 340;
776
- static readonly RULE_selectList = 341;
777
- static readonly RULE_selectTrfmClause = 342;
778
- static readonly RULE_selectItem = 343;
779
- static readonly RULE_trfmClause = 344;
780
- static readonly RULE_selectExpression = 345;
781
- static readonly RULE_selectExpressionList = 346;
782
- static readonly RULE_window_clause = 347;
783
- static readonly RULE_window_defn = 348;
784
- static readonly RULE_window_specification = 349;
785
- static readonly RULE_window_frame = 350;
786
- static readonly RULE_window_range_expression = 351;
787
- static readonly RULE_window_value_expression = 352;
788
- static readonly RULE_window_frame_start_boundary = 353;
789
- static readonly RULE_window_frame_boundary = 354;
790
- static readonly RULE_groupByClause = 355;
791
- static readonly RULE_groupby_expression = 356;
792
- static readonly RULE_groupByEmpty = 357;
793
- static readonly RULE_rollupStandard = 358;
794
- static readonly RULE_rollupOldSyntax = 359;
795
- static readonly RULE_groupingSetExpression = 360;
796
- static readonly RULE_groupingSetExpressionMultiple = 361;
797
- static readonly RULE_groupingExpressionSingle = 362;
798
- static readonly RULE_havingClause = 363;
799
- static readonly RULE_qualifyClause = 364;
800
- static readonly RULE_havingCondition = 365;
801
- static readonly RULE_expressionsInParenthesis = 366;
802
- static readonly RULE_expressionsNotInParenthesis = 367;
803
- static readonly RULE_expressionPart = 368;
804
- static readonly RULE_expressionOrDefault = 369;
805
- static readonly RULE_firstExpressionsWithAlias = 370;
806
- static readonly RULE_expressionWithAlias = 371;
807
- static readonly RULE_expressions = 372;
808
- static readonly RULE_columnRefOrderInParenthesis = 373;
809
- static readonly RULE_columnRefOrderNotInParenthesis = 374;
810
- static readonly RULE_orderByClause = 375;
811
- static readonly RULE_clusterByClause = 376;
812
- static readonly RULE_partitionByClause = 377;
813
- static readonly RULE_distributeByClause = 378;
814
- static readonly RULE_sortByClause = 379;
815
- static readonly RULE_trimFunction = 380;
816
- static readonly RULE_function_ = 381;
817
- static readonly RULE_null_treatment = 382;
818
- static readonly RULE_functionName = 383;
819
- static readonly RULE_castExpression = 384;
820
- static readonly RULE_caseExpression = 385;
821
- static readonly RULE_whenExpression = 386;
822
- static readonly RULE_floorExpression = 387;
823
- static readonly RULE_floorDateQualifiers = 388;
824
- static readonly RULE_extractExpression = 389;
825
- static readonly RULE_timeQualifiers = 390;
826
- static readonly RULE_constant = 391;
827
- static readonly RULE_prepareStmtParam = 392;
828
- static readonly RULE_parameterIdx = 393;
829
- static readonly RULE_stringLiteralSequence = 394;
830
- static readonly RULE_charSetStringLiteral = 395;
831
- static readonly RULE_dateLiteral = 396;
832
- static readonly RULE_timestampLiteral = 397;
833
- static readonly RULE_timestampLocalTZLiteral = 398;
834
- static readonly RULE_intervalValue = 399;
835
- static readonly RULE_intervalLiteral = 400;
836
- static readonly RULE_intervalExpression = 401;
837
- static readonly RULE_intervalQualifiers = 402;
838
- static readonly RULE_expression = 403;
839
- static readonly RULE_atomExpression = 404;
840
- static readonly RULE_precedenceFieldExpression = 405;
841
- static readonly RULE_precedenceUnaryOperator = 406;
842
- static readonly RULE_precedenceUnaryPrefixExpression = 407;
843
- static readonly RULE_precedenceBitwiseXorOperator = 408;
844
- static readonly RULE_precedenceBitwiseXorExpression = 409;
845
- static readonly RULE_precedenceStarOperator = 410;
846
- static readonly RULE_precedenceStarExpression = 411;
847
- static readonly RULE_precedencePlusOperator = 412;
848
- static readonly RULE_precedencePlusExpression = 413;
849
- static readonly RULE_precedenceConcatenateOperator = 414;
850
- static readonly RULE_precedenceConcatenateExpression = 415;
851
- static readonly RULE_precedenceAmpersandOperator = 416;
852
- static readonly RULE_precedenceAmpersandExpression = 417;
853
- static readonly RULE_precedenceBitwiseOrOperator = 418;
854
- static readonly RULE_precedenceBitwiseOrExpression = 419;
855
- static readonly RULE_precedenceRegexpOperator = 420;
856
- static readonly RULE_precedenceSimilarOperator = 421;
857
- static readonly RULE_subQueryExpression = 422;
858
- static readonly RULE_precedenceSimilarExpression = 423;
859
- static readonly RULE_precedenceSimilarExpressionMain = 424;
860
- static readonly RULE_precedenceSimilarExpressionPart = 425;
861
- static readonly RULE_precedenceSimilarExpressionAtom = 426;
862
- static readonly RULE_precedenceSimilarExpressionQuantifierPredicate = 427;
863
- static readonly RULE_quantifierType = 428;
864
- static readonly RULE_precedenceSimilarExpressionIn = 429;
865
- static readonly RULE_precedenceSimilarExpressionPartNot = 430;
866
- static readonly RULE_precedenceDistinctOperator = 431;
867
- static readonly RULE_precedenceEqualOperator = 432;
868
- static readonly RULE_precedenceEqualExpression = 433;
869
- static readonly RULE_isCondition = 434;
870
- static readonly RULE_precedenceUnarySuffixExpression = 435;
871
- static readonly RULE_precedenceNotOperator = 436;
872
- static readonly RULE_precedenceNotExpression = 437;
873
- static readonly RULE_precedenceAndOperator = 438;
874
- static readonly RULE_precedenceAndExpression = 439;
875
- static readonly RULE_precedenceOrOperator = 440;
876
- static readonly RULE_precedenceOrExpression = 441;
877
- static readonly RULE_booleanValue = 442;
878
- static readonly RULE_booleanValueTok = 443;
879
- static readonly RULE_tableOrPartition = 444;
880
- static readonly RULE_partitionSpec = 445;
881
- static readonly RULE_partitionVal = 446;
882
- static readonly RULE_partitionSelectorSpec = 447;
883
- static readonly RULE_partitionSelectorVal = 448;
884
- static readonly RULE_partitionSelectorOperator = 449;
885
- static readonly RULE_subQuerySelectorOperator = 450;
886
- static readonly RULE_sysFuncNames = 451;
887
- static readonly RULE_descFuncNames = 452;
888
- static readonly RULE_id_ = 453;
889
- static readonly RULE_functionIdentifier = 454;
890
- static readonly RULE_principalIdentifier = 455;
891
- static readonly RULE_nonReserved = 456;
892
- static readonly RULE_sql11ReservedKeywordsUsedAsFunctionName = 457;
893
- static readonly RULE_hint = 458;
894
- static readonly RULE_hintList = 459;
895
- static readonly RULE_hintItem = 460;
896
- static readonly RULE_hintName = 461;
897
- static readonly RULE_hintArgs = 462;
898
- static readonly RULE_hintArgName = 463;
899
- static readonly RULE_prepareStatement = 464;
900
- static readonly RULE_executeStatement = 465;
901
- static readonly RULE_executeParamList = 466;
902
- static readonly RULE_resourcePlanDdlStatements = 467;
903
- static readonly RULE_rpAssign = 468;
904
- static readonly RULE_rpAssignList = 469;
905
- static readonly RULE_rpUnassign = 470;
906
- static readonly RULE_rpUnassignList = 471;
907
- static readonly RULE_createResourcePlanStatement = 472;
908
- static readonly RULE_withReplace = 473;
909
- static readonly RULE_activate = 474;
910
- static readonly RULE_enable = 475;
911
- static readonly RULE_disable = 476;
912
- static readonly RULE_unmanaged = 477;
913
- static readonly RULE_alterResourcePlanStatement = 478;
914
- static readonly RULE_globalWmStatement = 479;
915
- static readonly RULE_replaceResourcePlanStatement = 480;
916
- static readonly RULE_dropResourcePlanStatement = 481;
917
- static readonly RULE_poolPath = 482;
918
- static readonly RULE_triggerExpression = 483;
919
- static readonly RULE_triggerExpressionStandalone = 484;
920
- static readonly RULE_triggerOrExpression = 485;
921
- static readonly RULE_triggerAndExpression = 486;
922
- static readonly RULE_triggerAtomExpression = 487;
923
- static readonly RULE_triggerLiteral = 488;
924
- static readonly RULE_comparisionOperator = 489;
925
- static readonly RULE_triggerActionExpression = 490;
926
- static readonly RULE_triggerActionExpressionStandalone = 491;
927
- static readonly RULE_createTriggerStatement = 492;
928
- static readonly RULE_alterTriggerStatement = 493;
929
- static readonly RULE_dropTriggerStatement = 494;
930
- static readonly RULE_poolAssign = 495;
931
- static readonly RULE_poolAssignList = 496;
932
- static readonly RULE_createPoolStatement = 497;
933
- static readonly RULE_alterPoolStatement = 498;
934
- static readonly RULE_dropPoolStatement = 499;
935
- static readonly RULE_createMappingStatement = 500;
936
- static readonly RULE_alterMappingStatement = 501;
937
- static readonly RULE_dropMappingStatement = 502;
457
+ static readonly RULE_dropPartitionsIgnoreClause = 8;
458
+ static readonly RULE_replicationClause = 9;
459
+ static readonly RULE_exportStatement = 10;
460
+ static readonly RULE_importStatement = 11;
461
+ static readonly RULE_replDumpStatement = 12;
462
+ static readonly RULE_replDbPolicy = 13;
463
+ static readonly RULE_replLoadStatement = 14;
464
+ static readonly RULE_replConfigs = 15;
465
+ static readonly RULE_replConfigsList = 16;
466
+ static readonly RULE_replTableLevelPolicy = 17;
467
+ static readonly RULE_replStatusStatement = 18;
468
+ static readonly RULE_ddlStatement = 19;
469
+ static readonly RULE_ifExists = 20;
470
+ static readonly RULE_restrictOrCascade = 21;
471
+ static readonly RULE_ifNotExists = 22;
472
+ static readonly RULE_force = 23;
473
+ static readonly RULE_rewriteEnabled = 24;
474
+ static readonly RULE_rewriteDisabled = 25;
475
+ static readonly RULE_storedAsDirs = 26;
476
+ static readonly RULE_orReplace = 27;
477
+ static readonly RULE_createDatabaseStatement = 28;
478
+ static readonly RULE_dbLocation = 29;
479
+ static readonly RULE_dbManagedLocation = 30;
480
+ static readonly RULE_dbProperties = 31;
481
+ static readonly RULE_dbPropertiesList = 32;
482
+ static readonly RULE_dbConnectorName = 33;
483
+ static readonly RULE_switchDatabaseStatement = 34;
484
+ static readonly RULE_dropDatabaseStatement = 35;
485
+ static readonly RULE_databaseComment = 36;
486
+ static readonly RULE_truncateTableStatement = 37;
487
+ static readonly RULE_dropTableStatement = 38;
488
+ static readonly RULE_inputFileFormat = 39;
489
+ static readonly RULE_tabTypeExpr = 40;
490
+ static readonly RULE_partTypeExpr = 41;
491
+ static readonly RULE_tabPartColTypeExpr = 42;
492
+ static readonly RULE_descStatement = 43;
493
+ static readonly RULE_analyzeStatement = 44;
494
+ static readonly RULE_from_in = 45;
495
+ static readonly RULE_db_schema = 46;
496
+ static readonly RULE_showStatement = 47;
497
+ static readonly RULE_showTablesFilterExpr = 48;
498
+ static readonly RULE_lockStatement = 49;
499
+ static readonly RULE_lockDatabase = 50;
500
+ static readonly RULE_lockMode = 51;
501
+ static readonly RULE_unlockStatement = 52;
502
+ static readonly RULE_unlockDatabase = 53;
503
+ static readonly RULE_createRoleStatement = 54;
504
+ static readonly RULE_dropRoleStatement = 55;
505
+ static readonly RULE_grantPrivileges = 56;
506
+ static readonly RULE_revokePrivileges = 57;
507
+ static readonly RULE_grantRole = 58;
508
+ static readonly RULE_revokeRole = 59;
509
+ static readonly RULE_showRoleGrants = 60;
510
+ static readonly RULE_showRoles = 61;
511
+ static readonly RULE_showCurrentRole = 62;
512
+ static readonly RULE_setRole = 63;
513
+ static readonly RULE_showGrants = 64;
514
+ static readonly RULE_showRolePrincipals = 65;
515
+ static readonly RULE_privilegeIncludeColObject = 66;
516
+ static readonly RULE_privilegeObject = 67;
517
+ static readonly RULE_privObject = 68;
518
+ static readonly RULE_privObjectCols = 69;
519
+ static readonly RULE_privilegeList = 70;
520
+ static readonly RULE_privlegeDef = 71;
521
+ static readonly RULE_privilegeType = 72;
522
+ static readonly RULE_principalSpecification = 73;
523
+ static readonly RULE_principalName = 74;
524
+ static readonly RULE_principalAlterName = 75;
525
+ static readonly RULE_withGrantOption = 76;
526
+ static readonly RULE_grantOptionFor = 77;
527
+ static readonly RULE_adminOptionFor = 78;
528
+ static readonly RULE_withAdminOption = 79;
529
+ static readonly RULE_metastoreCheck = 80;
530
+ static readonly RULE_resourceList = 81;
531
+ static readonly RULE_resource = 82;
532
+ static readonly RULE_resourceType = 83;
533
+ static readonly RULE_createFunctionStatement = 84;
534
+ static readonly RULE_dropFunctionStatement = 85;
535
+ static readonly RULE_reloadFunctionsStatement = 86;
536
+ static readonly RULE_createMacroStatement = 87;
537
+ static readonly RULE_dropMacroStatement = 88;
538
+ static readonly RULE_createIndexStatement = 89;
539
+ static readonly RULE_dropIndexStatement = 90;
540
+ static readonly RULE_createViewStatement = 91;
541
+ static readonly RULE_viewPartition = 92;
542
+ static readonly RULE_viewOrganization = 93;
543
+ static readonly RULE_viewClusterSpec = 94;
544
+ static readonly RULE_viewComplexSpec = 95;
545
+ static readonly RULE_viewDistSpec = 96;
546
+ static readonly RULE_viewSortSpec = 97;
547
+ static readonly RULE_dropViewStatement = 98;
548
+ static readonly RULE_createMaterializedViewStatement = 99;
549
+ static readonly RULE_dropMaterializedViewStatement = 100;
550
+ static readonly RULE_createScheduledQueryStatement = 101;
551
+ static readonly RULE_dropScheduledQueryStatement = 102;
552
+ static readonly RULE_alterScheduledQueryStatement = 103;
553
+ static readonly RULE_alterScheduledQueryChange = 104;
554
+ static readonly RULE_scheduleSpec = 105;
555
+ static readonly RULE_executedAsSpec = 106;
556
+ static readonly RULE_definedAsSpec = 107;
557
+ static readonly RULE_showStmtIdentifier = 108;
558
+ static readonly RULE_tableComment = 109;
559
+ static readonly RULE_createTablePartitionSpec = 110;
560
+ static readonly RULE_createTablePartitionColumnTypeSpec = 111;
561
+ static readonly RULE_createTablePartitionColumnSpec = 112;
562
+ static readonly RULE_partitionTransformSpec = 113;
563
+ static readonly RULE_columnNameTransformConstraint = 114;
564
+ static readonly RULE_partitionTransformType = 115;
565
+ static readonly RULE_tableBuckets = 116;
566
+ static readonly RULE_tableImplBuckets = 117;
567
+ static readonly RULE_tableSkewed = 118;
568
+ static readonly RULE_rowFormat = 119;
569
+ static readonly RULE_recordReader = 120;
570
+ static readonly RULE_recordWriter = 121;
571
+ static readonly RULE_rowFormatSerde = 122;
572
+ static readonly RULE_rowFormatDelimited = 123;
573
+ static readonly RULE_tableRowFormat = 124;
574
+ static readonly RULE_tablePropertiesPrefixed = 125;
575
+ static readonly RULE_tableProperties = 126;
576
+ static readonly RULE_tablePropertiesList = 127;
577
+ static readonly RULE_keyValueProperty = 128;
578
+ static readonly RULE_keyProperty = 129;
579
+ static readonly RULE_tableRowFormatFieldIdentifier = 130;
580
+ static readonly RULE_tableRowFormatCollItemsIdentifier = 131;
581
+ static readonly RULE_tableRowFormatMapKeysIdentifier = 132;
582
+ static readonly RULE_tableRowFormatLinesIdentifier = 133;
583
+ static readonly RULE_tableRowNullFormat = 134;
584
+ static readonly RULE_tableFileFormat = 135;
585
+ static readonly RULE_tableLocation = 136;
586
+ static readonly RULE_columnNameTypeList = 137;
587
+ static readonly RULE_columnNameTypeOrConstraintList = 138;
588
+ static readonly RULE_columnNameColonTypeList = 139;
589
+ static readonly RULE_columnNameList = 140;
590
+ static readonly RULE_columnName = 141;
591
+ static readonly RULE_extColumnName = 142;
592
+ static readonly RULE_columnNameOrderList = 143;
593
+ static readonly RULE_columnParenthesesList = 144;
594
+ static readonly RULE_enableValidateSpecification = 145;
595
+ static readonly RULE_enableSpecification = 146;
596
+ static readonly RULE_validateSpecification = 147;
597
+ static readonly RULE_enforcedSpecification = 148;
598
+ static readonly RULE_relySpecification = 149;
599
+ static readonly RULE_createConstraint = 150;
600
+ static readonly RULE_alterConstraintWithName = 151;
601
+ static readonly RULE_tableLevelConstraint = 152;
602
+ static readonly RULE_pkUkConstraint = 153;
603
+ static readonly RULE_checkConstraint = 154;
604
+ static readonly RULE_createForeignKey = 155;
605
+ static readonly RULE_alterForeignKeyWithName = 156;
606
+ static readonly RULE_skewedValueElement = 157;
607
+ static readonly RULE_skewedColumnValuePairList = 158;
608
+ static readonly RULE_skewedColumnValuePair = 159;
609
+ static readonly RULE_skewedColumnValues = 160;
610
+ static readonly RULE_skewedColumnValue = 161;
611
+ static readonly RULE_skewedValueLocationElement = 162;
612
+ static readonly RULE_orderSpecification = 163;
613
+ static readonly RULE_nullOrdering = 164;
614
+ static readonly RULE_columnNameOrder = 165;
615
+ static readonly RULE_columnNameCommentList = 166;
616
+ static readonly RULE_columnNameComment = 167;
617
+ static readonly RULE_orderSpecificationRewrite = 168;
618
+ static readonly RULE_columnRefOrder = 169;
619
+ static readonly RULE_columnNameType = 170;
620
+ static readonly RULE_columnNameTypeOrConstraint = 171;
621
+ static readonly RULE_tableConstraint = 172;
622
+ static readonly RULE_columnNameTypeConstraint = 173;
623
+ static readonly RULE_columnConstraint = 174;
624
+ static readonly RULE_foreignKeyConstraint = 175;
625
+ static readonly RULE_colConstraint = 176;
626
+ static readonly RULE_alterColumnConstraint = 177;
627
+ static readonly RULE_alterForeignKeyConstraint = 178;
628
+ static readonly RULE_alterColConstraint = 179;
629
+ static readonly RULE_columnConstraintType = 180;
630
+ static readonly RULE_defaultVal = 181;
631
+ static readonly RULE_tableConstraintType = 182;
632
+ static readonly RULE_constraintOptsCreate = 183;
633
+ static readonly RULE_constraintOptsAlter = 184;
634
+ static readonly RULE_columnNameColonType = 185;
635
+ static readonly RULE_colType = 186;
636
+ static readonly RULE_colTypeList = 187;
637
+ static readonly RULE_type = 188;
638
+ static readonly RULE_primitiveType = 189;
639
+ static readonly RULE_listType = 190;
640
+ static readonly RULE_structType = 191;
641
+ static readonly RULE_mapType = 192;
642
+ static readonly RULE_unionType = 193;
643
+ static readonly RULE_setOperator = 194;
644
+ static readonly RULE_queryStatementExpression = 195;
645
+ static readonly RULE_queryStatementExpressionBody = 196;
646
+ static readonly RULE_withClause = 197;
647
+ static readonly RULE_cteStatement = 198;
648
+ static readonly RULE_fromStatement = 199;
649
+ static readonly RULE_singleFromStatement = 200;
650
+ static readonly RULE_regularBody = 201;
651
+ static readonly RULE_atomSelectStatement = 202;
652
+ static readonly RULE_selectStatement = 203;
653
+ static readonly RULE_setOpSelectStatement = 204;
654
+ static readonly RULE_selectStatementWithCTE = 205;
655
+ static readonly RULE_body = 206;
656
+ static readonly RULE_insertClause = 207;
657
+ static readonly RULE_destination = 208;
658
+ static readonly RULE_limitClause = 209;
659
+ static readonly RULE_deleteStatement = 210;
660
+ static readonly RULE_columnAssignmentClause = 211;
661
+ static readonly RULE_precedencePlusExpressionOrDefault = 212;
662
+ static readonly RULE_setColumnsClause = 213;
663
+ static readonly RULE_updateStatement = 214;
664
+ static readonly RULE_sqlTransactionStatement = 215;
665
+ static readonly RULE_startTransactionStatement = 216;
666
+ static readonly RULE_transactionMode = 217;
667
+ static readonly RULE_transactionAccessMode = 218;
668
+ static readonly RULE_isolationLevel = 219;
669
+ static readonly RULE_levelOfIsolation = 220;
670
+ static readonly RULE_commitStatement = 221;
671
+ static readonly RULE_rollbackStatement = 222;
672
+ static readonly RULE_setAutoCommitStatement = 223;
673
+ static readonly RULE_abortTransactionStatement = 224;
674
+ static readonly RULE_abortCompactionStatement = 225;
675
+ static readonly RULE_mergeStatement = 226;
676
+ static readonly RULE_whenClauses = 227;
677
+ static readonly RULE_whenNotMatchedClause = 228;
678
+ static readonly RULE_whenMatchedAndClause = 229;
679
+ static readonly RULE_whenMatchedThenClause = 230;
680
+ static readonly RULE_updateOrDelete = 231;
681
+ static readonly RULE_killQueryStatement = 232;
682
+ static readonly RULE_compactionId = 233;
683
+ static readonly RULE_compactionPool = 234;
684
+ static readonly RULE_compactionType = 235;
685
+ static readonly RULE_compactionStatus = 236;
686
+ static readonly RULE_alterStatement = 237;
687
+ static readonly RULE_alterTableStatementSuffix = 238;
688
+ static readonly RULE_alterTblPartitionStatementSuffix = 239;
689
+ static readonly RULE_alterStatementPartitionKeyType = 240;
690
+ static readonly RULE_alterViewStatementSuffix = 241;
691
+ static readonly RULE_alterMaterializedViewStatementSuffix = 242;
692
+ static readonly RULE_alterMaterializedViewSuffixRewrite = 243;
693
+ static readonly RULE_alterMaterializedViewSuffixRebuild = 244;
694
+ static readonly RULE_alterDatabaseStatementSuffix = 245;
695
+ static readonly RULE_alterDatabaseSuffixProperties = 246;
696
+ static readonly RULE_alterDatabaseSuffixSetOwner = 247;
697
+ static readonly RULE_alterDatabaseSuffixSetLocation = 248;
698
+ static readonly RULE_alterDatabaseSuffixSetManagedLocation = 249;
699
+ static readonly RULE_alterStatementSuffixRename = 250;
700
+ static readonly RULE_alterStatementSuffixAddCol = 251;
701
+ static readonly RULE_alterStatementSuffixAddConstraint = 252;
702
+ static readonly RULE_alterStatementSuffixUpdateColumns = 253;
703
+ static readonly RULE_alterStatementSuffixProtections = 254;
704
+ static readonly RULE_alterStatementSuffixDropConstraint = 255;
705
+ static readonly RULE_alterStatementSuffixRenameCol = 256;
706
+ static readonly RULE_alterStatementSuffixUpdateStatsCol = 257;
707
+ static readonly RULE_alterStatementSuffixUpdateStats = 258;
708
+ static readonly RULE_alterStatementChangeColPosition = 259;
709
+ static readonly RULE_alterStatementSuffixAddPartitions = 260;
710
+ static readonly RULE_alterStatementSuffixAddPartitionsElement = 261;
711
+ static readonly RULE_alterStatementSuffixTouch = 262;
712
+ static readonly RULE_alterStatementSuffixArchive = 263;
713
+ static readonly RULE_alterStatementSuffixUnArchive = 264;
714
+ static readonly RULE_partitionLocation = 265;
715
+ static readonly RULE_alterStatementSuffixRecoverPartitions = 266;
716
+ static readonly RULE_alterStatementSuffixDropPartitions = 267;
717
+ static readonly RULE_alterStatementSuffixProperties = 268;
718
+ static readonly RULE_alterViewSuffixProperties = 269;
719
+ static readonly RULE_alterStatementSuffixSerdeProperties = 270;
720
+ static readonly RULE_tablePartitionPrefix = 271;
721
+ static readonly RULE_alterStatementSuffixFileFormat = 272;
722
+ static readonly RULE_alterStatementSuffixClusterbySortby = 273;
723
+ static readonly RULE_alterTblPartitionStatementSuffixSkewedLocation = 274;
724
+ static readonly RULE_skewedLocations = 275;
725
+ static readonly RULE_skewedLocationsList = 276;
726
+ static readonly RULE_skewedLocationMap = 277;
727
+ static readonly RULE_alterStatementSuffixLocation = 278;
728
+ static readonly RULE_alterStatementSuffixSkewedby = 279;
729
+ static readonly RULE_alterStatementSuffixExchangePartition = 280;
730
+ static readonly RULE_alterStatementSuffixRenamePart = 281;
731
+ static readonly RULE_alterStatementSuffixStatsPart = 282;
732
+ static readonly RULE_alterStatementSuffixMergeFiles = 283;
733
+ static readonly RULE_alterStatementSuffixBucketNum = 284;
734
+ static readonly RULE_blocking = 285;
735
+ static readonly RULE_compactPool = 286;
736
+ static readonly RULE_alterStatementSuffixCompact = 287;
737
+ static readonly RULE_alterStatementSuffixSetOwner = 288;
738
+ static readonly RULE_alterStatementSuffixSetPartSpec = 289;
739
+ static readonly RULE_alterStatementSuffixExecute = 290;
740
+ static readonly RULE_alterIndexStatementSuffix = 291;
741
+ static readonly RULE_fileFormat = 292;
742
+ static readonly RULE_alterDataConnectorStatementSuffix = 293;
743
+ static readonly RULE_alterDataConnectorSuffixProperties = 294;
744
+ static readonly RULE_alterDataConnectorSuffixSetOwner = 295;
745
+ static readonly RULE_alterDataConnectorSuffixSetUrl = 296;
746
+ static readonly RULE_likeTableOrFile = 297;
747
+ static readonly RULE_createTableStatement = 298;
748
+ static readonly RULE_createDataConnectorStatement = 299;
749
+ static readonly RULE_dataConnectorComment = 300;
750
+ static readonly RULE_dataConnectorUrl = 301;
751
+ static readonly RULE_dataConnectorType = 302;
752
+ static readonly RULE_dcProperties = 303;
753
+ static readonly RULE_dropDataConnectorStatement = 304;
754
+ static readonly RULE_tableAllColumns = 305;
755
+ static readonly RULE_tableOrColumn = 306;
756
+ static readonly RULE_defaultValue = 307;
757
+ static readonly RULE_expressionList = 308;
758
+ static readonly RULE_aliasList = 309;
759
+ static readonly RULE_fromClause = 310;
760
+ static readonly RULE_fromSource = 311;
761
+ static readonly RULE_atomjoinSource = 312;
762
+ static readonly RULE_joinSource = 313;
763
+ static readonly RULE_joinSourcePart = 314;
764
+ static readonly RULE_uniqueJoinSource = 315;
765
+ static readonly RULE_uniqueJoinExpr = 316;
766
+ static readonly RULE_uniqueJoinToken = 317;
767
+ static readonly RULE_joinToken = 318;
768
+ static readonly RULE_lateralView = 319;
769
+ static readonly RULE_tableAlias = 320;
770
+ static readonly RULE_tableBucketSample = 321;
771
+ static readonly RULE_splitSample = 322;
772
+ static readonly RULE_tableSample = 323;
773
+ static readonly RULE_tableSource = 324;
774
+ static readonly RULE_asOfClause = 325;
775
+ static readonly RULE_uniqueJoinTableSource = 326;
776
+ static readonly RULE_dbSchemaName = 327;
777
+ static readonly RULE_dbSchemaNameCreate = 328;
778
+ static readonly RULE_tableOrView = 329;
779
+ static readonly RULE_tableName = 330;
780
+ static readonly RULE_tableNameCreate = 331;
781
+ static readonly RULE_viewName = 332;
782
+ static readonly RULE_viewNameCreate = 333;
783
+ static readonly RULE_subQuerySource = 334;
784
+ static readonly RULE_partitioningSpec = 335;
785
+ static readonly RULE_partitionTableFunctionSource = 336;
786
+ static readonly RULE_partitionedTableFunction = 337;
787
+ static readonly RULE_whereClause = 338;
788
+ static readonly RULE_searchCondition = 339;
789
+ static readonly RULE_valuesSource = 340;
790
+ static readonly RULE_valuesClause = 341;
791
+ static readonly RULE_valuesTableConstructor = 342;
792
+ static readonly RULE_valueRowConstructor = 343;
793
+ static readonly RULE_firstValueRowConstructor = 344;
794
+ static readonly RULE_virtualTableSource = 345;
795
+ static readonly RULE_selectClause = 346;
796
+ static readonly RULE_all_distinct = 347;
797
+ static readonly RULE_selectList = 348;
798
+ static readonly RULE_selectTrfmClause = 349;
799
+ static readonly RULE_selectItem = 350;
800
+ static readonly RULE_trfmClause = 351;
801
+ static readonly RULE_selectExpression = 352;
802
+ static readonly RULE_selectExpressionList = 353;
803
+ static readonly RULE_window_clause = 354;
804
+ static readonly RULE_window_defn = 355;
805
+ static readonly RULE_window_specification = 356;
806
+ static readonly RULE_window_frame = 357;
807
+ static readonly RULE_window_range_expression = 358;
808
+ static readonly RULE_window_value_expression = 359;
809
+ static readonly RULE_window_frame_start_boundary = 360;
810
+ static readonly RULE_window_frame_boundary = 361;
811
+ static readonly RULE_groupByClause = 362;
812
+ static readonly RULE_groupby_expression = 363;
813
+ static readonly RULE_groupByEmpty = 364;
814
+ static readonly RULE_rollupStandard = 365;
815
+ static readonly RULE_rollupOldSyntax = 366;
816
+ static readonly RULE_groupingSetExpression = 367;
817
+ static readonly RULE_groupingSetExpressionMultiple = 368;
818
+ static readonly RULE_groupingExpressionSingle = 369;
819
+ static readonly RULE_havingClause = 370;
820
+ static readonly RULE_qualifyClause = 371;
821
+ static readonly RULE_havingCondition = 372;
822
+ static readonly RULE_expressionsInParenthesis = 373;
823
+ static readonly RULE_expressionsNotInParenthesis = 374;
824
+ static readonly RULE_expressionPart = 375;
825
+ static readonly RULE_expressionOrDefault = 376;
826
+ static readonly RULE_firstExpressionsWithAlias = 377;
827
+ static readonly RULE_expressionWithAlias = 378;
828
+ static readonly RULE_expressions = 379;
829
+ static readonly RULE_columnRefOrderInParenthesis = 380;
830
+ static readonly RULE_columnRefOrderNotInParenthesis = 381;
831
+ static readonly RULE_orderByClause = 382;
832
+ static readonly RULE_clusterByClause = 383;
833
+ static readonly RULE_partitionByClause = 384;
834
+ static readonly RULE_distributeByClause = 385;
835
+ static readonly RULE_sortByClause = 386;
836
+ static readonly RULE_trimFunction = 387;
837
+ static readonly RULE_function_ = 388;
838
+ static readonly RULE_null_treatment = 389;
839
+ static readonly RULE_functionNameCreate = 390;
840
+ static readonly RULE_functionNameForDDL = 391;
841
+ static readonly RULE_functionNameForInvoke = 392;
842
+ static readonly RULE_userDefinedFuncName = 393;
843
+ static readonly RULE_internalFunctionName = 394;
844
+ static readonly RULE_castExpression = 395;
845
+ static readonly RULE_caseExpression = 396;
846
+ static readonly RULE_whenExpression = 397;
847
+ static readonly RULE_floorExpression = 398;
848
+ static readonly RULE_floorDateQualifiers = 399;
849
+ static readonly RULE_extractExpression = 400;
850
+ static readonly RULE_timeQualifiers = 401;
851
+ static readonly RULE_constant = 402;
852
+ static readonly RULE_prepareStmtParam = 403;
853
+ static readonly RULE_parameterIdx = 404;
854
+ static readonly RULE_stringLiteralSequence = 405;
855
+ static readonly RULE_charSetStringLiteral = 406;
856
+ static readonly RULE_dateLiteral = 407;
857
+ static readonly RULE_timestampLiteral = 408;
858
+ static readonly RULE_timestampLocalTZLiteral = 409;
859
+ static readonly RULE_intervalValue = 410;
860
+ static readonly RULE_intervalLiteral = 411;
861
+ static readonly RULE_intervalExpression = 412;
862
+ static readonly RULE_intervalQualifiers = 413;
863
+ static readonly RULE_expression = 414;
864
+ static readonly RULE_atomExpression = 415;
865
+ static readonly RULE_precedenceFieldExpression = 416;
866
+ static readonly RULE_precedenceUnaryOperator = 417;
867
+ static readonly RULE_precedenceUnaryPrefixExpression = 418;
868
+ static readonly RULE_precedenceBitwiseXorOperator = 419;
869
+ static readonly RULE_precedenceBitwiseXorExpression = 420;
870
+ static readonly RULE_precedenceStarOperator = 421;
871
+ static readonly RULE_precedenceStarExpression = 422;
872
+ static readonly RULE_precedencePlusOperator = 423;
873
+ static readonly RULE_precedencePlusExpression = 424;
874
+ static readonly RULE_precedenceConcatenateOperator = 425;
875
+ static readonly RULE_precedenceConcatenateExpression = 426;
876
+ static readonly RULE_precedenceAmpersandOperator = 427;
877
+ static readonly RULE_precedenceAmpersandExpression = 428;
878
+ static readonly RULE_precedenceBitwiseOrOperator = 429;
879
+ static readonly RULE_precedenceBitwiseOrExpression = 430;
880
+ static readonly RULE_precedenceRegexpOperator = 431;
881
+ static readonly RULE_precedenceSimilarOperator = 432;
882
+ static readonly RULE_subQueryExpression = 433;
883
+ static readonly RULE_precedenceSimilarExpression = 434;
884
+ static readonly RULE_precedenceSimilarExpressionMain = 435;
885
+ static readonly RULE_precedenceSimilarExpressionPart = 436;
886
+ static readonly RULE_precedenceSimilarExpressionAtom = 437;
887
+ static readonly RULE_precedenceSimilarExpressionQuantifierPredicate = 438;
888
+ static readonly RULE_quantifierType = 439;
889
+ static readonly RULE_precedenceSimilarExpressionIn = 440;
890
+ static readonly RULE_precedenceSimilarExpressionPartNot = 441;
891
+ static readonly RULE_precedenceDistinctOperator = 442;
892
+ static readonly RULE_precedenceEqualOperator = 443;
893
+ static readonly RULE_precedenceEqualExpression = 444;
894
+ static readonly RULE_isCondition = 445;
895
+ static readonly RULE_precedenceUnarySuffixExpression = 446;
896
+ static readonly RULE_precedenceNotOperator = 447;
897
+ static readonly RULE_precedenceNotExpression = 448;
898
+ static readonly RULE_precedenceAndOperator = 449;
899
+ static readonly RULE_precedenceAndExpression = 450;
900
+ static readonly RULE_precedenceOrOperator = 451;
901
+ static readonly RULE_precedenceOrExpression = 452;
902
+ static readonly RULE_booleanValue = 453;
903
+ static readonly RULE_booleanValueTok = 454;
904
+ static readonly RULE_tableOrPartition = 455;
905
+ static readonly RULE_partitionSpec = 456;
906
+ static readonly RULE_partitionVal = 457;
907
+ static readonly RULE_partitionSelectorSpec = 458;
908
+ static readonly RULE_partitionSelectorVal = 459;
909
+ static readonly RULE_partitionSelectorOperator = 460;
910
+ static readonly RULE_subQuerySelectorOperator = 461;
911
+ static readonly RULE_sysFuncNames = 462;
912
+ static readonly RULE_id_ = 463;
913
+ static readonly RULE_functionIdentifier = 464;
914
+ static readonly RULE_principalIdentifier = 465;
915
+ static readonly RULE_nonReserved = 466;
916
+ static readonly RULE_sql11ReservedKeywordsUsedAsFunctionName = 467;
917
+ static readonly RULE_hint = 468;
918
+ static readonly RULE_hintList = 469;
919
+ static readonly RULE_hintItem = 470;
920
+ static readonly RULE_hintName = 471;
921
+ static readonly RULE_hintArgs = 472;
922
+ static readonly RULE_hintArgName = 473;
923
+ static readonly RULE_prepareStatement = 474;
924
+ static readonly RULE_executeStatement = 475;
925
+ static readonly RULE_executeParamList = 476;
926
+ static readonly RULE_resourcePlanDdlStatements = 477;
927
+ static readonly RULE_rpAssign = 478;
928
+ static readonly RULE_rpAssignList = 479;
929
+ static readonly RULE_rpUnassign = 480;
930
+ static readonly RULE_rpUnassignList = 481;
931
+ static readonly RULE_createResourcePlanStatement = 482;
932
+ static readonly RULE_withReplace = 483;
933
+ static readonly RULE_activate = 484;
934
+ static readonly RULE_enable = 485;
935
+ static readonly RULE_disable = 486;
936
+ static readonly RULE_unmanaged = 487;
937
+ static readonly RULE_year = 488;
938
+ static readonly RULE_month = 489;
939
+ static readonly RULE_week = 490;
940
+ static readonly RULE_day = 491;
941
+ static readonly RULE_hour = 492;
942
+ static readonly RULE_minute = 493;
943
+ static readonly RULE_second = 494;
944
+ static readonly RULE_decimal = 495;
945
+ static readonly RULE_alterResourcePlanStatement = 496;
946
+ static readonly RULE_globalWmStatement = 497;
947
+ static readonly RULE_replaceResourcePlanStatement = 498;
948
+ static readonly RULE_dropResourcePlanStatement = 499;
949
+ static readonly RULE_poolPath = 500;
950
+ static readonly RULE_triggerExpression = 501;
951
+ static readonly RULE_triggerExpressionStandalone = 502;
952
+ static readonly RULE_triggerOrExpression = 503;
953
+ static readonly RULE_triggerAndExpression = 504;
954
+ static readonly RULE_triggerAtomExpression = 505;
955
+ static readonly RULE_triggerLiteral = 506;
956
+ static readonly RULE_comparisionOperator = 507;
957
+ static readonly RULE_triggerActionExpression = 508;
958
+ static readonly RULE_triggerActionExpressionStandalone = 509;
959
+ static readonly RULE_createTriggerStatement = 510;
960
+ static readonly RULE_alterTriggerStatement = 511;
961
+ static readonly RULE_dropTriggerStatement = 512;
962
+ static readonly RULE_poolAssign = 513;
963
+ static readonly RULE_poolAssignList = 514;
964
+ static readonly RULE_createPoolStatement = 515;
965
+ static readonly RULE_alterPoolStatement = 516;
966
+ static readonly RULE_dropPoolStatement = 517;
967
+ static readonly RULE_createMappingStatement = 518;
968
+ static readonly RULE_alterMappingStatement = 519;
969
+ static readonly RULE_dropMappingStatement = 520;
938
970
  static readonly ruleNames: string[];
939
971
  private static readonly _LITERAL_NAMES;
940
972
  private static readonly _SYMBOLIC_NAMES;
@@ -953,6 +985,7 @@ export declare class HiveSqlParser extends Parser {
953
985
  vectorizatonDetail(): VectorizatonDetailContext;
954
986
  execStatement(): ExecStatementContext;
955
987
  loadStatement(): LoadStatementContext;
988
+ dropPartitionsIgnoreClause(): DropPartitionsIgnoreClauseContext;
956
989
  replicationClause(): ReplicationClauseContext;
957
990
  exportStatement(): ExportStatementContext;
958
991
  importStatement(): ImportStatementContext;
@@ -1019,6 +1052,7 @@ export declare class HiveSqlParser extends Parser {
1019
1052
  privilegeType(): PrivilegeTypeContext;
1020
1053
  principalSpecification(): PrincipalSpecificationContext;
1021
1054
  principalName(): PrincipalNameContext;
1055
+ principalAlterName(): PrincipalAlterNameContext;
1022
1056
  withGrantOption(): WithGrantOptionContext;
1023
1057
  grantOptionFor(): GrantOptionForContext;
1024
1058
  adminOptionFor(): AdminOptionForContext;
@@ -1051,7 +1085,6 @@ export declare class HiveSqlParser extends Parser {
1051
1085
  scheduleSpec(): ScheduleSpecContext;
1052
1086
  executedAsSpec(): ExecutedAsSpecContext;
1053
1087
  definedAsSpec(): DefinedAsSpecContext;
1054
- showFunctionIdentifier(): ShowFunctionIdentifierContext;
1055
1088
  showStmtIdentifier(): ShowStmtIdentifierContext;
1056
1089
  tableComment(): TableCommentContext;
1057
1090
  createTablePartitionSpec(): CreateTablePartitionSpecContext;
@@ -1210,6 +1243,7 @@ export declare class HiveSqlParser extends Parser {
1210
1243
  alterStatementSuffixArchive(): AlterStatementSuffixArchiveContext;
1211
1244
  alterStatementSuffixUnArchive(): AlterStatementSuffixUnArchiveContext;
1212
1245
  partitionLocation(): PartitionLocationContext;
1246
+ alterStatementSuffixRecoverPartitions(): AlterStatementSuffixRecoverPartitionsContext;
1213
1247
  alterStatementSuffixDropPartitions(): AlterStatementSuffixDropPartitionsContext;
1214
1248
  alterStatementSuffixProperties(): AlterStatementSuffixPropertiesContext;
1215
1249
  alterViewSuffixProperties(): AlterViewSuffixPropertiesContext;
@@ -1270,8 +1304,13 @@ export declare class HiveSqlParser extends Parser {
1270
1304
  tableSource(): TableSourceContext;
1271
1305
  asOfClause(): AsOfClauseContext;
1272
1306
  uniqueJoinTableSource(): UniqueJoinTableSourceContext;
1307
+ dbSchemaName(): DbSchemaNameContext;
1308
+ dbSchemaNameCreate(): DbSchemaNameCreateContext;
1309
+ tableOrView(): TableOrViewContext;
1273
1310
  tableName(): TableNameContext;
1311
+ tableNameCreate(): TableNameCreateContext;
1274
1312
  viewName(): ViewNameContext;
1313
+ viewNameCreate(): ViewNameCreateContext;
1275
1314
  subQuerySource(): SubQuerySourceContext;
1276
1315
  partitioningSpec(): PartitioningSpecContext;
1277
1316
  partitionTableFunctionSource(): PartitionTableFunctionSourceContext;
@@ -1328,7 +1367,11 @@ export declare class HiveSqlParser extends Parser {
1328
1367
  trimFunction(): TrimFunctionContext;
1329
1368
  function_(): Function_Context;
1330
1369
  null_treatment(): Null_treatmentContext;
1331
- functionName(): FunctionNameContext;
1370
+ functionNameCreate(): FunctionNameCreateContext;
1371
+ functionNameForDDL(): FunctionNameForDDLContext;
1372
+ functionNameForInvoke(): FunctionNameForInvokeContext;
1373
+ userDefinedFuncName(): UserDefinedFuncNameContext;
1374
+ internalFunctionName(): InternalFunctionNameContext;
1332
1375
  castExpression(): CastExpressionContext;
1333
1376
  caseExpression(): CaseExpressionContext;
1334
1377
  whenExpression(): WhenExpressionContext;
@@ -1397,7 +1440,6 @@ export declare class HiveSqlParser extends Parser {
1397
1440
  partitionSelectorOperator(): PartitionSelectorOperatorContext;
1398
1441
  subQuerySelectorOperator(): SubQuerySelectorOperatorContext;
1399
1442
  sysFuncNames(): SysFuncNamesContext;
1400
- descFuncNames(): DescFuncNamesContext;
1401
1443
  id_(): Id_Context;
1402
1444
  functionIdentifier(): FunctionIdentifierContext;
1403
1445
  principalIdentifier(): PrincipalIdentifierContext;
@@ -1423,6 +1465,14 @@ export declare class HiveSqlParser extends Parser {
1423
1465
  enable(): EnableContext;
1424
1466
  disable(): DisableContext;
1425
1467
  unmanaged(): UnmanagedContext;
1468
+ year(): YearContext;
1469
+ month(): MonthContext;
1470
+ week(): WeekContext;
1471
+ day(): DayContext;
1472
+ hour(): HourContext;
1473
+ minute(): MinuteContext;
1474
+ second(): SecondContext;
1475
+ decimal(): DecimalContext;
1426
1476
  alterResourcePlanStatement(): AlterResourcePlanStatementContext;
1427
1477
  globalWmStatement(): GlobalWmStatementContext;
1428
1478
  replaceResourcePlanStatement(): ReplaceResourcePlanStatementContext;
@@ -1577,6 +1627,15 @@ export declare class LoadStatementContext extends ParserRuleContext {
1577
1627
  exitRule(listener: HiveSqlParserListener): void;
1578
1628
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
1579
1629
  }
1630
+ export declare class DropPartitionsIgnoreClauseContext extends ParserRuleContext {
1631
+ KW_IGNORE(): TerminalNode;
1632
+ KW_PROTECTION(): TerminalNode;
1633
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
1634
+ get ruleIndex(): number;
1635
+ enterRule(listener: HiveSqlParserListener): void;
1636
+ exitRule(listener: HiveSqlParserListener): void;
1637
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
1638
+ }
1580
1639
  export declare class ReplicationClauseContext extends ParserRuleContext {
1581
1640
  KW_FOR(): TerminalNode;
1582
1641
  KW_REPLICATION(): TerminalNode;
@@ -1636,9 +1695,9 @@ export declare class ReplDumpStatementContext extends ParserRuleContext {
1636
1695
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
1637
1696
  }
1638
1697
  export declare class ReplDbPolicyContext extends ParserRuleContext {
1639
- _dbName: Id_Context;
1698
+ _dbName: DbSchemaNameContext;
1640
1699
  _tablePolicy: ReplTableLevelPolicyContext;
1641
- id_(): Id_Context;
1700
+ dbSchemaName(): DbSchemaNameContext;
1642
1701
  DOT(): TerminalNode | undefined;
1643
1702
  replTableLevelPolicy(): ReplTableLevelPolicyContext | undefined;
1644
1703
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -1649,14 +1708,14 @@ export declare class ReplDbPolicyContext extends ParserRuleContext {
1649
1708
  }
1650
1709
  export declare class ReplLoadStatementContext extends ParserRuleContext {
1651
1710
  _sourceDbPolicy: ReplDbPolicyContext;
1652
- _dbName: Id_Context;
1711
+ _dbName: DbSchemaNameContext;
1653
1712
  _replConf: ReplConfigsContext;
1654
1713
  KW_REPL(): TerminalNode;
1655
1714
  KW_LOAD(): TerminalNode;
1656
1715
  replDbPolicy(): ReplDbPolicyContext;
1657
1716
  KW_INTO(): TerminalNode | undefined;
1658
1717
  KW_WITH(): TerminalNode | undefined;
1659
- id_(): Id_Context | undefined;
1718
+ dbSchemaName(): DbSchemaNameContext | undefined;
1660
1719
  replConfigs(): ReplConfigsContext | undefined;
1661
1720
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
1662
1721
  get ruleIndex(): number;
@@ -1698,11 +1757,11 @@ export declare class ReplTableLevelPolicyContext extends ParserRuleContext {
1698
1757
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
1699
1758
  }
1700
1759
  export declare class ReplStatusStatementContext extends ParserRuleContext {
1701
- _dbName: Id_Context;
1760
+ _dbName: DbSchemaNameContext;
1702
1761
  _replConf: ReplConfigsContext;
1703
1762
  KW_REPL(): TerminalNode;
1704
1763
  KW_STATUS(): TerminalNode;
1705
- id_(): Id_Context;
1764
+ dbSchemaName(): DbSchemaNameContext;
1706
1765
  KW_WITH(): TerminalNode | undefined;
1707
1766
  replConfigs(): ReplConfigsContext | undefined;
1708
1767
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -1802,7 +1861,7 @@ export declare class ForceContext extends ParserRuleContext {
1802
1861
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
1803
1862
  }
1804
1863
  export declare class RewriteEnabledContext extends ParserRuleContext {
1805
- KW_ENABLE(): TerminalNode;
1864
+ enable(): EnableContext;
1806
1865
  KW_REWRITE(): TerminalNode;
1807
1866
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
1808
1867
  get ruleIndex(): number;
@@ -1811,7 +1870,7 @@ export declare class RewriteEnabledContext extends ParserRuleContext {
1811
1870
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
1812
1871
  }
1813
1872
  export declare class RewriteDisabledContext extends ParserRuleContext {
1814
- KW_DISABLE(): TerminalNode;
1873
+ disable(): DisableContext;
1815
1874
  KW_REWRITE(): TerminalNode;
1816
1875
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
1817
1876
  get ruleIndex(): number;
@@ -1839,11 +1898,12 @@ export declare class OrReplaceContext extends ParserRuleContext {
1839
1898
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
1840
1899
  }
1841
1900
  export declare class CreateDatabaseStatementContext extends ParserRuleContext {
1842
- _name: Id_Context;
1901
+ _name: DbSchemaNameCreateContext;
1843
1902
  _dbprops: DbPropertiesContext;
1844
1903
  KW_CREATE(): TerminalNode;
1845
1904
  db_schema(): Db_schemaContext;
1846
- id_(): Id_Context;
1905
+ dbSchemaNameCreate(): DbSchemaNameCreateContext;
1906
+ KW_REMOTE(): TerminalNode | undefined;
1847
1907
  ifNotExists(): IfNotExistsContext | undefined;
1848
1908
  databaseComment(): DatabaseCommentContext | undefined;
1849
1909
  dbLocation(): DbLocationContext | undefined;
@@ -1851,7 +1911,6 @@ export declare class CreateDatabaseStatementContext extends ParserRuleContext {
1851
1911
  KW_WITH(): TerminalNode | undefined;
1852
1912
  KW_DBPROPERTIES(): TerminalNode | undefined;
1853
1913
  dbProperties(): DbPropertiesContext | undefined;
1854
- KW_REMOTE(): TerminalNode | undefined;
1855
1914
  dbConnectorName(): DbConnectorNameContext | undefined;
1856
1915
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
1857
1916
  get ruleIndex(): number;
@@ -1901,9 +1960,9 @@ export declare class DbPropertiesListContext extends ParserRuleContext {
1901
1960
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
1902
1961
  }
1903
1962
  export declare class DbConnectorNameContext extends ParserRuleContext {
1904
- _dcName: Id_Context;
1963
+ _dcName: DbSchemaNameContext;
1905
1964
  KW_USING(): TerminalNode;
1906
- id_(): Id_Context;
1965
+ dbSchemaName(): DbSchemaNameContext;
1907
1966
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
1908
1967
  get ruleIndex(): number;
1909
1968
  enterRule(listener: HiveSqlParserListener): void;
@@ -1912,7 +1971,7 @@ export declare class DbConnectorNameContext extends ParserRuleContext {
1912
1971
  }
1913
1972
  export declare class SwitchDatabaseStatementContext extends ParserRuleContext {
1914
1973
  KW_USE(): TerminalNode;
1915
- id_(): Id_Context;
1974
+ dbSchemaName(): DbSchemaNameContext;
1916
1975
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
1917
1976
  get ruleIndex(): number;
1918
1977
  enterRule(listener: HiveSqlParserListener): void;
@@ -1922,7 +1981,7 @@ export declare class SwitchDatabaseStatementContext extends ParserRuleContext {
1922
1981
  export declare class DropDatabaseStatementContext extends ParserRuleContext {
1923
1982
  KW_DROP(): TerminalNode;
1924
1983
  db_schema(): Db_schemaContext;
1925
- id_(): Id_Context;
1984
+ dbSchemaName(): DbSchemaNameContext;
1926
1985
  ifExists(): IfExistsContext | undefined;
1927
1986
  restrictOrCascade(): RestrictOrCascadeContext | undefined;
1928
1987
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -2009,7 +2068,7 @@ export declare class PartTypeExprContext extends ParserRuleContext {
2009
2068
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
2010
2069
  }
2011
2070
  export declare class TabPartColTypeExprContext extends ParserRuleContext {
2012
- tableName(): TableNameContext;
2071
+ tableOrView(): TableOrViewContext;
2013
2072
  partitionSpec(): PartitionSpecContext | undefined;
2014
2073
  extColumnName(): ExtColumnNameContext | undefined;
2015
2074
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -2019,9 +2078,9 @@ export declare class TabPartColTypeExprContext extends ParserRuleContext {
2019
2078
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
2020
2079
  }
2021
2080
  export declare class DescStatementContext extends ParserRuleContext {
2022
- _dbName: Id_Context;
2023
- _dcName: Id_Context;
2024
- _name: DescFuncNamesContext;
2081
+ _dbName: DbSchemaNameContext;
2082
+ _dcName: DbSchemaNameContext;
2083
+ _name: FunctionNameForDDLContext;
2025
2084
  _descOptions: Token;
2026
2085
  _parttype: TabPartColTypeExprContext;
2027
2086
  KW_DESCRIBE(): TerminalNode | undefined;
@@ -2029,8 +2088,8 @@ export declare class DescStatementContext extends ParserRuleContext {
2029
2088
  db_schema(): Db_schemaContext | undefined;
2030
2089
  KW_DATACONNECTOR(): TerminalNode | undefined;
2031
2090
  KW_FUNCTION(): TerminalNode | undefined;
2032
- id_(): Id_Context | undefined;
2033
- descFuncNames(): DescFuncNamesContext | undefined;
2091
+ dbSchemaName(): DbSchemaNameContext | undefined;
2092
+ functionNameForDDL(): FunctionNameForDDLContext | undefined;
2034
2093
  tabPartColTypeExpr(): TabPartColTypeExprContext | undefined;
2035
2094
  KW_EXTENDED(): TerminalNode | undefined;
2036
2095
  KW_FORMATTED(): TerminalNode | undefined;
@@ -2081,11 +2140,12 @@ export declare class Db_schemaContext extends ParserRuleContext {
2081
2140
  }
2082
2141
  export declare class ShowStatementContext extends ParserRuleContext {
2083
2142
  _isExtended: Token;
2084
- _db_name: Id_Context;
2143
+ _db_name: DbSchemaNameContext;
2085
2144
  _filter: ShowTablesFilterExprContext;
2145
+ _tabOrViewName: TableOrViewContext;
2086
2146
  _tabName: TableNameContext;
2087
2147
  _prptyName: Token;
2088
- _dbName: Id_Context;
2148
+ _dbName: DbSchemaNameContext;
2089
2149
  _parttype: PartTypeExprContext;
2090
2150
  _rp_name: Id_Context;
2091
2151
  KW_SHOW(): TerminalNode;
@@ -2097,15 +2157,15 @@ export declare class ShowStatementContext extends ParserRuleContext {
2097
2157
  from_in(): From_inContext[];
2098
2158
  from_in(i: number): From_inContext;
2099
2159
  KW_EXTENDED(): TerminalNode | undefined;
2100
- id_(): Id_Context | undefined;
2160
+ dbSchemaName(): DbSchemaNameContext | undefined;
2101
2161
  showTablesFilterExpr(): ShowTablesFilterExprContext | undefined;
2102
2162
  KW_VIEWS(): TerminalNode | undefined;
2103
2163
  KW_MATERIALIZED(): TerminalNode | undefined;
2104
2164
  KW_COLUMNS(): TerminalNode | undefined;
2105
- tableName(): TableNameContext | undefined;
2165
+ tableOrView(): TableOrViewContext | undefined;
2106
2166
  KW_SORTED(): TerminalNode | undefined;
2107
2167
  KW_FUNCTIONS(): TerminalNode | undefined;
2108
- showFunctionIdentifier(): ShowFunctionIdentifierContext | undefined;
2168
+ functionNameForDDL(): FunctionNameForDDLContext | undefined;
2109
2169
  KW_PARTITIONS(): TerminalNode | undefined;
2110
2170
  partitionSpec(): PartitionSpecContext | undefined;
2111
2171
  whereClause(): WhereClauseContext | undefined;
@@ -2114,6 +2174,7 @@ export declare class ShowStatementContext extends ParserRuleContext {
2114
2174
  KW_CREATE(): TerminalNode | undefined;
2115
2175
  db_schema(): Db_schemaContext | undefined;
2116
2176
  KW_TABLE(): TerminalNode | undefined;
2177
+ tableName(): TableNameContext | undefined;
2117
2178
  KW_TBLPROPERTIES(): TerminalNode | undefined;
2118
2179
  LPAREN(): TerminalNode | undefined;
2119
2180
  RPAREN(): TerminalNode | undefined;
@@ -2130,7 +2191,12 @@ export declare class ShowStatementContext extends ParserRuleContext {
2130
2191
  KW_RESOURCE(): TerminalNode | undefined;
2131
2192
  KW_PLAN(): TerminalNode | undefined;
2132
2193
  KW_PLANS(): TerminalNode | undefined;
2194
+ id_(): Id_Context | undefined;
2133
2195
  KW_DATACONNECTORS(): TerminalNode | undefined;
2196
+ KW_ON(): TerminalNode | undefined;
2197
+ KW_INDEX(): TerminalNode | undefined;
2198
+ KW_INDEXES(): TerminalNode | undefined;
2199
+ KW_FORMATTED(): TerminalNode | undefined;
2134
2200
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
2135
2201
  get ruleIndex(): number;
2136
2202
  enterRule(listener: HiveSqlParserListener): void;
@@ -2163,11 +2229,11 @@ export declare class LockStatementContext extends ParserRuleContext {
2163
2229
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
2164
2230
  }
2165
2231
  export declare class LockDatabaseContext extends ParserRuleContext {
2166
- _dbName: Id_Context;
2232
+ _dbName: DbSchemaNameContext;
2167
2233
  KW_LOCK(): TerminalNode;
2168
2234
  db_schema(): Db_schemaContext;
2169
2235
  lockMode(): LockModeContext;
2170
- id_(): Id_Context;
2236
+ dbSchemaName(): DbSchemaNameContext;
2171
2237
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
2172
2238
  get ruleIndex(): number;
2173
2239
  enterRule(listener: HiveSqlParserListener): void;
@@ -2195,10 +2261,10 @@ export declare class UnlockStatementContext extends ParserRuleContext {
2195
2261
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
2196
2262
  }
2197
2263
  export declare class UnlockDatabaseContext extends ParserRuleContext {
2198
- _dbName: Id_Context;
2264
+ _dbName: DbSchemaNameContext;
2199
2265
  KW_UNLOCK(): TerminalNode;
2200
2266
  db_schema(): Db_schemaContext;
2201
- id_(): Id_Context;
2267
+ dbSchemaName(): DbSchemaNameContext;
2202
2268
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
2203
2269
  get ruleIndex(): number;
2204
2270
  enterRule(listener: HiveSqlParserListener): void;
@@ -2374,13 +2440,14 @@ export declare class PrivilegeObjectContext extends ParserRuleContext {
2374
2440
  export declare class PrivObjectContext extends ParserRuleContext {
2375
2441
  _path: Token;
2376
2442
  db_schema(): Db_schemaContext | undefined;
2377
- id_(): Id_Context | undefined;
2443
+ dbSchemaName(): DbSchemaNameContext | undefined;
2378
2444
  tableName(): TableNameContext | undefined;
2379
2445
  KW_TABLE(): TerminalNode | undefined;
2380
2446
  partitionSpec(): PartitionSpecContext | undefined;
2381
2447
  KW_URI(): TerminalNode | undefined;
2382
2448
  StringLiteral(): TerminalNode | undefined;
2383
2449
  KW_SERVER(): TerminalNode | undefined;
2450
+ id_(): Id_Context | undefined;
2384
2451
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
2385
2452
  get ruleIndex(): number;
2386
2453
  enterRule(listener: HiveSqlParserListener): void;
@@ -2391,7 +2458,7 @@ export declare class PrivObjectColsContext extends ParserRuleContext {
2391
2458
  _cols: ColumnNameListContext;
2392
2459
  _path: Token;
2393
2460
  db_schema(): Db_schemaContext | undefined;
2394
- id_(): Id_Context | undefined;
2461
+ dbSchemaName(): DbSchemaNameContext | undefined;
2395
2462
  tableName(): TableNameContext | undefined;
2396
2463
  KW_TABLE(): TerminalNode | undefined;
2397
2464
  LPAREN(): TerminalNode | undefined;
@@ -2401,6 +2468,7 @@ export declare class PrivObjectColsContext extends ParserRuleContext {
2401
2468
  KW_URI(): TerminalNode | undefined;
2402
2469
  StringLiteral(): TerminalNode | undefined;
2403
2470
  KW_SERVER(): TerminalNode | undefined;
2471
+ id_(): Id_Context | undefined;
2404
2472
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
2405
2473
  get ruleIndex(): number;
2406
2474
  enterRule(listener: HiveSqlParserListener): void;
@@ -2436,6 +2504,7 @@ export declare class PrivilegeTypeContext extends ParserRuleContext {
2436
2504
  KW_UPDATE(): TerminalNode | undefined;
2437
2505
  KW_CREATE(): TerminalNode | undefined;
2438
2506
  KW_DROP(): TerminalNode | undefined;
2507
+ KW_INDEX(): TerminalNode | undefined;
2439
2508
  KW_LOCK(): TerminalNode | undefined;
2440
2509
  KW_SELECT(): TerminalNode | undefined;
2441
2510
  KW_SHOW_DATABASE(): TerminalNode | undefined;
@@ -2470,6 +2539,17 @@ export declare class PrincipalNameContext extends ParserRuleContext {
2470
2539
  exitRule(listener: HiveSqlParserListener): void;
2471
2540
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
2472
2541
  }
2542
+ export declare class PrincipalAlterNameContext extends ParserRuleContext {
2543
+ KW_USER(): TerminalNode | undefined;
2544
+ principalIdentifier(): PrincipalIdentifierContext | undefined;
2545
+ KW_ROLE(): TerminalNode | undefined;
2546
+ id_(): Id_Context | undefined;
2547
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2548
+ get ruleIndex(): number;
2549
+ enterRule(listener: HiveSqlParserListener): void;
2550
+ exitRule(listener: HiveSqlParserListener): void;
2551
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
2552
+ }
2473
2553
  export declare class WithGrantOptionContext extends ParserRuleContext {
2474
2554
  KW_WITH(): TerminalNode;
2475
2555
  KW_GRANT(): TerminalNode;
@@ -2566,7 +2646,7 @@ export declare class CreateFunctionStatementContext extends ParserRuleContext {
2566
2646
  _rList: ResourceListContext;
2567
2647
  KW_CREATE(): TerminalNode;
2568
2648
  KW_FUNCTION(): TerminalNode;
2569
- functionIdentifier(): FunctionIdentifierContext;
2649
+ functionNameCreate(): FunctionNameCreateContext;
2570
2650
  KW_AS(): TerminalNode;
2571
2651
  StringLiteral(): TerminalNode;
2572
2652
  KW_USING(): TerminalNode | undefined;
@@ -2582,7 +2662,7 @@ export declare class DropFunctionStatementContext extends ParserRuleContext {
2582
2662
  _temp: Token;
2583
2663
  KW_DROP(): TerminalNode;
2584
2664
  KW_FUNCTION(): TerminalNode;
2585
- functionIdentifier(): FunctionIdentifierContext;
2665
+ functionNameForDDL(): FunctionNameForDDLContext;
2586
2666
  ifExists(): IfExistsContext | undefined;
2587
2667
  KW_TEMPORARY(): TerminalNode | undefined;
2588
2668
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -2677,12 +2757,12 @@ export declare class DropIndexStatementContext extends ParserRuleContext {
2677
2757
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
2678
2758
  }
2679
2759
  export declare class CreateViewStatementContext extends ParserRuleContext {
2680
- _name: TableNameContext;
2760
+ _name: ViewNameCreateContext;
2681
2761
  KW_CREATE(): TerminalNode;
2682
2762
  KW_VIEW(): TerminalNode;
2683
2763
  KW_AS(): TerminalNode;
2684
2764
  selectStatementWithCTE(): SelectStatementWithCTEContext;
2685
- tableName(): TableNameContext;
2765
+ viewNameCreate(): ViewNameCreateContext;
2686
2766
  orReplace(): OrReplaceContext | undefined;
2687
2767
  ifNotExists(): IfNotExistsContext | undefined;
2688
2768
  LPAREN(): TerminalNode | undefined;
@@ -2780,13 +2860,13 @@ export declare class DropViewStatementContext extends ParserRuleContext {
2780
2860
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
2781
2861
  }
2782
2862
  export declare class CreateMaterializedViewStatementContext extends ParserRuleContext {
2783
- _name: TableNameContext;
2863
+ _name: ViewNameCreateContext;
2784
2864
  KW_CREATE(): TerminalNode;
2785
2865
  KW_MATERIALIZED(): TerminalNode;
2786
2866
  KW_VIEW(): TerminalNode;
2787
2867
  KW_AS(): TerminalNode;
2788
2868
  selectStatementWithCTE(): SelectStatementWithCTEContext;
2789
- tableName(): TableNameContext;
2869
+ viewNameCreate(): ViewNameCreateContext;
2790
2870
  ifNotExists(): IfNotExistsContext | undefined;
2791
2871
  rewriteDisabled(): RewriteDisabledContext | undefined;
2792
2872
  tableComment(): TableCommentContext | undefined;
@@ -2908,15 +2988,6 @@ export declare class DefinedAsSpecContext extends ParserRuleContext {
2908
2988
  exitRule(listener: HiveSqlParserListener): void;
2909
2989
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
2910
2990
  }
2911
- export declare class ShowFunctionIdentifierContext extends ParserRuleContext {
2912
- functionIdentifier(): FunctionIdentifierContext | undefined;
2913
- StringLiteral(): TerminalNode | undefined;
2914
- constructor(parent: ParserRuleContext | undefined, invokingState: number);
2915
- get ruleIndex(): number;
2916
- enterRule(listener: HiveSqlParserListener): void;
2917
- exitRule(listener: HiveSqlParserListener): void;
2918
- accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
2919
- }
2920
2991
  export declare class ShowStmtIdentifierContext extends ParserRuleContext {
2921
2992
  id_(): Id_Context | undefined;
2922
2993
  StringLiteral(): TerminalNode | undefined;
@@ -3000,10 +3071,10 @@ export declare class PartitionTransformTypeContext extends ParserRuleContext {
3000
3071
  columnName(): ColumnNameContext;
3001
3072
  LPAREN(): TerminalNode | undefined;
3002
3073
  RPAREN(): TerminalNode | undefined;
3003
- KW_YEAR(): TerminalNode | undefined;
3004
- KW_MONTH(): TerminalNode | undefined;
3005
- KW_DAY(): TerminalNode | undefined;
3006
- KW_HOUR(): TerminalNode | undefined;
3074
+ year(): YearContext | undefined;
3075
+ month(): MonthContext | undefined;
3076
+ day(): DayContext | undefined;
3077
+ hour(): HourContext | undefined;
3007
3078
  COMMA(): TerminalNode | undefined;
3008
3079
  KW_TRUNCATE(): TerminalNode | undefined;
3009
3080
  KW_BUCKET(): TerminalNode | undefined;
@@ -3395,8 +3466,8 @@ export declare class EnableValidateSpecificationContext extends ParserRuleContex
3395
3466
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
3396
3467
  }
3397
3468
  export declare class EnableSpecificationContext extends ParserRuleContext {
3398
- KW_ENABLE(): TerminalNode | undefined;
3399
- KW_DISABLE(): TerminalNode | undefined;
3469
+ enable(): EnableContext | undefined;
3470
+ disable(): DisableContext | undefined;
3400
3471
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
3401
3472
  get ruleIndex(): number;
3402
3473
  enterRule(listener: HiveSqlParserListener): void;
@@ -3884,6 +3955,7 @@ export declare class PrimitiveTypeContext extends ParserRuleContext {
3884
3955
  KW_TINYINT(): TerminalNode | undefined;
3885
3956
  KW_SMALLINT(): TerminalNode | undefined;
3886
3957
  KW_INT(): TerminalNode | undefined;
3958
+ KW_INTEGER(): TerminalNode | undefined;
3887
3959
  KW_BIGINT(): TerminalNode | undefined;
3888
3960
  KW_BOOLEAN(): TerminalNode | undefined;
3889
3961
  KW_FLOAT(): TerminalNode | undefined;
@@ -3900,7 +3972,7 @@ export declare class PrimitiveTypeContext extends ParserRuleContext {
3900
3972
  KW_ZONE(): TerminalNode | undefined;
3901
3973
  KW_STRING(): TerminalNode | undefined;
3902
3974
  KW_BINARY(): TerminalNode | undefined;
3903
- KW_DECIMAL(): TerminalNode | undefined;
3975
+ decimal(): DecimalContext | undefined;
3904
3976
  LPAREN(): TerminalNode | undefined;
3905
3977
  RPAREN(): TerminalNode | undefined;
3906
3978
  Number(): TerminalNode[];
@@ -4493,12 +4565,13 @@ export declare class CompactionStatusContext extends ParserRuleContext {
4493
4565
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
4494
4566
  }
4495
4567
  export declare class AlterStatementContext extends ParserRuleContext {
4496
- _tableNameTree: TableNameContext;
4568
+ _tableNameTree: ViewNameContext;
4497
4569
  KW_ALTER(): TerminalNode;
4498
4570
  KW_TABLE(): TerminalNode | undefined;
4499
4571
  tableName(): TableNameContext | undefined;
4500
4572
  alterTableStatementSuffix(): AlterTableStatementSuffixContext | undefined;
4501
4573
  KW_VIEW(): TerminalNode | undefined;
4574
+ viewName(): ViewNameContext | undefined;
4502
4575
  alterViewStatementSuffix(): AlterViewStatementSuffixContext | undefined;
4503
4576
  KW_MATERIALIZED(): TerminalNode | undefined;
4504
4577
  alterMaterializedViewStatementSuffix(): AlterMaterializedViewStatementSuffixContext | undefined;
@@ -4517,6 +4590,7 @@ export declare class AlterStatementContext extends ParserRuleContext {
4517
4590
  }
4518
4591
  export declare class AlterTableStatementSuffixContext extends ParserRuleContext {
4519
4592
  alterStatementSuffixRename(): AlterStatementSuffixRenameContext | undefined;
4593
+ alterStatementSuffixRecoverPartitions(): AlterStatementSuffixRecoverPartitionsContext | undefined;
4520
4594
  alterStatementSuffixDropPartitions(): AlterStatementSuffixDropPartitionsContext | undefined;
4521
4595
  alterStatementSuffixAddPartitions(): AlterStatementSuffixAddPartitionsContext | undefined;
4522
4596
  alterStatementSuffixTouch(): AlterStatementSuffixTouchContext | undefined;
@@ -4624,11 +4698,11 @@ export declare class AlterDatabaseStatementSuffixContext extends ParserRuleConte
4624
4698
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
4625
4699
  }
4626
4700
  export declare class AlterDatabaseSuffixPropertiesContext extends ParserRuleContext {
4627
- _name: Id_Context;
4701
+ _name: DbSchemaNameContext;
4628
4702
  KW_SET(): TerminalNode;
4629
4703
  KW_DBPROPERTIES(): TerminalNode;
4630
4704
  dbProperties(): DbPropertiesContext;
4631
- id_(): Id_Context;
4705
+ dbSchemaName(): DbSchemaNameContext;
4632
4706
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
4633
4707
  get ruleIndex(): number;
4634
4708
  enterRule(listener: HiveSqlParserListener): void;
@@ -4636,11 +4710,11 @@ export declare class AlterDatabaseSuffixPropertiesContext extends ParserRuleCont
4636
4710
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
4637
4711
  }
4638
4712
  export declare class AlterDatabaseSuffixSetOwnerContext extends ParserRuleContext {
4639
- _dbName: Id_Context;
4713
+ _dbName: DbSchemaNameContext;
4640
4714
  KW_SET(): TerminalNode;
4641
4715
  KW_OWNER(): TerminalNode;
4642
- principalName(): PrincipalNameContext;
4643
- id_(): Id_Context;
4716
+ principalAlterName(): PrincipalAlterNameContext;
4717
+ dbSchemaName(): DbSchemaNameContext;
4644
4718
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
4645
4719
  get ruleIndex(): number;
4646
4720
  enterRule(listener: HiveSqlParserListener): void;
@@ -4648,10 +4722,10 @@ export declare class AlterDatabaseSuffixSetOwnerContext extends ParserRuleContex
4648
4722
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
4649
4723
  }
4650
4724
  export declare class AlterDatabaseSuffixSetLocationContext extends ParserRuleContext {
4651
- _dbName: Id_Context;
4725
+ _dbName: DbSchemaNameContext;
4652
4726
  _newLocation: Token;
4653
4727
  KW_SET(): TerminalNode;
4654
- id_(): Id_Context;
4728
+ dbSchemaName(): DbSchemaNameContext;
4655
4729
  KW_LOCATION(): TerminalNode | undefined;
4656
4730
  KW_MANAGEDLOCATION(): TerminalNode | undefined;
4657
4731
  StringLiteral(): TerminalNode;
@@ -4662,11 +4736,11 @@ export declare class AlterDatabaseSuffixSetLocationContext extends ParserRuleCon
4662
4736
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
4663
4737
  }
4664
4738
  export declare class AlterDatabaseSuffixSetManagedLocationContext extends ParserRuleContext {
4665
- _dbName: Id_Context;
4739
+ _dbName: DbSchemaNameContext;
4666
4740
  _newLocation: Token;
4667
4741
  KW_SET(): TerminalNode;
4668
4742
  KW_MANAGEDLOCATION(): TerminalNode;
4669
- id_(): Id_Context;
4743
+ dbSchemaName(): DbSchemaNameContext;
4670
4744
  StringLiteral(): TerminalNode;
4671
4745
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
4672
4746
  get ruleIndex(): number;
@@ -4677,7 +4751,7 @@ export declare class AlterDatabaseSuffixSetManagedLocationContext extends Parser
4677
4751
  export declare class AlterStatementSuffixRenameContext extends ParserRuleContext {
4678
4752
  KW_RENAME(): TerminalNode;
4679
4753
  KW_TO(): TerminalNode;
4680
- tableName(): TableNameContext;
4754
+ tableNameCreate(): TableNameCreateContext;
4681
4755
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
4682
4756
  get ruleIndex(): number;
4683
4757
  enterRule(listener: HiveSqlParserListener): void;
@@ -4864,6 +4938,15 @@ export declare class PartitionLocationContext extends ParserRuleContext {
4864
4938
  exitRule(listener: HiveSqlParserListener): void;
4865
4939
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
4866
4940
  }
4941
+ export declare class AlterStatementSuffixRecoverPartitionsContext extends ParserRuleContext {
4942
+ KW_RECOVER(): TerminalNode;
4943
+ KW_PARTITIONS(): TerminalNode;
4944
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
4945
+ get ruleIndex(): number;
4946
+ enterRule(listener: HiveSqlParserListener): void;
4947
+ exitRule(listener: HiveSqlParserListener): void;
4948
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
4949
+ }
4867
4950
  export declare class AlterStatementSuffixDropPartitionsContext extends ParserRuleContext {
4868
4951
  KW_DROP(): TerminalNode;
4869
4952
  KW_PARTITION(): TerminalNode[];
@@ -4873,6 +4956,7 @@ export declare class AlterStatementSuffixDropPartitionsContext extends ParserRul
4873
4956
  ifExists(): IfExistsContext | undefined;
4874
4957
  COMMA(): TerminalNode[];
4875
4958
  COMMA(i: number): TerminalNode;
4959
+ dropPartitionsIgnoreClause(): DropPartitionsIgnoreClauseContext | undefined;
4876
4960
  KW_PURGE(): TerminalNode | undefined;
4877
4961
  replicationClause(): ReplicationClauseContext | undefined;
4878
4962
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -5199,11 +5283,11 @@ export declare class AlterDataConnectorStatementSuffixContext extends ParserRule
5199
5283
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
5200
5284
  }
5201
5285
  export declare class AlterDataConnectorSuffixPropertiesContext extends ParserRuleContext {
5202
- _name: Id_Context;
5286
+ _name: DbSchemaNameContext;
5203
5287
  KW_SET(): TerminalNode;
5204
5288
  KW_DCPROPERTIES(): TerminalNode;
5205
5289
  dcProperties(): DcPropertiesContext;
5206
- id_(): Id_Context;
5290
+ dbSchemaName(): DbSchemaNameContext;
5207
5291
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
5208
5292
  get ruleIndex(): number;
5209
5293
  enterRule(listener: HiveSqlParserListener): void;
@@ -5211,11 +5295,11 @@ export declare class AlterDataConnectorSuffixPropertiesContext extends ParserRul
5211
5295
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
5212
5296
  }
5213
5297
  export declare class AlterDataConnectorSuffixSetOwnerContext extends ParserRuleContext {
5214
- _dcName: Id_Context;
5298
+ _dcName: DbSchemaNameContext;
5215
5299
  KW_SET(): TerminalNode;
5216
5300
  KW_OWNER(): TerminalNode;
5217
- principalName(): PrincipalNameContext;
5218
- id_(): Id_Context;
5301
+ principalAlterName(): PrincipalAlterNameContext;
5302
+ dbSchemaName(): DbSchemaNameContext;
5219
5303
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
5220
5304
  get ruleIndex(): number;
5221
5305
  enterRule(listener: HiveSqlParserListener): void;
@@ -5223,11 +5307,11 @@ export declare class AlterDataConnectorSuffixSetOwnerContext extends ParserRuleC
5223
5307
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
5224
5308
  }
5225
5309
  export declare class AlterDataConnectorSuffixSetUrlContext extends ParserRuleContext {
5226
- _dcName: Id_Context;
5310
+ _dcName: DbSchemaNameContext;
5227
5311
  _newUri: Token;
5228
5312
  KW_SET(): TerminalNode;
5229
5313
  KW_URL(): TerminalNode;
5230
- id_(): Id_Context;
5314
+ dbSchemaName(): DbSchemaNameContext;
5231
5315
  StringLiteral(): TerminalNode;
5232
5316
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
5233
5317
  get ruleIndex(): number;
@@ -5254,11 +5338,11 @@ export declare class CreateTableStatementContext extends ParserRuleContext {
5254
5338
  _temp: Token;
5255
5339
  _trans: Token;
5256
5340
  _ext: Token;
5257
- _name: TableNameContext;
5341
+ _name: TableNameCreateContext;
5258
5342
  _mgd: Token;
5259
5343
  KW_CREATE(): TerminalNode;
5260
5344
  KW_TABLE(): TerminalNode;
5261
- tableName(): TableNameContext;
5345
+ tableNameCreate(): TableNameCreateContext;
5262
5346
  likeTableOrFile(): LikeTableOrFileContext | undefined;
5263
5347
  ifNotExists(): IfNotExistsContext | undefined;
5264
5348
  KW_TEMPORARY(): TerminalNode | undefined;
@@ -5289,10 +5373,10 @@ export declare class CreateDataConnectorStatementContext extends ParserRuleConte
5289
5373
  _dcprops: DcPropertiesContext;
5290
5374
  KW_CREATE(): TerminalNode;
5291
5375
  KW_DATACONNECTOR(): TerminalNode;
5292
- dataConnectorType(): DataConnectorTypeContext;
5293
- dataConnectorUrl(): DataConnectorUrlContext;
5294
5376
  id_(): Id_Context;
5295
5377
  ifNotExists(): IfNotExistsContext | undefined;
5378
+ dataConnectorType(): DataConnectorTypeContext | undefined;
5379
+ dataConnectorUrl(): DataConnectorUrlContext | undefined;
5296
5380
  dataConnectorComment(): DataConnectorCommentContext | undefined;
5297
5381
  KW_WITH(): TerminalNode | undefined;
5298
5382
  KW_DCPROPERTIES(): TerminalNode | undefined;
@@ -5356,7 +5440,7 @@ export declare class DropDataConnectorStatementContext extends ParserRuleContext
5356
5440
  }
5357
5441
  export declare class TableAllColumnsContext extends ParserRuleContext {
5358
5442
  STAR(): TerminalNode;
5359
- tableName(): TableNameContext | undefined;
5443
+ tableOrView(): TableOrViewContext | undefined;
5360
5444
  DOT(): TerminalNode | undefined;
5361
5445
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
5362
5446
  get ruleIndex(): number;
@@ -5597,12 +5681,12 @@ export declare class TableSampleContext extends ParserRuleContext {
5597
5681
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
5598
5682
  }
5599
5683
  export declare class TableSourceContext extends ParserRuleContext {
5600
- _tabname: TableNameContext;
5684
+ _tabname: TableOrViewContext;
5601
5685
  _props: TablePropertiesContext;
5602
5686
  _ts: TableSampleContext;
5603
5687
  _asOf: AsOfClauseContext;
5604
5688
  _alias: Id_Context;
5605
- tableName(): TableNameContext;
5689
+ tableOrView(): TableOrViewContext;
5606
5690
  tableProperties(): TablePropertiesContext | undefined;
5607
5691
  tableSample(): TableSampleContext | undefined;
5608
5692
  asOfClause(): AsOfClauseContext | undefined;
@@ -5632,10 +5716,10 @@ export declare class AsOfClauseContext extends ParserRuleContext {
5632
5716
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
5633
5717
  }
5634
5718
  export declare class UniqueJoinTableSourceContext extends ParserRuleContext {
5635
- _tabname: TableNameContext;
5719
+ _tabname: TableOrViewContext;
5636
5720
  _ts: TableSampleContext;
5637
5721
  _alias: Id_Context;
5638
- tableName(): TableNameContext;
5722
+ tableOrView(): TableOrViewContext;
5639
5723
  tableSample(): TableSampleContext | undefined;
5640
5724
  id_(): Id_Context | undefined;
5641
5725
  KW_AS(): TerminalNode | undefined;
@@ -5645,6 +5729,31 @@ export declare class UniqueJoinTableSourceContext extends ParserRuleContext {
5645
5729
  exitRule(listener: HiveSqlParserListener): void;
5646
5730
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
5647
5731
  }
5732
+ export declare class DbSchemaNameContext extends ParserRuleContext {
5733
+ id_(): Id_Context;
5734
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
5735
+ get ruleIndex(): number;
5736
+ enterRule(listener: HiveSqlParserListener): void;
5737
+ exitRule(listener: HiveSqlParserListener): void;
5738
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
5739
+ }
5740
+ export declare class DbSchemaNameCreateContext extends ParserRuleContext {
5741
+ id_(): Id_Context;
5742
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
5743
+ get ruleIndex(): number;
5744
+ enterRule(listener: HiveSqlParserListener): void;
5745
+ exitRule(listener: HiveSqlParserListener): void;
5746
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
5747
+ }
5748
+ export declare class TableOrViewContext extends ParserRuleContext {
5749
+ tableName(): TableNameContext | undefined;
5750
+ viewName(): ViewNameContext | undefined;
5751
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
5752
+ get ruleIndex(): number;
5753
+ enterRule(listener: HiveSqlParserListener): void;
5754
+ exitRule(listener: HiveSqlParserListener): void;
5755
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
5756
+ }
5648
5757
  export declare class TableNameContext extends ParserRuleContext {
5649
5758
  _db: Id_Context;
5650
5759
  _tab: Id_Context;
@@ -5659,6 +5768,20 @@ export declare class TableNameContext extends ParserRuleContext {
5659
5768
  exitRule(listener: HiveSqlParserListener): void;
5660
5769
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
5661
5770
  }
5771
+ export declare class TableNameCreateContext extends ParserRuleContext {
5772
+ _db: Id_Context;
5773
+ _tab: Id_Context;
5774
+ _meta: Id_Context;
5775
+ DOT(): TerminalNode[];
5776
+ DOT(i: number): TerminalNode;
5777
+ id_(): Id_Context[];
5778
+ id_(i: number): Id_Context;
5779
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
5780
+ get ruleIndex(): number;
5781
+ enterRule(listener: HiveSqlParserListener): void;
5782
+ exitRule(listener: HiveSqlParserListener): void;
5783
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
5784
+ }
5662
5785
  export declare class ViewNameContext extends ParserRuleContext {
5663
5786
  _db: Id_Context;
5664
5787
  _view: Id_Context;
@@ -5671,6 +5794,18 @@ export declare class ViewNameContext extends ParserRuleContext {
5671
5794
  exitRule(listener: HiveSqlParserListener): void;
5672
5795
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
5673
5796
  }
5797
+ export declare class ViewNameCreateContext extends ParserRuleContext {
5798
+ _db: Id_Context;
5799
+ _view: Id_Context;
5800
+ id_(): Id_Context[];
5801
+ id_(i: number): Id_Context;
5802
+ DOT(): TerminalNode | undefined;
5803
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
5804
+ get ruleIndex(): number;
5805
+ enterRule(listener: HiveSqlParserListener): void;
5806
+ exitRule(listener: HiveSqlParserListener): void;
5807
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
5808
+ }
5674
5809
  export declare class SubQuerySourceContext extends ParserRuleContext {
5675
5810
  LPAREN(): TerminalNode;
5676
5811
  queryStatementExpression(): QueryStatementExpressionContext;
@@ -6328,7 +6463,7 @@ export declare class Function_Context extends ParserRuleContext {
6328
6463
  _nt: Null_treatmentContext;
6329
6464
  _ws: Window_specificationContext;
6330
6465
  trimFunction(): TrimFunctionContext | undefined;
6331
- functionName(): FunctionNameContext | undefined;
6466
+ functionNameForInvoke(): FunctionNameForInvokeContext | undefined;
6332
6467
  LPAREN(): TerminalNode[];
6333
6468
  LPAREN(i: number): TerminalNode;
6334
6469
  RPAREN(): TerminalNode[];
@@ -6361,9 +6496,43 @@ export declare class Null_treatmentContext extends ParserRuleContext {
6361
6496
  exitRule(listener: HiveSqlParserListener): void;
6362
6497
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
6363
6498
  }
6364
- export declare class FunctionNameContext extends ParserRuleContext {
6365
- functionIdentifier(): FunctionIdentifierContext | undefined;
6499
+ export declare class FunctionNameCreateContext extends ParserRuleContext {
6500
+ functionIdentifier(): FunctionIdentifierContext;
6501
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
6502
+ get ruleIndex(): number;
6503
+ enterRule(listener: HiveSqlParserListener): void;
6504
+ exitRule(listener: HiveSqlParserListener): void;
6505
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
6506
+ }
6507
+ export declare class FunctionNameForDDLContext extends ParserRuleContext {
6508
+ userDefinedFuncName(): UserDefinedFuncNameContext | undefined;
6509
+ StringLiteral(): TerminalNode | undefined;
6510
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
6511
+ get ruleIndex(): number;
6512
+ enterRule(listener: HiveSqlParserListener): void;
6513
+ exitRule(listener: HiveSqlParserListener): void;
6514
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
6515
+ }
6516
+ export declare class FunctionNameForInvokeContext extends ParserRuleContext {
6517
+ userDefinedFuncName(): UserDefinedFuncNameContext | undefined;
6518
+ internalFunctionName(): InternalFunctionNameContext | undefined;
6519
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
6520
+ get ruleIndex(): number;
6521
+ enterRule(listener: HiveSqlParserListener): void;
6522
+ exitRule(listener: HiveSqlParserListener): void;
6523
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
6524
+ }
6525
+ export declare class UserDefinedFuncNameContext extends ParserRuleContext {
6526
+ functionIdentifier(): FunctionIdentifierContext;
6527
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
6528
+ get ruleIndex(): number;
6529
+ enterRule(listener: HiveSqlParserListener): void;
6530
+ exitRule(listener: HiveSqlParserListener): void;
6531
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
6532
+ }
6533
+ export declare class InternalFunctionNameContext extends ParserRuleContext {
6366
6534
  sql11ReservedKeywordsUsedAsFunctionName(): Sql11ReservedKeywordsUsedAsFunctionNameContext | undefined;
6535
+ sysFuncNames(): SysFuncNamesContext | undefined;
6367
6536
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
6368
6537
  get ruleIndex(): number;
6369
6538
  enterRule(listener: HiveSqlParserListener): void;
@@ -6434,14 +6603,14 @@ export declare class FloorExpressionContext extends ParserRuleContext {
6434
6603
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
6435
6604
  }
6436
6605
  export declare class FloorDateQualifiersContext extends ParserRuleContext {
6437
- KW_YEAR(): TerminalNode | undefined;
6606
+ year(): YearContext | undefined;
6438
6607
  KW_QUARTER(): TerminalNode | undefined;
6439
- KW_MONTH(): TerminalNode | undefined;
6440
- KW_WEEK(): TerminalNode | undefined;
6441
- KW_DAY(): TerminalNode | undefined;
6442
- KW_HOUR(): TerminalNode | undefined;
6443
- KW_MINUTE(): TerminalNode | undefined;
6444
- KW_SECOND(): TerminalNode | undefined;
6608
+ month(): MonthContext | undefined;
6609
+ week(): WeekContext | undefined;
6610
+ day(): DayContext | undefined;
6611
+ hour(): HourContext | undefined;
6612
+ minute(): MinuteContext | undefined;
6613
+ second(): SecondContext | undefined;
6445
6614
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
6446
6615
  get ruleIndex(): number;
6447
6616
  enterRule(listener: HiveSqlParserListener): void;
@@ -6463,14 +6632,14 @@ export declare class ExtractExpressionContext extends ParserRuleContext {
6463
6632
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
6464
6633
  }
6465
6634
  export declare class TimeQualifiersContext extends ParserRuleContext {
6466
- KW_YEAR(): TerminalNode | undefined;
6635
+ year(): YearContext | undefined;
6467
6636
  KW_QUARTER(): TerminalNode | undefined;
6468
- KW_MONTH(): TerminalNode | undefined;
6469
- KW_WEEK(): TerminalNode | undefined;
6470
- KW_DAY(): TerminalNode | undefined;
6471
- KW_HOUR(): TerminalNode | undefined;
6472
- KW_MINUTE(): TerminalNode | undefined;
6473
- KW_SECOND(): TerminalNode | undefined;
6637
+ month(): MonthContext | undefined;
6638
+ week(): WeekContext | undefined;
6639
+ day(): DayContext | undefined;
6640
+ hour(): HourContext | undefined;
6641
+ minute(): MinuteContext | undefined;
6642
+ second(): SecondContext | undefined;
6474
6643
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
6475
6644
  get ruleIndex(): number;
6476
6645
  enterRule(listener: HiveSqlParserListener): void;
@@ -6600,13 +6769,13 @@ export declare class IntervalExpressionContext extends ParserRuleContext {
6600
6769
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
6601
6770
  }
6602
6771
  export declare class IntervalQualifiersContext extends ParserRuleContext {
6603
- KW_YEAR(): TerminalNode | undefined;
6772
+ year(): YearContext | undefined;
6604
6773
  KW_TO(): TerminalNode | undefined;
6605
- KW_MONTH(): TerminalNode | undefined;
6606
- KW_DAY(): TerminalNode | undefined;
6607
- KW_SECOND(): TerminalNode | undefined;
6608
- KW_HOUR(): TerminalNode | undefined;
6609
- KW_MINUTE(): TerminalNode | undefined;
6774
+ month(): MonthContext | undefined;
6775
+ day(): DayContext | undefined;
6776
+ second(): SecondContext | undefined;
6777
+ hour(): HourContext | undefined;
6778
+ minute(): MinuteContext | undefined;
6610
6779
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
6611
6780
  get ruleIndex(): number;
6612
6781
  enterRule(listener: HiveSqlParserListener): void;
@@ -6661,6 +6830,7 @@ export declare class PrecedenceUnaryOperatorContext extends ParserRuleContext {
6661
6830
  PLUS(): TerminalNode | undefined;
6662
6831
  MINUS(): TerminalNode | undefined;
6663
6832
  TILDE(): TerminalNode | undefined;
6833
+ BITWISENOT(): TerminalNode | undefined;
6664
6834
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
6665
6835
  get ruleIndex(): number;
6666
6836
  enterRule(listener: HiveSqlParserListener): void;
@@ -7154,6 +7324,7 @@ export declare class SysFuncNamesContext extends ParserRuleContext {
7154
7324
  KW_TINYINT(): TerminalNode | undefined;
7155
7325
  KW_SMALLINT(): TerminalNode | undefined;
7156
7326
  KW_INT(): TerminalNode | undefined;
7327
+ KW_INTEGER(): TerminalNode | undefined;
7157
7328
  KW_BIGINT(): TerminalNode | undefined;
7158
7329
  KW_FLOAT(): TerminalNode | undefined;
7159
7330
  KW_REAL(): TerminalNode | undefined;
@@ -7192,16 +7363,6 @@ export declare class SysFuncNamesContext extends ParserRuleContext {
7192
7363
  exitRule(listener: HiveSqlParserListener): void;
7193
7364
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
7194
7365
  }
7195
- export declare class DescFuncNamesContext extends ParserRuleContext {
7196
- sysFuncNames(): SysFuncNamesContext | undefined;
7197
- StringLiteral(): TerminalNode | undefined;
7198
- functionIdentifier(): FunctionIdentifierContext | undefined;
7199
- constructor(parent: ParserRuleContext | undefined, invokingState: number);
7200
- get ruleIndex(): number;
7201
- enterRule(listener: HiveSqlParserListener): void;
7202
- exitRule(listener: HiveSqlParserListener): void;
7203
- accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
7204
- }
7205
7366
  export declare class Id_Context extends ParserRuleContext {
7206
7367
  Identifier(): TerminalNode | undefined;
7207
7368
  nonReserved(): NonReservedContext | undefined;
@@ -7270,6 +7431,7 @@ export declare class NonReservedContext extends ParserRuleContext {
7270
7431
  KW_DATABASES(): TerminalNode | undefined;
7271
7432
  KW_DATETIME(): TerminalNode | undefined;
7272
7433
  KW_DAY(): TerminalNode | undefined;
7434
+ KW_DAYS(): TerminalNode | undefined;
7273
7435
  KW_DAYOFWEEK(): TerminalNode | undefined;
7274
7436
  KW_DBPROPERTIES(): TerminalNode | undefined;
7275
7437
  KW_DCPROPERTIES(): TerminalNode | undefined;
@@ -7284,12 +7446,14 @@ export declare class NonReservedContext extends ParserRuleContext {
7284
7446
  KW_DIRECTORIES(): TerminalNode | undefined;
7285
7447
  KW_DIRECTORY(): TerminalNode | undefined;
7286
7448
  KW_DISABLE(): TerminalNode | undefined;
7449
+ KW_DISABLED(): TerminalNode | undefined;
7287
7450
  KW_DISTRIBUTE(): TerminalNode | undefined;
7288
7451
  KW_DISTRIBUTED(): TerminalNode | undefined;
7289
7452
  KW_DO(): TerminalNode | undefined;
7290
7453
  KW_DUMP(): TerminalNode | undefined;
7291
7454
  KW_ELEM_TYPE(): TerminalNode | undefined;
7292
7455
  KW_ENABLE(): TerminalNode | undefined;
7456
+ KW_ENABLED(): TerminalNode | undefined;
7293
7457
  KW_ENFORCED(): TerminalNode | undefined;
7294
7458
  KW_ESCAPED(): TerminalNode | undefined;
7295
7459
  KW_EVERY(): TerminalNode | undefined;
@@ -7309,6 +7473,7 @@ export declare class NonReservedContext extends ParserRuleContext {
7309
7473
  KW_FUNCTIONS(): TerminalNode | undefined;
7310
7474
  KW_HOLD_DDLTIME(): TerminalNode | undefined;
7311
7475
  KW_HOUR(): TerminalNode | undefined;
7476
+ KW_HOURS(): TerminalNode | undefined;
7312
7477
  KW_IDXPROPERTIES(): TerminalNode | undefined;
7313
7478
  KW_IGNORE(): TerminalNode | undefined;
7314
7479
  KW_INDEX(): TerminalNode | undefined;
@@ -7343,7 +7508,9 @@ export declare class NonReservedContext extends ParserRuleContext {
7343
7508
  KW_MATERIALIZED(): TerminalNode | undefined;
7344
7509
  KW_METADATA(): TerminalNode | undefined;
7345
7510
  KW_MINUTE(): TerminalNode | undefined;
7511
+ KW_MINUTES(): TerminalNode | undefined;
7346
7512
  KW_MONTH(): TerminalNode | undefined;
7513
+ KW_MONTHS(): TerminalNode | undefined;
7347
7514
  KW_MOVE(): TerminalNode | undefined;
7348
7515
  KW_MSCK(): TerminalNode | undefined;
7349
7516
  KW_NORELY(): TerminalNode | undefined;
@@ -7397,6 +7564,7 @@ export declare class NonReservedContext extends ParserRuleContext {
7397
7564
  KW_SCHEMA(): TerminalNode | undefined;
7398
7565
  KW_SCHEMAS(): TerminalNode | undefined;
7399
7566
  KW_SECOND(): TerminalNode | undefined;
7567
+ KW_SECONDS(): TerminalNode | undefined;
7400
7568
  KW_SEMI(): TerminalNode | undefined;
7401
7569
  KW_SERDE(): TerminalNode | undefined;
7402
7570
  KW_SERDEPROPERTIES(): TerminalNode | undefined;
@@ -7453,12 +7621,14 @@ export declare class NonReservedContext extends ParserRuleContext {
7453
7621
  KW_VIEWS(): TerminalNode | undefined;
7454
7622
  KW_WAIT(): TerminalNode | undefined;
7455
7623
  KW_WEEK(): TerminalNode | undefined;
7624
+ KW_WEEKS(): TerminalNode | undefined;
7456
7625
  KW_WHILE(): TerminalNode | undefined;
7457
7626
  KW_WITHIN(): TerminalNode | undefined;
7458
7627
  KW_WORK(): TerminalNode | undefined;
7459
7628
  KW_WORKLOAD(): TerminalNode | undefined;
7460
7629
  KW_WRITE(): TerminalNode | undefined;
7461
7630
  KW_YEAR(): TerminalNode | undefined;
7631
+ KW_YEARS(): TerminalNode | undefined;
7462
7632
  KW_ZONE(): TerminalNode | undefined;
7463
7633
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
7464
7634
  get ruleIndex(): number;
@@ -7479,6 +7649,7 @@ export declare class Sql11ReservedKeywordsUsedAsFunctionNameContext extends Pars
7479
7649
  KW_GROUPING(): TerminalNode | undefined;
7480
7650
  KW_IF(): TerminalNode | undefined;
7481
7651
  KW_INT(): TerminalNode | undefined;
7652
+ KW_INTEGER(): TerminalNode | undefined;
7482
7653
  KW_MAP(): TerminalNode | undefined;
7483
7654
  KW_REAL(): TerminalNode | undefined;
7484
7655
  KW_SMALLINT(): TerminalNode | undefined;
@@ -7689,7 +7860,8 @@ export declare class ActivateContext extends ParserRuleContext {
7689
7860
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
7690
7861
  }
7691
7862
  export declare class EnableContext extends ParserRuleContext {
7692
- KW_ENABLE(): TerminalNode;
7863
+ KW_ENABLE(): TerminalNode | undefined;
7864
+ KW_ENABLED(): TerminalNode | undefined;
7693
7865
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
7694
7866
  get ruleIndex(): number;
7695
7867
  enterRule(listener: HiveSqlParserListener): void;
@@ -7697,7 +7869,8 @@ export declare class EnableContext extends ParserRuleContext {
7697
7869
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
7698
7870
  }
7699
7871
  export declare class DisableContext extends ParserRuleContext {
7700
- KW_DISABLE(): TerminalNode;
7872
+ KW_DISABLE(): TerminalNode | undefined;
7873
+ KW_DISABLED(): TerminalNode | undefined;
7701
7874
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
7702
7875
  get ruleIndex(): number;
7703
7876
  enterRule(listener: HiveSqlParserListener): void;
@@ -7712,6 +7885,79 @@ export declare class UnmanagedContext extends ParserRuleContext {
7712
7885
  exitRule(listener: HiveSqlParserListener): void;
7713
7886
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
7714
7887
  }
7888
+ export declare class YearContext extends ParserRuleContext {
7889
+ KW_YEAR(): TerminalNode | undefined;
7890
+ KW_YEARS(): TerminalNode | undefined;
7891
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
7892
+ get ruleIndex(): number;
7893
+ enterRule(listener: HiveSqlParserListener): void;
7894
+ exitRule(listener: HiveSqlParserListener): void;
7895
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
7896
+ }
7897
+ export declare class MonthContext extends ParserRuleContext {
7898
+ KW_MONTH(): TerminalNode | undefined;
7899
+ KW_MONTHS(): TerminalNode | undefined;
7900
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
7901
+ get ruleIndex(): number;
7902
+ enterRule(listener: HiveSqlParserListener): void;
7903
+ exitRule(listener: HiveSqlParserListener): void;
7904
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
7905
+ }
7906
+ export declare class WeekContext extends ParserRuleContext {
7907
+ KW_WEEK(): TerminalNode | undefined;
7908
+ KW_WEEKS(): TerminalNode | undefined;
7909
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
7910
+ get ruleIndex(): number;
7911
+ enterRule(listener: HiveSqlParserListener): void;
7912
+ exitRule(listener: HiveSqlParserListener): void;
7913
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
7914
+ }
7915
+ export declare class DayContext extends ParserRuleContext {
7916
+ KW_DAY(): TerminalNode | undefined;
7917
+ KW_DAYS(): TerminalNode | undefined;
7918
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
7919
+ get ruleIndex(): number;
7920
+ enterRule(listener: HiveSqlParserListener): void;
7921
+ exitRule(listener: HiveSqlParserListener): void;
7922
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
7923
+ }
7924
+ export declare class HourContext extends ParserRuleContext {
7925
+ KW_HOUR(): TerminalNode | undefined;
7926
+ KW_HOURS(): TerminalNode | undefined;
7927
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
7928
+ get ruleIndex(): number;
7929
+ enterRule(listener: HiveSqlParserListener): void;
7930
+ exitRule(listener: HiveSqlParserListener): void;
7931
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
7932
+ }
7933
+ export declare class MinuteContext extends ParserRuleContext {
7934
+ KW_MINUTE(): TerminalNode | undefined;
7935
+ KW_MINUTES(): TerminalNode | undefined;
7936
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
7937
+ get ruleIndex(): number;
7938
+ enterRule(listener: HiveSqlParserListener): void;
7939
+ exitRule(listener: HiveSqlParserListener): void;
7940
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
7941
+ }
7942
+ export declare class SecondContext extends ParserRuleContext {
7943
+ KW_SECOND(): TerminalNode | undefined;
7944
+ KW_SECONDS(): TerminalNode | undefined;
7945
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
7946
+ get ruleIndex(): number;
7947
+ enterRule(listener: HiveSqlParserListener): void;
7948
+ exitRule(listener: HiveSqlParserListener): void;
7949
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
7950
+ }
7951
+ export declare class DecimalContext extends ParserRuleContext {
7952
+ KW_DEC(): TerminalNode | undefined;
7953
+ KW_DECIMAL(): TerminalNode | undefined;
7954
+ KW_NUMERIC(): TerminalNode | undefined;
7955
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
7956
+ get ruleIndex(): number;
7957
+ enterRule(listener: HiveSqlParserListener): void;
7958
+ exitRule(listener: HiveSqlParserListener): void;
7959
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result;
7960
+ }
7715
7961
  export declare class AlterResourcePlanStatementContext extends ParserRuleContext {
7716
7962
  _name: Id_Context;
7717
7963
  _newName: Id_Context;
@@ -7721,7 +7967,7 @@ export declare class AlterResourcePlanStatementContext extends ParserRuleContext
7721
7967
  id_(): Id_Context[];
7722
7968
  id_(i: number): Id_Context;
7723
7969
  KW_VALIDATE(): TerminalNode | undefined;
7724
- KW_DISABLE(): TerminalNode | undefined;
7970
+ disable(): DisableContext | undefined;
7725
7971
  KW_SET(): TerminalNode | undefined;
7726
7972
  rpAssignList(): RpAssignListContext | undefined;
7727
7973
  KW_UNSET(): TerminalNode | undefined;
@@ -7739,8 +7985,8 @@ export declare class AlterResourcePlanStatementContext extends ParserRuleContext
7739
7985
  export declare class GlobalWmStatementContext extends ParserRuleContext {
7740
7986
  KW_WORKLOAD(): TerminalNode;
7741
7987
  KW_MANAGEMENT(): TerminalNode;
7742
- KW_ENABLE(): TerminalNode | undefined;
7743
- KW_DISABLE(): TerminalNode | undefined;
7988
+ enable(): EnableContext | undefined;
7989
+ disable(): DisableContext | undefined;
7744
7990
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
7745
7991
  get ruleIndex(): number;
7746
7992
  enterRule(listener: HiveSqlParserListener): void;