dt-sql-parser 4.0.0-beta.4.12 → 4.0.0-beta.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -0
- package/dist/lib/hive/HiveSqlLexer.d.ts +256 -255
- package/dist/lib/hive/HiveSqlLexer.js +1793 -1786
- package/dist/lib/hive/HiveSqlParser.d.ts +679 -665
- package/dist/lib/hive/HiveSqlParser.js +7366 -7264
- package/dist/lib/hive/HiveSqlParserListener.d.ts +11 -0
- package/dist/lib/hive/HiveSqlParserVisitor.d.ts +7 -0
- package/dist/lib/spark/SparkSqlLexer.d.ts +232 -231
- package/dist/lib/spark/SparkSqlLexer.js +1626 -1619
- package/dist/lib/spark/SparkSqlParser.d.ts +421 -404
- package/dist/lib/spark/SparkSqlParser.js +5311 -5215
- package/dist/lib/spark/SparkSqlParserListener.d.ts +11 -0
- package/dist/lib/spark/SparkSqlParserVisitor.d.ts +7 -0
- package/package.json +1 -1
|
@@ -165,237 +165,238 @@ export declare class SparkSqlParser extends SQLParserBase {
|
|
|
165
165
|
static readonly KW_LAZY = 159;
|
|
166
166
|
static readonly KW_LEADING = 160;
|
|
167
167
|
static readonly KW_LEFT = 161;
|
|
168
|
-
static readonly
|
|
169
|
-
static readonly
|
|
170
|
-
static readonly
|
|
171
|
-
static readonly
|
|
172
|
-
static readonly
|
|
173
|
-
static readonly
|
|
174
|
-
static readonly
|
|
175
|
-
static readonly
|
|
176
|
-
static readonly
|
|
177
|
-
static readonly
|
|
178
|
-
static readonly
|
|
179
|
-
static readonly
|
|
180
|
-
static readonly
|
|
181
|
-
static readonly
|
|
182
|
-
static readonly
|
|
183
|
-
static readonly
|
|
184
|
-
static readonly
|
|
185
|
-
static readonly
|
|
186
|
-
static readonly
|
|
187
|
-
static readonly
|
|
188
|
-
static readonly
|
|
189
|
-
static readonly
|
|
190
|
-
static readonly
|
|
191
|
-
static readonly
|
|
192
|
-
static readonly
|
|
193
|
-
static readonly
|
|
194
|
-
static readonly
|
|
195
|
-
static readonly
|
|
196
|
-
static readonly
|
|
197
|
-
static readonly
|
|
198
|
-
static readonly
|
|
199
|
-
static readonly
|
|
200
|
-
static readonly
|
|
201
|
-
static readonly
|
|
202
|
-
static readonly
|
|
203
|
-
static readonly
|
|
204
|
-
static readonly
|
|
205
|
-
static readonly
|
|
206
|
-
static readonly
|
|
207
|
-
static readonly
|
|
208
|
-
static readonly
|
|
209
|
-
static readonly
|
|
210
|
-
static readonly
|
|
211
|
-
static readonly
|
|
212
|
-
static readonly
|
|
213
|
-
static readonly
|
|
214
|
-
static readonly
|
|
215
|
-
static readonly
|
|
216
|
-
static readonly
|
|
217
|
-
static readonly
|
|
218
|
-
static readonly
|
|
219
|
-
static readonly
|
|
220
|
-
static readonly
|
|
221
|
-
static readonly
|
|
222
|
-
static readonly
|
|
223
|
-
static readonly
|
|
224
|
-
static readonly
|
|
225
|
-
static readonly
|
|
226
|
-
static readonly
|
|
227
|
-
static readonly
|
|
228
|
-
static readonly
|
|
229
|
-
static readonly
|
|
230
|
-
static readonly
|
|
231
|
-
static readonly
|
|
232
|
-
static readonly
|
|
233
|
-
static readonly
|
|
234
|
-
static readonly
|
|
235
|
-
static readonly
|
|
236
|
-
static readonly
|
|
237
|
-
static readonly
|
|
238
|
-
static readonly
|
|
239
|
-
static readonly
|
|
240
|
-
static readonly
|
|
241
|
-
static readonly
|
|
242
|
-
static readonly
|
|
243
|
-
static readonly
|
|
244
|
-
static readonly
|
|
245
|
-
static readonly
|
|
246
|
-
static readonly
|
|
247
|
-
static readonly
|
|
248
|
-
static readonly
|
|
249
|
-
static readonly
|
|
250
|
-
static readonly
|
|
251
|
-
static readonly
|
|
252
|
-
static readonly
|
|
253
|
-
static readonly
|
|
254
|
-
static readonly
|
|
255
|
-
static readonly
|
|
256
|
-
static readonly
|
|
257
|
-
static readonly
|
|
258
|
-
static readonly
|
|
259
|
-
static readonly
|
|
260
|
-
static readonly
|
|
261
|
-
static readonly
|
|
262
|
-
static readonly
|
|
263
|
-
static readonly
|
|
264
|
-
static readonly
|
|
265
|
-
static readonly
|
|
266
|
-
static readonly
|
|
267
|
-
static readonly
|
|
268
|
-
static readonly
|
|
269
|
-
static readonly
|
|
270
|
-
static readonly
|
|
271
|
-
static readonly
|
|
272
|
-
static readonly
|
|
273
|
-
static readonly
|
|
274
|
-
static readonly
|
|
275
|
-
static readonly
|
|
276
|
-
static readonly
|
|
277
|
-
static readonly
|
|
278
|
-
static readonly
|
|
279
|
-
static readonly
|
|
280
|
-
static readonly
|
|
281
|
-
static readonly
|
|
282
|
-
static readonly
|
|
283
|
-
static readonly
|
|
284
|
-
static readonly
|
|
285
|
-
static readonly
|
|
286
|
-
static readonly
|
|
287
|
-
static readonly
|
|
288
|
-
static readonly
|
|
289
|
-
static readonly
|
|
290
|
-
static readonly
|
|
291
|
-
static readonly
|
|
292
|
-
static readonly
|
|
293
|
-
static readonly
|
|
294
|
-
static readonly
|
|
295
|
-
static readonly
|
|
296
|
-
static readonly
|
|
297
|
-
static readonly
|
|
298
|
-
static readonly
|
|
299
|
-
static readonly
|
|
300
|
-
static readonly
|
|
301
|
-
static readonly
|
|
302
|
-
static readonly
|
|
303
|
-
static readonly
|
|
304
|
-
static readonly
|
|
305
|
-
static readonly
|
|
306
|
-
static readonly
|
|
307
|
-
static readonly
|
|
308
|
-
static readonly
|
|
309
|
-
static readonly
|
|
310
|
-
static readonly
|
|
311
|
-
static readonly
|
|
312
|
-
static readonly
|
|
313
|
-
static readonly
|
|
314
|
-
static readonly
|
|
315
|
-
static readonly
|
|
316
|
-
static readonly
|
|
317
|
-
static readonly
|
|
318
|
-
static readonly
|
|
319
|
-
static readonly
|
|
320
|
-
static readonly
|
|
321
|
-
static readonly
|
|
322
|
-
static readonly
|
|
323
|
-
static readonly
|
|
324
|
-
static readonly
|
|
325
|
-
static readonly
|
|
326
|
-
static readonly
|
|
327
|
-
static readonly
|
|
328
|
-
static readonly
|
|
329
|
-
static readonly
|
|
330
|
-
static readonly
|
|
331
|
-
static readonly
|
|
332
|
-
static readonly
|
|
333
|
-
static readonly
|
|
334
|
-
static readonly
|
|
335
|
-
static readonly
|
|
336
|
-
static readonly
|
|
337
|
-
static readonly
|
|
338
|
-
static readonly
|
|
339
|
-
static readonly
|
|
340
|
-
static readonly
|
|
341
|
-
static readonly
|
|
342
|
-
static readonly
|
|
343
|
-
static readonly
|
|
344
|
-
static readonly
|
|
345
|
-
static readonly
|
|
346
|
-
static readonly
|
|
347
|
-
static readonly
|
|
348
|
-
static readonly
|
|
349
|
-
static readonly
|
|
350
|
-
static readonly
|
|
351
|
-
static readonly
|
|
352
|
-
static readonly
|
|
353
|
-
static readonly
|
|
354
|
-
static readonly
|
|
355
|
-
static readonly
|
|
356
|
-
static readonly
|
|
357
|
-
static readonly
|
|
358
|
-
static readonly
|
|
359
|
-
static readonly
|
|
360
|
-
static readonly
|
|
361
|
-
static readonly
|
|
362
|
-
static readonly
|
|
363
|
-
static readonly
|
|
364
|
-
static readonly
|
|
365
|
-
static readonly
|
|
366
|
-
static readonly
|
|
367
|
-
static readonly
|
|
368
|
-
static readonly
|
|
369
|
-
static readonly
|
|
370
|
-
static readonly
|
|
371
|
-
static readonly
|
|
372
|
-
static readonly
|
|
373
|
-
static readonly
|
|
374
|
-
static readonly
|
|
375
|
-
static readonly
|
|
376
|
-
static readonly
|
|
377
|
-
static readonly
|
|
378
|
-
static readonly
|
|
379
|
-
static readonly
|
|
380
|
-
static readonly
|
|
381
|
-
static readonly
|
|
382
|
-
static readonly
|
|
383
|
-
static readonly
|
|
384
|
-
static readonly
|
|
385
|
-
static readonly
|
|
386
|
-
static readonly
|
|
387
|
-
static readonly
|
|
388
|
-
static readonly
|
|
389
|
-
static readonly
|
|
390
|
-
static readonly
|
|
391
|
-
static readonly
|
|
392
|
-
static readonly
|
|
393
|
-
static readonly
|
|
394
|
-
static readonly
|
|
395
|
-
static readonly
|
|
396
|
-
static readonly
|
|
397
|
-
static readonly
|
|
398
|
-
static readonly
|
|
168
|
+
static readonly KW_LIFECYCLE = 162;
|
|
169
|
+
static readonly KW_LIKE = 163;
|
|
170
|
+
static readonly KW_ILIKE = 164;
|
|
171
|
+
static readonly KW_LIMIT = 165;
|
|
172
|
+
static readonly KW_LINES = 166;
|
|
173
|
+
static readonly KW_LIST = 167;
|
|
174
|
+
static readonly KW_LOAD = 168;
|
|
175
|
+
static readonly KW_LOCAL = 169;
|
|
176
|
+
static readonly KW_LOCATION = 170;
|
|
177
|
+
static readonly KW_LOCK = 171;
|
|
178
|
+
static readonly KW_LOCKS = 172;
|
|
179
|
+
static readonly KW_LOGICAL = 173;
|
|
180
|
+
static readonly KW_LONG = 174;
|
|
181
|
+
static readonly KW_MACRO = 175;
|
|
182
|
+
static readonly KW_MATERIALIZED = 176;
|
|
183
|
+
static readonly KW_MAP = 177;
|
|
184
|
+
static readonly KW_MATCHED = 178;
|
|
185
|
+
static readonly KW_MERGE = 179;
|
|
186
|
+
static readonly KW_MICROSECOND = 180;
|
|
187
|
+
static readonly KW_MICROSECONDS = 181;
|
|
188
|
+
static readonly KW_MILLISECOND = 182;
|
|
189
|
+
static readonly KW_MILLISECONDS = 183;
|
|
190
|
+
static readonly KW_MINUTE = 184;
|
|
191
|
+
static readonly KW_MINUTES = 185;
|
|
192
|
+
static readonly KW_MONTH = 186;
|
|
193
|
+
static readonly KW_MONTHS = 187;
|
|
194
|
+
static readonly KW_MSCK = 188;
|
|
195
|
+
static readonly KW_NAME = 189;
|
|
196
|
+
static readonly KW_NAMESPACE = 190;
|
|
197
|
+
static readonly KW_NAMESPACES = 191;
|
|
198
|
+
static readonly KW_NANOSECOND = 192;
|
|
199
|
+
static readonly KW_NANOSECONDS = 193;
|
|
200
|
+
static readonly KW_NATURAL = 194;
|
|
201
|
+
static readonly KW_NO = 195;
|
|
202
|
+
static readonly KW_NOSCAN = 196;
|
|
203
|
+
static readonly KW_NOT = 197;
|
|
204
|
+
static readonly KW_NULL = 198;
|
|
205
|
+
static readonly KW_NULLS = 199;
|
|
206
|
+
static readonly KW_NUMERIC = 200;
|
|
207
|
+
static readonly KW_OF = 201;
|
|
208
|
+
static readonly KW_OFFSET = 202;
|
|
209
|
+
static readonly KW_ON = 203;
|
|
210
|
+
static readonly KW_ONLY = 204;
|
|
211
|
+
static readonly KW_OPTIMIZE = 205;
|
|
212
|
+
static readonly KW_OPTION = 206;
|
|
213
|
+
static readonly KW_OPTIONS = 207;
|
|
214
|
+
static readonly KW_OR = 208;
|
|
215
|
+
static readonly KW_ORDER = 209;
|
|
216
|
+
static readonly KW_OUT = 210;
|
|
217
|
+
static readonly KW_OUTER = 211;
|
|
218
|
+
static readonly KW_OUTPUTFORMAT = 212;
|
|
219
|
+
static readonly KW_OVER = 213;
|
|
220
|
+
static readonly KW_OVERLAPS = 214;
|
|
221
|
+
static readonly KW_OVERLAY = 215;
|
|
222
|
+
static readonly KW_OVERWRITE = 216;
|
|
223
|
+
static readonly KW_PARTITION = 217;
|
|
224
|
+
static readonly KW_PARTITIONED = 218;
|
|
225
|
+
static readonly KW_PARTITIONS = 219;
|
|
226
|
+
static readonly KW_PERCENTILE_CONT = 220;
|
|
227
|
+
static readonly KW_PERCENTILE_DISC = 221;
|
|
228
|
+
static readonly KW_PERCENTLIT = 222;
|
|
229
|
+
static readonly KW_PIVOT = 223;
|
|
230
|
+
static readonly KW_PLACING = 224;
|
|
231
|
+
static readonly KW_POSITION = 225;
|
|
232
|
+
static readonly KW_PRECEDING = 226;
|
|
233
|
+
static readonly KW_PRIMARY = 227;
|
|
234
|
+
static readonly KW_PRINCIPALS = 228;
|
|
235
|
+
static readonly KW_PROPERTIES = 229;
|
|
236
|
+
static readonly KW_PURGE = 230;
|
|
237
|
+
static readonly KW_QUARTER = 231;
|
|
238
|
+
static readonly KW_QUERY = 232;
|
|
239
|
+
static readonly KW_RANGE = 233;
|
|
240
|
+
static readonly KW_REAL = 234;
|
|
241
|
+
static readonly KW_RECORDREADER = 235;
|
|
242
|
+
static readonly KW_RECORDWRITER = 236;
|
|
243
|
+
static readonly KW_RECOVER = 237;
|
|
244
|
+
static readonly KW_REDUCE = 238;
|
|
245
|
+
static readonly KW_REFERENCES = 239;
|
|
246
|
+
static readonly KW_REFRESH = 240;
|
|
247
|
+
static readonly KW_RENAME = 241;
|
|
248
|
+
static readonly KW_REPAIR = 242;
|
|
249
|
+
static readonly KW_REPEATABLE = 243;
|
|
250
|
+
static readonly KW_REPLACE = 244;
|
|
251
|
+
static readonly KW_RESET = 245;
|
|
252
|
+
static readonly KW_RESPECT = 246;
|
|
253
|
+
static readonly KW_RESTRICT = 247;
|
|
254
|
+
static readonly KW_REWRITE = 248;
|
|
255
|
+
static readonly KW_REVOKE = 249;
|
|
256
|
+
static readonly KW_RIGHT = 250;
|
|
257
|
+
static readonly KW_RLIKE = 251;
|
|
258
|
+
static readonly KW_REGEXP = 252;
|
|
259
|
+
static readonly KW_ROLE = 253;
|
|
260
|
+
static readonly KW_ROLES = 254;
|
|
261
|
+
static readonly KW_ROLLBACK = 255;
|
|
262
|
+
static readonly KW_ROLLUP = 256;
|
|
263
|
+
static readonly KW_ROW = 257;
|
|
264
|
+
static readonly KW_ROWS = 258;
|
|
265
|
+
static readonly KW_SECOND = 259;
|
|
266
|
+
static readonly KW_SECONDS = 260;
|
|
267
|
+
static readonly KW_SCHEMA = 261;
|
|
268
|
+
static readonly KW_SCHEMAS = 262;
|
|
269
|
+
static readonly KW_SELECT = 263;
|
|
270
|
+
static readonly KW_SEMI = 264;
|
|
271
|
+
static readonly KW_SEPARATED = 265;
|
|
272
|
+
static readonly KW_SERDE = 266;
|
|
273
|
+
static readonly KW_SERDEPROPERTIES = 267;
|
|
274
|
+
static readonly KW_SESSION_USER = 268;
|
|
275
|
+
static readonly KW_SET = 269;
|
|
276
|
+
static readonly KW_MINUS = 270;
|
|
277
|
+
static readonly KW_SETS = 271;
|
|
278
|
+
static readonly KW_SHORT = 272;
|
|
279
|
+
static readonly KW_SHOW = 273;
|
|
280
|
+
static readonly KW_SINGLE = 274;
|
|
281
|
+
static readonly KW_SKEWED = 275;
|
|
282
|
+
static readonly KW_SMALLINT = 276;
|
|
283
|
+
static readonly KW_SOME = 277;
|
|
284
|
+
static readonly KW_SORT = 278;
|
|
285
|
+
static readonly KW_SORTED = 279;
|
|
286
|
+
static readonly KW_SOURCE = 280;
|
|
287
|
+
static readonly KW_START = 281;
|
|
288
|
+
static readonly KW_STATISTICS = 282;
|
|
289
|
+
static readonly KW_STORED = 283;
|
|
290
|
+
static readonly KW_STRATIFY = 284;
|
|
291
|
+
static readonly KW_STRING = 285;
|
|
292
|
+
static readonly KW_STRUCT = 286;
|
|
293
|
+
static readonly KW_SUBSTR = 287;
|
|
294
|
+
static readonly KW_SUBSTRING = 288;
|
|
295
|
+
static readonly KW_SYNC = 289;
|
|
296
|
+
static readonly KW_SYSTEM = 290;
|
|
297
|
+
static readonly KW_SYSTEM_TIME = 291;
|
|
298
|
+
static readonly KW_SYSTEM_VERSION = 292;
|
|
299
|
+
static readonly KW_TABLE = 293;
|
|
300
|
+
static readonly KW_TABLES = 294;
|
|
301
|
+
static readonly KW_TABLESAMPLE = 295;
|
|
302
|
+
static readonly KW_TARGET = 296;
|
|
303
|
+
static readonly KW_TBLPROPERTIES = 297;
|
|
304
|
+
static readonly KW_TEMPORARY = 298;
|
|
305
|
+
static readonly KW_TERMINATED = 299;
|
|
306
|
+
static readonly KW_THEN = 300;
|
|
307
|
+
static readonly KW_TIME = 301;
|
|
308
|
+
static readonly KW_TIMEDIFF = 302;
|
|
309
|
+
static readonly KW_TIMESTAMP = 303;
|
|
310
|
+
static readonly KW_TIMESTAMP_LTZ = 304;
|
|
311
|
+
static readonly KW_TIMESTAMP_NTZ = 305;
|
|
312
|
+
static readonly KW_TIMESTAMPADD = 306;
|
|
313
|
+
static readonly KW_TIMESTAMPDIFF = 307;
|
|
314
|
+
static readonly KW_TINYINT = 308;
|
|
315
|
+
static readonly KW_TO = 309;
|
|
316
|
+
static readonly KW_TOUCH = 310;
|
|
317
|
+
static readonly KW_TRAILING = 311;
|
|
318
|
+
static readonly KW_TRANSACTION = 312;
|
|
319
|
+
static readonly KW_TRANSACTIONS = 313;
|
|
320
|
+
static readonly KW_TRANSFORM = 314;
|
|
321
|
+
static readonly KW_TRIM = 315;
|
|
322
|
+
static readonly KW_TRUE = 316;
|
|
323
|
+
static readonly KW_TRUNCATE = 317;
|
|
324
|
+
static readonly KW_TRY_CAST = 318;
|
|
325
|
+
static readonly KW_TYPE = 319;
|
|
326
|
+
static readonly KW_UNARCHIVE = 320;
|
|
327
|
+
static readonly KW_UNBOUNDED = 321;
|
|
328
|
+
static readonly KW_UNCACHE = 322;
|
|
329
|
+
static readonly KW_UNION = 323;
|
|
330
|
+
static readonly KW_UNIQUE = 324;
|
|
331
|
+
static readonly KW_UNKNOWN = 325;
|
|
332
|
+
static readonly KW_UNLOCK = 326;
|
|
333
|
+
static readonly KW_UNPIVOT = 327;
|
|
334
|
+
static readonly KW_UNSET = 328;
|
|
335
|
+
static readonly KW_UPDATE = 329;
|
|
336
|
+
static readonly KW_USE = 330;
|
|
337
|
+
static readonly KW_USER = 331;
|
|
338
|
+
static readonly KW_USING = 332;
|
|
339
|
+
static readonly KW_VALUES = 333;
|
|
340
|
+
static readonly KW_VARCHAR = 334;
|
|
341
|
+
static readonly KW_VAR = 335;
|
|
342
|
+
static readonly KW_VARIABLE = 336;
|
|
343
|
+
static readonly KW_VERSION = 337;
|
|
344
|
+
static readonly KW_VIEW = 338;
|
|
345
|
+
static readonly KW_VIEWS = 339;
|
|
346
|
+
static readonly KW_VOID = 340;
|
|
347
|
+
static readonly KW_WEEK = 341;
|
|
348
|
+
static readonly KW_WEEKS = 342;
|
|
349
|
+
static readonly KW_WHEN = 343;
|
|
350
|
+
static readonly KW_WHERE = 344;
|
|
351
|
+
static readonly KW_WINDOW = 345;
|
|
352
|
+
static readonly KW_WITH = 346;
|
|
353
|
+
static readonly KW_WITHIN = 347;
|
|
354
|
+
static readonly KW_YEAR = 348;
|
|
355
|
+
static readonly KW_YEARS = 349;
|
|
356
|
+
static readonly KW_ZONE = 350;
|
|
357
|
+
static readonly KW_ZORDER = 351;
|
|
358
|
+
static readonly EQ = 352;
|
|
359
|
+
static readonly NSEQ = 353;
|
|
360
|
+
static readonly NEQ = 354;
|
|
361
|
+
static readonly NEQJ = 355;
|
|
362
|
+
static readonly LT = 356;
|
|
363
|
+
static readonly LTE = 357;
|
|
364
|
+
static readonly GT = 358;
|
|
365
|
+
static readonly GTE = 359;
|
|
366
|
+
static readonly NOT = 360;
|
|
367
|
+
static readonly PLUS = 361;
|
|
368
|
+
static readonly MINUS = 362;
|
|
369
|
+
static readonly ASTERISK = 363;
|
|
370
|
+
static readonly SLASH = 364;
|
|
371
|
+
static readonly PERCENT = 365;
|
|
372
|
+
static readonly TILDE = 366;
|
|
373
|
+
static readonly AMPERSAND = 367;
|
|
374
|
+
static readonly PIPE = 368;
|
|
375
|
+
static readonly CONCAT_PIPE = 369;
|
|
376
|
+
static readonly HAT = 370;
|
|
377
|
+
static readonly COLON = 371;
|
|
378
|
+
static readonly ARROW = 372;
|
|
379
|
+
static readonly FAT_ARROW = 373;
|
|
380
|
+
static readonly HENT_START = 374;
|
|
381
|
+
static readonly HENT_END = 375;
|
|
382
|
+
static readonly QUESTION = 376;
|
|
383
|
+
static readonly STRING_LITERAL = 377;
|
|
384
|
+
static readonly DOUBLEQUOTED_STRING = 378;
|
|
385
|
+
static readonly BIGINT_LITERAL = 379;
|
|
386
|
+
static readonly SMALLINT_LITERAL = 380;
|
|
387
|
+
static readonly TINYINT_LITERAL = 381;
|
|
388
|
+
static readonly INTEGER_VALUE = 382;
|
|
389
|
+
static readonly EXPONENT_VALUE = 383;
|
|
390
|
+
static readonly DECIMAL_VALUE = 384;
|
|
391
|
+
static readonly FLOAT_LITERAL = 385;
|
|
392
|
+
static readonly DOUBLE_LITERAL = 386;
|
|
393
|
+
static readonly BIGDECIMAL_LITERAL = 387;
|
|
394
|
+
static readonly IDENTIFIER = 388;
|
|
395
|
+
static readonly BACKQUOTED_IDENTIFIER = 389;
|
|
396
|
+
static readonly SIMPLE_COMMENT = 390;
|
|
397
|
+
static readonly BRACKETED_COMMENT = 391;
|
|
398
|
+
static readonly WS = 392;
|
|
399
|
+
static readonly UNRECOGNIZED = 393;
|
|
399
400
|
static readonly RULE_program = 0;
|
|
400
401
|
static readonly RULE_singleStatement = 1;
|
|
401
402
|
static readonly RULE_statement = 2;
|
|
@@ -422,179 +423,180 @@ export declare class SparkSqlParser extends SQLParserBase {
|
|
|
422
423
|
static readonly RULE_namedQuery = 23;
|
|
423
424
|
static readonly RULE_tableProvider = 24;
|
|
424
425
|
static readonly RULE_createTableClauses = 25;
|
|
425
|
-
static readonly
|
|
426
|
-
static readonly
|
|
427
|
-
static readonly
|
|
428
|
-
static readonly
|
|
429
|
-
static readonly
|
|
430
|
-
static readonly
|
|
431
|
-
static readonly
|
|
432
|
-
static readonly
|
|
433
|
-
static readonly
|
|
434
|
-
static readonly
|
|
435
|
-
static readonly
|
|
436
|
-
static readonly
|
|
437
|
-
static readonly
|
|
438
|
-
static readonly
|
|
439
|
-
static readonly
|
|
440
|
-
static readonly
|
|
441
|
-
static readonly
|
|
442
|
-
static readonly
|
|
443
|
-
static readonly
|
|
444
|
-
static readonly
|
|
445
|
-
static readonly
|
|
446
|
-
static readonly
|
|
447
|
-
static readonly
|
|
448
|
-
static readonly
|
|
449
|
-
static readonly
|
|
450
|
-
static readonly
|
|
451
|
-
static readonly
|
|
452
|
-
static readonly
|
|
453
|
-
static readonly
|
|
454
|
-
static readonly
|
|
455
|
-
static readonly
|
|
456
|
-
static readonly
|
|
457
|
-
static readonly
|
|
458
|
-
static readonly
|
|
459
|
-
static readonly
|
|
460
|
-
static readonly
|
|
461
|
-
static readonly
|
|
462
|
-
static readonly
|
|
463
|
-
static readonly
|
|
464
|
-
static readonly
|
|
465
|
-
static readonly
|
|
466
|
-
static readonly
|
|
467
|
-
static readonly
|
|
468
|
-
static readonly
|
|
469
|
-
static readonly
|
|
470
|
-
static readonly
|
|
471
|
-
static readonly
|
|
472
|
-
static readonly
|
|
473
|
-
static readonly
|
|
474
|
-
static readonly
|
|
475
|
-
static readonly
|
|
476
|
-
static readonly
|
|
477
|
-
static readonly
|
|
478
|
-
static readonly
|
|
479
|
-
static readonly
|
|
480
|
-
static readonly
|
|
481
|
-
static readonly
|
|
482
|
-
static readonly
|
|
483
|
-
static readonly
|
|
484
|
-
static readonly
|
|
485
|
-
static readonly
|
|
486
|
-
static readonly
|
|
487
|
-
static readonly
|
|
488
|
-
static readonly
|
|
489
|
-
static readonly
|
|
490
|
-
static readonly
|
|
491
|
-
static readonly
|
|
492
|
-
static readonly
|
|
493
|
-
static readonly
|
|
494
|
-
static readonly
|
|
495
|
-
static readonly
|
|
496
|
-
static readonly
|
|
497
|
-
static readonly
|
|
498
|
-
static readonly
|
|
499
|
-
static readonly
|
|
500
|
-
static readonly
|
|
501
|
-
static readonly
|
|
502
|
-
static readonly
|
|
503
|
-
static readonly
|
|
504
|
-
static readonly
|
|
505
|
-
static readonly
|
|
506
|
-
static readonly
|
|
507
|
-
static readonly
|
|
508
|
-
static readonly
|
|
509
|
-
static readonly
|
|
510
|
-
static readonly
|
|
511
|
-
static readonly
|
|
512
|
-
static readonly
|
|
513
|
-
static readonly
|
|
514
|
-
static readonly
|
|
515
|
-
static readonly
|
|
516
|
-
static readonly
|
|
517
|
-
static readonly
|
|
518
|
-
static readonly
|
|
519
|
-
static readonly
|
|
520
|
-
static readonly
|
|
521
|
-
static readonly
|
|
522
|
-
static readonly
|
|
523
|
-
static readonly
|
|
524
|
-
static readonly
|
|
525
|
-
static readonly
|
|
526
|
-
static readonly
|
|
527
|
-
static readonly
|
|
528
|
-
static readonly
|
|
529
|
-
static readonly
|
|
530
|
-
static readonly
|
|
531
|
-
static readonly
|
|
532
|
-
static readonly
|
|
533
|
-
static readonly
|
|
534
|
-
static readonly
|
|
535
|
-
static readonly
|
|
536
|
-
static readonly
|
|
537
|
-
static readonly
|
|
538
|
-
static readonly
|
|
539
|
-
static readonly
|
|
540
|
-
static readonly
|
|
541
|
-
static readonly
|
|
542
|
-
static readonly
|
|
543
|
-
static readonly
|
|
544
|
-
static readonly
|
|
545
|
-
static readonly
|
|
546
|
-
static readonly
|
|
547
|
-
static readonly
|
|
548
|
-
static readonly
|
|
549
|
-
static readonly
|
|
550
|
-
static readonly
|
|
551
|
-
static readonly
|
|
552
|
-
static readonly
|
|
553
|
-
static readonly
|
|
554
|
-
static readonly
|
|
555
|
-
static readonly
|
|
556
|
-
static readonly
|
|
557
|
-
static readonly
|
|
558
|
-
static readonly
|
|
559
|
-
static readonly
|
|
560
|
-
static readonly
|
|
561
|
-
static readonly
|
|
562
|
-
static readonly
|
|
563
|
-
static readonly
|
|
564
|
-
static readonly
|
|
565
|
-
static readonly
|
|
566
|
-
static readonly
|
|
567
|
-
static readonly
|
|
568
|
-
static readonly
|
|
569
|
-
static readonly
|
|
570
|
-
static readonly
|
|
571
|
-
static readonly
|
|
572
|
-
static readonly
|
|
573
|
-
static readonly
|
|
574
|
-
static readonly
|
|
575
|
-
static readonly
|
|
576
|
-
static readonly
|
|
577
|
-
static readonly
|
|
578
|
-
static readonly
|
|
579
|
-
static readonly
|
|
580
|
-
static readonly
|
|
581
|
-
static readonly
|
|
582
|
-
static readonly
|
|
583
|
-
static readonly
|
|
584
|
-
static readonly
|
|
585
|
-
static readonly
|
|
586
|
-
static readonly
|
|
587
|
-
static readonly
|
|
588
|
-
static readonly
|
|
589
|
-
static readonly
|
|
590
|
-
static readonly
|
|
591
|
-
static readonly
|
|
592
|
-
static readonly
|
|
593
|
-
static readonly
|
|
594
|
-
static readonly
|
|
595
|
-
static readonly
|
|
596
|
-
static readonly
|
|
597
|
-
static readonly
|
|
426
|
+
static readonly RULE_tableLifecycle = 26;
|
|
427
|
+
static readonly RULE_propertyList = 27;
|
|
428
|
+
static readonly RULE_property = 28;
|
|
429
|
+
static readonly RULE_propertyKey = 29;
|
|
430
|
+
static readonly RULE_propertyValue = 30;
|
|
431
|
+
static readonly RULE_expressionPropertyList = 31;
|
|
432
|
+
static readonly RULE_expressionProperty = 32;
|
|
433
|
+
static readonly RULE_constantList = 33;
|
|
434
|
+
static readonly RULE_nestedConstantList = 34;
|
|
435
|
+
static readonly RULE_createFileFormat = 35;
|
|
436
|
+
static readonly RULE_fileFormat = 36;
|
|
437
|
+
static readonly RULE_storageHandler = 37;
|
|
438
|
+
static readonly RULE_resource = 38;
|
|
439
|
+
static readonly RULE_dmlStatementNoWith = 39;
|
|
440
|
+
static readonly RULE_namespaceName = 40;
|
|
441
|
+
static readonly RULE_namespaceNameCreate = 41;
|
|
442
|
+
static readonly RULE_tableNameCreate = 42;
|
|
443
|
+
static readonly RULE_tableName = 43;
|
|
444
|
+
static readonly RULE_viewNameCreate = 44;
|
|
445
|
+
static readonly RULE_viewName = 45;
|
|
446
|
+
static readonly RULE_columnName = 46;
|
|
447
|
+
static readonly RULE_columnNameSeq = 47;
|
|
448
|
+
static readonly RULE_columnNameCreate = 48;
|
|
449
|
+
static readonly RULE_identifierReference = 49;
|
|
450
|
+
static readonly RULE_queryOrganization = 50;
|
|
451
|
+
static readonly RULE_multiInsertQueryBody = 51;
|
|
452
|
+
static readonly RULE_queryTerm = 52;
|
|
453
|
+
static readonly RULE_queryPrimary = 53;
|
|
454
|
+
static readonly RULE_sortItem = 54;
|
|
455
|
+
static readonly RULE_fromStatement = 55;
|
|
456
|
+
static readonly RULE_fromStatementBody = 56;
|
|
457
|
+
static readonly RULE_querySpecification = 57;
|
|
458
|
+
static readonly RULE_transformClause = 58;
|
|
459
|
+
static readonly RULE_selectClause = 59;
|
|
460
|
+
static readonly RULE_setClause = 60;
|
|
461
|
+
static readonly RULE_matchedClause = 61;
|
|
462
|
+
static readonly RULE_notMatchedClause = 62;
|
|
463
|
+
static readonly RULE_notMatchedBySourceClause = 63;
|
|
464
|
+
static readonly RULE_matchedAction = 64;
|
|
465
|
+
static readonly RULE_notMatchedAction = 65;
|
|
466
|
+
static readonly RULE_notMatchedBySourceAction = 66;
|
|
467
|
+
static readonly RULE_assignmentList = 67;
|
|
468
|
+
static readonly RULE_assignment = 68;
|
|
469
|
+
static readonly RULE_whereClause = 69;
|
|
470
|
+
static readonly RULE_havingClause = 70;
|
|
471
|
+
static readonly RULE_hint = 71;
|
|
472
|
+
static readonly RULE_hintStatement = 72;
|
|
473
|
+
static readonly RULE_fromClause = 73;
|
|
474
|
+
static readonly RULE_functionKind = 74;
|
|
475
|
+
static readonly RULE_temporalClause = 75;
|
|
476
|
+
static readonly RULE_aggregationClause = 76;
|
|
477
|
+
static readonly RULE_groupByClause = 77;
|
|
478
|
+
static readonly RULE_groupingAnalytics = 78;
|
|
479
|
+
static readonly RULE_groupingElement = 79;
|
|
480
|
+
static readonly RULE_groupingSet = 80;
|
|
481
|
+
static readonly RULE_pivotClause = 81;
|
|
482
|
+
static readonly RULE_pivotColumn = 82;
|
|
483
|
+
static readonly RULE_pivotValue = 83;
|
|
484
|
+
static readonly RULE_unpivotClause = 84;
|
|
485
|
+
static readonly RULE_unpivotNullClause = 85;
|
|
486
|
+
static readonly RULE_unpivotOperator = 86;
|
|
487
|
+
static readonly RULE_unpivotSingleValueColumnClause = 87;
|
|
488
|
+
static readonly RULE_unpivotMultiValueColumnClause = 88;
|
|
489
|
+
static readonly RULE_unpivotColumnSet = 89;
|
|
490
|
+
static readonly RULE_unpivotValueColumn = 90;
|
|
491
|
+
static readonly RULE_unpivotNameColumn = 91;
|
|
492
|
+
static readonly RULE_unpivotColumnAndAlias = 92;
|
|
493
|
+
static readonly RULE_unpivotColumn = 93;
|
|
494
|
+
static readonly RULE_unpivotAlias = 94;
|
|
495
|
+
static readonly RULE_ifNotExists = 95;
|
|
496
|
+
static readonly RULE_ifExists = 96;
|
|
497
|
+
static readonly RULE_lateralView = 97;
|
|
498
|
+
static readonly RULE_setQuantifier = 98;
|
|
499
|
+
static readonly RULE_relation = 99;
|
|
500
|
+
static readonly RULE_relationExtension = 100;
|
|
501
|
+
static readonly RULE_joinRelation = 101;
|
|
502
|
+
static readonly RULE_joinType = 102;
|
|
503
|
+
static readonly RULE_joinCriteria = 103;
|
|
504
|
+
static readonly RULE_sample = 104;
|
|
505
|
+
static readonly RULE_sampleMethod = 105;
|
|
506
|
+
static readonly RULE_identifierList = 106;
|
|
507
|
+
static readonly RULE_identifierSeq = 107;
|
|
508
|
+
static readonly RULE_orderedIdentifierList = 108;
|
|
509
|
+
static readonly RULE_orderedIdentifier = 109;
|
|
510
|
+
static readonly RULE_identifierCommentList = 110;
|
|
511
|
+
static readonly RULE_identifierComment = 111;
|
|
512
|
+
static readonly RULE_relationPrimary = 112;
|
|
513
|
+
static readonly RULE_inlineTable = 113;
|
|
514
|
+
static readonly RULE_functionTableSubqueryArgument = 114;
|
|
515
|
+
static readonly RULE_tableArgumentPartitioning = 115;
|
|
516
|
+
static readonly RULE_functionTableNamedArgumentExpression = 116;
|
|
517
|
+
static readonly RULE_functionTableReferenceArgument = 117;
|
|
518
|
+
static readonly RULE_functionTableArgument = 118;
|
|
519
|
+
static readonly RULE_functionTable = 119;
|
|
520
|
+
static readonly RULE_tableAlias = 120;
|
|
521
|
+
static readonly RULE_rowFormat = 121;
|
|
522
|
+
static readonly RULE_multipartIdentifierList = 122;
|
|
523
|
+
static readonly RULE_multipartIdentifier = 123;
|
|
524
|
+
static readonly RULE_multipartIdentifierPropertyList = 124;
|
|
525
|
+
static readonly RULE_multipartIdentifierProperty = 125;
|
|
526
|
+
static readonly RULE_tableIdentifier = 126;
|
|
527
|
+
static readonly RULE_viewIdentifier = 127;
|
|
528
|
+
static readonly RULE_namedExpression = 128;
|
|
529
|
+
static readonly RULE_namedExpressionSeq = 129;
|
|
530
|
+
static readonly RULE_partitionFieldList = 130;
|
|
531
|
+
static readonly RULE_partitionField = 131;
|
|
532
|
+
static readonly RULE_transform = 132;
|
|
533
|
+
static readonly RULE_transformArgument = 133;
|
|
534
|
+
static readonly RULE_expression = 134;
|
|
535
|
+
static readonly RULE_namedArgumentExpression = 135;
|
|
536
|
+
static readonly RULE_functionArgument = 136;
|
|
537
|
+
static readonly RULE_expressionSeq = 137;
|
|
538
|
+
static readonly RULE_booleanExpression = 138;
|
|
539
|
+
static readonly RULE_predicate = 139;
|
|
540
|
+
static readonly RULE_valueExpression = 140;
|
|
541
|
+
static readonly RULE_datetimeUnit = 141;
|
|
542
|
+
static readonly RULE_primaryExpression = 142;
|
|
543
|
+
static readonly RULE_literalType = 143;
|
|
544
|
+
static readonly RULE_constant = 144;
|
|
545
|
+
static readonly RULE_comparisonOperator = 145;
|
|
546
|
+
static readonly RULE_arithmeticOperator = 146;
|
|
547
|
+
static readonly RULE_predicateOperator = 147;
|
|
548
|
+
static readonly RULE_booleanValue = 148;
|
|
549
|
+
static readonly RULE_interval = 149;
|
|
550
|
+
static readonly RULE_errorCapturingMultiUnitsInterval = 150;
|
|
551
|
+
static readonly RULE_multiUnitsInterval = 151;
|
|
552
|
+
static readonly RULE_errorCapturingUnitToUnitInterval = 152;
|
|
553
|
+
static readonly RULE_unitToUnitInterval = 153;
|
|
554
|
+
static readonly RULE_intervalValue = 154;
|
|
555
|
+
static readonly RULE_unitInMultiUnits = 155;
|
|
556
|
+
static readonly RULE_unitInUnitToUnit = 156;
|
|
557
|
+
static readonly RULE_colPosition = 157;
|
|
558
|
+
static readonly RULE_type = 158;
|
|
559
|
+
static readonly RULE_dataType = 159;
|
|
560
|
+
static readonly RULE_qualifiedColTypeWithPositionSeqForAdd = 160;
|
|
561
|
+
static readonly RULE_qualifiedColTypeWithPositionForAdd = 161;
|
|
562
|
+
static readonly RULE_qualifiedColTypeWithPositionSeqForReplace = 162;
|
|
563
|
+
static readonly RULE_qualifiedColTypeWithPositionForReplace = 163;
|
|
564
|
+
static readonly RULE_colDefinitionDescriptorWithPosition = 164;
|
|
565
|
+
static readonly RULE_defaultExpression = 165;
|
|
566
|
+
static readonly RULE_variableDefaultExpression = 166;
|
|
567
|
+
static readonly RULE_colTypeList = 167;
|
|
568
|
+
static readonly RULE_colType = 168;
|
|
569
|
+
static readonly RULE_createOrReplaceTableColTypeList = 169;
|
|
570
|
+
static readonly RULE_createOrReplaceTableColType = 170;
|
|
571
|
+
static readonly RULE_colDefinitionOption = 171;
|
|
572
|
+
static readonly RULE_generationExpression = 172;
|
|
573
|
+
static readonly RULE_complexColTypeList = 173;
|
|
574
|
+
static readonly RULE_complexColType = 174;
|
|
575
|
+
static readonly RULE_whenClause = 175;
|
|
576
|
+
static readonly RULE_windowClause = 176;
|
|
577
|
+
static readonly RULE_zorderClause = 177;
|
|
578
|
+
static readonly RULE_namedWindow = 178;
|
|
579
|
+
static readonly RULE_windowSpec = 179;
|
|
580
|
+
static readonly RULE_windowFrame = 180;
|
|
581
|
+
static readonly RULE_frameBound = 181;
|
|
582
|
+
static readonly RULE_qualifiedNameList = 182;
|
|
583
|
+
static readonly RULE_functionName = 183;
|
|
584
|
+
static readonly RULE_functionNameCreate = 184;
|
|
585
|
+
static readonly RULE_qualifiedName = 185;
|
|
586
|
+
static readonly RULE_errorCapturingIdentifier = 186;
|
|
587
|
+
static readonly RULE_errorCapturingIdentifierExtra = 187;
|
|
588
|
+
static readonly RULE_identifier = 188;
|
|
589
|
+
static readonly RULE_strictIdentifier = 189;
|
|
590
|
+
static readonly RULE_quotedIdentifier = 190;
|
|
591
|
+
static readonly RULE_backQuotedIdentifier = 191;
|
|
592
|
+
static readonly RULE_number = 192;
|
|
593
|
+
static readonly RULE_alterColumnAction = 193;
|
|
594
|
+
static readonly RULE_stringLit = 194;
|
|
595
|
+
static readonly RULE_comment = 195;
|
|
596
|
+
static readonly RULE_version = 196;
|
|
597
|
+
static readonly RULE_ansiNonReserved = 197;
|
|
598
|
+
static readonly RULE_strictNonReserved = 198;
|
|
599
|
+
static readonly RULE_nonReserved = 199;
|
|
598
600
|
static readonly literalNames: (string | null)[];
|
|
599
601
|
static readonly symbolicNames: (string | null)[];
|
|
600
602
|
static readonly ruleNames: string[];
|
|
@@ -631,6 +633,7 @@ export declare class SparkSqlParser extends SQLParserBase {
|
|
|
631
633
|
namedQuery(): NamedQueryContext;
|
|
632
634
|
tableProvider(): TableProviderContext;
|
|
633
635
|
createTableClauses(): CreateTableClausesContext;
|
|
636
|
+
tableLifecycle(): TableLifecycleContext;
|
|
634
637
|
propertyList(): PropertyListContext;
|
|
635
638
|
property(): PropertyContext;
|
|
636
639
|
propertyKey(): PropertyKeyContext;
|
|
@@ -1428,6 +1431,8 @@ export declare class CreateTableLikeContext extends StatementContext {
|
|
|
1428
1431
|
createFileFormat(i: number): CreateFileFormatContext | null;
|
|
1429
1432
|
locationSpec(): LocationSpecContext[];
|
|
1430
1433
|
locationSpec(i: number): LocationSpecContext | null;
|
|
1434
|
+
tableLifecycle(): TableLifecycleContext[];
|
|
1435
|
+
tableLifecycle(i: number): TableLifecycleContext | null;
|
|
1431
1436
|
KW_TBLPROPERTIES(): antlr.TerminalNode[];
|
|
1432
1437
|
KW_TBLPROPERTIES(i: number): antlr.TerminalNode | null;
|
|
1433
1438
|
propertyList(): PropertyListContext[];
|
|
@@ -2385,6 +2390,8 @@ export declare class CreateTableClausesContext extends antlr.ParserRuleContext {
|
|
|
2385
2390
|
locationSpec(i: number): LocationSpecContext | null;
|
|
2386
2391
|
commentSpec(): CommentSpecContext[];
|
|
2387
2392
|
commentSpec(i: number): CommentSpecContext | null;
|
|
2393
|
+
tableLifecycle(): TableLifecycleContext[];
|
|
2394
|
+
tableLifecycle(i: number): TableLifecycleContext | null;
|
|
2388
2395
|
KW_OPTIONS(): antlr.TerminalNode[];
|
|
2389
2396
|
KW_OPTIONS(i: number): antlr.TerminalNode | null;
|
|
2390
2397
|
KW_PARTITIONED(): antlr.TerminalNode[];
|
|
@@ -2404,6 +2411,15 @@ export declare class CreateTableClausesContext extends antlr.ParserRuleContext {
|
|
|
2404
2411
|
exitRule(listener: SparkSqlParserListener): void;
|
|
2405
2412
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2406
2413
|
}
|
|
2414
|
+
export declare class TableLifecycleContext extends antlr.ParserRuleContext {
|
|
2415
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2416
|
+
KW_LIFECYCLE(): antlr.TerminalNode;
|
|
2417
|
+
INTEGER_VALUE(): antlr.TerminalNode;
|
|
2418
|
+
get ruleIndex(): number;
|
|
2419
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
2420
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
2421
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2422
|
+
}
|
|
2407
2423
|
export declare class PropertyListContext extends antlr.ParserRuleContext {
|
|
2408
2424
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2409
2425
|
LEFT_PAREN(): antlr.TerminalNode;
|
|
@@ -5336,6 +5352,7 @@ export declare class NonReservedContext extends antlr.ParserRuleContext {
|
|
|
5336
5352
|
KW_LAST(): antlr.TerminalNode | null;
|
|
5337
5353
|
KW_LAZY(): antlr.TerminalNode | null;
|
|
5338
5354
|
KW_LEADING(): antlr.TerminalNode | null;
|
|
5355
|
+
KW_LIFECYCLE(): antlr.TerminalNode | null;
|
|
5339
5356
|
KW_LIKE(): antlr.TerminalNode | null;
|
|
5340
5357
|
KW_LONG(): antlr.TerminalNode | null;
|
|
5341
5358
|
KW_ILIKE(): antlr.TerminalNode | null;
|