parent
8bb27ee771
commit
da77180a50
@ -214,6 +214,7 @@ KW_LEADING : 'LEADING';
|
||||
KW_LEFT : 'LEFT';
|
||||
KW_LESS : 'LESS';
|
||||
KW_LEVEL : 'LEVEL';
|
||||
KW_LIFECYCLE : 'LIFECYCLE';
|
||||
KW_LIKE : 'LIKE';
|
||||
KW_LIMIT : 'LIMIT';
|
||||
KW_LINES : 'LINES';
|
||||
|
@ -657,6 +657,11 @@ tableComment
|
||||
: KW_COMMENT comment=StringLiteral
|
||||
;
|
||||
|
||||
// dtstack SparkSQL/HiveSQL lifecycle
|
||||
tableLifecycle
|
||||
: KW_LIFECYCLE Number
|
||||
;
|
||||
|
||||
createTablePartitionSpec
|
||||
: KW_PARTITIONED KW_BY (
|
||||
LPAREN (opt1=createTablePartitionColumnTypeSpec | opt2=createTablePartitionColumnSpec)
|
||||
@ -1630,13 +1635,17 @@ Rules for parsing createtable
|
||||
createTableStatement
|
||||
: KW_CREATE temp=KW_TEMPORARY? trans=KW_TRANSACTIONAL? ext=KW_EXTERNAL? KW_TABLE ifNotExists? name=tableNameCreate (
|
||||
likeTableOrFile createTablePartitionSpec? tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed?
|
||||
| (LPAREN columnNameTypeOrConstraintList RPAREN)? tableComment? createTablePartitionSpec? tableBuckets? tableSkewed? tableRowFormat?
|
||||
tableFileFormat? tableLocation? tablePropertiesPrefixed? (KW_AS selectStatementWithCTE)?
|
||||
| (LPAREN columnNameTypeOrConstraintList RPAREN)? tableComment? tableLifecycle? createTablePartitionSpec? tableBuckets? tableSkewed?
|
||||
tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed? (
|
||||
KW_AS selectStatementWithCTE
|
||||
)?
|
||||
)
|
||||
| KW_CREATE mgd=KW_MANAGED KW_TABLE ifNotExists? name=tableNameCreate (
|
||||
likeTableOrFile tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed?
|
||||
| (LPAREN columnNameTypeOrConstraintList RPAREN)? tableComment? createTablePartitionSpec? tableBuckets? tableSkewed? tableRowFormat?
|
||||
tableFileFormat? tableLocation? tablePropertiesPrefixed? (KW_AS selectStatementWithCTE)?
|
||||
| (LPAREN columnNameTypeOrConstraintList RPAREN)? tableComment? tableLifecycle? createTablePartitionSpec? tableBuckets? tableSkewed?
|
||||
tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed? (
|
||||
KW_AS selectStatementWithCTE
|
||||
)?
|
||||
)
|
||||
;
|
||||
|
||||
@ -2685,6 +2694,7 @@ nonReserved
|
||||
| KW_KILL
|
||||
| KW_LAST
|
||||
| KW_LEVEL
|
||||
| KW_LIFECYCLE
|
||||
| KW_LIMIT
|
||||
| KW_LINES
|
||||
| KW_LOAD
|
||||
|
@ -217,6 +217,7 @@ KW_LATERAL : 'LATERAL';
|
||||
KW_LAZY : 'LAZY';
|
||||
KW_LEADING : 'LEADING';
|
||||
KW_LEFT : 'LEFT';
|
||||
KW_LIFECYCLE : 'LIFECYCLE';
|
||||
KW_LIKE : 'LIKE';
|
||||
KW_ILIKE : 'ILIKE';
|
||||
KW_LIMIT : 'LIMIT';
|
||||
|
@ -65,6 +65,7 @@ statement
|
||||
| createFileFormat
|
||||
| locationSpec
|
||||
| (KW_TBLPROPERTIES tableProps=propertyList)
|
||||
| tableLifecycle
|
||||
)* # createTableLike
|
||||
| replaceTableHeader (LEFT_PAREN createOrReplaceTableColTypeList RIGHT_PAREN)? tableProvider? createTableClauses (
|
||||
KW_AS? query
|
||||
@ -351,9 +352,15 @@ createTableClauses
|
||||
| locationSpec
|
||||
| commentSpec
|
||||
| (KW_TBLPROPERTIES tableProps=propertyList)
|
||||
| tableLifecycle
|
||||
)*
|
||||
;
|
||||
|
||||
// dtstack SparkSQL/HiveSQL lifecycle
|
||||
tableLifecycle
|
||||
: KW_LIFECYCLE INTEGER_VALUE
|
||||
;
|
||||
|
||||
propertyList
|
||||
: LEFT_PAREN property (COMMA property)* RIGHT_PAREN
|
||||
;
|
||||
@ -1849,6 +1856,7 @@ nonReserved
|
||||
| KW_LAST
|
||||
| KW_LAZY
|
||||
| KW_LEADING
|
||||
| KW_LIFECYCLE
|
||||
| KW_LIKE
|
||||
| KW_LONG
|
||||
| KW_ILIKE
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -118,6 +118,7 @@ import { ExecutedAsSpecContext } from "./HiveSqlParser.js";
|
||||
import { DefinedAsSpecContext } from "./HiveSqlParser.js";
|
||||
import { ShowStmtIdentifierContext } from "./HiveSqlParser.js";
|
||||
import { TableCommentContext } from "./HiveSqlParser.js";
|
||||
import { TableLifecycleContext } from "./HiveSqlParser.js";
|
||||
import { CreateTablePartitionSpecContext } from "./HiveSqlParser.js";
|
||||
import { CreateTablePartitionColumnTypeSpecContext } from "./HiveSqlParser.js";
|
||||
import { CreateTablePartitionColumnSpecContext } from "./HiveSqlParser.js";
|
||||
@ -1637,6 +1638,16 @@ export class HiveSqlParserListener implements ParseTreeListener {
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitTableComment?: (ctx: TableCommentContext) => void;
|
||||
/**
|
||||
* Enter a parse tree produced by `HiveSqlParser.tableLifecycle`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
enterTableLifecycle?: (ctx: TableLifecycleContext) => void;
|
||||
/**
|
||||
* Exit a parse tree produced by `HiveSqlParser.tableLifecycle`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitTableLifecycle?: (ctx: TableLifecycleContext) => void;
|
||||
/**
|
||||
* Enter a parse tree produced by `HiveSqlParser.createTablePartitionSpec`.
|
||||
* @param ctx the parse tree
|
||||
|
@ -118,6 +118,7 @@ import { ExecutedAsSpecContext } from "./HiveSqlParser.js";
|
||||
import { DefinedAsSpecContext } from "./HiveSqlParser.js";
|
||||
import { ShowStmtIdentifierContext } from "./HiveSqlParser.js";
|
||||
import { TableCommentContext } from "./HiveSqlParser.js";
|
||||
import { TableLifecycleContext } from "./HiveSqlParser.js";
|
||||
import { CreateTablePartitionSpecContext } from "./HiveSqlParser.js";
|
||||
import { CreateTablePartitionColumnTypeSpecContext } from "./HiveSqlParser.js";
|
||||
import { CreateTablePartitionColumnSpecContext } from "./HiveSqlParser.js";
|
||||
@ -1200,6 +1201,12 @@ export class HiveSqlParserVisitor<Result> extends AbstractParseTreeVisitor<Resul
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitTableComment?: (ctx: TableCommentContext) => Result;
|
||||
/**
|
||||
* Visit a parse tree produced by `HiveSqlParser.tableLifecycle`.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitTableLifecycle?: (ctx: TableLifecycleContext) => Result;
|
||||
/**
|
||||
* Visit a parse tree produced by `HiveSqlParser.createTablePartitionSpec`.
|
||||
* @param ctx the parse tree
|
||||
|
File diff suppressed because one or more lines are too long
@ -159,237 +159,238 @@ KW_LATERAL=158
|
||||
KW_LAZY=159
|
||||
KW_LEADING=160
|
||||
KW_LEFT=161
|
||||
KW_LIKE=162
|
||||
KW_ILIKE=163
|
||||
KW_LIMIT=164
|
||||
KW_LINES=165
|
||||
KW_LIST=166
|
||||
KW_LOAD=167
|
||||
KW_LOCAL=168
|
||||
KW_LOCATION=169
|
||||
KW_LOCK=170
|
||||
KW_LOCKS=171
|
||||
KW_LOGICAL=172
|
||||
KW_LONG=173
|
||||
KW_MACRO=174
|
||||
KW_MATERIALIZED=175
|
||||
KW_MAP=176
|
||||
KW_MATCHED=177
|
||||
KW_MERGE=178
|
||||
KW_MICROSECOND=179
|
||||
KW_MICROSECONDS=180
|
||||
KW_MILLISECOND=181
|
||||
KW_MILLISECONDS=182
|
||||
KW_MINUTE=183
|
||||
KW_MINUTES=184
|
||||
KW_MONTH=185
|
||||
KW_MONTHS=186
|
||||
KW_MSCK=187
|
||||
KW_NAME=188
|
||||
KW_NAMESPACE=189
|
||||
KW_NAMESPACES=190
|
||||
KW_NANOSECOND=191
|
||||
KW_NANOSECONDS=192
|
||||
KW_NATURAL=193
|
||||
KW_NO=194
|
||||
KW_NOSCAN=195
|
||||
KW_NOT=196
|
||||
KW_NULL=197
|
||||
KW_NULLS=198
|
||||
KW_NUMERIC=199
|
||||
KW_OF=200
|
||||
KW_OFFSET=201
|
||||
KW_ON=202
|
||||
KW_ONLY=203
|
||||
KW_OPTIMIZE=204
|
||||
KW_OPTION=205
|
||||
KW_OPTIONS=206
|
||||
KW_OR=207
|
||||
KW_ORDER=208
|
||||
KW_OUT=209
|
||||
KW_OUTER=210
|
||||
KW_OUTPUTFORMAT=211
|
||||
KW_OVER=212
|
||||
KW_OVERLAPS=213
|
||||
KW_OVERLAY=214
|
||||
KW_OVERWRITE=215
|
||||
KW_PARTITION=216
|
||||
KW_PARTITIONED=217
|
||||
KW_PARTITIONS=218
|
||||
KW_PERCENTILE_CONT=219
|
||||
KW_PERCENTILE_DISC=220
|
||||
KW_PERCENTLIT=221
|
||||
KW_PIVOT=222
|
||||
KW_PLACING=223
|
||||
KW_POSITION=224
|
||||
KW_PRECEDING=225
|
||||
KW_PRIMARY=226
|
||||
KW_PRINCIPALS=227
|
||||
KW_PROPERTIES=228
|
||||
KW_PURGE=229
|
||||
KW_QUARTER=230
|
||||
KW_QUERY=231
|
||||
KW_RANGE=232
|
||||
KW_REAL=233
|
||||
KW_RECORDREADER=234
|
||||
KW_RECORDWRITER=235
|
||||
KW_RECOVER=236
|
||||
KW_REDUCE=237
|
||||
KW_REFERENCES=238
|
||||
KW_REFRESH=239
|
||||
KW_RENAME=240
|
||||
KW_REPAIR=241
|
||||
KW_REPEATABLE=242
|
||||
KW_REPLACE=243
|
||||
KW_RESET=244
|
||||
KW_RESPECT=245
|
||||
KW_RESTRICT=246
|
||||
KW_REWRITE=247
|
||||
KW_REVOKE=248
|
||||
KW_RIGHT=249
|
||||
KW_RLIKE=250
|
||||
KW_REGEXP=251
|
||||
KW_ROLE=252
|
||||
KW_ROLES=253
|
||||
KW_ROLLBACK=254
|
||||
KW_ROLLUP=255
|
||||
KW_ROW=256
|
||||
KW_ROWS=257
|
||||
KW_SECOND=258
|
||||
KW_SECONDS=259
|
||||
KW_SCHEMA=260
|
||||
KW_SCHEMAS=261
|
||||
KW_SELECT=262
|
||||
KW_SEMI=263
|
||||
KW_SEPARATED=264
|
||||
KW_SERDE=265
|
||||
KW_SERDEPROPERTIES=266
|
||||
KW_SESSION_USER=267
|
||||
KW_SET=268
|
||||
KW_MINUS=269
|
||||
KW_SETS=270
|
||||
KW_SHORT=271
|
||||
KW_SHOW=272
|
||||
KW_SINGLE=273
|
||||
KW_SKEWED=274
|
||||
KW_SMALLINT=275
|
||||
KW_SOME=276
|
||||
KW_SORT=277
|
||||
KW_SORTED=278
|
||||
KW_SOURCE=279
|
||||
KW_START=280
|
||||
KW_STATISTICS=281
|
||||
KW_STORED=282
|
||||
KW_STRATIFY=283
|
||||
KW_STRING=284
|
||||
KW_STRUCT=285
|
||||
KW_SUBSTR=286
|
||||
KW_SUBSTRING=287
|
||||
KW_SYNC=288
|
||||
KW_SYSTEM=289
|
||||
KW_SYSTEM_TIME=290
|
||||
KW_SYSTEM_VERSION=291
|
||||
KW_TABLE=292
|
||||
KW_TABLES=293
|
||||
KW_TABLESAMPLE=294
|
||||
KW_TARGET=295
|
||||
KW_TBLPROPERTIES=296
|
||||
KW_TEMPORARY=297
|
||||
KW_TERMINATED=298
|
||||
KW_THEN=299
|
||||
KW_TIME=300
|
||||
KW_TIMEDIFF=301
|
||||
KW_TIMESTAMP=302
|
||||
KW_TIMESTAMP_LTZ=303
|
||||
KW_TIMESTAMP_NTZ=304
|
||||
KW_TIMESTAMPADD=305
|
||||
KW_TIMESTAMPDIFF=306
|
||||
KW_TINYINT=307
|
||||
KW_TO=308
|
||||
KW_TOUCH=309
|
||||
KW_TRAILING=310
|
||||
KW_TRANSACTION=311
|
||||
KW_TRANSACTIONS=312
|
||||
KW_TRANSFORM=313
|
||||
KW_TRIM=314
|
||||
KW_TRUE=315
|
||||
KW_TRUNCATE=316
|
||||
KW_TRY_CAST=317
|
||||
KW_TYPE=318
|
||||
KW_UNARCHIVE=319
|
||||
KW_UNBOUNDED=320
|
||||
KW_UNCACHE=321
|
||||
KW_UNION=322
|
||||
KW_UNIQUE=323
|
||||
KW_UNKNOWN=324
|
||||
KW_UNLOCK=325
|
||||
KW_UNPIVOT=326
|
||||
KW_UNSET=327
|
||||
KW_UPDATE=328
|
||||
KW_USE=329
|
||||
KW_USER=330
|
||||
KW_USING=331
|
||||
KW_VALUES=332
|
||||
KW_VARCHAR=333
|
||||
KW_VAR=334
|
||||
KW_VARIABLE=335
|
||||
KW_VERSION=336
|
||||
KW_VIEW=337
|
||||
KW_VIEWS=338
|
||||
KW_VOID=339
|
||||
KW_WEEK=340
|
||||
KW_WEEKS=341
|
||||
KW_WHEN=342
|
||||
KW_WHERE=343
|
||||
KW_WINDOW=344
|
||||
KW_WITH=345
|
||||
KW_WITHIN=346
|
||||
KW_YEAR=347
|
||||
KW_YEARS=348
|
||||
KW_ZONE=349
|
||||
KW_ZORDER=350
|
||||
EQ=351
|
||||
NSEQ=352
|
||||
NEQ=353
|
||||
NEQJ=354
|
||||
LT=355
|
||||
LTE=356
|
||||
GT=357
|
||||
GTE=358
|
||||
NOT=359
|
||||
PLUS=360
|
||||
MINUS=361
|
||||
ASTERISK=362
|
||||
SLASH=363
|
||||
PERCENT=364
|
||||
TILDE=365
|
||||
AMPERSAND=366
|
||||
PIPE=367
|
||||
CONCAT_PIPE=368
|
||||
HAT=369
|
||||
COLON=370
|
||||
ARROW=371
|
||||
FAT_ARROW=372
|
||||
HENT_START=373
|
||||
HENT_END=374
|
||||
QUESTION=375
|
||||
STRING_LITERAL=376
|
||||
DOUBLEQUOTED_STRING=377
|
||||
BIGINT_LITERAL=378
|
||||
SMALLINT_LITERAL=379
|
||||
TINYINT_LITERAL=380
|
||||
INTEGER_VALUE=381
|
||||
EXPONENT_VALUE=382
|
||||
DECIMAL_VALUE=383
|
||||
FLOAT_LITERAL=384
|
||||
DOUBLE_LITERAL=385
|
||||
BIGDECIMAL_LITERAL=386
|
||||
IDENTIFIER=387
|
||||
BACKQUOTED_IDENTIFIER=388
|
||||
SIMPLE_COMMENT=389
|
||||
BRACKETED_COMMENT=390
|
||||
WS=391
|
||||
UNRECOGNIZED=392
|
||||
KW_LIFECYCLE=162
|
||||
KW_LIKE=163
|
||||
KW_ILIKE=164
|
||||
KW_LIMIT=165
|
||||
KW_LINES=166
|
||||
KW_LIST=167
|
||||
KW_LOAD=168
|
||||
KW_LOCAL=169
|
||||
KW_LOCATION=170
|
||||
KW_LOCK=171
|
||||
KW_LOCKS=172
|
||||
KW_LOGICAL=173
|
||||
KW_LONG=174
|
||||
KW_MACRO=175
|
||||
KW_MATERIALIZED=176
|
||||
KW_MAP=177
|
||||
KW_MATCHED=178
|
||||
KW_MERGE=179
|
||||
KW_MICROSECOND=180
|
||||
KW_MICROSECONDS=181
|
||||
KW_MILLISECOND=182
|
||||
KW_MILLISECONDS=183
|
||||
KW_MINUTE=184
|
||||
KW_MINUTES=185
|
||||
KW_MONTH=186
|
||||
KW_MONTHS=187
|
||||
KW_MSCK=188
|
||||
KW_NAME=189
|
||||
KW_NAMESPACE=190
|
||||
KW_NAMESPACES=191
|
||||
KW_NANOSECOND=192
|
||||
KW_NANOSECONDS=193
|
||||
KW_NATURAL=194
|
||||
KW_NO=195
|
||||
KW_NOSCAN=196
|
||||
KW_NOT=197
|
||||
KW_NULL=198
|
||||
KW_NULLS=199
|
||||
KW_NUMERIC=200
|
||||
KW_OF=201
|
||||
KW_OFFSET=202
|
||||
KW_ON=203
|
||||
KW_ONLY=204
|
||||
KW_OPTIMIZE=205
|
||||
KW_OPTION=206
|
||||
KW_OPTIONS=207
|
||||
KW_OR=208
|
||||
KW_ORDER=209
|
||||
KW_OUT=210
|
||||
KW_OUTER=211
|
||||
KW_OUTPUTFORMAT=212
|
||||
KW_OVER=213
|
||||
KW_OVERLAPS=214
|
||||
KW_OVERLAY=215
|
||||
KW_OVERWRITE=216
|
||||
KW_PARTITION=217
|
||||
KW_PARTITIONED=218
|
||||
KW_PARTITIONS=219
|
||||
KW_PERCENTILE_CONT=220
|
||||
KW_PERCENTILE_DISC=221
|
||||
KW_PERCENTLIT=222
|
||||
KW_PIVOT=223
|
||||
KW_PLACING=224
|
||||
KW_POSITION=225
|
||||
KW_PRECEDING=226
|
||||
KW_PRIMARY=227
|
||||
KW_PRINCIPALS=228
|
||||
KW_PROPERTIES=229
|
||||
KW_PURGE=230
|
||||
KW_QUARTER=231
|
||||
KW_QUERY=232
|
||||
KW_RANGE=233
|
||||
KW_REAL=234
|
||||
KW_RECORDREADER=235
|
||||
KW_RECORDWRITER=236
|
||||
KW_RECOVER=237
|
||||
KW_REDUCE=238
|
||||
KW_REFERENCES=239
|
||||
KW_REFRESH=240
|
||||
KW_RENAME=241
|
||||
KW_REPAIR=242
|
||||
KW_REPEATABLE=243
|
||||
KW_REPLACE=244
|
||||
KW_RESET=245
|
||||
KW_RESPECT=246
|
||||
KW_RESTRICT=247
|
||||
KW_REWRITE=248
|
||||
KW_REVOKE=249
|
||||
KW_RIGHT=250
|
||||
KW_RLIKE=251
|
||||
KW_REGEXP=252
|
||||
KW_ROLE=253
|
||||
KW_ROLES=254
|
||||
KW_ROLLBACK=255
|
||||
KW_ROLLUP=256
|
||||
KW_ROW=257
|
||||
KW_ROWS=258
|
||||
KW_SECOND=259
|
||||
KW_SECONDS=260
|
||||
KW_SCHEMA=261
|
||||
KW_SCHEMAS=262
|
||||
KW_SELECT=263
|
||||
KW_SEMI=264
|
||||
KW_SEPARATED=265
|
||||
KW_SERDE=266
|
||||
KW_SERDEPROPERTIES=267
|
||||
KW_SESSION_USER=268
|
||||
KW_SET=269
|
||||
KW_MINUS=270
|
||||
KW_SETS=271
|
||||
KW_SHORT=272
|
||||
KW_SHOW=273
|
||||
KW_SINGLE=274
|
||||
KW_SKEWED=275
|
||||
KW_SMALLINT=276
|
||||
KW_SOME=277
|
||||
KW_SORT=278
|
||||
KW_SORTED=279
|
||||
KW_SOURCE=280
|
||||
KW_START=281
|
||||
KW_STATISTICS=282
|
||||
KW_STORED=283
|
||||
KW_STRATIFY=284
|
||||
KW_STRING=285
|
||||
KW_STRUCT=286
|
||||
KW_SUBSTR=287
|
||||
KW_SUBSTRING=288
|
||||
KW_SYNC=289
|
||||
KW_SYSTEM=290
|
||||
KW_SYSTEM_TIME=291
|
||||
KW_SYSTEM_VERSION=292
|
||||
KW_TABLE=293
|
||||
KW_TABLES=294
|
||||
KW_TABLESAMPLE=295
|
||||
KW_TARGET=296
|
||||
KW_TBLPROPERTIES=297
|
||||
KW_TEMPORARY=298
|
||||
KW_TERMINATED=299
|
||||
KW_THEN=300
|
||||
KW_TIME=301
|
||||
KW_TIMEDIFF=302
|
||||
KW_TIMESTAMP=303
|
||||
KW_TIMESTAMP_LTZ=304
|
||||
KW_TIMESTAMP_NTZ=305
|
||||
KW_TIMESTAMPADD=306
|
||||
KW_TIMESTAMPDIFF=307
|
||||
KW_TINYINT=308
|
||||
KW_TO=309
|
||||
KW_TOUCH=310
|
||||
KW_TRAILING=311
|
||||
KW_TRANSACTION=312
|
||||
KW_TRANSACTIONS=313
|
||||
KW_TRANSFORM=314
|
||||
KW_TRIM=315
|
||||
KW_TRUE=316
|
||||
KW_TRUNCATE=317
|
||||
KW_TRY_CAST=318
|
||||
KW_TYPE=319
|
||||
KW_UNARCHIVE=320
|
||||
KW_UNBOUNDED=321
|
||||
KW_UNCACHE=322
|
||||
KW_UNION=323
|
||||
KW_UNIQUE=324
|
||||
KW_UNKNOWN=325
|
||||
KW_UNLOCK=326
|
||||
KW_UNPIVOT=327
|
||||
KW_UNSET=328
|
||||
KW_UPDATE=329
|
||||
KW_USE=330
|
||||
KW_USER=331
|
||||
KW_USING=332
|
||||
KW_VALUES=333
|
||||
KW_VARCHAR=334
|
||||
KW_VAR=335
|
||||
KW_VARIABLE=336
|
||||
KW_VERSION=337
|
||||
KW_VIEW=338
|
||||
KW_VIEWS=339
|
||||
KW_VOID=340
|
||||
KW_WEEK=341
|
||||
KW_WEEKS=342
|
||||
KW_WHEN=343
|
||||
KW_WHERE=344
|
||||
KW_WINDOW=345
|
||||
KW_WITH=346
|
||||
KW_WITHIN=347
|
||||
KW_YEAR=348
|
||||
KW_YEARS=349
|
||||
KW_ZONE=350
|
||||
KW_ZORDER=351
|
||||
EQ=352
|
||||
NSEQ=353
|
||||
NEQ=354
|
||||
NEQJ=355
|
||||
LT=356
|
||||
LTE=357
|
||||
GT=358
|
||||
GTE=359
|
||||
NOT=360
|
||||
PLUS=361
|
||||
MINUS=362
|
||||
ASTERISK=363
|
||||
SLASH=364
|
||||
PERCENT=365
|
||||
TILDE=366
|
||||
AMPERSAND=367
|
||||
PIPE=368
|
||||
CONCAT_PIPE=369
|
||||
HAT=370
|
||||
COLON=371
|
||||
ARROW=372
|
||||
FAT_ARROW=373
|
||||
HENT_START=374
|
||||
HENT_END=375
|
||||
QUESTION=376
|
||||
STRING_LITERAL=377
|
||||
DOUBLEQUOTED_STRING=378
|
||||
BIGINT_LITERAL=379
|
||||
SMALLINT_LITERAL=380
|
||||
TINYINT_LITERAL=381
|
||||
INTEGER_VALUE=382
|
||||
EXPONENT_VALUE=383
|
||||
DECIMAL_VALUE=384
|
||||
FLOAT_LITERAL=385
|
||||
DOUBLE_LITERAL=386
|
||||
BIGDECIMAL_LITERAL=387
|
||||
IDENTIFIER=388
|
||||
BACKQUOTED_IDENTIFIER=389
|
||||
SIMPLE_COMMENT=390
|
||||
BRACKETED_COMMENT=391
|
||||
WS=392
|
||||
UNRECOGNIZED=393
|
||||
';'=1
|
||||
'('=2
|
||||
')'=3
|
||||
@ -551,214 +552,215 @@ UNRECOGNIZED=392
|
||||
'LAZY'=159
|
||||
'LEADING'=160
|
||||
'LEFT'=161
|
||||
'LIKE'=162
|
||||
'ILIKE'=163
|
||||
'LIMIT'=164
|
||||
'LINES'=165
|
||||
'LIST'=166
|
||||
'LOAD'=167
|
||||
'LOCAL'=168
|
||||
'LOCATION'=169
|
||||
'LOCK'=170
|
||||
'LOCKS'=171
|
||||
'LOGICAL'=172
|
||||
'LONG'=173
|
||||
'MACRO'=174
|
||||
'MATERIALIZED'=175
|
||||
'MAP'=176
|
||||
'MATCHED'=177
|
||||
'MERGE'=178
|
||||
'MICROSECOND'=179
|
||||
'MICROSECONDS'=180
|
||||
'MILLISECOND'=181
|
||||
'MILLISECONDS'=182
|
||||
'MINUTE'=183
|
||||
'MINUTES'=184
|
||||
'MONTH'=185
|
||||
'MONTHS'=186
|
||||
'MSCK'=187
|
||||
'NAME'=188
|
||||
'NAMESPACE'=189
|
||||
'NAMESPACES'=190
|
||||
'NANOSECOND'=191
|
||||
'NANOSECONDS'=192
|
||||
'NATURAL'=193
|
||||
'NO'=194
|
||||
'NOSCAN'=195
|
||||
'NOT'=196
|
||||
'NULL'=197
|
||||
'NULLS'=198
|
||||
'NUMERIC'=199
|
||||
'OF'=200
|
||||
'OFFSET'=201
|
||||
'ON'=202
|
||||
'ONLY'=203
|
||||
'OPTIMIZE'=204
|
||||
'OPTION'=205
|
||||
'OPTIONS'=206
|
||||
'OR'=207
|
||||
'ORDER'=208
|
||||
'OUT'=209
|
||||
'OUTER'=210
|
||||
'OUTPUTFORMAT'=211
|
||||
'OVER'=212
|
||||
'OVERLAPS'=213
|
||||
'OVERLAY'=214
|
||||
'OVERWRITE'=215
|
||||
'PARTITION'=216
|
||||
'PARTITIONED'=217
|
||||
'PARTITIONS'=218
|
||||
'PERCENTILE_CONT'=219
|
||||
'PERCENTILE_DISC'=220
|
||||
'PERCENT'=221
|
||||
'PIVOT'=222
|
||||
'PLACING'=223
|
||||
'POSITION'=224
|
||||
'PRECEDING'=225
|
||||
'PRIMARY'=226
|
||||
'PRINCIPALS'=227
|
||||
'PROPERTIES'=228
|
||||
'PURGE'=229
|
||||
'QUARTER'=230
|
||||
'QUERY'=231
|
||||
'RANGE'=232
|
||||
'REAL'=233
|
||||
'RECORDREADER'=234
|
||||
'RECORDWRITER'=235
|
||||
'RECOVER'=236
|
||||
'REDUCE'=237
|
||||
'REFERENCES'=238
|
||||
'REFRESH'=239
|
||||
'RENAME'=240
|
||||
'REPAIR'=241
|
||||
'REPEATABLE'=242
|
||||
'REPLACE'=243
|
||||
'RESET'=244
|
||||
'RESPECT'=245
|
||||
'RESTRICT'=246
|
||||
'REWRITE'=247
|
||||
'REVOKE'=248
|
||||
'RIGHT'=249
|
||||
'RLIKE'=250
|
||||
'REGEXP'=251
|
||||
'ROLE'=252
|
||||
'ROLES'=253
|
||||
'ROLLBACK'=254
|
||||
'ROLLUP'=255
|
||||
'ROW'=256
|
||||
'ROWS'=257
|
||||
'SECOND'=258
|
||||
'SECONDS'=259
|
||||
'SCHEMA'=260
|
||||
'SCHEMAS'=261
|
||||
'SELECT'=262
|
||||
'SEMI'=263
|
||||
'SEPARATED'=264
|
||||
'SERDE'=265
|
||||
'SERDEPROPERTIES'=266
|
||||
'SESSION_USER'=267
|
||||
'SET'=268
|
||||
'MINUS'=269
|
||||
'SETS'=270
|
||||
'SHORT'=271
|
||||
'SHOW'=272
|
||||
'SINGLE'=273
|
||||
'SKEWED'=274
|
||||
'SMALLINT'=275
|
||||
'SOME'=276
|
||||
'SORT'=277
|
||||
'SORTED'=278
|
||||
'SOURCE'=279
|
||||
'START'=280
|
||||
'STATISTICS'=281
|
||||
'STORED'=282
|
||||
'STRATIFY'=283
|
||||
'STRING'=284
|
||||
'STRUCT'=285
|
||||
'SUBSTR'=286
|
||||
'SUBSTRING'=287
|
||||
'SYNC'=288
|
||||
'SYSTEM'=289
|
||||
'SYSTEM_TIME'=290
|
||||
'SYSTEM_VERSION'=291
|
||||
'TABLE'=292
|
||||
'TABLES'=293
|
||||
'TABLESAMPLE'=294
|
||||
'TARGET'=295
|
||||
'TBLPROPERTIES'=296
|
||||
'TEMPORARY'=297
|
||||
'TERMINATED'=298
|
||||
'THEN'=299
|
||||
'TIME'=300
|
||||
'TIMEDIFF'=301
|
||||
'TIMESTAMP'=302
|
||||
'TIMESTAMP_LTZ'=303
|
||||
'TIMESTAMP_NTZ'=304
|
||||
'TIMESTAMPADD'=305
|
||||
'TIMESTAMPDIFF'=306
|
||||
'TINYINT'=307
|
||||
'TO'=308
|
||||
'TOUCH'=309
|
||||
'TRAILING'=310
|
||||
'TRANSACTION'=311
|
||||
'TRANSACTIONS'=312
|
||||
'TRANSFORM'=313
|
||||
'TRIM'=314
|
||||
'TRUE'=315
|
||||
'TRUNCATE'=316
|
||||
'TRY_CAST'=317
|
||||
'TYPE'=318
|
||||
'UNARCHIVE'=319
|
||||
'UNBOUNDED'=320
|
||||
'UNCACHE'=321
|
||||
'UNION'=322
|
||||
'UNIQUE'=323
|
||||
'UNKNOWN'=324
|
||||
'UNLOCK'=325
|
||||
'UNPIVOT'=326
|
||||
'UNSET'=327
|
||||
'UPDATE'=328
|
||||
'USE'=329
|
||||
'USER'=330
|
||||
'USING'=331
|
||||
'VALUES'=332
|
||||
'VARCHAR'=333
|
||||
'VAR'=334
|
||||
'VARIABLE'=335
|
||||
'VERSION'=336
|
||||
'VIEW'=337
|
||||
'VIEWS'=338
|
||||
'VOID'=339
|
||||
'WEEK'=340
|
||||
'WEEKS'=341
|
||||
'WHEN'=342
|
||||
'WHERE'=343
|
||||
'WINDOW'=344
|
||||
'WITH'=345
|
||||
'WITHIN'=346
|
||||
'YEAR'=347
|
||||
'YEARS'=348
|
||||
'ZONE'=349
|
||||
'ZORDER'=350
|
||||
'<=>'=352
|
||||
'<>'=353
|
||||
'!='=354
|
||||
'<'=355
|
||||
'>'=357
|
||||
'!'=359
|
||||
'+'=360
|
||||
'-'=361
|
||||
'*'=362
|
||||
'/'=363
|
||||
'%'=364
|
||||
'~'=365
|
||||
'&'=366
|
||||
'|'=367
|
||||
'||'=368
|
||||
'^'=369
|
||||
':'=370
|
||||
'->'=371
|
||||
'=>'=372
|
||||
'/*+'=373
|
||||
'*/'=374
|
||||
'?'=375
|
||||
'LIFECYCLE'=162
|
||||
'LIKE'=163
|
||||
'ILIKE'=164
|
||||
'LIMIT'=165
|
||||
'LINES'=166
|
||||
'LIST'=167
|
||||
'LOAD'=168
|
||||
'LOCAL'=169
|
||||
'LOCATION'=170
|
||||
'LOCK'=171
|
||||
'LOCKS'=172
|
||||
'LOGICAL'=173
|
||||
'LONG'=174
|
||||
'MACRO'=175
|
||||
'MATERIALIZED'=176
|
||||
'MAP'=177
|
||||
'MATCHED'=178
|
||||
'MERGE'=179
|
||||
'MICROSECOND'=180
|
||||
'MICROSECONDS'=181
|
||||
'MILLISECOND'=182
|
||||
'MILLISECONDS'=183
|
||||
'MINUTE'=184
|
||||
'MINUTES'=185
|
||||
'MONTH'=186
|
||||
'MONTHS'=187
|
||||
'MSCK'=188
|
||||
'NAME'=189
|
||||
'NAMESPACE'=190
|
||||
'NAMESPACES'=191
|
||||
'NANOSECOND'=192
|
||||
'NANOSECONDS'=193
|
||||
'NATURAL'=194
|
||||
'NO'=195
|
||||
'NOSCAN'=196
|
||||
'NOT'=197
|
||||
'NULL'=198
|
||||
'NULLS'=199
|
||||
'NUMERIC'=200
|
||||
'OF'=201
|
||||
'OFFSET'=202
|
||||
'ON'=203
|
||||
'ONLY'=204
|
||||
'OPTIMIZE'=205
|
||||
'OPTION'=206
|
||||
'OPTIONS'=207
|
||||
'OR'=208
|
||||
'ORDER'=209
|
||||
'OUT'=210
|
||||
'OUTER'=211
|
||||
'OUTPUTFORMAT'=212
|
||||
'OVER'=213
|
||||
'OVERLAPS'=214
|
||||
'OVERLAY'=215
|
||||
'OVERWRITE'=216
|
||||
'PARTITION'=217
|
||||
'PARTITIONED'=218
|
||||
'PARTITIONS'=219
|
||||
'PERCENTILE_CONT'=220
|
||||
'PERCENTILE_DISC'=221
|
||||
'PERCENT'=222
|
||||
'PIVOT'=223
|
||||
'PLACING'=224
|
||||
'POSITION'=225
|
||||
'PRECEDING'=226
|
||||
'PRIMARY'=227
|
||||
'PRINCIPALS'=228
|
||||
'PROPERTIES'=229
|
||||
'PURGE'=230
|
||||
'QUARTER'=231
|
||||
'QUERY'=232
|
||||
'RANGE'=233
|
||||
'REAL'=234
|
||||
'RECORDREADER'=235
|
||||
'RECORDWRITER'=236
|
||||
'RECOVER'=237
|
||||
'REDUCE'=238
|
||||
'REFERENCES'=239
|
||||
'REFRESH'=240
|
||||
'RENAME'=241
|
||||
'REPAIR'=242
|
||||
'REPEATABLE'=243
|
||||
'REPLACE'=244
|
||||
'RESET'=245
|
||||
'RESPECT'=246
|
||||
'RESTRICT'=247
|
||||
'REWRITE'=248
|
||||
'REVOKE'=249
|
||||
'RIGHT'=250
|
||||
'RLIKE'=251
|
||||
'REGEXP'=252
|
||||
'ROLE'=253
|
||||
'ROLES'=254
|
||||
'ROLLBACK'=255
|
||||
'ROLLUP'=256
|
||||
'ROW'=257
|
||||
'ROWS'=258
|
||||
'SECOND'=259
|
||||
'SECONDS'=260
|
||||
'SCHEMA'=261
|
||||
'SCHEMAS'=262
|
||||
'SELECT'=263
|
||||
'SEMI'=264
|
||||
'SEPARATED'=265
|
||||
'SERDE'=266
|
||||
'SERDEPROPERTIES'=267
|
||||
'SESSION_USER'=268
|
||||
'SET'=269
|
||||
'MINUS'=270
|
||||
'SETS'=271
|
||||
'SHORT'=272
|
||||
'SHOW'=273
|
||||
'SINGLE'=274
|
||||
'SKEWED'=275
|
||||
'SMALLINT'=276
|
||||
'SOME'=277
|
||||
'SORT'=278
|
||||
'SORTED'=279
|
||||
'SOURCE'=280
|
||||
'START'=281
|
||||
'STATISTICS'=282
|
||||
'STORED'=283
|
||||
'STRATIFY'=284
|
||||
'STRING'=285
|
||||
'STRUCT'=286
|
||||
'SUBSTR'=287
|
||||
'SUBSTRING'=288
|
||||
'SYNC'=289
|
||||
'SYSTEM'=290
|
||||
'SYSTEM_TIME'=291
|
||||
'SYSTEM_VERSION'=292
|
||||
'TABLE'=293
|
||||
'TABLES'=294
|
||||
'TABLESAMPLE'=295
|
||||
'TARGET'=296
|
||||
'TBLPROPERTIES'=297
|
||||
'TEMPORARY'=298
|
||||
'TERMINATED'=299
|
||||
'THEN'=300
|
||||
'TIME'=301
|
||||
'TIMEDIFF'=302
|
||||
'TIMESTAMP'=303
|
||||
'TIMESTAMP_LTZ'=304
|
||||
'TIMESTAMP_NTZ'=305
|
||||
'TIMESTAMPADD'=306
|
||||
'TIMESTAMPDIFF'=307
|
||||
'TINYINT'=308
|
||||
'TO'=309
|
||||
'TOUCH'=310
|
||||
'TRAILING'=311
|
||||
'TRANSACTION'=312
|
||||
'TRANSACTIONS'=313
|
||||
'TRANSFORM'=314
|
||||
'TRIM'=315
|
||||
'TRUE'=316
|
||||
'TRUNCATE'=317
|
||||
'TRY_CAST'=318
|
||||
'TYPE'=319
|
||||
'UNARCHIVE'=320
|
||||
'UNBOUNDED'=321
|
||||
'UNCACHE'=322
|
||||
'UNION'=323
|
||||
'UNIQUE'=324
|
||||
'UNKNOWN'=325
|
||||
'UNLOCK'=326
|
||||
'UNPIVOT'=327
|
||||
'UNSET'=328
|
||||
'UPDATE'=329
|
||||
'USE'=330
|
||||
'USER'=331
|
||||
'USING'=332
|
||||
'VALUES'=333
|
||||
'VARCHAR'=334
|
||||
'VAR'=335
|
||||
'VARIABLE'=336
|
||||
'VERSION'=337
|
||||
'VIEW'=338
|
||||
'VIEWS'=339
|
||||
'VOID'=340
|
||||
'WEEK'=341
|
||||
'WEEKS'=342
|
||||
'WHEN'=343
|
||||
'WHERE'=344
|
||||
'WINDOW'=345
|
||||
'WITH'=346
|
||||
'WITHIN'=347
|
||||
'YEAR'=348
|
||||
'YEARS'=349
|
||||
'ZONE'=350
|
||||
'ZORDER'=351
|
||||
'<=>'=353
|
||||
'<>'=354
|
||||
'!='=355
|
||||
'<'=356
|
||||
'>'=358
|
||||
'!'=360
|
||||
'+'=361
|
||||
'-'=362
|
||||
'*'=363
|
||||
'/'=364
|
||||
'%'=365
|
||||
'~'=366
|
||||
'&'=367
|
||||
'|'=368
|
||||
'||'=369
|
||||
'^'=370
|
||||
':'=371
|
||||
'->'=372
|
||||
'=>'=373
|
||||
'/*+'=374
|
||||
'*/'=375
|
||||
'?'=376
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -159,237 +159,238 @@ KW_LATERAL=158
|
||||
KW_LAZY=159
|
||||
KW_LEADING=160
|
||||
KW_LEFT=161
|
||||
KW_LIKE=162
|
||||
KW_ILIKE=163
|
||||
KW_LIMIT=164
|
||||
KW_LINES=165
|
||||
KW_LIST=166
|
||||
KW_LOAD=167
|
||||
KW_LOCAL=168
|
||||
KW_LOCATION=169
|
||||
KW_LOCK=170
|
||||
KW_LOCKS=171
|
||||
KW_LOGICAL=172
|
||||
KW_LONG=173
|
||||
KW_MACRO=174
|
||||
KW_MATERIALIZED=175
|
||||
KW_MAP=176
|
||||
KW_MATCHED=177
|
||||
KW_MERGE=178
|
||||
KW_MICROSECOND=179
|
||||
KW_MICROSECONDS=180
|
||||
KW_MILLISECOND=181
|
||||
KW_MILLISECONDS=182
|
||||
KW_MINUTE=183
|
||||
KW_MINUTES=184
|
||||
KW_MONTH=185
|
||||
KW_MONTHS=186
|
||||
KW_MSCK=187
|
||||
KW_NAME=188
|
||||
KW_NAMESPACE=189
|
||||
KW_NAMESPACES=190
|
||||
KW_NANOSECOND=191
|
||||
KW_NANOSECONDS=192
|
||||
KW_NATURAL=193
|
||||
KW_NO=194
|
||||
KW_NOSCAN=195
|
||||
KW_NOT=196
|
||||
KW_NULL=197
|
||||
KW_NULLS=198
|
||||
KW_NUMERIC=199
|
||||
KW_OF=200
|
||||
KW_OFFSET=201
|
||||
KW_ON=202
|
||||
KW_ONLY=203
|
||||
KW_OPTIMIZE=204
|
||||
KW_OPTION=205
|
||||
KW_OPTIONS=206
|
||||
KW_OR=207
|
||||
KW_ORDER=208
|
||||
KW_OUT=209
|
||||
KW_OUTER=210
|
||||
KW_OUTPUTFORMAT=211
|
||||
KW_OVER=212
|
||||
KW_OVERLAPS=213
|
||||
KW_OVERLAY=214
|
||||
KW_OVERWRITE=215
|
||||
KW_PARTITION=216
|
||||
KW_PARTITIONED=217
|
||||
KW_PARTITIONS=218
|
||||
KW_PERCENTILE_CONT=219
|
||||
KW_PERCENTILE_DISC=220
|
||||
KW_PERCENTLIT=221
|
||||
KW_PIVOT=222
|
||||
KW_PLACING=223
|
||||
KW_POSITION=224
|
||||
KW_PRECEDING=225
|
||||
KW_PRIMARY=226
|
||||
KW_PRINCIPALS=227
|
||||
KW_PROPERTIES=228
|
||||
KW_PURGE=229
|
||||
KW_QUARTER=230
|
||||
KW_QUERY=231
|
||||
KW_RANGE=232
|
||||
KW_REAL=233
|
||||
KW_RECORDREADER=234
|
||||
KW_RECORDWRITER=235
|
||||
KW_RECOVER=236
|
||||
KW_REDUCE=237
|
||||
KW_REFERENCES=238
|
||||
KW_REFRESH=239
|
||||
KW_RENAME=240
|
||||
KW_REPAIR=241
|
||||
KW_REPEATABLE=242
|
||||
KW_REPLACE=243
|
||||
KW_RESET=244
|
||||
KW_RESPECT=245
|
||||
KW_RESTRICT=246
|
||||
KW_REWRITE=247
|
||||
KW_REVOKE=248
|
||||
KW_RIGHT=249
|
||||
KW_RLIKE=250
|
||||
KW_REGEXP=251
|
||||
KW_ROLE=252
|
||||
KW_ROLES=253
|
||||
KW_ROLLBACK=254
|
||||
KW_ROLLUP=255
|
||||
KW_ROW=256
|
||||
KW_ROWS=257
|
||||
KW_SECOND=258
|
||||
KW_SECONDS=259
|
||||
KW_SCHEMA=260
|
||||
KW_SCHEMAS=261
|
||||
KW_SELECT=262
|
||||
KW_SEMI=263
|
||||
KW_SEPARATED=264
|
||||
KW_SERDE=265
|
||||
KW_SERDEPROPERTIES=266
|
||||
KW_SESSION_USER=267
|
||||
KW_SET=268
|
||||
KW_MINUS=269
|
||||
KW_SETS=270
|
||||
KW_SHORT=271
|
||||
KW_SHOW=272
|
||||
KW_SINGLE=273
|
||||
KW_SKEWED=274
|
||||
KW_SMALLINT=275
|
||||
KW_SOME=276
|
||||
KW_SORT=277
|
||||
KW_SORTED=278
|
||||
KW_SOURCE=279
|
||||
KW_START=280
|
||||
KW_STATISTICS=281
|
||||
KW_STORED=282
|
||||
KW_STRATIFY=283
|
||||
KW_STRING=284
|
||||
KW_STRUCT=285
|
||||
KW_SUBSTR=286
|
||||
KW_SUBSTRING=287
|
||||
KW_SYNC=288
|
||||
KW_SYSTEM=289
|
||||
KW_SYSTEM_TIME=290
|
||||
KW_SYSTEM_VERSION=291
|
||||
KW_TABLE=292
|
||||
KW_TABLES=293
|
||||
KW_TABLESAMPLE=294
|
||||
KW_TARGET=295
|
||||
KW_TBLPROPERTIES=296
|
||||
KW_TEMPORARY=297
|
||||
KW_TERMINATED=298
|
||||
KW_THEN=299
|
||||
KW_TIME=300
|
||||
KW_TIMEDIFF=301
|
||||
KW_TIMESTAMP=302
|
||||
KW_TIMESTAMP_LTZ=303
|
||||
KW_TIMESTAMP_NTZ=304
|
||||
KW_TIMESTAMPADD=305
|
||||
KW_TIMESTAMPDIFF=306
|
||||
KW_TINYINT=307
|
||||
KW_TO=308
|
||||
KW_TOUCH=309
|
||||
KW_TRAILING=310
|
||||
KW_TRANSACTION=311
|
||||
KW_TRANSACTIONS=312
|
||||
KW_TRANSFORM=313
|
||||
KW_TRIM=314
|
||||
KW_TRUE=315
|
||||
KW_TRUNCATE=316
|
||||
KW_TRY_CAST=317
|
||||
KW_TYPE=318
|
||||
KW_UNARCHIVE=319
|
||||
KW_UNBOUNDED=320
|
||||
KW_UNCACHE=321
|
||||
KW_UNION=322
|
||||
KW_UNIQUE=323
|
||||
KW_UNKNOWN=324
|
||||
KW_UNLOCK=325
|
||||
KW_UNPIVOT=326
|
||||
KW_UNSET=327
|
||||
KW_UPDATE=328
|
||||
KW_USE=329
|
||||
KW_USER=330
|
||||
KW_USING=331
|
||||
KW_VALUES=332
|
||||
KW_VARCHAR=333
|
||||
KW_VAR=334
|
||||
KW_VARIABLE=335
|
||||
KW_VERSION=336
|
||||
KW_VIEW=337
|
||||
KW_VIEWS=338
|
||||
KW_VOID=339
|
||||
KW_WEEK=340
|
||||
KW_WEEKS=341
|
||||
KW_WHEN=342
|
||||
KW_WHERE=343
|
||||
KW_WINDOW=344
|
||||
KW_WITH=345
|
||||
KW_WITHIN=346
|
||||
KW_YEAR=347
|
||||
KW_YEARS=348
|
||||
KW_ZONE=349
|
||||
KW_ZORDER=350
|
||||
EQ=351
|
||||
NSEQ=352
|
||||
NEQ=353
|
||||
NEQJ=354
|
||||
LT=355
|
||||
LTE=356
|
||||
GT=357
|
||||
GTE=358
|
||||
NOT=359
|
||||
PLUS=360
|
||||
MINUS=361
|
||||
ASTERISK=362
|
||||
SLASH=363
|
||||
PERCENT=364
|
||||
TILDE=365
|
||||
AMPERSAND=366
|
||||
PIPE=367
|
||||
CONCAT_PIPE=368
|
||||
HAT=369
|
||||
COLON=370
|
||||
ARROW=371
|
||||
FAT_ARROW=372
|
||||
HENT_START=373
|
||||
HENT_END=374
|
||||
QUESTION=375
|
||||
STRING_LITERAL=376
|
||||
DOUBLEQUOTED_STRING=377
|
||||
BIGINT_LITERAL=378
|
||||
SMALLINT_LITERAL=379
|
||||
TINYINT_LITERAL=380
|
||||
INTEGER_VALUE=381
|
||||
EXPONENT_VALUE=382
|
||||
DECIMAL_VALUE=383
|
||||
FLOAT_LITERAL=384
|
||||
DOUBLE_LITERAL=385
|
||||
BIGDECIMAL_LITERAL=386
|
||||
IDENTIFIER=387
|
||||
BACKQUOTED_IDENTIFIER=388
|
||||
SIMPLE_COMMENT=389
|
||||
BRACKETED_COMMENT=390
|
||||
WS=391
|
||||
UNRECOGNIZED=392
|
||||
KW_LIFECYCLE=162
|
||||
KW_LIKE=163
|
||||
KW_ILIKE=164
|
||||
KW_LIMIT=165
|
||||
KW_LINES=166
|
||||
KW_LIST=167
|
||||
KW_LOAD=168
|
||||
KW_LOCAL=169
|
||||
KW_LOCATION=170
|
||||
KW_LOCK=171
|
||||
KW_LOCKS=172
|
||||
KW_LOGICAL=173
|
||||
KW_LONG=174
|
||||
KW_MACRO=175
|
||||
KW_MATERIALIZED=176
|
||||
KW_MAP=177
|
||||
KW_MATCHED=178
|
||||
KW_MERGE=179
|
||||
KW_MICROSECOND=180
|
||||
KW_MICROSECONDS=181
|
||||
KW_MILLISECOND=182
|
||||
KW_MILLISECONDS=183
|
||||
KW_MINUTE=184
|
||||
KW_MINUTES=185
|
||||
KW_MONTH=186
|
||||
KW_MONTHS=187
|
||||
KW_MSCK=188
|
||||
KW_NAME=189
|
||||
KW_NAMESPACE=190
|
||||
KW_NAMESPACES=191
|
||||
KW_NANOSECOND=192
|
||||
KW_NANOSECONDS=193
|
||||
KW_NATURAL=194
|
||||
KW_NO=195
|
||||
KW_NOSCAN=196
|
||||
KW_NOT=197
|
||||
KW_NULL=198
|
||||
KW_NULLS=199
|
||||
KW_NUMERIC=200
|
||||
KW_OF=201
|
||||
KW_OFFSET=202
|
||||
KW_ON=203
|
||||
KW_ONLY=204
|
||||
KW_OPTIMIZE=205
|
||||
KW_OPTION=206
|
||||
KW_OPTIONS=207
|
||||
KW_OR=208
|
||||
KW_ORDER=209
|
||||
KW_OUT=210
|
||||
KW_OUTER=211
|
||||
KW_OUTPUTFORMAT=212
|
||||
KW_OVER=213
|
||||
KW_OVERLAPS=214
|
||||
KW_OVERLAY=215
|
||||
KW_OVERWRITE=216
|
||||
KW_PARTITION=217
|
||||
KW_PARTITIONED=218
|
||||
KW_PARTITIONS=219
|
||||
KW_PERCENTILE_CONT=220
|
||||
KW_PERCENTILE_DISC=221
|
||||
KW_PERCENTLIT=222
|
||||
KW_PIVOT=223
|
||||
KW_PLACING=224
|
||||
KW_POSITION=225
|
||||
KW_PRECEDING=226
|
||||
KW_PRIMARY=227
|
||||
KW_PRINCIPALS=228
|
||||
KW_PROPERTIES=229
|
||||
KW_PURGE=230
|
||||
KW_QUARTER=231
|
||||
KW_QUERY=232
|
||||
KW_RANGE=233
|
||||
KW_REAL=234
|
||||
KW_RECORDREADER=235
|
||||
KW_RECORDWRITER=236
|
||||
KW_RECOVER=237
|
||||
KW_REDUCE=238
|
||||
KW_REFERENCES=239
|
||||
KW_REFRESH=240
|
||||
KW_RENAME=241
|
||||
KW_REPAIR=242
|
||||
KW_REPEATABLE=243
|
||||
KW_REPLACE=244
|
||||
KW_RESET=245
|
||||
KW_RESPECT=246
|
||||
KW_RESTRICT=247
|
||||
KW_REWRITE=248
|
||||
KW_REVOKE=249
|
||||
KW_RIGHT=250
|
||||
KW_RLIKE=251
|
||||
KW_REGEXP=252
|
||||
KW_ROLE=253
|
||||
KW_ROLES=254
|
||||
KW_ROLLBACK=255
|
||||
KW_ROLLUP=256
|
||||
KW_ROW=257
|
||||
KW_ROWS=258
|
||||
KW_SECOND=259
|
||||
KW_SECONDS=260
|
||||
KW_SCHEMA=261
|
||||
KW_SCHEMAS=262
|
||||
KW_SELECT=263
|
||||
KW_SEMI=264
|
||||
KW_SEPARATED=265
|
||||
KW_SERDE=266
|
||||
KW_SERDEPROPERTIES=267
|
||||
KW_SESSION_USER=268
|
||||
KW_SET=269
|
||||
KW_MINUS=270
|
||||
KW_SETS=271
|
||||
KW_SHORT=272
|
||||
KW_SHOW=273
|
||||
KW_SINGLE=274
|
||||
KW_SKEWED=275
|
||||
KW_SMALLINT=276
|
||||
KW_SOME=277
|
||||
KW_SORT=278
|
||||
KW_SORTED=279
|
||||
KW_SOURCE=280
|
||||
KW_START=281
|
||||
KW_STATISTICS=282
|
||||
KW_STORED=283
|
||||
KW_STRATIFY=284
|
||||
KW_STRING=285
|
||||
KW_STRUCT=286
|
||||
KW_SUBSTR=287
|
||||
KW_SUBSTRING=288
|
||||
KW_SYNC=289
|
||||
KW_SYSTEM=290
|
||||
KW_SYSTEM_TIME=291
|
||||
KW_SYSTEM_VERSION=292
|
||||
KW_TABLE=293
|
||||
KW_TABLES=294
|
||||
KW_TABLESAMPLE=295
|
||||
KW_TARGET=296
|
||||
KW_TBLPROPERTIES=297
|
||||
KW_TEMPORARY=298
|
||||
KW_TERMINATED=299
|
||||
KW_THEN=300
|
||||
KW_TIME=301
|
||||
KW_TIMEDIFF=302
|
||||
KW_TIMESTAMP=303
|
||||
KW_TIMESTAMP_LTZ=304
|
||||
KW_TIMESTAMP_NTZ=305
|
||||
KW_TIMESTAMPADD=306
|
||||
KW_TIMESTAMPDIFF=307
|
||||
KW_TINYINT=308
|
||||
KW_TO=309
|
||||
KW_TOUCH=310
|
||||
KW_TRAILING=311
|
||||
KW_TRANSACTION=312
|
||||
KW_TRANSACTIONS=313
|
||||
KW_TRANSFORM=314
|
||||
KW_TRIM=315
|
||||
KW_TRUE=316
|
||||
KW_TRUNCATE=317
|
||||
KW_TRY_CAST=318
|
||||
KW_TYPE=319
|
||||
KW_UNARCHIVE=320
|
||||
KW_UNBOUNDED=321
|
||||
KW_UNCACHE=322
|
||||
KW_UNION=323
|
||||
KW_UNIQUE=324
|
||||
KW_UNKNOWN=325
|
||||
KW_UNLOCK=326
|
||||
KW_UNPIVOT=327
|
||||
KW_UNSET=328
|
||||
KW_UPDATE=329
|
||||
KW_USE=330
|
||||
KW_USER=331
|
||||
KW_USING=332
|
||||
KW_VALUES=333
|
||||
KW_VARCHAR=334
|
||||
KW_VAR=335
|
||||
KW_VARIABLE=336
|
||||
KW_VERSION=337
|
||||
KW_VIEW=338
|
||||
KW_VIEWS=339
|
||||
KW_VOID=340
|
||||
KW_WEEK=341
|
||||
KW_WEEKS=342
|
||||
KW_WHEN=343
|
||||
KW_WHERE=344
|
||||
KW_WINDOW=345
|
||||
KW_WITH=346
|
||||
KW_WITHIN=347
|
||||
KW_YEAR=348
|
||||
KW_YEARS=349
|
||||
KW_ZONE=350
|
||||
KW_ZORDER=351
|
||||
EQ=352
|
||||
NSEQ=353
|
||||
NEQ=354
|
||||
NEQJ=355
|
||||
LT=356
|
||||
LTE=357
|
||||
GT=358
|
||||
GTE=359
|
||||
NOT=360
|
||||
PLUS=361
|
||||
MINUS=362
|
||||
ASTERISK=363
|
||||
SLASH=364
|
||||
PERCENT=365
|
||||
TILDE=366
|
||||
AMPERSAND=367
|
||||
PIPE=368
|
||||
CONCAT_PIPE=369
|
||||
HAT=370
|
||||
COLON=371
|
||||
ARROW=372
|
||||
FAT_ARROW=373
|
||||
HENT_START=374
|
||||
HENT_END=375
|
||||
QUESTION=376
|
||||
STRING_LITERAL=377
|
||||
DOUBLEQUOTED_STRING=378
|
||||
BIGINT_LITERAL=379
|
||||
SMALLINT_LITERAL=380
|
||||
TINYINT_LITERAL=381
|
||||
INTEGER_VALUE=382
|
||||
EXPONENT_VALUE=383
|
||||
DECIMAL_VALUE=384
|
||||
FLOAT_LITERAL=385
|
||||
DOUBLE_LITERAL=386
|
||||
BIGDECIMAL_LITERAL=387
|
||||
IDENTIFIER=388
|
||||
BACKQUOTED_IDENTIFIER=389
|
||||
SIMPLE_COMMENT=390
|
||||
BRACKETED_COMMENT=391
|
||||
WS=392
|
||||
UNRECOGNIZED=393
|
||||
';'=1
|
||||
'('=2
|
||||
')'=3
|
||||
@ -551,214 +552,215 @@ UNRECOGNIZED=392
|
||||
'LAZY'=159
|
||||
'LEADING'=160
|
||||
'LEFT'=161
|
||||
'LIKE'=162
|
||||
'ILIKE'=163
|
||||
'LIMIT'=164
|
||||
'LINES'=165
|
||||
'LIST'=166
|
||||
'LOAD'=167
|
||||
'LOCAL'=168
|
||||
'LOCATION'=169
|
||||
'LOCK'=170
|
||||
'LOCKS'=171
|
||||
'LOGICAL'=172
|
||||
'LONG'=173
|
||||
'MACRO'=174
|
||||
'MATERIALIZED'=175
|
||||
'MAP'=176
|
||||
'MATCHED'=177
|
||||
'MERGE'=178
|
||||
'MICROSECOND'=179
|
||||
'MICROSECONDS'=180
|
||||
'MILLISECOND'=181
|
||||
'MILLISECONDS'=182
|
||||
'MINUTE'=183
|
||||
'MINUTES'=184
|
||||
'MONTH'=185
|
||||
'MONTHS'=186
|
||||
'MSCK'=187
|
||||
'NAME'=188
|
||||
'NAMESPACE'=189
|
||||
'NAMESPACES'=190
|
||||
'NANOSECOND'=191
|
||||
'NANOSECONDS'=192
|
||||
'NATURAL'=193
|
||||
'NO'=194
|
||||
'NOSCAN'=195
|
||||
'NOT'=196
|
||||
'NULL'=197
|
||||
'NULLS'=198
|
||||
'NUMERIC'=199
|
||||
'OF'=200
|
||||
'OFFSET'=201
|
||||
'ON'=202
|
||||
'ONLY'=203
|
||||
'OPTIMIZE'=204
|
||||
'OPTION'=205
|
||||
'OPTIONS'=206
|
||||
'OR'=207
|
||||
'ORDER'=208
|
||||
'OUT'=209
|
||||
'OUTER'=210
|
||||
'OUTPUTFORMAT'=211
|
||||
'OVER'=212
|
||||
'OVERLAPS'=213
|
||||
'OVERLAY'=214
|
||||
'OVERWRITE'=215
|
||||
'PARTITION'=216
|
||||
'PARTITIONED'=217
|
||||
'PARTITIONS'=218
|
||||
'PERCENTILE_CONT'=219
|
||||
'PERCENTILE_DISC'=220
|
||||
'PERCENT'=221
|
||||
'PIVOT'=222
|
||||
'PLACING'=223
|
||||
'POSITION'=224
|
||||
'PRECEDING'=225
|
||||
'PRIMARY'=226
|
||||
'PRINCIPALS'=227
|
||||
'PROPERTIES'=228
|
||||
'PURGE'=229
|
||||
'QUARTER'=230
|
||||
'QUERY'=231
|
||||
'RANGE'=232
|
||||
'REAL'=233
|
||||
'RECORDREADER'=234
|
||||
'RECORDWRITER'=235
|
||||
'RECOVER'=236
|
||||
'REDUCE'=237
|
||||
'REFERENCES'=238
|
||||
'REFRESH'=239
|
||||
'RENAME'=240
|
||||
'REPAIR'=241
|
||||
'REPEATABLE'=242
|
||||
'REPLACE'=243
|
||||
'RESET'=244
|
||||
'RESPECT'=245
|
||||
'RESTRICT'=246
|
||||
'REWRITE'=247
|
||||
'REVOKE'=248
|
||||
'RIGHT'=249
|
||||
'RLIKE'=250
|
||||
'REGEXP'=251
|
||||
'ROLE'=252
|
||||
'ROLES'=253
|
||||
'ROLLBACK'=254
|
||||
'ROLLUP'=255
|
||||
'ROW'=256
|
||||
'ROWS'=257
|
||||
'SECOND'=258
|
||||
'SECONDS'=259
|
||||
'SCHEMA'=260
|
||||
'SCHEMAS'=261
|
||||
'SELECT'=262
|
||||
'SEMI'=263
|
||||
'SEPARATED'=264
|
||||
'SERDE'=265
|
||||
'SERDEPROPERTIES'=266
|
||||
'SESSION_USER'=267
|
||||
'SET'=268
|
||||
'MINUS'=269
|
||||
'SETS'=270
|
||||
'SHORT'=271
|
||||
'SHOW'=272
|
||||
'SINGLE'=273
|
||||
'SKEWED'=274
|
||||
'SMALLINT'=275
|
||||
'SOME'=276
|
||||
'SORT'=277
|
||||
'SORTED'=278
|
||||
'SOURCE'=279
|
||||
'START'=280
|
||||
'STATISTICS'=281
|
||||
'STORED'=282
|
||||
'STRATIFY'=283
|
||||
'STRING'=284
|
||||
'STRUCT'=285
|
||||
'SUBSTR'=286
|
||||
'SUBSTRING'=287
|
||||
'SYNC'=288
|
||||
'SYSTEM'=289
|
||||
'SYSTEM_TIME'=290
|
||||
'SYSTEM_VERSION'=291
|
||||
'TABLE'=292
|
||||
'TABLES'=293
|
||||
'TABLESAMPLE'=294
|
||||
'TARGET'=295
|
||||
'TBLPROPERTIES'=296
|
||||
'TEMPORARY'=297
|
||||
'TERMINATED'=298
|
||||
'THEN'=299
|
||||
'TIME'=300
|
||||
'TIMEDIFF'=301
|
||||
'TIMESTAMP'=302
|
||||
'TIMESTAMP_LTZ'=303
|
||||
'TIMESTAMP_NTZ'=304
|
||||
'TIMESTAMPADD'=305
|
||||
'TIMESTAMPDIFF'=306
|
||||
'TINYINT'=307
|
||||
'TO'=308
|
||||
'TOUCH'=309
|
||||
'TRAILING'=310
|
||||
'TRANSACTION'=311
|
||||
'TRANSACTIONS'=312
|
||||
'TRANSFORM'=313
|
||||
'TRIM'=314
|
||||
'TRUE'=315
|
||||
'TRUNCATE'=316
|
||||
'TRY_CAST'=317
|
||||
'TYPE'=318
|
||||
'UNARCHIVE'=319
|
||||
'UNBOUNDED'=320
|
||||
'UNCACHE'=321
|
||||
'UNION'=322
|
||||
'UNIQUE'=323
|
||||
'UNKNOWN'=324
|
||||
'UNLOCK'=325
|
||||
'UNPIVOT'=326
|
||||
'UNSET'=327
|
||||
'UPDATE'=328
|
||||
'USE'=329
|
||||
'USER'=330
|
||||
'USING'=331
|
||||
'VALUES'=332
|
||||
'VARCHAR'=333
|
||||
'VAR'=334
|
||||
'VARIABLE'=335
|
||||
'VERSION'=336
|
||||
'VIEW'=337
|
||||
'VIEWS'=338
|
||||
'VOID'=339
|
||||
'WEEK'=340
|
||||
'WEEKS'=341
|
||||
'WHEN'=342
|
||||
'WHERE'=343
|
||||
'WINDOW'=344
|
||||
'WITH'=345
|
||||
'WITHIN'=346
|
||||
'YEAR'=347
|
||||
'YEARS'=348
|
||||
'ZONE'=349
|
||||
'ZORDER'=350
|
||||
'<=>'=352
|
||||
'<>'=353
|
||||
'!='=354
|
||||
'<'=355
|
||||
'>'=357
|
||||
'!'=359
|
||||
'+'=360
|
||||
'-'=361
|
||||
'*'=362
|
||||
'/'=363
|
||||
'%'=364
|
||||
'~'=365
|
||||
'&'=366
|
||||
'|'=367
|
||||
'||'=368
|
||||
'^'=369
|
||||
':'=370
|
||||
'->'=371
|
||||
'=>'=372
|
||||
'/*+'=373
|
||||
'*/'=374
|
||||
'?'=375
|
||||
'LIFECYCLE'=162
|
||||
'LIKE'=163
|
||||
'ILIKE'=164
|
||||
'LIMIT'=165
|
||||
'LINES'=166
|
||||
'LIST'=167
|
||||
'LOAD'=168
|
||||
'LOCAL'=169
|
||||
'LOCATION'=170
|
||||
'LOCK'=171
|
||||
'LOCKS'=172
|
||||
'LOGICAL'=173
|
||||
'LONG'=174
|
||||
'MACRO'=175
|
||||
'MATERIALIZED'=176
|
||||
'MAP'=177
|
||||
'MATCHED'=178
|
||||
'MERGE'=179
|
||||
'MICROSECOND'=180
|
||||
'MICROSECONDS'=181
|
||||
'MILLISECOND'=182
|
||||
'MILLISECONDS'=183
|
||||
'MINUTE'=184
|
||||
'MINUTES'=185
|
||||
'MONTH'=186
|
||||
'MONTHS'=187
|
||||
'MSCK'=188
|
||||
'NAME'=189
|
||||
'NAMESPACE'=190
|
||||
'NAMESPACES'=191
|
||||
'NANOSECOND'=192
|
||||
'NANOSECONDS'=193
|
||||
'NATURAL'=194
|
||||
'NO'=195
|
||||
'NOSCAN'=196
|
||||
'NOT'=197
|
||||
'NULL'=198
|
||||
'NULLS'=199
|
||||
'NUMERIC'=200
|
||||
'OF'=201
|
||||
'OFFSET'=202
|
||||
'ON'=203
|
||||
'ONLY'=204
|
||||
'OPTIMIZE'=205
|
||||
'OPTION'=206
|
||||
'OPTIONS'=207
|
||||
'OR'=208
|
||||
'ORDER'=209
|
||||
'OUT'=210
|
||||
'OUTER'=211
|
||||
'OUTPUTFORMAT'=212
|
||||
'OVER'=213
|
||||
'OVERLAPS'=214
|
||||
'OVERLAY'=215
|
||||
'OVERWRITE'=216
|
||||
'PARTITION'=217
|
||||
'PARTITIONED'=218
|
||||
'PARTITIONS'=219
|
||||
'PERCENTILE_CONT'=220
|
||||
'PERCENTILE_DISC'=221
|
||||
'PERCENT'=222
|
||||
'PIVOT'=223
|
||||
'PLACING'=224
|
||||
'POSITION'=225
|
||||
'PRECEDING'=226
|
||||
'PRIMARY'=227
|
||||
'PRINCIPALS'=228
|
||||
'PROPERTIES'=229
|
||||
'PURGE'=230
|
||||
'QUARTER'=231
|
||||
'QUERY'=232
|
||||
'RANGE'=233
|
||||
'REAL'=234
|
||||
'RECORDREADER'=235
|
||||
'RECORDWRITER'=236
|
||||
'RECOVER'=237
|
||||
'REDUCE'=238
|
||||
'REFERENCES'=239
|
||||
'REFRESH'=240
|
||||
'RENAME'=241
|
||||
'REPAIR'=242
|
||||
'REPEATABLE'=243
|
||||
'REPLACE'=244
|
||||
'RESET'=245
|
||||
'RESPECT'=246
|
||||
'RESTRICT'=247
|
||||
'REWRITE'=248
|
||||
'REVOKE'=249
|
||||
'RIGHT'=250
|
||||
'RLIKE'=251
|
||||
'REGEXP'=252
|
||||
'ROLE'=253
|
||||
'ROLES'=254
|
||||
'ROLLBACK'=255
|
||||
'ROLLUP'=256
|
||||
'ROW'=257
|
||||
'ROWS'=258
|
||||
'SECOND'=259
|
||||
'SECONDS'=260
|
||||
'SCHEMA'=261
|
||||
'SCHEMAS'=262
|
||||
'SELECT'=263
|
||||
'SEMI'=264
|
||||
'SEPARATED'=265
|
||||
'SERDE'=266
|
||||
'SERDEPROPERTIES'=267
|
||||
'SESSION_USER'=268
|
||||
'SET'=269
|
||||
'MINUS'=270
|
||||
'SETS'=271
|
||||
'SHORT'=272
|
||||
'SHOW'=273
|
||||
'SINGLE'=274
|
||||
'SKEWED'=275
|
||||
'SMALLINT'=276
|
||||
'SOME'=277
|
||||
'SORT'=278
|
||||
'SORTED'=279
|
||||
'SOURCE'=280
|
||||
'START'=281
|
||||
'STATISTICS'=282
|
||||
'STORED'=283
|
||||
'STRATIFY'=284
|
||||
'STRING'=285
|
||||
'STRUCT'=286
|
||||
'SUBSTR'=287
|
||||
'SUBSTRING'=288
|
||||
'SYNC'=289
|
||||
'SYSTEM'=290
|
||||
'SYSTEM_TIME'=291
|
||||
'SYSTEM_VERSION'=292
|
||||
'TABLE'=293
|
||||
'TABLES'=294
|
||||
'TABLESAMPLE'=295
|
||||
'TARGET'=296
|
||||
'TBLPROPERTIES'=297
|
||||
'TEMPORARY'=298
|
||||
'TERMINATED'=299
|
||||
'THEN'=300
|
||||
'TIME'=301
|
||||
'TIMEDIFF'=302
|
||||
'TIMESTAMP'=303
|
||||
'TIMESTAMP_LTZ'=304
|
||||
'TIMESTAMP_NTZ'=305
|
||||
'TIMESTAMPADD'=306
|
||||
'TIMESTAMPDIFF'=307
|
||||
'TINYINT'=308
|
||||
'TO'=309
|
||||
'TOUCH'=310
|
||||
'TRAILING'=311
|
||||
'TRANSACTION'=312
|
||||
'TRANSACTIONS'=313
|
||||
'TRANSFORM'=314
|
||||
'TRIM'=315
|
||||
'TRUE'=316
|
||||
'TRUNCATE'=317
|
||||
'TRY_CAST'=318
|
||||
'TYPE'=319
|
||||
'UNARCHIVE'=320
|
||||
'UNBOUNDED'=321
|
||||
'UNCACHE'=322
|
||||
'UNION'=323
|
||||
'UNIQUE'=324
|
||||
'UNKNOWN'=325
|
||||
'UNLOCK'=326
|
||||
'UNPIVOT'=327
|
||||
'UNSET'=328
|
||||
'UPDATE'=329
|
||||
'USE'=330
|
||||
'USER'=331
|
||||
'USING'=332
|
||||
'VALUES'=333
|
||||
'VARCHAR'=334
|
||||
'VAR'=335
|
||||
'VARIABLE'=336
|
||||
'VERSION'=337
|
||||
'VIEW'=338
|
||||
'VIEWS'=339
|
||||
'VOID'=340
|
||||
'WEEK'=341
|
||||
'WEEKS'=342
|
||||
'WHEN'=343
|
||||
'WHERE'=344
|
||||
'WINDOW'=345
|
||||
'WITH'=346
|
||||
'WITHIN'=347
|
||||
'YEAR'=348
|
||||
'YEARS'=349
|
||||
'ZONE'=350
|
||||
'ZORDER'=351
|
||||
'<=>'=353
|
||||
'<>'=354
|
||||
'!='=355
|
||||
'<'=356
|
||||
'>'=358
|
||||
'!'=360
|
||||
'+'=361
|
||||
'-'=362
|
||||
'*'=363
|
||||
'/'=364
|
||||
'%'=365
|
||||
'~'=366
|
||||
'&'=367
|
||||
'|'=368
|
||||
'||'=369
|
||||
'^'=370
|
||||
':'=371
|
||||
'->'=372
|
||||
'=>'=373
|
||||
'/*+'=374
|
||||
'*/'=375
|
||||
'?'=376
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -124,6 +124,7 @@ import { CtesContext } from "./SparkSqlParser.js";
|
||||
import { NamedQueryContext } from "./SparkSqlParser.js";
|
||||
import { TableProviderContext } from "./SparkSqlParser.js";
|
||||
import { CreateTableClausesContext } from "./SparkSqlParser.js";
|
||||
import { TableLifecycleContext } from "./SparkSqlParser.js";
|
||||
import { PropertyListContext } from "./SparkSqlParser.js";
|
||||
import { PropertyContext } from "./SparkSqlParser.js";
|
||||
import { PropertyKeyContext } from "./SparkSqlParser.js";
|
||||
@ -1652,6 +1653,16 @@ export class SparkSqlParserListener implements ParseTreeListener {
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitCreateTableClauses?: (ctx: CreateTableClausesContext) => void;
|
||||
/**
|
||||
* Enter a parse tree produced by `SparkSqlParser.tableLifecycle`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
enterTableLifecycle?: (ctx: TableLifecycleContext) => void;
|
||||
/**
|
||||
* Exit a parse tree produced by `SparkSqlParser.tableLifecycle`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitTableLifecycle?: (ctx: TableLifecycleContext) => void;
|
||||
/**
|
||||
* Enter a parse tree produced by `SparkSqlParser.propertyList`.
|
||||
* @param ctx the parse tree
|
||||
|
@ -124,6 +124,7 @@ import { CtesContext } from "./SparkSqlParser.js";
|
||||
import { NamedQueryContext } from "./SparkSqlParser.js";
|
||||
import { TableProviderContext } from "./SparkSqlParser.js";
|
||||
import { CreateTableClausesContext } from "./SparkSqlParser.js";
|
||||
import { TableLifecycleContext } from "./SparkSqlParser.js";
|
||||
import { PropertyListContext } from "./SparkSqlParser.js";
|
||||
import { PropertyContext } from "./SparkSqlParser.js";
|
||||
import { PropertyKeyContext } from "./SparkSqlParser.js";
|
||||
@ -1099,6 +1100,12 @@ export class SparkSqlParserVisitor<Result> extends AbstractParseTreeVisitor<Resu
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitCreateTableClauses?: (ctx: CreateTableClausesContext) => Result;
|
||||
/**
|
||||
* Visit a parse tree produced by `SparkSqlParser.tableLifecycle`.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitTableLifecycle?: (ctx: TableLifecycleContext) => Result;
|
||||
/**
|
||||
* Visit a parse tree produced by `SparkSqlParser.propertyList`.
|
||||
* @param ctx the parse tree
|
||||
|
@ -104,4 +104,17 @@ CREATE MANAGED TABLE managed_table (
|
||||
name STRING COMMENT '名称'
|
||||
) COMMENT '测试分桶' CLUSTERED BY(id) SORTED BY (id) INTO 4 BUCKETS STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler';
|
||||
|
||||
CREATE TABLE list_bucket_multiple (col1 STRING, col2 INT, col3 STRING) SKEWED BY (col1, col2) ON (('s1', 1), ('s3', 3), ('s13', 13), ('s78', 78)) STORED AS JSONFILE;
|
||||
CREATE TABLE list_bucket_multiple (col1 STRING, col2 INT, col3 STRING) SKEWED BY (col1, col2) ON (('s1', 1), ('s3', 3), ('s13', 13), ('s78', 78)) STORED AS JSONFILE;
|
||||
|
||||
-- dtstack SparkSQL/HiveSQL lifecycle
|
||||
CREATE TABLE IF NOT EXISTS t1 (
|
||||
id INT COMMENT '索引',
|
||||
name STRING COMMENT '姓名',
|
||||
age SMALLINT COMMENT '年龄'
|
||||
) COMMENT "t1表" lifecycle 29;
|
||||
|
||||
-- dtstack SparkSQL/HiveSQL lifecycle
|
||||
CREATE MANAGED TABLE managed_table (
|
||||
id INT COMMENT 'ID',
|
||||
name STRING COMMENT '名称'
|
||||
) COMMENT '测试分桶' lifecycle 29 CLUSTERED BY(id) SORTED BY (id) INTO 4 BUCKETS STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler';
|
||||
|
@ -66,3 +66,10 @@ CREATE TABLE student_bucket
|
||||
)
|
||||
SELECT * FROM tmpTable
|
||||
);
|
||||
|
||||
-- dtstack SparkSQL/HiveSQL lifecycle
|
||||
CREATE TABLE IF NOT EXISTS t1 (
|
||||
id INT COMMENT '索引',
|
||||
name STRING COMMENT '姓名',
|
||||
age SMALLINT COMMENT '年龄'
|
||||
) COMMENT "t1表" lifecycle 29;
|
||||
|
@ -22,3 +22,11 @@ CREATE TABLE Student_Duple like Student
|
||||
ROW FORMAT DELIMITED FIELDS TERMINATED BY ','
|
||||
STORED AS TEXTFILE
|
||||
TBLPROPERTIES ('owner'='xxxx');
|
||||
|
||||
|
||||
|
||||
-- dtstack SparkSQL/HiveSQL lifecycle
|
||||
CREATE TABLE Student_Duple like Student
|
||||
ROW FORMAT DELIMITED FIELDS TERMINATED BY ','
|
||||
STORED AS TEXTFILE
|
||||
TBLPROPERTIES ('owner'='xxxx') lifecycle 29;
|
||||
|
Loading…
Reference in New Issue
Block a user