diff --git a/include/common/ttokendef.h b/include/common/ttokendef.h
index 921ecf356d..aeded4b05b 100644
--- a/include/common/ttokendef.h
+++ b/include/common/ttokendef.h
@@ -282,118 +282,126 @@
#define TK_IROWTS 264
#define TK_ISFILLED 265
#define TK_CAST 266
-#define TK_NOW 267
-#define TK_TODAY 268
-#define TK_TIMEZONE 269
-#define TK_CLIENT_VERSION 270
-#define TK_SERVER_VERSION 271
-#define TK_SERVER_STATUS 272
-#define TK_CURRENT_USER 273
-#define TK_CASE 274
-#define TK_WHEN 275
-#define TK_THEN 276
-#define TK_ELSE 277
-#define TK_BETWEEN 278
-#define TK_IS 279
-#define TK_NK_LT 280
-#define TK_NK_GT 281
-#define TK_NK_LE 282
-#define TK_NK_GE 283
-#define TK_NK_NE 284
-#define TK_MATCH 285
-#define TK_NMATCH 286
-#define TK_CONTAINS 287
-#define TK_IN 288
-#define TK_JOIN 289
-#define TK_INNER 290
-#define TK_LEFT 291
-#define TK_RIGHT 292
-#define TK_OUTER 293
-#define TK_SEMI 294
-#define TK_ANTI 295
-#define TK_ASOF 296
-#define TK_WINDOW 297
-#define TK_WINDOW_OFFSET 298
-#define TK_JLIMIT 299
-#define TK_SELECT 300
-#define TK_NK_HINT 301
-#define TK_DISTINCT 302
-#define TK_WHERE 303
-#define TK_PARTITION 304
-#define TK_BY 305
-#define TK_SESSION 306
-#define TK_STATE_WINDOW 307
-#define TK_EVENT_WINDOW 308
-#define TK_COUNT_WINDOW 309
-#define TK_SLIDING 310
-#define TK_FILL 311
-#define TK_VALUE 312
-#define TK_VALUE_F 313
-#define TK_NONE 314
-#define TK_PREV 315
-#define TK_NULL_F 316
-#define TK_LINEAR 317
-#define TK_NEXT 318
-#define TK_HAVING 319
-#define TK_RANGE 320
-#define TK_EVERY 321
-#define TK_ORDER 322
-#define TK_SLIMIT 323
-#define TK_SOFFSET 324
-#define TK_LIMIT 325
-#define TK_OFFSET 326
-#define TK_ASC 327
-#define TK_NULLS 328
-#define TK_ABORT 329
-#define TK_AFTER 330
-#define TK_ATTACH 331
-#define TK_BEFORE 332
-#define TK_BEGIN 333
-#define TK_BITAND 334
-#define TK_BITNOT 335
-#define TK_BITOR 336
-#define TK_BLOCKS 337
-#define TK_CHANGE 338
-#define TK_COMMA 339
-#define TK_CONCAT 340
-#define TK_CONFLICT 341
-#define TK_COPY 342
-#define TK_DEFERRED 343
-#define TK_DELIMITERS 344
-#define TK_DETACH 345
-#define TK_DIVIDE 346
-#define TK_DOT 347
-#define TK_EACH 348
-#define TK_FAIL 349
-#define TK_FOR 350
-#define TK_GLOB 351
-#define TK_ID 352
-#define TK_IMMEDIATE 353
-#define TK_IMPORT 354
-#define TK_INITIALLY 355
-#define TK_INSTEAD 356
-#define TK_ISNULL 357
-#define TK_MODULES 358
-#define TK_NK_BITNOT 359
-#define TK_NK_SEMI 360
-#define TK_NOTNULL 361
-#define TK_OF 362
-#define TK_PLUS 363
-#define TK_PRIVILEGE 364
-#define TK_RAISE 365
-#define TK_RESTRICT 366
-#define TK_ROW 367
-#define TK_STAR 368
-#define TK_STATEMENT 369
-#define TK_STRICT 370
-#define TK_STRING 371
-#define TK_TIMES 372
-#define TK_VALUES 373
-#define TK_VARIABLE 374
-#define TK_WAL 375
-#define TK_ENCODE 376
-#define TK_COMPRESS 377
-#define TK_LEVEL 378
+#define TK_POSITION 267
+#define TK_IN 268
+#define TK_FOR 269
+#define TK_NOW 270
+#define TK_TODAY 271
+#define TK_SUBSTR 272
+#define TK_SUBSTRING 273
+#define TK_BOTH 274
+#define TK_TRAILING 275
+#define TK_LEADING 276
+#define TK_TIMEZONE 277
+#define TK_CLIENT_VERSION 278
+#define TK_SERVER_VERSION 279
+#define TK_SERVER_STATUS 280
+#define TK_CURRENT_USER 281
+#define TK_PI 282
+#define TK_CASE 283
+#define TK_WHEN 284
+#define TK_THEN 285
+#define TK_ELSE 286
+#define TK_BETWEEN 287
+#define TK_IS 288
+#define TK_NK_LT 289
+#define TK_NK_GT 290
+#define TK_NK_LE 291
+#define TK_NK_GE 292
+#define TK_NK_NE 293
+#define TK_MATCH 294
+#define TK_NMATCH 295
+#define TK_CONTAINS 296
+#define TK_JOIN 297
+#define TK_INNER 298
+#define TK_LEFT 299
+#define TK_RIGHT 300
+#define TK_OUTER 301
+#define TK_SEMI 302
+#define TK_ANTI 303
+#define TK_ASOF 304
+#define TK_WINDOW 305
+#define TK_WINDOW_OFFSET 306
+#define TK_JLIMIT 307
+#define TK_SELECT 308
+#define TK_NK_HINT 309
+#define TK_DISTINCT 310
+#define TK_WHERE 311
+#define TK_PARTITION 312
+#define TK_BY 313
+#define TK_SESSION 314
+#define TK_STATE_WINDOW 315
+#define TK_EVENT_WINDOW 316
+#define TK_COUNT_WINDOW 317
+#define TK_SLIDING 318
+#define TK_FILL 319
+#define TK_VALUE 320
+#define TK_VALUE_F 321
+#define TK_NONE 322
+#define TK_PREV 323
+#define TK_NULL_F 324
+#define TK_LINEAR 325
+#define TK_NEXT 326
+#define TK_HAVING 327
+#define TK_RANGE 328
+#define TK_EVERY 329
+#define TK_ORDER 330
+#define TK_SLIMIT 331
+#define TK_SOFFSET 332
+#define TK_LIMIT 333
+#define TK_OFFSET 334
+#define TK_ASC 335
+#define TK_NULLS 336
+#define TK_ABORT 337
+#define TK_AFTER 338
+#define TK_ATTACH 339
+#define TK_BEFORE 340
+#define TK_BEGIN 341
+#define TK_BITAND 342
+#define TK_BITNOT 343
+#define TK_BITOR 344
+#define TK_BLOCKS 345
+#define TK_CHANGE 346
+#define TK_COMMA 347
+#define TK_CONCAT 348
+#define TK_CONFLICT 349
+#define TK_COPY 350
+#define TK_DEFERRED 351
+#define TK_DELIMITERS 352
+#define TK_DETACH 353
+#define TK_DIVIDE 354
+#define TK_DOT 355
+#define TK_EACH 356
+#define TK_FAIL 357
+#define TK_GLOB 358
+#define TK_ID 359
+#define TK_IMMEDIATE 360
+#define TK_IMPORT 361
+#define TK_INITIALLY 362
+#define TK_INSTEAD 363
+#define TK_ISNULL 364
+#define TK_MODULES 365
+#define TK_NK_BITNOT 366
+#define TK_NK_SEMI 367
+#define TK_NOTNULL 368
+#define TK_OF 369
+#define TK_PLUS 370
+#define TK_PRIVILEGE 371
+#define TK_RAISE 372
+#define TK_RESTRICT 373
+#define TK_ROW 374
+#define TK_STAR 375
+#define TK_STATEMENT 376
+#define TK_STRICT 377
+#define TK_STRING 378
+#define TK_TIMES 379
+#define TK_VALUES 380
+#define TK_VARIABLE 381
+#define TK_WAL 382
+#define TK_ENCODE 383
+#define TK_COMPRESS 384
+#define TK_LEVEL 385
+
#define TK_NK_SPACE 600
diff --git a/source/libs/parser/src/sql.c b/source/libs/parser/src/sql.c
index 0d0992af28..29062bc773 100644
--- a/source/libs/parser/src/sql.c
+++ b/source/libs/parser/src/sql.c
@@ -1,6 +1,5 @@
/* This file is automatically generated by Lemon from input grammar
-** source file "sql.y".
-*/
+** source file "sql.y". */
/*
** 2000-05-29
**
@@ -277,151 +276,159 @@
#define TK_TRIGGER 230
#define TK_AT_ONCE 231
#define TK_WINDOW_CLOSE 232
-#define TK_IGNORE 233
-#define TK_EXPIRED 234
-#define TK_FILL_HISTORY 235
-#define TK_UPDATE 236
-#define TK_SUBTABLE 237
-#define TK_UNTREATED 238
-#define TK_KILL 239
-#define TK_CONNECTION 240
-#define TK_TRANSACTION 241
-#define TK_BALANCE 242
-#define TK_VGROUP 243
-#define TK_LEADER 244
-#define TK_MERGE 245
-#define TK_REDISTRIBUTE 246
-#define TK_SPLIT 247
-#define TK_DELETE 248
-#define TK_INSERT 249
-#define TK_NK_BIN 250
-#define TK_NK_HEX 251
-#define TK_NULL 252
-#define TK_NK_QUESTION 253
-#define TK_NK_ALIAS 254
-#define TK_NK_ARROW 255
-#define TK_ROWTS 256
-#define TK_QSTART 257
-#define TK_QEND 258
-#define TK_QDURATION 259
-#define TK_WSTART 260
-#define TK_WEND 261
-#define TK_WDURATION 262
-#define TK_IROWTS 263
-#define TK_ISFILLED 264
-#define TK_CAST 265
-#define TK_NOW 266
-#define TK_TODAY 267
-#define TK_TIMEZONE 268
-#define TK_CLIENT_VERSION 269
-#define TK_SERVER_VERSION 270
-#define TK_SERVER_STATUS 271
-#define TK_CURRENT_USER 272
-#define TK_CASE 273
-#define TK_WHEN 274
-#define TK_THEN 275
-#define TK_ELSE 276
-#define TK_BETWEEN 277
-#define TK_IS 278
-#define TK_NK_LT 279
-#define TK_NK_GT 280
-#define TK_NK_LE 281
-#define TK_NK_GE 282
-#define TK_NK_NE 283
-#define TK_MATCH 284
-#define TK_NMATCH 285
-#define TK_CONTAINS 286
-#define TK_IN 287
-#define TK_JOIN 288
-#define TK_INNER 289
-#define TK_LEFT 290
-#define TK_RIGHT 291
-#define TK_OUTER 292
-#define TK_SEMI 293
-#define TK_ANTI 294
-#define TK_ASOF 295
-#define TK_WINDOW 296
-#define TK_WINDOW_OFFSET 297
-#define TK_JLIMIT 298
-#define TK_SELECT 299
-#define TK_NK_HINT 300
-#define TK_DISTINCT 301
-#define TK_WHERE 302
-#define TK_PARTITION 303
-#define TK_BY 304
-#define TK_SESSION 305
-#define TK_STATE_WINDOW 306
-#define TK_EVENT_WINDOW 307
-#define TK_COUNT_WINDOW 308
-#define TK_SLIDING 309
-#define TK_FILL 310
-#define TK_VALUE 311
-#define TK_VALUE_F 312
-#define TK_NONE 313
-#define TK_PREV 314
-#define TK_NULL_F 315
-#define TK_LINEAR 316
-#define TK_NEXT 317
-#define TK_HAVING 318
-#define TK_RANGE 319
-#define TK_EVERY 320
-#define TK_ORDER 321
-#define TK_SLIMIT 322
-#define TK_SOFFSET 323
-#define TK_LIMIT 324
-#define TK_OFFSET 325
-#define TK_ASC 326
-#define TK_NULLS 327
-#define TK_ABORT 328
-#define TK_AFTER 329
-#define TK_ATTACH 330
-#define TK_BEFORE 331
-#define TK_BEGIN 332
-#define TK_BITAND 333
-#define TK_BITNOT 334
-#define TK_BITOR 335
-#define TK_BLOCKS 336
-#define TK_CHANGE 337
-#define TK_COMMA 338
-#define TK_CONCAT 339
-#define TK_CONFLICT 340
-#define TK_COPY 341
-#define TK_DEFERRED 342
-#define TK_DELIMITERS 343
-#define TK_DETACH 344
-#define TK_DIVIDE 345
-#define TK_DOT 346
-#define TK_EACH 347
-#define TK_FAIL 348
-#define TK_FOR 349
-#define TK_GLOB 350
-#define TK_ID 351
-#define TK_IMMEDIATE 352
-#define TK_IMPORT 353
-#define TK_INITIALLY 354
-#define TK_INSTEAD 355
-#define TK_ISNULL 356
-#define TK_MODULES 357
-#define TK_NK_BITNOT 358
-#define TK_NK_SEMI 359
-#define TK_NOTNULL 360
-#define TK_OF 361
-#define TK_PLUS 362
-#define TK_PRIVILEGE 363
-#define TK_RAISE 364
-#define TK_RESTRICT 365
-#define TK_ROW 366
-#define TK_STAR 367
-#define TK_STATEMENT 368
-#define TK_STRICT 369
-#define TK_STRING 370
-#define TK_TIMES 371
-#define TK_VALUES 372
-#define TK_VARIABLE 373
-#define TK_WAL 374
-#define TK_ENCODE 375
-#define TK_COMPRESS 376
-#define TK_LEVEL 377
+#define TK_FORCE_WINDOW_CLOSE 233
+#define TK_IGNORE 234
+#define TK_EXPIRED 235
+#define TK_FILL_HISTORY 236
+#define TK_UPDATE 237
+#define TK_SUBTABLE 238
+#define TK_UNTREATED 239
+#define TK_KILL 240
+#define TK_CONNECTION 241
+#define TK_TRANSACTION 242
+#define TK_BALANCE 243
+#define TK_VGROUP 244
+#define TK_LEADER 245
+#define TK_MERGE 246
+#define TK_REDISTRIBUTE 247
+#define TK_SPLIT 248
+#define TK_DELETE 249
+#define TK_INSERT 250
+#define TK_NK_BIN 251
+#define TK_NK_HEX 252
+#define TK_NULL 253
+#define TK_NK_QUESTION 254
+#define TK_NK_ALIAS 255
+#define TK_NK_ARROW 256
+#define TK_ROWTS 257
+#define TK_QSTART 258
+#define TK_QEND 259
+#define TK_QDURATION 260
+#define TK_WSTART 261
+#define TK_WEND 262
+#define TK_WDURATION 263
+#define TK_IROWTS 264
+#define TK_ISFILLED 265
+#define TK_CAST 266
+#define TK_POSITION 267
+#define TK_IN 268
+#define TK_FOR 269
+#define TK_NOW 270
+#define TK_TODAY 271
+#define TK_SUBSTR 272
+#define TK_SUBSTRING 273
+#define TK_BOTH 274
+#define TK_TRAILING 275
+#define TK_LEADING 276
+#define TK_TIMEZONE 277
+#define TK_CLIENT_VERSION 278
+#define TK_SERVER_VERSION 279
+#define TK_SERVER_STATUS 280
+#define TK_CURRENT_USER 281
+#define TK_PI 282
+#define TK_CASE 283
+#define TK_WHEN 284
+#define TK_THEN 285
+#define TK_ELSE 286
+#define TK_BETWEEN 287
+#define TK_IS 288
+#define TK_NK_LT 289
+#define TK_NK_GT 290
+#define TK_NK_LE 291
+#define TK_NK_GE 292
+#define TK_NK_NE 293
+#define TK_MATCH 294
+#define TK_NMATCH 295
+#define TK_CONTAINS 296
+#define TK_JOIN 297
+#define TK_INNER 298
+#define TK_LEFT 299
+#define TK_RIGHT 300
+#define TK_OUTER 301
+#define TK_SEMI 302
+#define TK_ANTI 303
+#define TK_ASOF 304
+#define TK_WINDOW 305
+#define TK_WINDOW_OFFSET 306
+#define TK_JLIMIT 307
+#define TK_SELECT 308
+#define TK_NK_HINT 309
+#define TK_DISTINCT 310
+#define TK_WHERE 311
+#define TK_PARTITION 312
+#define TK_BY 313
+#define TK_SESSION 314
+#define TK_STATE_WINDOW 315
+#define TK_EVENT_WINDOW 316
+#define TK_COUNT_WINDOW 317
+#define TK_SLIDING 318
+#define TK_FILL 319
+#define TK_VALUE 320
+#define TK_VALUE_F 321
+#define TK_NONE 322
+#define TK_PREV 323
+#define TK_NULL_F 324
+#define TK_LINEAR 325
+#define TK_NEXT 326
+#define TK_HAVING 327
+#define TK_RANGE 328
+#define TK_EVERY 329
+#define TK_ORDER 330
+#define TK_SLIMIT 331
+#define TK_SOFFSET 332
+#define TK_LIMIT 333
+#define TK_OFFSET 334
+#define TK_ASC 335
+#define TK_NULLS 336
+#define TK_ABORT 337
+#define TK_AFTER 338
+#define TK_ATTACH 339
+#define TK_BEFORE 340
+#define TK_BEGIN 341
+#define TK_BITAND 342
+#define TK_BITNOT 343
+#define TK_BITOR 344
+#define TK_BLOCKS 345
+#define TK_CHANGE 346
+#define TK_COMMA 347
+#define TK_CONCAT 348
+#define TK_CONFLICT 349
+#define TK_COPY 350
+#define TK_DEFERRED 351
+#define TK_DELIMITERS 352
+#define TK_DETACH 353
+#define TK_DIVIDE 354
+#define TK_DOT 355
+#define TK_EACH 356
+#define TK_FAIL 357
+#define TK_GLOB 358
+#define TK_ID 359
+#define TK_IMMEDIATE 360
+#define TK_IMPORT 361
+#define TK_INITIALLY 362
+#define TK_INSTEAD 363
+#define TK_ISNULL 364
+#define TK_MODULES 365
+#define TK_NK_BITNOT 366
+#define TK_NK_SEMI 367
+#define TK_NOTNULL 368
+#define TK_OF 369
+#define TK_PLUS 370
+#define TK_PRIVILEGE 371
+#define TK_RAISE 372
+#define TK_RESTRICT 373
+#define TK_ROW 374
+#define TK_STAR 375
+#define TK_STATEMENT 376
+#define TK_STRICT 377
+#define TK_STRING 378
+#define TK_TIMES 379
+#define TK_VALUES 380
+#define TK_VARIABLE 381
+#define TK_WAL 382
+#define TK_ENCODE 383
+#define TK_COMPRESS 384
+#define TK_LEVEL 385
#endif
/**************** End token definitions ***************************************/
@@ -448,7 +455,7 @@
** the minor type might be the name of the identifier.
** Each non-terminal can have a different minor type.
** Terminal symbols all have the same minor type, though.
-** This macros defines the minor type for terminal
+** This macros defines the minor type for terminal
** symbols.
** YYMINORTYPE is the data type used for all minor types.
** This is typically a union of many types, one of
@@ -462,9 +469,6 @@
** ParseARG_STORE Code to store %extra_argument into yypParser
** ParseARG_FETCH Code to extract %extra_argument from yypParser
** ParseCTX_* As ParseARG_ except for %extra_context
-** YYREALLOC Name of the realloc() function to use
-** YYFREE Name of the free() function to use
-** YYDYNSTACK True if stack space should be extended on heap
** YYERRORSYMBOL is the code number of the error symbol. If not
** defined, then do no error processing.
** YYNSTATE the combined number of states.
@@ -478,68 +482,64 @@
** YY_NO_ACTION The yy_action[] code for no-op
** YY_MIN_REDUCE Minimum value for reduce actions
** YY_MAX_REDUCE Maximum value for reduce actions
-** YY_MIN_DSTRCTR Minimum symbol value that has a destructor
-** YY_MAX_DSTRCTR Maximum symbol value that has a destructor
*/
#ifndef INTERFACE
# define INTERFACE 1
#endif
/************* Begin control #defines *****************************************/
#define YYCODETYPE unsigned short int
-#define YYNOCODE 558
+#define YYNOCODE 568
#define YYACTIONTYPE unsigned short int
-#define ParseTOKENTYPE SToken
+#define ParseTOKENTYPE SToken
typedef union {
int yyinit;
ParseTOKENTYPE yy0;
- SAlterOption yy101;
- bool yy209;
- SNodeList* yy316;
- SNode* yy416;
- EOrder yy506;
- EJoinSubType yy630;
- EShowKind yy681;
- int32_t yy820;
- EOperatorType yy848;
- STokenPair yy849;
- EFillMode yy882;
- SShowTablesOption yy925;
- SDataType yy952;
- EJoinType yy972;
- int8_t yy1043;
- ENullOrder yy1045;
- int64_t yy1089;
- SToken yy1109;
+ bool yy9;
+ SShowTablesOption yy13;
+ SDataType yy48;
+ EOperatorType yy108;
+ SToken yy209;
+ EJoinSubType yy278;
+ int8_t yy343;
+ SNodeList* yy456;
+ EFillMode yy470;
+ ETrimType yy512;
+ int32_t yy516;
+ SAlterOption yy573;
+ int64_t yy637;
+ EJoinType yy724;
+ ENullOrder yy777;
+ EOrder yy818;
+ SNode* yy840;
+ EShowKind yy881;
+ STokenPair yy1065;
} YYMINORTYPE;
#ifndef YYSTACKDEPTH
#define YYSTACKDEPTH 100
#endif
#define ParseARG_SDECL SAstCreateContext* pCxt ;
-#define ParseARG_PDECL , SAstCreateContext* pCxt
-#define ParseARG_PARAM ,pCxt
+#define ParseARG_PDECL , SAstCreateContext* pCxt
+#define ParseARG_PARAM ,pCxt
#define ParseARG_FETCH SAstCreateContext* pCxt =yypParser->pCxt ;
#define ParseARG_STORE yypParser->pCxt =pCxt ;
-#define YYREALLOC realloc
-#define YYFREE free
-#define YYDYNSTACK 0
#define ParseCTX_SDECL
#define ParseCTX_PDECL
#define ParseCTX_PARAM
#define ParseCTX_FETCH
#define ParseCTX_STORE
#define YYFALLBACK 1
-#define YYNSTATE 979
-#define YYNRULE 755
-#define YYNRULE_WITH_ACTION 755
-#define YYNTOKEN 378
-#define YY_MAX_SHIFT 978
-#define YY_MIN_SHIFTREDUCE 1448
-#define YY_MAX_SHIFTREDUCE 2202
-#define YY_ERROR_ACTION 2203
-#define YY_ACCEPT_ACTION 2204
-#define YY_NO_ACTION 2205
-#define YY_MIN_REDUCE 2206
-#define YY_MAX_REDUCE 2960
+#define YYNSTATE 1004
+#define YYNRULE 771
+#define YYNRULE_WITH_ACTION 771
+#define YYNTOKEN 386
+#define YY_MAX_SHIFT 1003
+#define YY_MIN_SHIFTREDUCE 1488
+#define YY_MAX_SHIFTREDUCE 2258
+#define YY_ERROR_ACTION 2259
+#define YY_ACCEPT_ACTION 2260
+#define YY_NO_ACTION 2261
+#define YY_MIN_REDUCE 2262
+#define YY_MAX_REDUCE 3032
/************* End control #defines *******************************************/
#define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0])))
@@ -555,27 +555,11 @@ typedef union {
# define yytestcase(X)
#endif
-/* Macro to determine if stack space has the ability to grow using
-** heap memory.
-*/
-#if YYSTACKDEPTH<=0 || YYDYNSTACK
-# define YYGROWABLESTACK 1
-#else
-# define YYGROWABLESTACK 0
-#endif
-
-/* Guarantee a minimum number of initial stack slots.
- */
-#if YYSTACKDEPTH<=0
-# undef YYSTACKDEPTH
-# define YYSTACKDEPTH 2 /* Need a minimum stack size */
-#endif
-
/* Next are the tables used to determine what action to take based on the
** current state and lookahead token. These tables are used to implement
** functions that take a state number and lookahead value and return an
-** action integer.
+** action integer.
**
** Suppose the action integer is N. Then the action is determined as
** follows
@@ -622,906 +606,1154 @@ typedef union {
** yy_default[] Default action for each state.
**
*********** Begin parsing tables **********************************************/
-#define YY_ACTTAB_COUNT (3018)
+#define YY_ACTTAB_COUNT (4218)
static const YYACTIONTYPE yy_action[] = {
- /* 0 */ 2711, 2403, 647, 543, 2569, 648, 2254, 2569, 542, 37,
- /* 10 */ 340, 550, 47, 45, 2119, 2401, 2736, 652, 798, 211,
- /* 20 */ 476, 471, 1940, 649, 2567, 855, 2926, 2566, 855, 2715,
- /* 30 */ 2711, 813, 124, 810, 157, 2461, 1938, 787, 2028, 2405,
- /* 40 */ 1965, 495, 2416, 2694, 797, 218, 493, 40, 39, 2927,
- /* 50 */ 799, 46, 44, 43, 42, 41, 2736, 764, 748, 2715,
- /* 60 */ 2754, 612, 610, 2123, 415, 2926, 2754, 232, 2023, 1965,
- /* 70 */ 788, 851, 868, 502, 501, 19, 2701, 527, 850, 2717,
- /* 80 */ 2719, 473, 1946, 2932, 218, 810, 157, 2569, 2927, 799,
- /* 90 */ 873, 2645, 460, 2616, 1966, 47, 45, 1947, 810, 157,
- /* 100 */ 2754, 478, 482, 476, 2695, 1940, 482, 2566, 855, 2717,
- /* 110 */ 2720, 670, 975, 873, 435, 15, 2701, 873, 850, 1938,
- /* 120 */ 873, 2028, 868, 2735, 810, 157, 2774, 43, 42, 41,
- /* 130 */ 121, 2737, 854, 2739, 2740, 849, 1965, 873, 786, 2204,
- /* 140 */ 657, 2608, 200, 655, 2828, 515, 648, 2254, 472, 2824,
- /* 150 */ 2229, 2023, 2030, 2031, 812, 187, 2836, 2837, 19, 155,
- /* 160 */ 2841, 14, 13, 2735, 2057, 1946, 2774, 482, 219, 114,
- /* 170 */ 121, 2737, 854, 2739, 2740, 849, 2875, 873, 873, 2736,
- /* 180 */ 159, 488, 168, 2799, 2828, 869, 2414, 929, 472, 2824,
- /* 190 */ 2373, 2001, 2011, 254, 851, 975, 2264, 650, 15, 2262,
- /* 200 */ 256, 2029, 2032, 841, 650, 148, 2262, 194, 2836, 809,
- /* 210 */ 2701, 149, 808, 693, 840, 531, 1941, 50, 1939, 2926,
- /* 220 */ 127, 2836, 2837, 2754, 155, 2841, 1712, 1713, 508, 2058,
- /* 230 */ 2474, 62, 868, 507, 868, 2030, 2031, 797, 218, 2701,
- /* 240 */ 2002, 850, 2927, 799, 533, 529, 188, 2836, 2837, 817,
- /* 250 */ 155, 2841, 1944, 1945, 1998, 172, 2000, 2003, 2004, 2005,
- /* 260 */ 2006, 2007, 2008, 2009, 2010, 846, 871, 870, 2022, 2024,
- /* 270 */ 2025, 2026, 2027, 2, 2001, 2011, 2071, 2094, 443, 1950,
- /* 280 */ 9, 1968, 764, 207, 2029, 2032, 2735, 331, 332, 2774,
- /* 290 */ 2926, 491, 330, 121, 2737, 854, 2739, 2740, 849, 1941,
- /* 300 */ 873, 1939, 2301, 1999, 1998, 2946, 747, 2828, 2932, 218,
- /* 310 */ 2542, 472, 2824, 2927, 799, 2418, 36, 474, 2052, 2053,
- /* 320 */ 2054, 2055, 2056, 2060, 2061, 2062, 2063, 50, 910, 174,
- /* 330 */ 173, 907, 906, 905, 171, 1944, 1945, 1998, 54, 2000,
- /* 340 */ 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 846, 871,
- /* 350 */ 870, 2022, 2024, 2025, 2026, 2027, 2, 12, 47, 45,
- /* 360 */ 2398, 422, 2736, 1909, 2474, 183, 476, 291, 1940, 388,
- /* 370 */ 394, 290, 441, 2451, 869, 2414, 744, 813, 2228, 714,
- /* 380 */ 713, 712, 1938, 2472, 2028, 667, 704, 154, 708, 392,
- /* 390 */ 76, 2094, 707, 75, 148, 487, 486, 706, 711, 453,
- /* 400 */ 452, 324, 698, 705, 421, 2207, 2754, 451, 701, 700,
- /* 410 */ 699, 2091, 2092, 2093, 2023, 324, 252, 629, 627, 624,
- /* 420 */ 622, 19, 2701, 192, 850, 317, 138, 663, 1946, 137,
- /* 430 */ 136, 135, 134, 133, 132, 131, 130, 129, 2701, 2931,
- /* 440 */ 2474, 47, 45, 2033, 2556, 103, 668, 2926, 469, 476,
- /* 450 */ 430, 1940, 1966, 458, 322, 736, 2474, 1965, 975, 2472,
- /* 460 */ 798, 15, 62, 1493, 481, 1938, 2930, 2028, 2926, 2735,
- /* 470 */ 2927, 2929, 2774, 1908, 926, 2472, 121, 2737, 854, 2739,
- /* 480 */ 2740, 849, 1500, 873, 869, 2414, 797, 218, 200, 381,
- /* 490 */ 2828, 2927, 799, 666, 472, 2824, 2388, 2023, 2030, 2031,
- /* 500 */ 185, 63, 2218, 2094, 499, 490, 489, 1495, 1498, 1499,
- /* 510 */ 138, 1946, 207, 137, 136, 135, 134, 133, 132, 131,
- /* 520 */ 130, 129, 2876, 62, 2848, 2091, 2092, 2093, 2848, 2848,
- /* 530 */ 2848, 2848, 2848, 734, 2931, 480, 182, 2001, 2011, 2543,
- /* 540 */ 207, 975, 2926, 928, 48, 495, 2416, 2029, 2032, 728,
- /* 550 */ 2617, 732, 730, 288, 287, 88, 87, 546, 2285, 783,
- /* 560 */ 231, 2930, 1941, 1965, 1939, 2927, 2928, 2542, 869, 2414,
- /* 570 */ 912, 40, 39, 538, 536, 46, 44, 43, 42, 41,
- /* 580 */ 715, 2030, 2031, 1969, 1813, 1814, 418, 497, 223, 525,
- /* 590 */ 2467, 2469, 521, 517, 513, 510, 539, 697, 1944, 1945,
- /* 600 */ 1998, 696, 2000, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
- /* 610 */ 2010, 846, 871, 870, 2022, 2024, 2025, 2026, 2027, 2,
- /* 620 */ 2001, 2011, 2096, 2097, 2098, 2099, 2100, 66, 1786, 1787,
- /* 630 */ 2029, 2032, 100, 1812, 1815, 1673, 2848, 2091, 2092, 2093,
- /* 640 */ 2848, 2848, 2848, 2848, 2848, 1941, 324, 1939, 2206, 62,
- /* 650 */ 1664, 902, 901, 900, 1668, 899, 1670, 1671, 898, 895,
- /* 660 */ 2410, 1679, 892, 1681, 1682, 889, 886, 883, 789, 784,
- /* 670 */ 777, 773, 147, 146, 145, 144, 143, 142, 141, 140,
- /* 680 */ 139, 1944, 1945, 1998, 238, 2000, 2003, 2004, 2005, 2006,
- /* 690 */ 2007, 2008, 2009, 2010, 846, 871, 870, 2022, 2024, 2025,
- /* 700 */ 2026, 2027, 2, 47, 45, 1623, 2736, 324, 869, 2414,
- /* 710 */ 912, 476, 1969, 1940, 46, 44, 43, 42, 41, 1622,
- /* 720 */ 1520, 851, 1519, 2883, 714, 713, 712, 1938, 55, 2028,
- /* 730 */ 94, 704, 154, 708, 2002, 93, 153, 707, 62, 745,
- /* 740 */ 869, 2414, 706, 711, 453, 452, 2931, 2736, 705, 541,
- /* 750 */ 2754, 540, 451, 701, 700, 699, 214, 12, 1521, 2023,
- /* 760 */ 547, 2038, 851, 1968, 2896, 479, 2701, 1965, 850, 2494,
- /* 770 */ 879, 40, 39, 1946, 181, 46, 44, 43, 42, 41,
- /* 780 */ 644, 498, 664, 539, 606, 2419, 47, 45, 748, 642,
- /* 790 */ 181, 2754, 638, 634, 476, 617, 1940, 1999, 869, 2414,
- /* 800 */ 2474, 2419, 92, 975, 559, 2538, 48, 2701, 496, 850,
- /* 810 */ 1938, 2511, 2028, 2735, 2468, 2469, 2774, 1970, 548, 2472,
- /* 820 */ 121, 2737, 854, 2739, 2740, 849, 1611, 873, 869, 2414,
- /* 830 */ 565, 2538, 2946, 324, 2828, 869, 2414, 381, 472, 2824,
- /* 840 */ 869, 2414, 2023, 2030, 2031, 839, 665, 2562, 567, 869,
- /* 850 */ 2414, 2152, 243, 3, 2735, 581, 1946, 2774, 234, 2187,
- /* 860 */ 669, 121, 2737, 854, 2739, 2740, 849, 53, 873, 582,
- /* 870 */ 750, 2608, 1613, 2946, 1946, 2828, 100, 605, 242, 472,
- /* 880 */ 2824, 51, 2001, 2011, 236, 213, 975, 596, 2538, 15,
- /* 890 */ 903, 603, 2029, 2032, 446, 40, 39, 459, 2616, 46,
- /* 900 */ 44, 43, 42, 41, 2409, 274, 12, 1941, 10, 1939,
- /* 910 */ 780, 779, 2150, 2151, 2153, 2154, 2155, 878, 877, 876,
- /* 920 */ 29, 193, 324, 2144, 589, 2521, 2030, 2031, 2059, 2227,
- /* 930 */ 687, 683, 679, 675, 2390, 273, 322, 2145, 2002, 588,
- /* 940 */ 834, 241, 2800, 1944, 1945, 1998, 1970, 2000, 2003, 2004,
- /* 950 */ 2005, 2006, 2007, 2008, 2009, 2010, 846, 871, 870, 2022,
- /* 960 */ 2024, 2025, 2026, 2027, 2, 2001, 2011, 84, 419, 557,
- /* 970 */ 1963, 2194, 2474, 869, 2414, 2029, 2032, 594, 869, 2414,
- /* 980 */ 445, 101, 587, 2143, 160, 2116, 271, 586, 614, 2701,
- /* 990 */ 1941, 825, 1939, 583, 2406, 585, 869, 2414, 2411, 763,
- /* 1000 */ 184, 1999, 292, 2164, 573, 836, 616, 2800, 2347, 869,
- /* 1010 */ 2414, 420, 575, 40, 39, 34, 294, 46, 44, 43,
- /* 1020 */ 42, 41, 2049, 553, 2843, 2064, 1944, 1945, 1998, 302,
- /* 1030 */ 2000, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 846,
- /* 1040 */ 871, 870, 2022, 2024, 2025, 2026, 2027, 2, 869, 2414,
- /* 1050 */ 2840, 40, 39, 259, 522, 46, 44, 43, 42, 41,
- /* 1060 */ 1940, 1969, 270, 1502, 444, 324, 261, 268, 816, 1964,
- /* 1070 */ 869, 2414, 266, 661, 1938, 113, 561, 2298, 225, 910,
- /* 1080 */ 174, 173, 907, 906, 905, 171, 2736, 1867, 1868, 2193,
- /* 1090 */ 335, 258, 40, 39, 1523, 1524, 46, 44, 43, 42,
- /* 1100 */ 41, 851, 2407, 775, 689, 688, 2930, 2549, 2528, 1500,
- /* 1110 */ 602, 601, 600, 599, 598, 593, 592, 591, 590, 427,
- /* 1120 */ 1946, 2163, 580, 579, 578, 577, 576, 570, 569, 568,
- /* 1130 */ 2754, 563, 562, 442, 2226, 1498, 1499, 554, 1774, 1775,
- /* 1140 */ 60, 691, 690, 182, 1793, 78, 2701, 805, 850, 158,
- /* 1150 */ 975, 761, 2799, 2417, 946, 945, 944, 943, 505, 2135,
- /* 1160 */ 942, 941, 162, 936, 935, 934, 933, 932, 931, 930,
- /* 1170 */ 161, 924, 923, 922, 504, 503, 919, 918, 917, 198,
- /* 1180 */ 197, 916, 500, 915, 914, 913, 1969, 502, 501, 869,
- /* 1190 */ 2414, 2736, 1965, 2735, 2701, 2225, 2774, 1954, 2224, 91,
- /* 1200 */ 121, 2737, 854, 2739, 2740, 849, 851, 873, 2919, 830,
- /* 1210 */ 721, 1947, 2946, 2028, 2828, 2223, 33, 2222, 472, 2824,
- /* 1220 */ 2221, 2736, 40, 39, 2220, 735, 46, 44, 43, 42,
- /* 1230 */ 41, 1627, 869, 2414, 221, 2754, 851, 104, 2860, 869,
- /* 1240 */ 2414, 2641, 2217, 2023, 289, 1626, 869, 2414, 1520, 2476,
- /* 1250 */ 1519, 2701, 342, 850, 1941, 2701, 1939, 1946, 2701, 862,
- /* 1260 */ 724, 374, 2216, 450, 449, 2754, 863, 718, 716, 869,
- /* 1270 */ 2414, 1841, 869, 2414, 286, 2701, 303, 2701, 710, 709,
- /* 1280 */ 2701, 2701, 2115, 850, 2701, 2215, 1521, 838, 181, 867,
- /* 1290 */ 1944, 1945, 370, 940, 938, 1970, 2474, 2214, 2735, 2420,
- /* 1300 */ 2843, 2774, 2701, 2234, 968, 121, 2737, 854, 2739, 2740,
- /* 1310 */ 849, 802, 873, 2213, 2622, 2473, 164, 2946, 2212, 2828,
- /* 1320 */ 72, 619, 2701, 472, 2824, 71, 2839, 105, 2735, 2211,
- /* 1330 */ 2210, 2774, 2654, 792, 150, 121, 2737, 854, 2739, 2740,
- /* 1340 */ 849, 2736, 873, 448, 447, 2701, 695, 2946, 90, 2828,
- /* 1350 */ 425, 424, 35, 472, 2824, 2209, 851, 2701, 40, 39,
- /* 1360 */ 483, 380, 46, 44, 43, 42, 41, 697, 2196, 2197,
- /* 1370 */ 2843, 696, 2736, 2701, 492, 293, 2028, 904, 2701, 908,
- /* 1380 */ 2465, 909, 2465, 1606, 2465, 2754, 764, 851, 2391, 2701,
- /* 1390 */ 2701, 1955, 279, 1950, 2926, 277, 2838, 2283, 738, 1857,
- /* 1400 */ 737, 2701, 2105, 850, 615, 1949, 2023, 281, 2736, 164,
- /* 1410 */ 280, 283, 2932, 218, 282, 2701, 2754, 2927, 799, 717,
- /* 1420 */ 1970, 163, 2655, 851, 801, 299, 1999, 1958, 1960, 1607,
- /* 1430 */ 285, 702, 2701, 284, 850, 387, 771, 49, 703, 806,
- /* 1440 */ 2266, 871, 870, 2022, 2024, 2025, 2026, 2027, 2735, 2274,
- /* 1450 */ 2272, 2774, 2754, 2722, 1604, 121, 2737, 854, 2739, 2740,
- /* 1460 */ 849, 1602, 873, 49, 201, 172, 2418, 2803, 2701, 2828,
- /* 1470 */ 850, 719, 722, 472, 2824, 2387, 764, 14, 13, 2735,
- /* 1480 */ 212, 119, 2774, 116, 2926, 209, 121, 2737, 854, 2739,
- /* 1490 */ 2740, 849, 1865, 873, 1948, 964, 329, 77, 2801, 64,
- /* 1500 */ 2828, 49, 2932, 218, 472, 2824, 2348, 2927, 799, 1584,
- /* 1510 */ 49, 77, 169, 349, 348, 2735, 2219, 2724, 2774, 2139,
- /* 1520 */ 2149, 920, 121, 2737, 854, 2739, 2740, 849, 2889, 873,
- /* 1530 */ 150, 172, 351, 350, 835, 192, 2828, 2736, 353, 352,
- /* 1540 */ 472, 2824, 355, 354, 1576, 1673, 2148, 308, 815, 318,
- /* 1550 */ 357, 356, 851, 781, 1931, 1585, 1907, 811, 359, 358,
- /* 1560 */ 1664, 902, 901, 900, 1668, 899, 1670, 1671, 845, 844,
- /* 1570 */ 310, 1679, 843, 1681, 1682, 842, 886, 883, 746, 333,
- /* 1580 */ 822, 2754, 2065, 1557, 2012, 361, 360, 1952, 485, 484,
- /* 1590 */ 1932, 363, 362, 1810, 1800, 345, 978, 2701, 74, 850,
- /* 1600 */ 881, 803, 365, 364, 871, 870, 2022, 2024, 2025, 2026,
- /* 1610 */ 2027, 921, 741, 866, 1655, 378, 367, 366, 2736, 170,
- /* 1620 */ 910, 174, 173, 907, 906, 905, 171, 369, 368, 1558,
- /* 1630 */ 966, 208, 749, 851, 1574, 152, 172, 2755, 2340, 2255,
- /* 1640 */ 962, 958, 954, 950, 2735, 373, 151, 2774, 2879, 778,
- /* 1650 */ 2339, 122, 2737, 854, 2739, 2740, 849, 169, 873, 465,
- /* 1660 */ 785, 819, 2754, 461, 2547, 2828, 764, 506, 814, 2827,
- /* 1670 */ 2824, 524, 2261, 2462, 2926, 793, 1951, 757, 2701, 794,
- /* 1680 */ 850, 386, 2880, 1686, 2890, 320, 764, 2548, 315, 323,
- /* 1690 */ 514, 120, 2932, 218, 2926, 2374, 346, 2927, 799, 2736,
- /* 1700 */ 40, 39, 1694, 5, 46, 44, 43, 42, 41, 439,
- /* 1710 */ 509, 1963, 2932, 218, 851, 1973, 523, 2927, 799, 1701,
- /* 1720 */ 534, 227, 764, 2736, 226, 2735, 535, 826, 2774, 1699,
- /* 1730 */ 2926, 537, 122, 2737, 854, 2739, 2740, 849, 848, 873,
- /* 1740 */ 175, 229, 2736, 2754, 379, 1834, 2828, 551, 2932, 218,
- /* 1750 */ 837, 2824, 1964, 2927, 799, 558, 240, 851, 560, 2701,
- /* 1760 */ 564, 850, 566, 571, 608, 584, 2540, 2754, 595, 597,
- /* 1770 */ 604, 607, 344, 609, 832, 620, 621, 327, 618, 246,
- /* 1780 */ 245, 623, 326, 2701, 625, 850, 2754, 626, 249, 628,
- /* 1790 */ 630, 1971, 4, 645, 656, 653, 257, 1966, 646, 658,
- /* 1800 */ 654, 296, 2701, 96, 850, 1972, 852, 659, 1974, 2774,
- /* 1810 */ 2736, 662, 660, 122, 2737, 854, 2739, 2740, 849, 260,
- /* 1820 */ 873, 263, 1975, 265, 97, 851, 1976, 2828, 98, 2557,
- /* 1830 */ 2735, 434, 2824, 2774, 2563, 692, 671, 410, 2737, 854,
- /* 1840 */ 2739, 2740, 849, 847, 873, 833, 2793, 99, 272, 2735,
- /* 1850 */ 2736, 694, 2774, 2404, 2754, 126, 186, 2737, 854, 2739,
- /* 1860 */ 2740, 849, 276, 873, 2400, 851, 725, 278, 726, 413,
- /* 1870 */ 2701, 177, 850, 123, 740, 2736, 2402, 2397, 178, 179,
- /* 1880 */ 102, 742, 295, 1967, 751, 125, 2631, 752, 382, 758,
- /* 1890 */ 851, 2609, 165, 300, 2754, 759, 2628, 2627, 753, 782,
- /* 1900 */ 756, 820, 298, 765, 2886, 8, 768, 2867, 791, 766,
- /* 1910 */ 2701, 769, 850, 767, 2895, 2894, 191, 2735, 2736, 2754,
- /* 1920 */ 2774, 309, 305, 307, 189, 2737, 854, 2739, 2740, 849,
- /* 1930 */ 796, 873, 311, 851, 313, 2701, 795, 850, 314, 466,
- /* 1940 */ 2949, 807, 2925, 2847, 2736, 804, 156, 312, 2113, 316,
- /* 1950 */ 1968, 2111, 204, 325, 166, 818, 383, 2735, 2577, 851,
- /* 1960 */ 2774, 2844, 2754, 2576, 186, 2737, 854, 2739, 2740, 849,
- /* 1970 */ 1, 873, 384, 2575, 470, 823, 824, 167, 2701, 831,
- /* 1980 */ 850, 828, 2735, 800, 2947, 2774, 2736, 338, 2754, 122,
- /* 1990 */ 2737, 854, 2739, 2740, 849, 61, 873, 2809, 858, 856,
- /* 2000 */ 860, 851, 463, 2828, 2701, 385, 850, 861, 2825, 319,
- /* 2010 */ 343, 112, 2887, 220, 2415, 115, 389, 2693, 1472, 2692,
- /* 2020 */ 971, 2688, 2687, 2736, 2679, 2735, 875, 970, 2774, 2678,
- /* 2030 */ 2754, 372, 411, 2737, 854, 2739, 2740, 849, 851, 873,
- /* 2040 */ 2670, 2669, 2685, 2684, 176, 972, 2701, 375, 850, 967,
- /* 2050 */ 376, 2735, 2676, 52, 2774, 2675, 974, 2664, 404, 2737,
- /* 2060 */ 854, 2739, 2740, 849, 393, 873, 2663, 2754, 2682, 2681,
- /* 2070 */ 464, 2673, 2672, 423, 2661, 2660, 2658, 414, 391, 2657,
- /* 2080 */ 744, 2466, 431, 2701, 432, 850, 426, 401, 412, 402,
- /* 2090 */ 2653, 2652, 2651, 2735, 85, 2646, 2774, 511, 512, 1891,
- /* 2100 */ 411, 2737, 854, 2739, 2740, 849, 1892, 873, 224, 790,
- /* 2110 */ 2736, 516, 2644, 518, 519, 520, 1890, 2643, 2642, 440,
- /* 2120 */ 2640, 526, 2639, 528, 2638, 848, 530, 2637, 1878, 532,
- /* 2130 */ 2735, 2613, 2736, 2774, 228, 2612, 230, 189, 2737, 854,
- /* 2140 */ 2739, 2740, 849, 86, 873, 1837, 2590, 851, 1836, 2589,
- /* 2150 */ 2588, 544, 545, 2587, 2754, 2586, 2530, 549, 1773, 2736,
- /* 2160 */ 2527, 552, 2526, 2520, 555, 556, 2517, 233, 2516, 2515,
- /* 2170 */ 2701, 2514, 850, 89, 851, 2519, 2754, 2518, 2513, 2512,
- /* 2180 */ 235, 2510, 2509, 2508, 572, 2507, 237, 574, 2505, 2504,
- /* 2190 */ 2503, 2502, 2701, 2501, 850, 2525, 2736, 2948, 2500, 2499,
- /* 2200 */ 2498, 2523, 2506, 2754, 2497, 2496, 2495, 2493, 2492, 2491,
- /* 2210 */ 2490, 851, 2489, 2488, 2487, 239, 475, 2735, 2486, 2701,
- /* 2220 */ 2774, 850, 2485, 2736, 410, 2737, 854, 2739, 2740, 849,
- /* 2230 */ 2484, 873, 2483, 2794, 95, 2555, 2524, 2522, 851, 2735,
- /* 2240 */ 2754, 2482, 2774, 477, 2481, 2736, 411, 2737, 854, 2739,
- /* 2250 */ 2740, 849, 2480, 873, 244, 1779, 2701, 2479, 850, 611,
- /* 2260 */ 851, 2478, 2477, 2475, 613, 1624, 2735, 2754, 428, 2774,
- /* 2270 */ 1628, 429, 2736, 411, 2737, 854, 2739, 2740, 849, 2305,
- /* 2280 */ 873, 2304, 2303, 2701, 2302, 850, 1620, 851, 247, 2754,
- /* 2290 */ 2300, 248, 250, 251, 2297, 631, 632, 633, 2296, 636,
- /* 2300 */ 635, 2289, 637, 739, 639, 2701, 2774, 850, 640, 2736,
- /* 2310 */ 406, 2737, 854, 2739, 2740, 849, 2754, 873, 641, 2276,
- /* 2320 */ 2250, 643, 253, 2721, 851, 199, 1501, 81, 210, 651,
- /* 2330 */ 2735, 2249, 2701, 2774, 850, 2611, 255, 396, 2737, 854,
- /* 2340 */ 2739, 2740, 849, 82, 873, 2607, 2597, 2585, 262, 264,
- /* 2350 */ 2736, 267, 2735, 2754, 2584, 2774, 2561, 269, 2554, 395,
- /* 2360 */ 2737, 854, 2739, 2740, 849, 851, 873, 2392, 2299, 2701,
- /* 2370 */ 2295, 850, 1550, 672, 674, 673, 2293, 676, 677, 2735,
- /* 2380 */ 678, 2291, 2774, 681, 680, 2736, 397, 2737, 854, 2739,
- /* 2390 */ 2740, 849, 2288, 873, 2754, 684, 682, 685, 2271, 686,
- /* 2400 */ 851, 2269, 2270, 2268, 2246, 2394, 1705, 1706, 2393, 1610,
- /* 2410 */ 2701, 1609, 850, 73, 1608, 1605, 2735, 2736, 275, 2774,
- /* 2420 */ 2286, 1603, 1601, 403, 2737, 854, 2739, 2740, 849, 2754,
- /* 2430 */ 873, 1600, 851, 1599, 2284, 1598, 2736, 1592, 454, 455,
- /* 2440 */ 937, 2275, 1597, 939, 456, 2701, 720, 850, 1594, 1593,
- /* 2450 */ 1591, 851, 2273, 457, 2245, 723, 2244, 2735, 2243, 727,
- /* 2460 */ 2774, 2754, 2242, 729, 407, 2737, 854, 2739, 2740, 849,
- /* 2470 */ 2241, 873, 731, 2240, 1872, 733, 1874, 2701, 1871, 850,
- /* 2480 */ 2754, 128, 2736, 2610, 1862, 1876, 56, 28, 743, 67,
- /* 2490 */ 1847, 2606, 2735, 1843, 297, 2774, 2701, 851, 850, 398,
- /* 2500 */ 2737, 854, 2739, 2740, 849, 2596, 873, 57, 1845, 754,
- /* 2510 */ 755, 2583, 301, 2582, 2736, 1822, 180, 2931, 760, 1821,
- /* 2520 */ 770, 762, 20, 6, 2735, 2166, 2754, 2774, 462, 851,
- /* 2530 */ 17, 408, 2737, 854, 2739, 2740, 849, 2140, 873, 30,
- /* 2540 */ 304, 772, 2701, 2735, 850, 774, 2774, 7, 215, 306,
- /* 2550 */ 399, 2737, 854, 2739, 2740, 849, 776, 873, 2754, 21,
- /* 2560 */ 22, 203, 2147, 190, 202, 31, 32, 2134, 2722, 23,
- /* 2570 */ 83, 216, 2106, 2108, 2701, 2104, 850, 65, 2736, 217,
- /* 2580 */ 24, 2186, 2187, 2088, 18, 2181, 2180, 467, 2185, 2735,
- /* 2590 */ 2184, 468, 2774, 851, 2087, 321, 409, 2737, 854, 2739,
- /* 2600 */ 2740, 849, 2736, 873, 58, 59, 2581, 195, 2560, 106,
- /* 2610 */ 107, 2559, 328, 108, 2142, 205, 334, 851, 69, 2553,
- /* 2620 */ 827, 2735, 2754, 337, 2774, 821, 829, 2736, 400, 2737,
- /* 2630 */ 854, 2739, 2740, 849, 109, 873, 25, 2040, 2701, 336,
- /* 2640 */ 850, 11, 851, 2039, 13, 1956, 2754, 2015, 2050, 196,
- /* 2650 */ 2014, 888, 206, 1991, 891, 339, 894, 897, 38, 2552,
- /* 2660 */ 110, 2013, 2701, 16, 850, 859, 853, 2736, 26, 2389,
- /* 2670 */ 864, 2754, 347, 1983, 27, 70, 865, 857, 341, 111,
- /* 2680 */ 79, 880, 851, 2779, 116, 2735, 2778, 2701, 2774, 850,
- /* 2690 */ 872, 2736, 416, 2737, 854, 2739, 2740, 849, 2017, 873,
- /* 2700 */ 68, 2202, 874, 2201, 2199, 2200, 851, 1687, 494, 2735,
- /* 2710 */ 882, 2754, 2774, 1684, 884, 885, 417, 2737, 854, 2739,
- /* 2720 */ 2740, 849, 887, 873, 890, 1683, 1680, 2701, 1674, 850,
- /* 2730 */ 893, 1672, 2736, 896, 2735, 2754, 1678, 2774, 371, 1677,
- /* 2740 */ 117, 2748, 2737, 854, 2739, 2740, 849, 851, 873, 118,
- /* 2750 */ 1676, 2701, 1700, 850, 1675, 80, 1696, 1588, 1548, 911,
- /* 2760 */ 1587, 1586, 1583, 1580, 1579, 1578, 1577, 1575, 1573, 1572,
- /* 2770 */ 925, 1618, 2736, 1571, 2735, 1617, 2754, 2774, 222, 927,
- /* 2780 */ 1569, 2747, 2737, 854, 2739, 2740, 849, 851, 873, 1568,
- /* 2790 */ 1567, 1566, 2701, 1565, 850, 1564, 1563, 1614, 2735, 2736,
- /* 2800 */ 1612, 2774, 1560, 1559, 1556, 2746, 2737, 854, 2739, 2740,
- /* 2810 */ 849, 1555, 873, 1554, 851, 1553, 2754, 2294, 2736, 947,
- /* 2820 */ 949, 2292, 951, 2290, 948, 952, 953, 956, 955, 957,
- /* 2830 */ 2287, 959, 2701, 851, 850, 960, 2267, 961, 963, 2735,
- /* 2840 */ 2265, 965, 2774, 2754, 1490, 2239, 436, 2737, 854, 2739,
- /* 2850 */ 2740, 849, 1478, 873, 1473, 969, 1480, 377, 973, 2701,
- /* 2860 */ 1942, 850, 2754, 390, 976, 2205, 977, 2205, 2205, 2205,
- /* 2870 */ 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2701, 2735,
- /* 2880 */ 850, 2205, 2774, 2736, 2205, 2205, 437, 2737, 854, 2739,
- /* 2890 */ 2740, 849, 2205, 873, 2205, 2205, 2736, 2205, 851, 2205,
- /* 2900 */ 2205, 2205, 2205, 2205, 2205, 2205, 2735, 2205, 2205, 2774,
- /* 2910 */ 2205, 851, 2205, 433, 2737, 854, 2739, 2740, 849, 2205,
- /* 2920 */ 873, 2205, 2205, 2205, 2205, 2735, 2205, 2754, 2774, 2205,
- /* 2930 */ 2205, 2205, 438, 2737, 854, 2739, 2740, 849, 2205, 873,
- /* 2940 */ 2754, 2205, 2205, 2701, 2205, 850, 2205, 2205, 2205, 2205,
- /* 2950 */ 2205, 2205, 2205, 2205, 2205, 2205, 2701, 2205, 850, 2205,
- /* 2960 */ 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205,
- /* 2970 */ 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205,
- /* 2980 */ 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205,
- /* 2990 */ 852, 2205, 2205, 2774, 2205, 2205, 2205, 406, 2737, 854,
- /* 3000 */ 2739, 2740, 849, 2735, 873, 2205, 2774, 2205, 2205, 2205,
- /* 3010 */ 405, 2737, 854, 2739, 2740, 849, 2205, 873,
+ /* 0 */ 2751, 564, 2459, 514, 38, 685, 563, 2625, 571, 2567,
+ /* 10 */ 50, 49, 57, 55, 56, 54, 53, 52, 51, 40,
+ /* 20 */ 497, 490, 1981, 2711, 2625, 50, 49, 2622, 880, 56,
+ /* 30 */ 54, 53, 52, 51, 2006, 462, 1979, 2285, 2083, 2354,
+ /* 40 */ 217, 2793, 50, 49, 2623, 880, 56, 54, 53, 52,
+ /* 50 */ 51, 866, 2625, 831, 167, 2006, 834, 785, 633, 631,
+ /* 60 */ 809, 434, 865, 503, 242, 2998, 499, 2598, 2078, 686,
+ /* 70 */ 2618, 863, 2622, 880, 668, 755, 898, 669, 2310, 785,
+ /* 80 */ 894, 2470, 1987, 3004, 228, 2811, 673, 2998, 2999, 820,
+ /* 90 */ 2530, 749, 670, 753, 751, 298, 297, 2758, 460, 194,
+ /* 100 */ 158, 2758, 202, 875, 327, 3004, 228, 2403, 714, 2528,
+ /* 110 */ 2999, 820, 1000, 831, 167, 58, 971, 970, 969, 968,
+ /* 120 */ 526, 2447, 967, 966, 172, 961, 960, 959, 958, 957,
+ /* 130 */ 956, 955, 171, 949, 948, 947, 525, 524, 944, 943,
+ /* 140 */ 942, 208, 207, 941, 521, 940, 939, 938, 2792, 893,
+ /* 150 */ 2063, 2839, 2086, 2087, 173, 131, 2794, 879, 2796, 2797,
+ /* 160 */ 874, 302, 2322, 862, 898, 1533, 894, 2470, 2179, 210,
+ /* 170 */ 94, 2900, 580, 2594, 2006, 492, 2896, 204, 2908, 830,
+ /* 180 */ 608, 159, 829, 2793, 1540, 607, 158, 170, 819, 2998,
+ /* 190 */ 134, 2042, 2052, 606, 719, 229, 2998, 2462, 876, 516,
+ /* 200 */ 2472, 2085, 2088, 2947, 2263, 1826, 1827, 818, 228, 1535,
+ /* 210 */ 1538, 1539, 2999, 820, 818, 228, 1982, 989, 1980, 2999,
+ /* 220 */ 820, 2915, 9, 861, 221, 148, 244, 2811, 147, 146,
+ /* 230 */ 145, 144, 143, 142, 141, 140, 139, 137, 2908, 2909,
+ /* 240 */ 2517, 165, 2913, 2758, 60, 875, 1907, 1908, 1909, 2912,
+ /* 250 */ 479, 2672, 766, 1985, 1986, 2039, 2150, 2041, 2044, 2045,
+ /* 260 */ 2046, 2047, 2048, 2049, 2050, 2051, 871, 864, 42, 350,
+ /* 270 */ 896, 895, 2069, 2070, 2072, 2073, 2074, 2077, 2079, 2080,
+ /* 280 */ 2081, 2082, 2084, 2, 57, 55, 2175, 500, 2793, 195,
+ /* 290 */ 2792, 2274, 497, 2839, 1981, 2039, 191, 131, 2794, 879,
+ /* 300 */ 2796, 2797, 874, 873, 893, 862, 898, 2475, 1979, 169,
+ /* 310 */ 2083, 178, 2871, 2900, 2550, 50, 49, 492, 2896, 56,
+ /* 320 */ 54, 53, 52, 51, 676, 2200, 2793, 669, 2310, 217,
+ /* 330 */ 50, 49, 2811, 2150, 56, 54, 53, 52, 51, 2201,
+ /* 340 */ 2078, 876, 2702, 863, 2915, 2043, 904, 19, 2758, 3003,
+ /* 350 */ 875, 1560, 2461, 1559, 1987, 148, 2599, 2998, 147, 146,
+ /* 360 */ 145, 144, 143, 142, 141, 140, 139, 57, 55, 44,
+ /* 370 */ 2811, 2752, 2911, 523, 522, 497, 3002, 1981, 627, 301,
+ /* 380 */ 2999, 3001, 454, 300, 1000, 2199, 2758, 15, 875, 1561,
+ /* 390 */ 548, 1979, 893, 2083, 2474, 2792, 536, 1988, 2839, 2147,
+ /* 400 */ 2148, 2149, 429, 2794, 879, 2796, 2797, 874, 872, 2040,
+ /* 410 */ 862, 898, 854, 2865, 2357, 503, 935, 184, 183, 932,
+ /* 420 */ 931, 930, 181, 2078, 2086, 2087, 863, 2284, 898, 2341,
+ /* 430 */ 19, 2530, 2113, 2792, 503, 543, 2839, 1987, 2150, 488,
+ /* 440 */ 131, 2794, 879, 2796, 2797, 874, 253, 898, 862, 898,
+ /* 450 */ 2528, 736, 2094, 893, 2875, 765, 2900, 113, 2006, 235,
+ /* 460 */ 492, 2896, 443, 2042, 2052, 76, 477, 1000, 757, 610,
+ /* 470 */ 15, 626, 252, 2085, 2088, 2920, 2147, 2148, 2149, 2920,
+ /* 480 */ 2920, 2920, 2920, 2920, 609, 624, 3003, 2758, 1982, 124,
+ /* 490 */ 1980, 735, 734, 733, 2998, 861, 2006, 2114, 725, 164,
+ /* 500 */ 729, 903, 902, 901, 728, 72, 768, 2086, 2087, 727,
+ /* 510 */ 732, 472, 471, 3002, 2007, 726, 61, 2999, 3000, 470,
+ /* 520 */ 722, 721, 720, 586, 2594, 1985, 1986, 2039, 552, 2041,
+ /* 530 */ 2044, 2045, 2046, 2047, 2048, 2049, 2050, 2051, 871, 864,
+ /* 540 */ 804, 684, 896, 895, 2069, 2070, 2042, 2052, 60, 2077,
+ /* 550 */ 2079, 2080, 2081, 2082, 2084, 2, 2085, 2088, 554, 550,
+ /* 560 */ 50, 49, 2915, 2768, 56, 54, 53, 52, 51, 894,
+ /* 570 */ 2470, 1982, 2010, 1980, 2530, 2119, 72, 246, 861, 1991,
+ /* 580 */ 2920, 2147, 2148, 2149, 2920, 2920, 2920, 2920, 2920, 520,
+ /* 590 */ 2910, 72, 2772, 838, 41, 494, 2108, 2109, 2110, 2111,
+ /* 600 */ 2112, 2116, 2117, 2118, 894, 2470, 2454, 441, 1985, 1986,
+ /* 610 */ 2039, 687, 2041, 2044, 2045, 2046, 2047, 2048, 2049, 2050,
+ /* 620 */ 2051, 871, 864, 691, 233, 896, 895, 2069, 2070, 2043,
+ /* 630 */ 769, 114, 2077, 2079, 2080, 2081, 2082, 2084, 2, 12,
+ /* 640 */ 57, 55, 2774, 2776, 493, 688, 1752, 1753, 497, 518,
+ /* 650 */ 1981, 2283, 2523, 2525, 248, 898, 509, 1713, 810, 805,
+ /* 660 */ 798, 794, 831, 167, 1979, 1881, 2083, 2152, 2153, 2154,
+ /* 670 */ 2155, 2156, 1704, 927, 926, 925, 1708, 924, 1710, 1711,
+ /* 680 */ 923, 920, 2793, 1719, 917, 1721, 1722, 914, 911, 908,
+ /* 690 */ 2262, 951, 1560, 2040, 1559, 2007, 2078, 876, 334, 863,
+ /* 700 */ 104, 2010, 501, 19, 2612, 103, 689, 217, 163, 334,
+ /* 710 */ 1987, 2758, 678, 2664, 157, 156, 155, 154, 153, 152,
+ /* 720 */ 151, 150, 149, 57, 55, 2089, 2811, 192, 469, 468,
+ /* 730 */ 1561, 497, 512, 1981, 2598, 1713, 516, 2472, 2524, 2525,
+ /* 740 */ 1000, 334, 2758, 15, 875, 224, 123, 1979, 1651, 2083,
+ /* 750 */ 1704, 927, 926, 925, 1708, 924, 1710, 1711, 870, 869,
+ /* 760 */ 953, 1719, 868, 1721, 1722, 867, 911, 908, 937, 334,
+ /* 770 */ 50, 49, 102, 2463, 56, 54, 53, 52, 51, 2078,
+ /* 780 */ 2086, 2087, 863, 2530, 334, 2260, 198, 2908, 2909, 2792,
+ /* 790 */ 165, 2913, 2839, 1987, 1653, 33, 131, 2794, 879, 2796,
+ /* 800 */ 2797, 874, 846, 767, 862, 898, 2010, 2011, 467, 466,
+ /* 810 */ 2873, 716, 2900, 2282, 769, 72, 492, 2896, 313, 2042,
+ /* 820 */ 2052, 1003, 665, 1000, 1563, 1564, 58, 1853, 1854, 2085,
+ /* 830 */ 2088, 663, 718, 3003, 659, 655, 717, 12, 1950, 10,
+ /* 840 */ 388, 264, 894, 2470, 1982, 671, 1980, 2318, 14, 13,
+ /* 850 */ 2009, 861, 2010, 50, 49, 991, 218, 56, 54, 53,
+ /* 860 */ 52, 51, 65, 2086, 2087, 987, 983, 979, 975, 115,
+ /* 870 */ 383, 508, 507, 2758, 529, 2768, 1852, 1855, 2220, 528,
+ /* 880 */ 2172, 1985, 1986, 2039, 2006, 2041, 2044, 2045, 2046, 2047,
+ /* 890 */ 2048, 2049, 2050, 2051, 871, 864, 771, 2664, 896, 895,
+ /* 900 */ 2069, 2070, 2042, 2052, 2772, 2077, 2079, 2080, 2081, 2082,
+ /* 910 */ 2084, 2, 2085, 2088, 1949, 562, 130, 561, 50, 49,
+ /* 920 */ 2009, 356, 56, 54, 53, 52, 51, 1982, 860, 1980,
+ /* 930 */ 785, 266, 2444, 519, 861, 671, 2011, 2318, 2998, 894,
+ /* 940 */ 2470, 2530, 191, 831, 167, 12, 2243, 511, 510, 502,
+ /* 950 */ 560, 808, 847, 2475, 2774, 2777, 3004, 228, 384, 568,
+ /* 960 */ 2528, 2999, 820, 2127, 1985, 1986, 2039, 898, 2041, 2044,
+ /* 970 */ 2045, 2046, 2047, 2048, 2049, 2050, 2051, 871, 864, 223,
+ /* 980 */ 2811, 896, 895, 2069, 2070, 855, 742, 2872, 2077, 2079,
+ /* 990 */ 2080, 2081, 2082, 2084, 2, 57, 55, 354, 2793, 853,
+ /* 1000 */ 391, 756, 337, 497, 2281, 1981, 937, 336, 334, 954,
+ /* 1010 */ 50, 49, 2429, 834, 56, 54, 53, 52, 51, 1979,
+ /* 1020 */ 299, 2083, 1540, 332, 2678, 231, 306, 50, 49, 391,
+ /* 1030 */ 37, 56, 54, 53, 52, 51, 745, 894, 2470, 894,
+ /* 1040 */ 2470, 2011, 2811, 739, 737, 617, 2594, 2793, 1538, 1539,
+ /* 1050 */ 296, 2078, 807, 2250, 863, 2043, 2006, 569, 2758, 588,
+ /* 1060 */ 875, 2673, 876, 1663, 2758, 1987, 833, 197, 2908, 2909,
+ /* 1070 */ 1542, 165, 2913, 2208, 894, 2470, 2005, 1662, 57, 55,
+ /* 1080 */ 56, 54, 53, 52, 51, 303, 497, 2011, 1981, 478,
+ /* 1090 */ 2672, 2811, 2530, 332, 602, 1000, 82, 110, 58, 251,
+ /* 1100 */ 517, 81, 1979, 135, 2083, 2792, 2105, 2758, 2839, 875,
+ /* 1110 */ 1667, 2528, 131, 2794, 879, 2796, 2797, 874, 2062, 2040,
+ /* 1120 */ 862, 898, 341, 342, 1666, 2466, 210, 340, 2900, 894,
+ /* 1130 */ 2470, 784, 492, 2896, 2078, 2086, 2087, 863, 894, 2470,
+ /* 1140 */ 801, 800, 2206, 2207, 2209, 2210, 2211, 3002, 1987, 603,
+ /* 1150 */ 53, 52, 51, 638, 2792, 110, 168, 2839, 604, 2871,
+ /* 1160 */ 2948, 196, 2794, 879, 2796, 2797, 874, 710, 709, 862,
+ /* 1170 */ 898, 819, 192, 465, 2042, 2052, 894, 2470, 1000, 2998,
+ /* 1180 */ 2249, 58, 2473, 2465, 2085, 2088, 2171, 50, 49, 712,
+ /* 1190 */ 711, 56, 54, 53, 52, 51, 690, 818, 228, 1982,
+ /* 1200 */ 640, 1980, 2999, 820, 894, 2470, 861, 2115, 50, 49,
+ /* 1210 */ 786, 2958, 56, 54, 53, 52, 51, 929, 2086, 2087,
+ /* 1220 */ 2521, 731, 730, 857, 2467, 2872, 933, 50, 49, 2521,
+ /* 1230 */ 2280, 56, 54, 53, 52, 51, 1985, 1986, 2039, 2446,
+ /* 1240 */ 2041, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 2051, 871,
+ /* 1250 */ 864, 2279, 2278, 896, 895, 2069, 2070, 2042, 2052, 2530,
+ /* 1260 */ 2077, 2079, 2080, 2081, 2082, 2084, 2, 2085, 2088, 50,
+ /* 1270 */ 49, 43, 70, 56, 54, 53, 52, 51, 2529, 735,
+ /* 1280 */ 734, 733, 1982, 782, 1980, 2120, 725, 164, 729, 861,
+ /* 1290 */ 2758, 2040, 728, 894, 2470, 2219, 2277, 727, 732, 472,
+ /* 1300 */ 471, 2532, 2276, 726, 39, 2273, 191, 470, 722, 721,
+ /* 1310 */ 720, 2758, 2758, 304, 894, 2470, 2191, 2476, 398, 1985,
+ /* 1320 */ 1986, 2039, 2507, 2041, 2044, 2045, 2046, 2047, 2048, 2049,
+ /* 1330 */ 2050, 2051, 871, 864, 312, 2059, 896, 895, 2069, 2070,
+ /* 1340 */ 3, 894, 2470, 2077, 2079, 2080, 2081, 2082, 2084, 2,
+ /* 1350 */ 57, 55, 1981, 2272, 63, 438, 2758, 2004, 497, 823,
+ /* 1360 */ 1981, 837, 2758, 2793, 615, 2758, 1979, 464, 965, 963,
+ /* 1370 */ 2290, 993, 894, 2470, 1979, 635, 2083, 2060, 876, 2698,
+ /* 1380 */ 894, 2470, 894, 2470, 935, 184, 183, 932, 931, 930,
+ /* 1390 */ 181, 594, 345, 637, 894, 2470, 894, 2470, 439, 596,
+ /* 1400 */ 851, 934, 352, 813, 2521, 2271, 2078, 2811, 2577, 863,
+ /* 1410 */ 574, 2270, 1987, 2758, 887, 2269, 888, 826, 894, 2470,
+ /* 1420 */ 1987, 894, 2470, 2758, 182, 875, 1987, 718, 2268, 50,
+ /* 1430 */ 49, 717, 2267, 56, 54, 53, 52, 51, 892, 50,
+ /* 1440 */ 49, 380, 1000, 56, 54, 53, 52, 51, 2266, 928,
+ /* 1450 */ 1000, 463, 578, 15, 50, 49, 636, 2457, 56, 54,
+ /* 1460 */ 53, 52, 51, 582, 759, 2758, 758, 2265, 45, 160,
+ /* 1470 */ 2792, 2758, 2161, 2839, 822, 2758, 1646, 416, 2794, 879,
+ /* 1480 */ 2796, 2797, 874, 100, 31, 862, 898, 2443, 2758, 88,
+ /* 1490 */ 2086, 2087, 2758, 289, 2605, 2584, 287, 623, 622, 621,
+ /* 1500 */ 620, 619, 614, 613, 612, 611, 447, 64, 2758, 601,
+ /* 1510 */ 600, 599, 598, 597, 591, 590, 589, 2779, 584, 583,
+ /* 1520 */ 461, 723, 1647, 2339, 575, 1814, 1815, 2758, 724, 2042,
+ /* 1530 */ 2052, 1833, 291, 293, 295, 290, 292, 294, 2330, 2085,
+ /* 1540 */ 2088, 2252, 2253, 101, 1644, 738, 1982, 2058, 1980, 284,
+ /* 1550 */ 2328, 1642, 14, 13, 1982, 390, 1980, 174, 309, 174,
+ /* 1560 */ 740, 861, 2057, 50, 49, 203, 792, 56, 54, 53,
+ /* 1570 */ 52, 51, 743, 59, 708, 704, 700, 696, 222, 283,
+ /* 1580 */ 59, 2781, 211, 1985, 1986, 182, 397, 359, 358, 361,
+ /* 1590 */ 360, 1985, 1986, 2039, 2474, 2041, 2044, 2045, 2046, 2047,
+ /* 1600 */ 2048, 2049, 2050, 2051, 871, 864, 339, 87, 896, 895,
+ /* 1610 */ 2069, 2070, 363, 362, 1624, 2077, 2079, 2080, 2081, 2082,
+ /* 1620 */ 2084, 2, 193, 2275, 219, 111, 2793, 404, 365, 364,
+ /* 1630 */ 281, 2404, 935, 184, 183, 932, 931, 930, 181, 2712,
+ /* 1640 */ 1897, 876, 1905, 2320, 2961, 1990, 402, 86, 202, 2195,
+ /* 1650 */ 85, 59, 2793, 1989, 74, 59, 2205, 129, 824, 126,
+ /* 1660 */ 1625, 440, 328, 2204, 762, 318, 802, 876, 836, 2955,
+ /* 1670 */ 2811, 367, 366, 262, 650, 648, 645, 643, 369, 368,
+ /* 1680 */ 59, 320, 371, 370, 373, 372, 2758, 832, 875, 343,
+ /* 1690 */ 843, 375, 374, 377, 376, 785, 2811, 269, 379, 378,
+ /* 1700 */ 162, 59, 87, 2998, 2812, 2396, 280, 179, 945, 770,
+ /* 1710 */ 271, 278, 2758, 2311, 875, 2395, 276, 682, 827, 72,
+ /* 1720 */ 785, 3004, 228, 160, 182, 2951, 2999, 820, 2998, 799,
+ /* 1730 */ 484, 1616, 84, 2792, 2061, 268, 2839, 2121, 2064, 806,
+ /* 1740 */ 131, 2794, 879, 2796, 2797, 874, 3004, 228, 862, 898,
+ /* 1750 */ 906, 2999, 820, 480, 3018, 835, 2900, 1597, 73, 2792,
+ /* 1760 */ 492, 2896, 2839, 2053, 2793, 785, 131, 2794, 879, 2796,
+ /* 1770 */ 2797, 874, 946, 2998, 862, 898, 180, 182, 161, 876,
+ /* 1780 */ 3018, 2968, 2900, 179, 1850, 1840, 492, 2896, 2603, 840,
+ /* 1790 */ 355, 3004, 228, 527, 545, 1614, 2999, 820, 2317, 2518,
+ /* 1800 */ 778, 2952, 2962, 1598, 814, 815, 891, 1695, 2811, 330,
+ /* 1810 */ 333, 785, 98, 97, 567, 396, 325, 241, 2604, 2998,
+ /* 1820 */ 2430, 5, 530, 46, 2758, 535, 875, 1993, 2004, 458,
+ /* 1830 */ 559, 557, 544, 1726, 2014, 1992, 556, 3004, 228, 555,
+ /* 1840 */ 2793, 558, 2999, 820, 437, 236, 237, 546, 1874, 239,
+ /* 1850 */ 542, 538, 534, 531, 560, 876, 389, 796, 572, 1734,
+ /* 1860 */ 1741, 1739, 2005, 579, 250, 581, 185, 585, 587, 616,
+ /* 1870 */ 629, 2792, 592, 605, 2839, 2596, 618, 625, 131, 2794,
+ /* 1880 */ 879, 2796, 2797, 874, 2811, 628, 862, 898, 630, 2793,
+ /* 1890 */ 641, 642, 3018, 639, 2900, 255, 256, 644, 492, 2896,
+ /* 1900 */ 2758, 646, 875, 647, 876, 259, 2991, 649, 651, 2012,
+ /* 1910 */ 666, 4, 334, 667, 674, 523, 522, 675, 267, 677,
+ /* 1920 */ 2793, 106, 2007, 2613, 679, 1995, 2013, 680, 270, 2015,
+ /* 1930 */ 681, 273, 683, 2811, 2016, 876, 2619, 2932, 2017, 1988,
+ /* 1940 */ 275, 2083, 107, 761, 108, 715, 109, 2792, 692, 2758,
+ /* 1950 */ 2839, 875, 713, 282, 131, 2794, 879, 2796, 2797, 874,
+ /* 1960 */ 746, 747, 862, 898, 2811, 136, 432, 763, 3018, 2460,
+ /* 1970 */ 2900, 2078, 286, 112, 492, 2896, 2456, 288, 2688, 187,
+ /* 1980 */ 2758, 133, 875, 392, 2685, 1987, 2458, 2453, 175, 305,
+ /* 1990 */ 188, 189, 2008, 2665, 773, 772, 2792, 310, 780, 2839,
+ /* 2000 */ 841, 779, 803, 131, 2794, 879, 2796, 2797, 874, 2684,
+ /* 2010 */ 777, 862, 898, 789, 2967, 859, 2793, 3018, 2966, 2900,
+ /* 2020 */ 8, 774, 812, 492, 2896, 790, 319, 2792, 2939, 201,
+ /* 2030 */ 2839, 876, 315, 322, 131, 2794, 879, 2796, 2797, 874,
+ /* 2040 */ 317, 321, 862, 898, 308, 787, 788, 323, 3018, 817,
+ /* 2050 */ 2900, 445, 444, 816, 492, 2896, 324, 2919, 485, 3021,
+ /* 2060 */ 2811, 504, 828, 825, 166, 2009, 2169, 2167, 2916, 214,
+ /* 2070 */ 393, 335, 176, 839, 2633, 513, 2758, 2083, 875, 2632,
+ /* 2080 */ 2631, 394, 2997, 844, 489, 845, 177, 849, 852, 71,
+ /* 2090 */ 883, 881, 885, 2471, 348, 886, 395, 353, 122, 2750,
+ /* 2100 */ 2749, 326, 2745, 2881, 2744, 2736, 2735, 2078, 125, 2793,
+ /* 2110 */ 399, 382, 2727, 900, 1, 1512, 230, 995, 996, 1996,
+ /* 2120 */ 2726, 1991, 2742, 2792, 876, 186, 2839, 329, 997, 385,
+ /* 2130 */ 131, 2794, 879, 2796, 2797, 874, 992, 386, 862, 898,
+ /* 2140 */ 765, 2741, 999, 2733, 856, 2710, 2900, 2732, 401, 2793,
+ /* 2150 */ 492, 2896, 2721, 2811, 420, 2720, 1999, 2001, 2739, 2738,
+ /* 2160 */ 2730, 2729, 2718, 2717, 876, 2715, 433, 431, 2714, 2758,
+ /* 2170 */ 442, 875, 2522, 896, 895, 421, 62, 403, 450, 2709,
+ /* 2180 */ 2077, 2079, 2080, 2081, 2082, 2084, 446, 2708, 95, 2703,
+ /* 2190 */ 532, 533, 1932, 2811, 451, 1933, 234, 537, 2701, 539,
+ /* 2200 */ 540, 1931, 541, 2700, 2699, 459, 2697, 547, 2696, 2758,
+ /* 2210 */ 549, 875, 551, 2694, 553, 1919, 2792, 2695, 2669, 2839,
+ /* 2220 */ 238, 2668, 240, 132, 2794, 879, 2796, 2797, 874, 96,
+ /* 2230 */ 1877, 862, 898, 1876, 2793, 2646, 2645, 2644, 565, 2900,
+ /* 2240 */ 566, 2643, 2642, 2899, 2896, 2586, 570, 1813, 2583, 876,
+ /* 2250 */ 573, 2582, 2576, 577, 2573, 1972, 2792, 1948, 576, 2839,
+ /* 2260 */ 243, 2572, 99, 132, 2794, 879, 2796, 2797, 874, 2571,
+ /* 2270 */ 2793, 862, 898, 2570, 2575, 245, 2574, 2569, 2811, 2900,
+ /* 2280 */ 2568, 2566, 2565, 858, 2896, 876, 2564, 247, 2563, 593,
+ /* 2290 */ 506, 505, 1973, 595, 2758, 2561, 875, 2560, 2559, 2558,
+ /* 2300 */ 2557, 2581, 2556, 2555, 2554, 2579, 2562, 2553, 2552, 896,
+ /* 2310 */ 895, 2551, 2549, 2548, 2811, 2547, 2077, 2079, 2080, 2081,
+ /* 2320 */ 2082, 2084, 2546, 2545, 2544, 2543, 249, 2542, 2541, 2540,
+ /* 2330 */ 2758, 105, 875, 2539, 2611, 2580, 2578, 2538, 2537, 2536,
+ /* 2340 */ 1819, 877, 254, 2535, 2839, 632, 2793, 2534, 132, 2794,
+ /* 2350 */ 879, 2796, 2797, 874, 2533, 2531, 862, 898, 634, 2361,
+ /* 2360 */ 257, 876, 1664, 1668, 2900, 2360, 448, 1660, 453, 2896,
+ /* 2370 */ 2359, 449, 2358, 2356, 2353, 653, 654, 2792, 258, 2352,
+ /* 2380 */ 2839, 83, 652, 2345, 199, 2794, 879, 2796, 2797, 874,
+ /* 2390 */ 2811, 2332, 862, 898, 260, 2793, 656, 658, 261, 660,
+ /* 2400 */ 662, 2306, 657, 661, 664, 263, 2758, 1541, 875, 209,
+ /* 2410 */ 876, 91, 2778, 220, 2305, 672, 265, 2667, 2663, 92,
+ /* 2420 */ 2653, 2641, 272, 274, 2640, 2617, 2610, 2793, 277, 2448,
+ /* 2430 */ 2355, 279, 2351, 1590, 693, 2349, 695, 2347, 694, 2811,
+ /* 2440 */ 697, 698, 876, 699, 701, 821, 3019, 703, 702, 2344,
+ /* 2450 */ 706, 705, 2327, 2792, 707, 2758, 2839, 875, 2325, 2326,
+ /* 2460 */ 132, 2794, 879, 2796, 2797, 874, 2324, 2302, 862, 898,
+ /* 2470 */ 2450, 2811, 1746, 285, 2449, 1745, 2900, 1650, 1649, 1648,
+ /* 2480 */ 1645, 2897, 1643, 1641, 1640, 2342, 1639, 2758, 2340, 875,
+ /* 2490 */ 1638, 1632, 1637, 962, 964, 473, 2331, 474, 1634, 1633,
+ /* 2500 */ 1631, 475, 2792, 2329, 476, 2839, 2301, 741, 744, 196,
+ /* 2510 */ 2794, 879, 2796, 2797, 874, 2300, 2793, 862, 898, 2299,
+ /* 2520 */ 748, 2298, 750, 2297, 2296, 752, 754, 138, 1913, 1915,
+ /* 2530 */ 1912, 876, 1917, 2666, 2792, 66, 2793, 2839, 32, 1887,
+ /* 2540 */ 2662, 423, 2794, 879, 2796, 2797, 874, 1883, 764, 862,
+ /* 2550 */ 898, 876, 307, 77, 1885, 2652, 775, 2639, 2638, 2959,
+ /* 2560 */ 2811, 21, 67, 3003, 6, 311, 791, 481, 17, 7,
+ /* 2570 */ 190, 22, 23, 1902, 213, 776, 2758, 225, 875, 1862,
+ /* 2580 */ 2811, 1861, 36, 34, 24, 226, 2779, 2222, 781, 2164,
+ /* 2590 */ 2162, 314, 783, 793, 811, 200, 2758, 2196, 875, 316,
+ /* 2600 */ 482, 2793, 797, 795, 75, 25, 18, 2237, 69, 2236,
+ /* 2610 */ 486, 2203, 212, 35, 2241, 2190, 876, 93, 2240, 487,
+ /* 2620 */ 483, 2793, 346, 2792, 2637, 2160, 2839, 331, 227, 2616,
+ /* 2630 */ 430, 2794, 879, 2796, 2797, 874, 873, 205, 862, 898,
+ /* 2640 */ 117, 2242, 116, 2792, 215, 2811, 2839, 2615, 118, 68,
+ /* 2650 */ 430, 2794, 879, 2796, 2797, 874, 2609, 119, 862, 898,
+ /* 2660 */ 2243, 2758, 2144, 875, 2143, 2811, 338, 2198, 26, 344,
+ /* 2670 */ 13, 79, 1997, 2032, 206, 848, 347, 2096, 2095, 2056,
+ /* 2680 */ 11, 2758, 349, 875, 2106, 27, 2608, 120, 216, 878,
+ /* 2690 */ 2445, 889, 28, 357, 20, 47, 842, 2055, 2258, 913,
+ /* 2700 */ 916, 850, 919, 922, 48, 16, 2793, 2054, 2792, 29,
+ /* 2710 */ 30, 2839, 884, 2024, 80, 199, 2794, 879, 2796, 2797,
+ /* 2720 */ 874, 876, 882, 862, 898, 351, 121, 890, 2792, 126,
+ /* 2730 */ 89, 2839, 2850, 2849, 2793, 429, 2794, 879, 2796, 2797,
+ /* 2740 */ 874, 2066, 897, 862, 898, 78, 2866, 899, 2257, 876,
+ /* 2750 */ 2811, 2256, 905, 515, 1727, 907, 909, 1724, 912, 910,
+ /* 2760 */ 915, 1723, 1720, 918, 1714, 2255, 2758, 921, 875, 1718,
+ /* 2770 */ 2793, 1712, 127, 381, 128, 1740, 1717, 3020, 2811, 90,
+ /* 2780 */ 1736, 1588, 936, 1628, 1627, 876, 1716, 1626, 1623, 1715,
+ /* 2790 */ 495, 1620, 1619, 1618, 2758, 1617, 875, 1658, 1615, 1613,
+ /* 2800 */ 1612, 1611, 950, 1657, 952, 232, 1609, 1608, 2350, 1607,
+ /* 2810 */ 1606, 1605, 1604, 2792, 2811, 1603, 2839, 1654, 491, 1652,
+ /* 2820 */ 430, 2794, 879, 2796, 2797, 874, 1600, 1599, 862, 898,
+ /* 2830 */ 2758, 1596, 875, 1595, 1594, 1593, 972, 974, 973, 2348,
+ /* 2840 */ 976, 2792, 978, 977, 2839, 2346, 2793, 980, 413, 2794,
+ /* 2850 */ 879, 2796, 2797, 874, 496, 981, 862, 898, 2343, 982,
+ /* 2860 */ 984, 876, 986, 985, 2323, 988, 2793, 2321, 990, 1530,
+ /* 2870 */ 2295, 1513, 1518, 994, 1520, 387, 998, 2792, 1983, 400,
+ /* 2880 */ 2839, 876, 1001, 1002, 430, 2794, 879, 2796, 2797, 874,
+ /* 2890 */ 2811, 2261, 862, 898, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 2900 */ 2261, 2261, 2261, 2261, 2261, 2261, 2758, 2261, 875, 2261,
+ /* 2910 */ 2811, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 2920 */ 2261, 2261, 2261, 2261, 2261, 2261, 2758, 2261, 875, 2261,
+ /* 2930 */ 498, 2793, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 2940 */ 2261, 2261, 2261, 2261, 2261, 2261, 876, 2261, 2261, 2261,
+ /* 2950 */ 2261, 2261, 2261, 2792, 2261, 2261, 2839, 2261, 2261, 2261,
+ /* 2960 */ 430, 2794, 879, 2796, 2797, 874, 2261, 2261, 862, 898,
+ /* 2970 */ 2261, 2261, 2261, 2792, 2261, 2811, 2839, 2261, 2261, 2261,
+ /* 2980 */ 415, 2794, 879, 2796, 2797, 874, 2261, 2261, 862, 898,
+ /* 2990 */ 2261, 2758, 2261, 875, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3000 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3010 */ 2261, 2793, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3020 */ 2261, 2261, 2261, 2261, 2261, 2793, 876, 2261, 2261, 2261,
+ /* 3030 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 760, 2261,
+ /* 3040 */ 876, 2839, 2793, 2261, 2261, 425, 2794, 879, 2796, 2797,
+ /* 3050 */ 874, 2261, 2261, 862, 898, 2811, 2261, 876, 2261, 2261,
+ /* 3060 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2811,
+ /* 3070 */ 2261, 2758, 2261, 875, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3080 */ 2261, 2261, 2261, 2261, 2261, 2758, 2811, 875, 2261, 2261,
+ /* 3090 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3100 */ 2261, 2261, 2758, 2261, 875, 2261, 2261, 2793, 2261, 2261,
+ /* 3110 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2792, 2261,
+ /* 3120 */ 2261, 2839, 876, 2261, 2261, 407, 2794, 879, 2796, 2797,
+ /* 3130 */ 874, 2261, 2792, 862, 898, 2839, 2261, 2261, 2261, 405,
+ /* 3140 */ 2794, 879, 2796, 2797, 874, 2261, 2261, 862, 898, 2792,
+ /* 3150 */ 2261, 2811, 2839, 2261, 2261, 2261, 408, 2794, 879, 2796,
+ /* 3160 */ 2797, 874, 2261, 2261, 862, 898, 2261, 2758, 2261, 875,
+ /* 3170 */ 2261, 2261, 2261, 2261, 2261, 2793, 2261, 2261, 2261, 2261,
+ /* 3180 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3190 */ 876, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3200 */ 2261, 2261, 2261, 2793, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3210 */ 2261, 2261, 2261, 2261, 2792, 2261, 2261, 2839, 876, 2811,
+ /* 3220 */ 2261, 422, 2794, 879, 2796, 2797, 874, 2261, 2261, 862,
+ /* 3230 */ 898, 2261, 2261, 2261, 2261, 2758, 2261, 875, 2261, 2793,
+ /* 3240 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2811, 2261, 2261,
+ /* 3250 */ 2261, 2261, 2261, 2261, 876, 2261, 2261, 2261, 2261, 2261,
+ /* 3260 */ 2261, 2261, 2261, 2758, 2261, 875, 2261, 2261, 2261, 2261,
+ /* 3270 */ 2261, 2793, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3280 */ 2261, 2261, 2792, 2811, 2261, 2839, 876, 2261, 2261, 409,
+ /* 3290 */ 2794, 879, 2796, 2797, 874, 2261, 2261, 862, 898, 2758,
+ /* 3300 */ 2261, 875, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3310 */ 2792, 2261, 2261, 2839, 2261, 2811, 2261, 426, 2794, 879,
+ /* 3320 */ 2796, 2797, 874, 2261, 2261, 862, 898, 2261, 2261, 2261,
+ /* 3330 */ 2261, 2758, 2261, 875, 2261, 2261, 2793, 2261, 2261, 2261,
+ /* 3340 */ 2261, 2261, 2261, 2261, 2261, 2261, 2792, 2261, 2261, 2839,
+ /* 3350 */ 2261, 876, 2261, 410, 2794, 879, 2796, 2797, 874, 2793,
+ /* 3360 */ 2261, 862, 898, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3370 */ 2261, 2261, 2261, 2261, 876, 2261, 2261, 2261, 2792, 2261,
+ /* 3380 */ 2811, 2839, 2261, 2261, 2261, 427, 2794, 879, 2796, 2797,
+ /* 3390 */ 874, 2261, 2261, 862, 898, 2261, 2758, 2261, 875, 2261,
+ /* 3400 */ 2261, 2793, 2261, 2811, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3410 */ 2261, 2261, 2261, 2261, 2261, 2261, 876, 2261, 2261, 2758,
+ /* 3420 */ 2261, 875, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3430 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3440 */ 2261, 2261, 2261, 2792, 2261, 2811, 2839, 2793, 2261, 2261,
+ /* 3450 */ 411, 2794, 879, 2796, 2797, 874, 2261, 2261, 862, 898,
+ /* 3460 */ 2261, 2758, 876, 875, 2261, 2261, 2792, 2261, 2261, 2839,
+ /* 3470 */ 2261, 2261, 2261, 428, 2794, 879, 2796, 2797, 874, 2261,
+ /* 3480 */ 2261, 862, 898, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3490 */ 2261, 2811, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3500 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2758, 2792, 875,
+ /* 3510 */ 2261, 2839, 2793, 2261, 2261, 412, 2794, 879, 2796, 2797,
+ /* 3520 */ 874, 2261, 2261, 862, 898, 2261, 2261, 876, 2261, 2793,
+ /* 3530 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3540 */ 2261, 2261, 2261, 2261, 876, 2261, 2261, 2261, 2261, 2261,
+ /* 3550 */ 2261, 2261, 2261, 2261, 2792, 2261, 2811, 2839, 2261, 2261,
+ /* 3560 */ 2261, 406, 2794, 879, 2796, 2797, 874, 2261, 2261, 862,
+ /* 3570 */ 898, 2261, 2758, 2811, 875, 2261, 2261, 2261, 2261, 2261,
+ /* 3580 */ 2793, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2758,
+ /* 3590 */ 2261, 875, 2261, 2261, 2261, 876, 2261, 2261, 2261, 2261,
+ /* 3600 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3610 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2792,
+ /* 3620 */ 2261, 2261, 2839, 2261, 2811, 2261, 414, 2794, 879, 2796,
+ /* 3630 */ 2797, 874, 2261, 2261, 862, 898, 2792, 2261, 2261, 2839,
+ /* 3640 */ 2758, 2261, 875, 417, 2794, 879, 2796, 2797, 874, 2261,
+ /* 3650 */ 2261, 862, 898, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3660 */ 2261, 2793, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3670 */ 2261, 2261, 2261, 2261, 2261, 2261, 876, 2261, 2261, 2261,
+ /* 3680 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2792, 2261, 2793,
+ /* 3690 */ 2839, 2261, 2261, 2261, 418, 2794, 879, 2796, 2797, 874,
+ /* 3700 */ 2261, 2261, 862, 898, 876, 2811, 2261, 2261, 2261, 2261,
+ /* 3710 */ 2793, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3720 */ 2261, 2758, 2261, 875, 2261, 876, 2261, 2261, 2261, 2261,
+ /* 3730 */ 2261, 2261, 2261, 2811, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3740 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2758,
+ /* 3750 */ 2261, 875, 2261, 2261, 2811, 2261, 2261, 2261, 2261, 2261,
+ /* 3760 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2792, 2261,
+ /* 3770 */ 2758, 2839, 875, 2261, 2261, 419, 2794, 879, 2796, 2797,
+ /* 3780 */ 874, 2261, 2261, 862, 898, 2261, 2793, 2261, 2261, 2261,
+ /* 3790 */ 2261, 2261, 2261, 2261, 2261, 2261, 2792, 2261, 2261, 2839,
+ /* 3800 */ 2261, 876, 2261, 435, 2794, 879, 2796, 2797, 874, 2261,
+ /* 3810 */ 2261, 862, 898, 2261, 2261, 2261, 2261, 2792, 2261, 2261,
+ /* 3820 */ 2839, 2261, 2261, 2261, 436, 2794, 879, 2796, 2797, 874,
+ /* 3830 */ 2811, 2261, 862, 898, 2261, 2793, 2261, 2261, 2261, 2261,
+ /* 3840 */ 2261, 2261, 2261, 2261, 2261, 2261, 2758, 2261, 875, 2261,
+ /* 3850 */ 876, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3860 */ 2261, 2261, 2261, 2793, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3870 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 876, 2811,
+ /* 3880 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3890 */ 2261, 2261, 2261, 2792, 2261, 2758, 2839, 875, 2261, 2793,
+ /* 3900 */ 2805, 2794, 879, 2796, 2797, 874, 2261, 2811, 862, 898,
+ /* 3910 */ 2261, 2261, 2261, 2261, 876, 2261, 2261, 2261, 2261, 2261,
+ /* 3920 */ 2261, 2261, 2261, 2758, 2261, 875, 2261, 2261, 2261, 2261,
+ /* 3930 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3940 */ 2261, 2261, 2792, 2811, 2261, 2839, 2261, 2261, 2261, 2804,
+ /* 3950 */ 2794, 879, 2796, 2797, 874, 2261, 2261, 862, 898, 2758,
+ /* 3960 */ 2261, 875, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 3970 */ 2792, 2261, 2261, 2839, 2261, 2261, 2261, 2803, 2794, 879,
+ /* 3980 */ 2796, 2797, 874, 2261, 2261, 862, 898, 2261, 2261, 2261,
+ /* 3990 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 4000 */ 2261, 2261, 2261, 2261, 2261, 2261, 2792, 2261, 2261, 2839,
+ /* 4010 */ 2261, 2261, 2793, 455, 2794, 879, 2796, 2797, 874, 2261,
+ /* 4020 */ 2261, 862, 898, 2261, 2261, 2261, 2793, 876, 2261, 2261,
+ /* 4030 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 4040 */ 2261, 876, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261,
+ /* 4050 */ 2261, 2793, 2261, 2261, 2261, 2261, 2811, 2261, 2261, 2261,
+ /* 4060 */ 2261, 2261, 2261, 2261, 2261, 2261, 876, 2261, 2261, 2261,
+ /* 4070 */ 2811, 2261, 2758, 2261, 875, 2261, 2261, 2793, 2261, 2261,
+ /* 4080 */ 2261, 2261, 2261, 2261, 2261, 2261, 2758, 2261, 875, 2261,
+ /* 4090 */ 2261, 2261, 876, 2261, 2793, 2811, 2261, 2261, 2261, 2261,
+ /* 4100 */ 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 2261, 876,
+ /* 4110 */ 2261, 2758, 2261, 875, 2261, 2261, 2261, 2261, 2261, 2792,
+ /* 4120 */ 2261, 2811, 2839, 2261, 2261, 2261, 456, 2794, 879, 2796,
+ /* 4130 */ 2797, 874, 2261, 2792, 862, 898, 2839, 2758, 2811, 875,
+ /* 4140 */ 452, 2794, 879, 2796, 2797, 874, 2261, 2261, 862, 898,
+ /* 4150 */ 2261, 2261, 2261, 2261, 2758, 2261, 875, 2261, 2792, 2261,
+ /* 4160 */ 2261, 2839, 2261, 2261, 2261, 457, 2794, 879, 2796, 2797,
+ /* 4170 */ 874, 2261, 2261, 862, 898, 2261, 2261, 2261, 2261, 2261,
+ /* 4180 */ 2261, 2261, 2261, 2261, 877, 2261, 2261, 2839, 2261, 2261,
+ /* 4190 */ 2261, 425, 2794, 879, 2796, 2797, 874, 2261, 2261, 862,
+ /* 4200 */ 898, 2792, 2261, 2261, 2839, 2261, 2261, 2261, 424, 2794,
+ /* 4210 */ 879, 2796, 2797, 874, 2261, 2261, 862, 898,
};
static const YYCODETYPE yy_lookahead[] = {
- /* 0 */ 412, 426, 390, 467, 443, 393, 394, 443, 472, 510,
- /* 10 */ 511, 395, 12, 13, 14, 426, 381, 14, 521, 424,
- /* 20 */ 20, 457, 22, 20, 463, 464, 529, 463, 464, 441,
- /* 30 */ 412, 396, 425, 395, 396, 440, 36, 396, 38, 428,
- /* 40 */ 20, 434, 435, 428, 547, 548, 431, 8, 9, 552,
- /* 50 */ 553, 12, 13, 14, 15, 16, 381, 521, 395, 441,
- /* 60 */ 425, 445, 446, 14, 448, 529, 425, 451, 68, 20,
- /* 70 */ 20, 396, 20, 12, 13, 75, 441, 73, 443, 491,
- /* 80 */ 492, 493, 82, 547, 548, 395, 396, 443, 552, 553,
- /* 90 */ 502, 0, 485, 486, 20, 12, 13, 36, 395, 396,
- /* 100 */ 425, 457, 491, 20, 428, 22, 491, 463, 464, 491,
- /* 110 */ 492, 74, 112, 502, 75, 115, 441, 502, 443, 36,
- /* 120 */ 502, 38, 20, 488, 395, 396, 491, 14, 15, 16,
- /* 130 */ 495, 496, 497, 498, 499, 500, 20, 502, 497, 378,
- /* 140 */ 477, 478, 507, 390, 509, 54, 393, 394, 513, 514,
- /* 150 */ 381, 68, 152, 153, 516, 517, 518, 519, 75, 521,
- /* 160 */ 522, 1, 2, 488, 125, 82, 491, 491, 533, 117,
- /* 170 */ 495, 496, 497, 498, 499, 500, 541, 502, 502, 381,
- /* 180 */ 505, 36, 507, 508, 509, 395, 396, 411, 513, 514,
- /* 190 */ 414, 191, 192, 391, 396, 112, 398, 395, 115, 397,
- /* 200 */ 391, 201, 202, 426, 395, 415, 397, 517, 518, 519,
- /* 210 */ 441, 521, 522, 423, 437, 211, 216, 115, 218, 529,
- /* 220 */ 517, 518, 519, 425, 521, 522, 152, 153, 467, 190,
- /* 230 */ 425, 115, 20, 472, 20, 152, 153, 547, 548, 441,
- /* 240 */ 191, 443, 552, 553, 240, 241, 517, 518, 519, 444,
- /* 250 */ 521, 522, 252, 253, 254, 33, 256, 257, 258, 259,
- /* 260 */ 260, 261, 262, 263, 264, 265, 266, 267, 268, 269,
- /* 270 */ 270, 271, 272, 273, 191, 192, 116, 155, 420, 218,
- /* 280 */ 44, 20, 521, 425, 201, 202, 488, 146, 147, 491,
- /* 290 */ 529, 36, 151, 495, 496, 497, 498, 499, 500, 216,
- /* 300 */ 502, 218, 0, 254, 254, 507, 20, 509, 547, 548,
- /* 310 */ 452, 513, 514, 552, 553, 426, 277, 278, 279, 280,
- /* 320 */ 281, 282, 283, 284, 285, 286, 287, 115, 145, 146,
- /* 330 */ 147, 148, 149, 150, 151, 252, 253, 254, 116, 256,
- /* 340 */ 257, 258, 259, 260, 261, 262, 263, 264, 265, 266,
- /* 350 */ 267, 268, 269, 270, 271, 272, 273, 274, 12, 13,
- /* 360 */ 426, 427, 381, 218, 425, 18, 20, 147, 22, 417,
- /* 370 */ 23, 151, 433, 421, 395, 396, 487, 396, 381, 77,
- /* 380 */ 78, 79, 36, 444, 38, 395, 84, 85, 86, 42,
- /* 390 */ 43, 155, 90, 46, 415, 250, 251, 95, 96, 97,
- /* 400 */ 98, 299, 423, 101, 57, 0, 425, 105, 106, 107,
- /* 410 */ 108, 289, 290, 291, 68, 299, 69, 70, 71, 72,
- /* 420 */ 73, 75, 441, 523, 443, 525, 21, 20, 82, 24,
- /* 430 */ 25, 26, 27, 28, 29, 30, 31, 32, 441, 521,
- /* 440 */ 425, 12, 13, 14, 454, 225, 456, 529, 433, 20,
- /* 450 */ 230, 22, 20, 233, 193, 235, 425, 20, 112, 444,
- /* 460 */ 521, 115, 115, 4, 433, 36, 548, 38, 529, 488,
- /* 470 */ 552, 553, 491, 218, 13, 444, 495, 496, 497, 498,
- /* 480 */ 499, 500, 23, 502, 395, 396, 547, 548, 507, 425,
- /* 490 */ 509, 552, 553, 20, 513, 514, 0, 68, 152, 153,
- /* 500 */ 380, 154, 382, 155, 415, 250, 251, 48, 49, 50,
- /* 510 */ 21, 82, 425, 24, 25, 26, 27, 28, 29, 30,
- /* 520 */ 31, 32, 541, 115, 288, 289, 290, 291, 292, 293,
- /* 530 */ 294, 295, 296, 21, 521, 420, 425, 191, 192, 452,
- /* 540 */ 425, 112, 529, 82, 115, 434, 435, 201, 202, 37,
- /* 550 */ 486, 39, 40, 41, 42, 208, 209, 210, 0, 196,
- /* 560 */ 213, 548, 216, 20, 218, 552, 553, 452, 395, 396,
- /* 570 */ 74, 8, 9, 226, 227, 12, 13, 14, 15, 16,
- /* 580 */ 22, 152, 153, 20, 152, 153, 239, 439, 415, 242,
- /* 590 */ 442, 443, 245, 246, 247, 248, 249, 145, 252, 253,
- /* 600 */ 254, 149, 256, 257, 258, 259, 260, 261, 262, 263,
- /* 610 */ 264, 265, 266, 267, 268, 269, 270, 271, 272, 273,
- /* 620 */ 191, 192, 292, 293, 294, 295, 296, 4, 191, 192,
- /* 630 */ 201, 202, 404, 201, 202, 112, 288, 289, 290, 291,
- /* 640 */ 292, 293, 294, 295, 296, 216, 299, 218, 0, 115,
- /* 650 */ 127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
- /* 660 */ 432, 138, 139, 140, 141, 142, 143, 144, 305, 306,
- /* 670 */ 307, 308, 24, 25, 26, 27, 28, 29, 30, 31,
- /* 680 */ 32, 252, 253, 254, 68, 256, 257, 258, 259, 260,
- /* 690 */ 261, 262, 263, 264, 265, 266, 267, 268, 269, 270,
- /* 700 */ 271, 272, 273, 12, 13, 22, 381, 299, 395, 396,
- /* 710 */ 74, 20, 20, 22, 12, 13, 14, 15, 16, 36,
- /* 720 */ 20, 396, 22, 398, 77, 78, 79, 36, 415, 38,
- /* 730 */ 114, 84, 85, 86, 191, 119, 36, 90, 115, 126,
- /* 740 */ 395, 396, 95, 96, 97, 98, 3, 381, 101, 215,
- /* 750 */ 425, 217, 105, 106, 107, 108, 193, 274, 58, 68,
- /* 760 */ 415, 14, 396, 20, 398, 416, 441, 20, 443, 0,
- /* 770 */ 228, 8, 9, 82, 425, 12, 13, 14, 15, 16,
- /* 780 */ 54, 416, 395, 249, 91, 436, 12, 13, 395, 63,
- /* 790 */ 425, 425, 66, 67, 20, 112, 22, 254, 395, 396,
- /* 800 */ 425, 436, 186, 112, 395, 396, 115, 441, 433, 443,
- /* 810 */ 36, 0, 38, 488, 442, 443, 491, 254, 415, 444,
- /* 820 */ 495, 496, 497, 498, 499, 500, 36, 502, 395, 396,
- /* 830 */ 395, 396, 507, 299, 509, 395, 396, 425, 513, 514,
- /* 840 */ 395, 396, 68, 152, 153, 75, 459, 460, 415, 395,
- /* 850 */ 396, 252, 159, 33, 488, 415, 82, 491, 449, 116,
- /* 860 */ 415, 495, 496, 497, 498, 499, 500, 47, 502, 415,
- /* 870 */ 477, 478, 82, 507, 82, 509, 404, 184, 185, 513,
- /* 880 */ 514, 115, 191, 192, 449, 193, 112, 395, 396, 115,
- /* 890 */ 126, 198, 201, 202, 422, 8, 9, 485, 486, 12,
- /* 900 */ 13, 14, 15, 16, 432, 38, 274, 216, 276, 218,
- /* 910 */ 311, 312, 313, 314, 315, 316, 317, 375, 376, 377,
- /* 920 */ 33, 54, 299, 22, 155, 0, 152, 153, 190, 381,
- /* 930 */ 63, 64, 65, 66, 0, 68, 193, 36, 191, 170,
- /* 940 */ 506, 449, 508, 252, 253, 254, 254, 256, 257, 258,
- /* 950 */ 259, 260, 261, 262, 263, 264, 265, 266, 267, 268,
- /* 960 */ 269, 270, 271, 272, 273, 191, 192, 402, 18, 44,
- /* 970 */ 20, 208, 425, 395, 396, 201, 202, 27, 395, 396,
- /* 980 */ 30, 114, 171, 82, 419, 4, 119, 176, 38, 441,
- /* 990 */ 216, 444, 218, 415, 429, 184, 395, 396, 415, 52,
- /* 1000 */ 405, 254, 146, 116, 54, 506, 56, 508, 413, 395,
- /* 1010 */ 396, 61, 62, 8, 9, 277, 415, 12, 13, 14,
- /* 1020 */ 15, 16, 252, 73, 494, 287, 252, 253, 254, 415,
- /* 1030 */ 256, 257, 258, 259, 260, 261, 262, 263, 264, 265,
- /* 1040 */ 266, 267, 268, 269, 270, 271, 272, 273, 395, 396,
- /* 1050 */ 520, 8, 9, 186, 44, 12, 13, 14, 15, 16,
- /* 1060 */ 22, 20, 195, 14, 114, 299, 199, 200, 415, 20,
- /* 1070 */ 395, 396, 205, 206, 36, 402, 126, 0, 68, 145,
- /* 1080 */ 146, 147, 148, 149, 150, 151, 381, 231, 232, 326,
- /* 1090 */ 415, 224, 8, 9, 59, 60, 12, 13, 14, 15,
- /* 1100 */ 16, 396, 429, 398, 400, 401, 3, 157, 158, 23,
- /* 1110 */ 160, 161, 162, 163, 164, 165, 166, 167, 168, 169,
- /* 1120 */ 82, 116, 172, 173, 174, 175, 176, 177, 178, 179,
- /* 1130 */ 425, 181, 182, 183, 381, 49, 50, 187, 188, 189,
- /* 1140 */ 193, 400, 401, 425, 194, 126, 441, 33, 443, 505,
- /* 1150 */ 112, 204, 508, 435, 77, 78, 79, 80, 81, 116,
- /* 1160 */ 83, 84, 85, 86, 87, 88, 89, 90, 91, 92,
- /* 1170 */ 93, 94, 95, 96, 97, 98, 99, 100, 101, 102,
- /* 1180 */ 103, 104, 105, 106, 107, 108, 20, 12, 13, 395,
- /* 1190 */ 396, 381, 20, 488, 441, 381, 491, 22, 381, 180,
- /* 1200 */ 495, 496, 497, 498, 499, 500, 396, 502, 398, 415,
- /* 1210 */ 4, 36, 507, 38, 509, 381, 2, 381, 513, 514,
- /* 1220 */ 381, 381, 8, 9, 381, 19, 12, 13, 14, 15,
- /* 1230 */ 16, 22, 395, 396, 193, 425, 396, 186, 398, 395,
- /* 1240 */ 396, 0, 381, 68, 38, 36, 395, 396, 20, 0,
- /* 1250 */ 22, 441, 415, 443, 216, 441, 218, 82, 441, 415,
- /* 1260 */ 54, 34, 381, 41, 42, 425, 415, 61, 62, 395,
- /* 1270 */ 396, 220, 395, 396, 68, 441, 68, 441, 409, 410,
- /* 1280 */ 441, 441, 301, 443, 441, 381, 58, 112, 425, 415,
- /* 1290 */ 252, 253, 415, 409, 410, 254, 425, 381, 488, 436,
- /* 1300 */ 494, 491, 441, 384, 385, 495, 496, 497, 498, 499,
- /* 1310 */ 500, 33, 502, 381, 421, 444, 33, 507, 381, 509,
- /* 1320 */ 114, 112, 441, 513, 514, 119, 520, 119, 488, 381,
- /* 1330 */ 381, 491, 467, 13, 33, 495, 496, 497, 498, 499,
- /* 1340 */ 500, 381, 502, 121, 122, 441, 124, 507, 47, 509,
- /* 1350 */ 12, 13, 2, 513, 514, 381, 396, 441, 8, 9,
- /* 1360 */ 22, 426, 12, 13, 14, 15, 16, 145, 152, 153,
- /* 1370 */ 494, 149, 381, 441, 36, 482, 38, 438, 441, 438,
- /* 1380 */ 441, 438, 441, 36, 441, 425, 521, 396, 0, 441,
- /* 1390 */ 441, 216, 120, 218, 529, 123, 520, 0, 234, 116,
- /* 1400 */ 236, 441, 82, 443, 155, 36, 68, 120, 381, 33,
- /* 1410 */ 123, 120, 547, 548, 123, 441, 425, 552, 553, 22,
- /* 1420 */ 254, 33, 467, 396, 321, 426, 254, 252, 253, 82,
- /* 1430 */ 120, 13, 441, 123, 443, 426, 33, 33, 13, 325,
- /* 1440 */ 0, 266, 267, 268, 269, 270, 271, 272, 488, 0,
- /* 1450 */ 0, 491, 425, 51, 36, 495, 496, 497, 498, 499,
- /* 1460 */ 500, 36, 502, 33, 33, 33, 426, 507, 441, 509,
- /* 1470 */ 443, 22, 22, 513, 514, 0, 521, 1, 2, 488,
- /* 1480 */ 473, 115, 491, 117, 529, 244, 495, 496, 497, 498,
- /* 1490 */ 499, 500, 116, 502, 36, 55, 33, 33, 507, 33,
- /* 1500 */ 509, 33, 547, 548, 513, 514, 413, 552, 553, 36,
- /* 1510 */ 33, 33, 33, 12, 13, 488, 382, 115, 491, 116,
- /* 1520 */ 116, 13, 495, 496, 497, 498, 499, 500, 453, 502,
- /* 1530 */ 33, 33, 12, 13, 507, 523, 509, 381, 12, 13,
- /* 1540 */ 513, 514, 12, 13, 36, 112, 116, 116, 116, 556,
- /* 1550 */ 12, 13, 396, 545, 216, 82, 218, 524, 12, 13,
- /* 1560 */ 127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
- /* 1570 */ 538, 138, 139, 140, 141, 142, 143, 144, 1, 116,
- /* 1580 */ 116, 425, 116, 36, 116, 12, 13, 218, 250, 251,
- /* 1590 */ 252, 12, 13, 116, 116, 116, 19, 441, 33, 443,
- /* 1600 */ 33, 323, 12, 13, 266, 267, 268, 269, 270, 271,
- /* 1610 */ 272, 13, 467, 116, 116, 38, 12, 13, 381, 33,
- /* 1620 */ 145, 146, 147, 148, 149, 150, 151, 12, 13, 82,
- /* 1630 */ 53, 54, 467, 396, 36, 399, 33, 425, 412, 394,
- /* 1640 */ 63, 64, 65, 66, 488, 68, 33, 491, 453, 544,
- /* 1650 */ 412, 495, 496, 497, 498, 499, 500, 33, 502, 544,
- /* 1660 */ 544, 544, 425, 466, 453, 509, 521, 399, 467, 513,
- /* 1670 */ 514, 489, 396, 440, 529, 528, 218, 474, 441, 528,
- /* 1680 */ 443, 116, 453, 116, 453, 549, 521, 453, 515, 531,
- /* 1690 */ 54, 114, 547, 548, 529, 414, 119, 552, 553, 381,
- /* 1700 */ 8, 9, 116, 302, 12, 13, 14, 15, 16, 490,
- /* 1710 */ 468, 20, 547, 548, 396, 20, 395, 552, 553, 116,
- /* 1720 */ 233, 404, 521, 381, 484, 488, 479, 150, 491, 116,
- /* 1730 */ 529, 479, 495, 496, 497, 498, 499, 500, 396, 502,
- /* 1740 */ 116, 404, 381, 425, 470, 214, 509, 395, 547, 548,
- /* 1750 */ 513, 514, 20, 552, 553, 396, 47, 396, 450, 441,
- /* 1760 */ 396, 443, 450, 447, 190, 395, 395, 425, 396, 450,
- /* 1770 */ 447, 447, 195, 447, 197, 113, 408, 200, 111, 395,
- /* 1780 */ 407, 395, 205, 441, 110, 443, 425, 406, 395, 395,
- /* 1790 */ 395, 20, 52, 388, 479, 388, 404, 20, 392, 443,
- /* 1800 */ 392, 224, 441, 404, 443, 20, 488, 397, 20, 491,
- /* 1810 */ 381, 397, 469, 495, 496, 497, 498, 499, 500, 404,
- /* 1820 */ 502, 404, 20, 404, 404, 396, 20, 509, 404, 454,
- /* 1830 */ 488, 513, 514, 491, 460, 388, 395, 495, 496, 497,
- /* 1840 */ 498, 499, 500, 501, 502, 503, 504, 404, 404, 488,
- /* 1850 */ 381, 425, 491, 425, 425, 395, 495, 496, 497, 498,
- /* 1860 */ 499, 500, 425, 502, 425, 396, 384, 425, 384, 388,
- /* 1870 */ 441, 425, 443, 425, 237, 381, 425, 425, 425, 425,
- /* 1880 */ 115, 483, 402, 20, 221, 193, 441, 222, 479, 468,
- /* 1890 */ 396, 478, 481, 402, 425, 395, 441, 441, 476, 310,
- /* 1900 */ 443, 309, 475, 542, 543, 318, 441, 540, 207, 303,
- /* 1910 */ 441, 320, 443, 319, 537, 537, 537, 488, 381, 425,
- /* 1920 */ 491, 539, 461, 461, 495, 496, 497, 498, 499, 500,
- /* 1930 */ 298, 502, 536, 396, 534, 441, 297, 443, 468, 327,
- /* 1940 */ 557, 324, 551, 527, 381, 322, 396, 535, 126, 526,
- /* 1950 */ 20, 300, 397, 402, 402, 441, 461, 488, 441, 396,
- /* 1960 */ 491, 494, 425, 441, 495, 496, 497, 498, 499, 500,
- /* 1970 */ 532, 502, 461, 441, 441, 199, 458, 402, 441, 454,
- /* 1980 */ 443, 441, 488, 554, 555, 491, 381, 402, 425, 495,
- /* 1990 */ 496, 497, 498, 499, 500, 115, 502, 512, 441, 199,
- /* 2000 */ 455, 396, 465, 509, 441, 421, 443, 454, 514, 550,
- /* 2010 */ 402, 402, 543, 530, 396, 115, 395, 441, 22, 441,
- /* 2020 */ 35, 441, 441, 381, 441, 488, 430, 383, 491, 441,
- /* 2030 */ 425, 402, 495, 496, 497, 498, 499, 500, 396, 502,
- /* 2040 */ 441, 441, 441, 441, 386, 37, 441, 387, 443, 40,
- /* 2050 */ 389, 488, 441, 471, 491, 441, 388, 441, 495, 496,
- /* 2060 */ 497, 498, 499, 500, 379, 502, 441, 425, 441, 441,
- /* 2070 */ 465, 441, 441, 427, 441, 441, 441, 480, 403, 441,
- /* 2080 */ 487, 441, 462, 441, 462, 443, 427, 418, 418, 418,
- /* 2090 */ 0, 0, 0, 488, 47, 0, 491, 36, 243, 36,
- /* 2100 */ 495, 496, 497, 498, 499, 500, 36, 502, 36, 546,
- /* 2110 */ 381, 243, 0, 36, 36, 243, 36, 0, 0, 243,
- /* 2120 */ 0, 36, 0, 36, 0, 396, 22, 0, 238, 36,
- /* 2130 */ 488, 0, 381, 491, 224, 0, 224, 495, 496, 497,
- /* 2140 */ 498, 499, 500, 225, 502, 218, 0, 396, 216, 0,
- /* 2150 */ 0, 212, 211, 0, 425, 0, 158, 51, 51, 381,
- /* 2160 */ 0, 36, 0, 0, 36, 54, 0, 51, 0, 0,
- /* 2170 */ 441, 0, 443, 47, 396, 0, 425, 0, 0, 0,
- /* 2180 */ 51, 0, 0, 0, 36, 0, 176, 176, 0, 0,
- /* 2190 */ 0, 0, 441, 0, 443, 0, 381, 555, 0, 0,
- /* 2200 */ 0, 0, 0, 425, 0, 0, 0, 0, 0, 0,
- /* 2210 */ 0, 396, 0, 0, 0, 51, 465, 488, 0, 441,
- /* 2220 */ 491, 443, 0, 381, 495, 496, 497, 498, 499, 500,
- /* 2230 */ 0, 502, 0, 504, 47, 0, 0, 0, 396, 488,
- /* 2240 */ 425, 0, 491, 465, 0, 381, 495, 496, 497, 498,
- /* 2250 */ 499, 500, 0, 502, 158, 22, 441, 0, 443, 157,
- /* 2260 */ 396, 0, 0, 0, 156, 22, 488, 425, 52, 491,
- /* 2270 */ 22, 52, 381, 495, 496, 497, 498, 499, 500, 0,
- /* 2280 */ 502, 0, 0, 441, 0, 443, 36, 396, 68, 425,
- /* 2290 */ 0, 68, 68, 68, 0, 36, 54, 44, 0, 54,
- /* 2300 */ 36, 0, 44, 488, 36, 441, 491, 443, 54, 381,
- /* 2310 */ 495, 496, 497, 498, 499, 500, 425, 502, 44, 0,
- /* 2320 */ 0, 36, 47, 51, 396, 33, 14, 44, 51, 51,
- /* 2330 */ 488, 0, 441, 491, 443, 0, 45, 495, 496, 497,
- /* 2340 */ 498, 499, 500, 44, 502, 0, 0, 0, 44, 207,
- /* 2350 */ 381, 51, 488, 425, 0, 491, 0, 51, 0, 495,
- /* 2360 */ 496, 497, 498, 499, 500, 396, 502, 0, 0, 441,
- /* 2370 */ 0, 443, 76, 36, 44, 54, 0, 36, 54, 488,
- /* 2380 */ 44, 0, 491, 54, 36, 381, 495, 496, 497, 498,
- /* 2390 */ 499, 500, 0, 502, 425, 36, 44, 54, 0, 44,
- /* 2400 */ 396, 0, 0, 0, 0, 0, 22, 36, 0, 22,
- /* 2410 */ 441, 36, 443, 125, 36, 36, 488, 381, 123, 491,
- /* 2420 */ 0, 36, 36, 495, 496, 497, 498, 499, 500, 425,
- /* 2430 */ 502, 36, 396, 36, 0, 36, 381, 22, 22, 22,
- /* 2440 */ 33, 0, 36, 33, 22, 441, 56, 443, 36, 36,
- /* 2450 */ 36, 396, 0, 22, 0, 36, 0, 488, 0, 36,
- /* 2460 */ 491, 425, 0, 36, 495, 496, 497, 498, 499, 500,
- /* 2470 */ 0, 502, 36, 0, 36, 22, 36, 441, 36, 443,
- /* 2480 */ 425, 20, 381, 0, 229, 116, 193, 115, 228, 115,
- /* 2490 */ 223, 0, 488, 36, 51, 491, 441, 396, 443, 495,
- /* 2500 */ 496, 497, 498, 499, 500, 0, 502, 193, 22, 22,
- /* 2510 */ 193, 0, 199, 0, 381, 193, 219, 3, 203, 193,
- /* 2520 */ 36, 203, 33, 52, 488, 116, 425, 491, 36, 396,
- /* 2530 */ 304, 495, 496, 497, 498, 499, 500, 116, 502, 115,
- /* 2540 */ 115, 115, 441, 488, 443, 113, 491, 52, 51, 116,
- /* 2550 */ 495, 496, 497, 498, 499, 500, 111, 502, 425, 33,
- /* 2560 */ 33, 33, 116, 115, 115, 115, 33, 116, 51, 304,
- /* 2570 */ 115, 33, 82, 36, 441, 116, 443, 3, 381, 115,
- /* 2580 */ 33, 116, 116, 116, 304, 36, 36, 36, 36, 488,
- /* 2590 */ 36, 36, 491, 396, 116, 51, 495, 496, 497, 498,
- /* 2600 */ 499, 500, 381, 502, 288, 33, 0, 51, 0, 115,
- /* 2610 */ 44, 0, 116, 44, 116, 115, 115, 396, 115, 0,
- /* 2620 */ 116, 488, 425, 115, 491, 196, 196, 381, 495, 496,
- /* 2630 */ 497, 498, 499, 500, 44, 502, 33, 113, 441, 200,
- /* 2640 */ 443, 275, 396, 113, 2, 22, 425, 116, 252, 51,
- /* 2650 */ 116, 115, 51, 22, 115, 195, 115, 115, 115, 0,
- /* 2660 */ 44, 116, 441, 115, 443, 196, 255, 381, 115, 0,
- /* 2670 */ 22, 425, 51, 116, 115, 115, 118, 116, 115, 115,
- /* 2680 */ 115, 36, 396, 115, 117, 488, 115, 441, 491, 443,
- /* 2690 */ 115, 381, 495, 496, 497, 498, 499, 500, 116, 502,
- /* 2700 */ 115, 22, 126, 22, 229, 22, 396, 116, 36, 488,
- /* 2710 */ 115, 425, 491, 116, 36, 115, 495, 496, 497, 498,
- /* 2720 */ 499, 500, 36, 502, 36, 116, 116, 441, 116, 443,
- /* 2730 */ 36, 116, 381, 36, 488, 425, 137, 491, 33, 137,
- /* 2740 */ 115, 495, 496, 497, 498, 499, 500, 396, 502, 115,
- /* 2750 */ 137, 441, 36, 443, 137, 115, 22, 22, 76, 75,
- /* 2760 */ 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
- /* 2770 */ 109, 82, 381, 36, 488, 82, 425, 491, 33, 109,
- /* 2780 */ 36, 495, 496, 497, 498, 499, 500, 396, 502, 36,
- /* 2790 */ 36, 22, 441, 36, 443, 36, 36, 82, 488, 381,
- /* 2800 */ 36, 491, 36, 36, 36, 495, 496, 497, 498, 499,
- /* 2810 */ 500, 36, 502, 22, 396, 36, 425, 0, 381, 36,
- /* 2820 */ 44, 0, 36, 0, 54, 54, 44, 54, 36, 44,
- /* 2830 */ 0, 36, 441, 396, 443, 54, 0, 44, 36, 488,
- /* 2840 */ 0, 22, 491, 425, 36, 0, 495, 496, 497, 498,
- /* 2850 */ 499, 500, 36, 502, 22, 33, 36, 22, 21, 441,
- /* 2860 */ 22, 443, 425, 22, 21, 558, 20, 558, 558, 558,
- /* 2870 */ 558, 558, 558, 558, 558, 558, 558, 558, 441, 488,
- /* 2880 */ 443, 558, 491, 381, 558, 558, 495, 496, 497, 498,
- /* 2890 */ 499, 500, 558, 502, 558, 558, 381, 558, 396, 558,
- /* 2900 */ 558, 558, 558, 558, 558, 558, 488, 558, 558, 491,
- /* 2910 */ 558, 396, 558, 495, 496, 497, 498, 499, 500, 558,
- /* 2920 */ 502, 558, 558, 558, 558, 488, 558, 425, 491, 558,
- /* 2930 */ 558, 558, 495, 496, 497, 498, 499, 500, 558, 502,
- /* 2940 */ 425, 558, 558, 441, 558, 443, 558, 558, 558, 558,
- /* 2950 */ 558, 558, 558, 558, 558, 558, 441, 558, 443, 558,
- /* 2960 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 2970 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 2980 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 2990 */ 488, 558, 558, 491, 558, 558, 558, 495, 496, 497,
- /* 3000 */ 498, 499, 500, 488, 502, 558, 491, 558, 558, 558,
- /* 3010 */ 495, 496, 497, 498, 499, 500, 558, 502, 558, 558,
- /* 3020 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3030 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3040 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3050 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3060 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3070 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3080 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3090 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3100 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3110 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3120 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3130 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3140 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3150 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3160 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3170 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3180 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3190 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3200 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3210 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3220 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3230 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 3240 */ 558, 558, 558, 558, 558, 378, 378, 378, 378, 378,
- /* 3250 */ 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
- /* 3260 */ 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
- /* 3270 */ 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
- /* 3280 */ 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
- /* 3290 */ 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
- /* 3300 */ 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
- /* 3310 */ 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
- /* 3320 */ 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
- /* 3330 */ 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
- /* 3340 */ 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
- /* 3350 */ 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
- /* 3360 */ 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
- /* 3370 */ 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
- /* 3380 */ 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
- /* 3390 */ 378, 378, 378, 378, 378, 378,
+ /* 0 */ 436, 475, 434, 439, 2, 403, 480, 451, 403, 0,
+ /* 10 */ 8, 9, 12, 13, 12, 13, 14, 15, 16, 2,
+ /* 20 */ 20, 465, 22, 475, 451, 8, 9, 471, 472, 12,
+ /* 30 */ 13, 14, 15, 16, 20, 428, 36, 389, 38, 0,
+ /* 40 */ 433, 389, 8, 9, 471, 472, 12, 13, 14, 15,
+ /* 50 */ 16, 434, 451, 403, 404, 20, 404, 531, 453, 454,
+ /* 60 */ 20, 456, 445, 499, 459, 539, 465, 460, 68, 467,
+ /* 70 */ 468, 71, 471, 472, 398, 21, 512, 401, 402, 531,
+ /* 80 */ 403, 404, 82, 557, 558, 433, 14, 539, 562, 563,
+ /* 90 */ 433, 37, 20, 39, 40, 41, 42, 449, 441, 413,
+ /* 100 */ 423, 449, 533, 451, 535, 557, 558, 421, 431, 452,
+ /* 110 */ 562, 563, 112, 403, 404, 115, 77, 78, 79, 80,
+ /* 120 */ 81, 0, 83, 84, 85, 86, 87, 88, 89, 90,
+ /* 130 */ 91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
+ /* 140 */ 101, 102, 103, 104, 105, 106, 107, 108, 496, 20,
+ /* 150 */ 116, 499, 152, 153, 33, 503, 504, 505, 506, 507,
+ /* 160 */ 508, 146, 0, 511, 512, 4, 403, 404, 14, 517,
+ /* 170 */ 410, 519, 403, 404, 20, 523, 524, 527, 528, 529,
+ /* 180 */ 171, 531, 532, 389, 23, 176, 423, 427, 531, 539,
+ /* 190 */ 433, 191, 192, 184, 431, 543, 539, 437, 404, 442,
+ /* 200 */ 443, 201, 202, 551, 0, 191, 192, 557, 558, 48,
+ /* 210 */ 49, 50, 562, 563, 557, 558, 216, 55, 218, 562,
+ /* 220 */ 563, 502, 44, 223, 432, 21, 457, 433, 24, 25,
+ /* 230 */ 26, 27, 28, 29, 30, 31, 32, 527, 528, 529,
+ /* 240 */ 448, 531, 532, 449, 115, 451, 231, 232, 233, 530,
+ /* 250 */ 493, 494, 126, 253, 254, 255, 155, 257, 258, 259,
+ /* 260 */ 260, 261, 262, 263, 264, 265, 266, 267, 520, 521,
+ /* 270 */ 270, 271, 272, 273, 274, 275, 276, 277, 278, 279,
+ /* 280 */ 280, 281, 282, 283, 12, 13, 14, 424, 389, 388,
+ /* 290 */ 496, 390, 20, 499, 22, 255, 433, 503, 504, 505,
+ /* 300 */ 506, 507, 508, 404, 20, 511, 512, 444, 36, 515,
+ /* 310 */ 38, 517, 518, 519, 0, 8, 9, 523, 524, 12,
+ /* 320 */ 13, 14, 15, 16, 398, 22, 389, 401, 402, 433,
+ /* 330 */ 8, 9, 433, 155, 12, 13, 14, 15, 16, 36,
+ /* 340 */ 68, 404, 0, 71, 502, 191, 228, 75, 449, 531,
+ /* 350 */ 451, 20, 436, 22, 82, 21, 460, 539, 24, 25,
+ /* 360 */ 26, 27, 28, 29, 30, 31, 32, 12, 13, 47,
+ /* 370 */ 433, 436, 530, 12, 13, 20, 558, 22, 91, 147,
+ /* 380 */ 562, 563, 75, 151, 112, 82, 449, 115, 451, 58,
+ /* 390 */ 73, 36, 20, 38, 434, 496, 54, 36, 499, 298,
+ /* 400 */ 299, 300, 503, 504, 505, 506, 507, 508, 509, 255,
+ /* 410 */ 511, 512, 513, 514, 0, 499, 145, 146, 147, 148,
+ /* 420 */ 149, 150, 151, 68, 152, 153, 71, 389, 512, 0,
+ /* 430 */ 75, 433, 125, 496, 499, 44, 499, 82, 155, 441,
+ /* 440 */ 503, 504, 505, 506, 507, 508, 159, 512, 511, 512,
+ /* 450 */ 452, 22, 14, 20, 517, 495, 519, 225, 20, 68,
+ /* 460 */ 523, 524, 230, 191, 192, 4, 234, 112, 236, 155,
+ /* 470 */ 115, 184, 185, 201, 202, 297, 298, 299, 300, 301,
+ /* 480 */ 302, 303, 304, 305, 170, 198, 531, 449, 216, 117,
+ /* 490 */ 218, 77, 78, 79, 539, 223, 20, 190, 84, 85,
+ /* 500 */ 86, 383, 384, 385, 90, 115, 20, 152, 153, 95,
+ /* 510 */ 96, 97, 98, 558, 20, 101, 115, 562, 563, 105,
+ /* 520 */ 106, 107, 108, 403, 404, 253, 254, 255, 211, 257,
+ /* 530 */ 258, 259, 260, 261, 262, 263, 264, 265, 266, 267,
+ /* 540 */ 196, 20, 270, 271, 272, 273, 191, 192, 115, 277,
+ /* 550 */ 278, 279, 280, 281, 282, 283, 201, 202, 241, 242,
+ /* 560 */ 8, 9, 502, 420, 12, 13, 14, 15, 16, 403,
+ /* 570 */ 404, 216, 20, 218, 433, 268, 115, 457, 223, 218,
+ /* 580 */ 297, 298, 299, 300, 301, 302, 303, 304, 305, 423,
+ /* 590 */ 530, 115, 449, 452, 287, 288, 289, 290, 291, 292,
+ /* 600 */ 293, 294, 295, 296, 403, 404, 434, 435, 253, 254,
+ /* 610 */ 255, 20, 257, 258, 259, 260, 261, 262, 263, 264,
+ /* 620 */ 265, 266, 267, 74, 423, 270, 271, 272, 273, 191,
+ /* 630 */ 403, 186, 277, 278, 279, 280, 281, 282, 283, 284,
+ /* 640 */ 12, 13, 499, 500, 501, 403, 152, 153, 20, 447,
+ /* 650 */ 22, 389, 450, 451, 68, 512, 36, 112, 314, 315,
+ /* 660 */ 316, 317, 403, 404, 36, 220, 38, 301, 302, 303,
+ /* 670 */ 304, 305, 127, 128, 129, 130, 131, 132, 133, 134,
+ /* 680 */ 135, 136, 389, 138, 139, 140, 141, 142, 143, 144,
+ /* 690 */ 0, 13, 20, 255, 22, 20, 68, 404, 308, 71,
+ /* 700 */ 114, 20, 428, 75, 462, 119, 464, 433, 36, 308,
+ /* 710 */ 82, 449, 485, 486, 24, 25, 26, 27, 28, 29,
+ /* 720 */ 30, 31, 32, 12, 13, 14, 433, 433, 41, 42,
+ /* 730 */ 58, 20, 36, 22, 460, 112, 442, 443, 450, 451,
+ /* 740 */ 112, 308, 449, 115, 451, 193, 410, 36, 36, 38,
+ /* 750 */ 127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
+ /* 760 */ 82, 138, 139, 140, 141, 142, 143, 144, 74, 308,
+ /* 770 */ 8, 9, 186, 437, 12, 13, 14, 15, 16, 68,
+ /* 780 */ 152, 153, 71, 433, 308, 386, 527, 528, 529, 496,
+ /* 790 */ 531, 532, 499, 82, 82, 33, 503, 504, 505, 506,
+ /* 800 */ 507, 508, 452, 1, 511, 512, 20, 255, 121, 122,
+ /* 810 */ 517, 124, 519, 389, 403, 115, 523, 524, 68, 191,
+ /* 820 */ 192, 19, 54, 112, 59, 60, 115, 152, 153, 201,
+ /* 830 */ 202, 63, 145, 3, 66, 67, 149, 284, 218, 286,
+ /* 840 */ 38, 399, 403, 404, 216, 403, 218, 405, 1, 2,
+ /* 850 */ 20, 223, 20, 8, 9, 53, 54, 12, 13, 14,
+ /* 860 */ 15, 16, 423, 152, 153, 63, 64, 65, 66, 119,
+ /* 870 */ 68, 251, 252, 449, 475, 420, 201, 202, 116, 480,
+ /* 880 */ 4, 253, 254, 255, 20, 257, 258, 259, 260, 261,
+ /* 890 */ 262, 263, 264, 265, 266, 267, 485, 486, 270, 271,
+ /* 900 */ 272, 273, 191, 192, 449, 277, 278, 279, 280, 281,
+ /* 910 */ 282, 283, 201, 202, 218, 215, 114, 217, 8, 9,
+ /* 920 */ 20, 119, 12, 13, 14, 15, 16, 216, 75, 218,
+ /* 930 */ 531, 399, 0, 424, 223, 403, 255, 405, 539, 403,
+ /* 940 */ 404, 433, 433, 403, 404, 284, 116, 251, 252, 441,
+ /* 950 */ 250, 404, 150, 444, 499, 500, 557, 558, 34, 423,
+ /* 960 */ 452, 562, 563, 116, 253, 254, 255, 512, 257, 258,
+ /* 970 */ 259, 260, 261, 262, 263, 264, 265, 266, 267, 193,
+ /* 980 */ 433, 270, 271, 272, 273, 516, 4, 518, 277, 278,
+ /* 990 */ 279, 280, 281, 282, 283, 12, 13, 195, 389, 197,
+ /* 1000 */ 433, 19, 200, 20, 389, 22, 74, 205, 308, 419,
+ /* 1010 */ 8, 9, 422, 404, 12, 13, 14, 15, 16, 36,
+ /* 1020 */ 38, 38, 23, 193, 429, 193, 224, 8, 9, 433,
+ /* 1030 */ 47, 12, 13, 14, 15, 16, 54, 403, 404, 403,
+ /* 1040 */ 404, 255, 433, 61, 62, 403, 404, 389, 49, 50,
+ /* 1050 */ 68, 68, 505, 208, 71, 191, 20, 423, 449, 423,
+ /* 1060 */ 451, 494, 404, 22, 449, 82, 526, 527, 528, 529,
+ /* 1070 */ 14, 531, 532, 253, 403, 404, 20, 36, 12, 13,
+ /* 1080 */ 12, 13, 14, 15, 16, 490, 20, 255, 22, 493,
+ /* 1090 */ 494, 433, 433, 193, 423, 112, 114, 412, 115, 457,
+ /* 1100 */ 441, 119, 36, 193, 38, 496, 253, 449, 499, 451,
+ /* 1110 */ 22, 452, 503, 504, 505, 506, 507, 508, 116, 255,
+ /* 1120 */ 511, 512, 146, 147, 36, 440, 517, 151, 519, 403,
+ /* 1130 */ 404, 52, 523, 524, 68, 152, 153, 71, 403, 404,
+ /* 1140 */ 320, 321, 322, 323, 324, 325, 326, 3, 82, 423,
+ /* 1150 */ 14, 15, 16, 112, 496, 412, 515, 499, 423, 518,
+ /* 1160 */ 551, 503, 504, 505, 506, 507, 508, 408, 409, 511,
+ /* 1170 */ 512, 531, 433, 430, 191, 192, 403, 404, 112, 539,
+ /* 1180 */ 335, 115, 443, 440, 201, 202, 310, 8, 9, 408,
+ /* 1190 */ 409, 12, 13, 14, 15, 16, 423, 557, 558, 216,
+ /* 1200 */ 112, 218, 562, 563, 403, 404, 223, 190, 8, 9,
+ /* 1210 */ 552, 553, 12, 13, 14, 15, 16, 446, 152, 153,
+ /* 1220 */ 449, 417, 418, 516, 423, 518, 446, 8, 9, 449,
+ /* 1230 */ 389, 12, 13, 14, 15, 16, 253, 254, 255, 0,
+ /* 1240 */ 257, 258, 259, 260, 261, 262, 263, 264, 265, 266,
+ /* 1250 */ 267, 389, 389, 270, 271, 272, 273, 191, 192, 433,
+ /* 1260 */ 277, 278, 279, 280, 281, 282, 283, 201, 202, 8,
+ /* 1270 */ 9, 269, 193, 12, 13, 14, 15, 16, 452, 77,
+ /* 1280 */ 78, 79, 216, 204, 218, 268, 84, 85, 86, 223,
+ /* 1290 */ 449, 255, 90, 403, 404, 116, 389, 95, 96, 97,
+ /* 1300 */ 98, 0, 389, 101, 287, 389, 433, 105, 106, 107,
+ /* 1310 */ 108, 449, 449, 423, 403, 404, 116, 444, 425, 253,
+ /* 1320 */ 254, 255, 429, 257, 258, 259, 260, 261, 262, 263,
+ /* 1330 */ 264, 265, 266, 267, 423, 116, 270, 271, 272, 273,
+ /* 1340 */ 33, 403, 404, 277, 278, 279, 280, 281, 282, 283,
+ /* 1350 */ 12, 13, 22, 389, 47, 18, 449, 20, 20, 33,
+ /* 1360 */ 22, 423, 449, 389, 27, 449, 36, 30, 417, 418,
+ /* 1370 */ 392, 393, 403, 404, 36, 38, 38, 116, 404, 0,
+ /* 1380 */ 403, 404, 403, 404, 145, 146, 147, 148, 149, 150,
+ /* 1390 */ 151, 54, 423, 56, 403, 404, 403, 404, 61, 62,
+ /* 1400 */ 423, 446, 423, 13, 449, 389, 68, 433, 0, 71,
+ /* 1410 */ 73, 389, 82, 449, 423, 389, 423, 33, 403, 404,
+ /* 1420 */ 82, 403, 404, 449, 33, 451, 82, 145, 389, 8,
+ /* 1430 */ 9, 149, 389, 12, 13, 14, 15, 16, 423, 8,
+ /* 1440 */ 9, 423, 112, 12, 13, 14, 15, 16, 389, 126,
+ /* 1450 */ 112, 114, 44, 115, 8, 9, 155, 434, 12, 13,
+ /* 1460 */ 14, 15, 16, 126, 235, 449, 237, 389, 47, 33,
+ /* 1470 */ 496, 449, 82, 499, 330, 449, 36, 503, 504, 505,
+ /* 1480 */ 506, 507, 508, 47, 510, 511, 512, 0, 449, 126,
+ /* 1490 */ 152, 153, 449, 120, 157, 158, 123, 160, 161, 162,
+ /* 1500 */ 163, 164, 165, 166, 167, 168, 169, 116, 449, 172,
+ /* 1510 */ 173, 174, 175, 176, 177, 178, 179, 51, 181, 182,
+ /* 1520 */ 183, 13, 82, 0, 187, 188, 189, 449, 13, 191,
+ /* 1530 */ 192, 194, 120, 120, 120, 123, 123, 123, 0, 201,
+ /* 1540 */ 202, 152, 153, 180, 36, 22, 216, 116, 218, 38,
+ /* 1550 */ 0, 36, 1, 2, 216, 434, 218, 33, 434, 33,
+ /* 1560 */ 22, 223, 116, 8, 9, 54, 33, 12, 13, 14,
+ /* 1570 */ 15, 16, 22, 33, 63, 64, 65, 66, 481, 68,
+ /* 1580 */ 33, 115, 33, 253, 254, 33, 434, 12, 13, 12,
+ /* 1590 */ 13, 253, 254, 255, 434, 257, 258, 259, 260, 261,
+ /* 1600 */ 262, 263, 264, 265, 266, 267, 33, 33, 270, 271,
+ /* 1610 */ 272, 273, 12, 13, 36, 277, 278, 279, 280, 281,
+ /* 1620 */ 282, 283, 18, 390, 245, 114, 389, 23, 12, 13,
+ /* 1630 */ 119, 421, 145, 146, 147, 148, 149, 150, 151, 475,
+ /* 1640 */ 116, 404, 116, 406, 461, 36, 42, 43, 533, 116,
+ /* 1650 */ 46, 33, 389, 36, 33, 33, 116, 115, 332, 117,
+ /* 1660 */ 82, 57, 566, 116, 475, 116, 555, 404, 116, 406,
+ /* 1670 */ 433, 12, 13, 69, 70, 71, 72, 73, 12, 13,
+ /* 1680 */ 33, 548, 12, 13, 12, 13, 449, 534, 451, 116,
+ /* 1690 */ 116, 12, 13, 12, 13, 531, 433, 186, 12, 13,
+ /* 1700 */ 407, 33, 33, 539, 433, 420, 195, 33, 13, 475,
+ /* 1710 */ 199, 200, 449, 402, 451, 420, 205, 206, 334, 115,
+ /* 1720 */ 531, 557, 558, 33, 33, 461, 562, 563, 539, 554,
+ /* 1730 */ 554, 36, 33, 496, 116, 224, 499, 116, 116, 554,
+ /* 1740 */ 503, 504, 505, 506, 507, 508, 557, 558, 511, 512,
+ /* 1750 */ 33, 562, 563, 474, 517, 475, 519, 36, 154, 496,
+ /* 1760 */ 523, 524, 499, 116, 389, 531, 503, 504, 505, 506,
+ /* 1770 */ 507, 508, 13, 539, 511, 512, 33, 33, 33, 404,
+ /* 1780 */ 517, 406, 519, 33, 116, 116, 523, 524, 461, 554,
+ /* 1790 */ 116, 557, 558, 407, 497, 36, 562, 563, 404, 448,
+ /* 1800 */ 482, 461, 461, 82, 538, 538, 116, 116, 433, 559,
+ /* 1810 */ 541, 531, 208, 209, 210, 116, 525, 213, 461, 539,
+ /* 1820 */ 422, 311, 476, 268, 449, 54, 451, 218, 20, 498,
+ /* 1830 */ 226, 227, 403, 116, 20, 218, 487, 557, 558, 234,
+ /* 1840 */ 389, 487, 562, 563, 240, 492, 412, 243, 214, 412,
+ /* 1850 */ 246, 247, 248, 249, 250, 404, 478, 406, 403, 116,
+ /* 1860 */ 116, 116, 20, 404, 47, 458, 116, 404, 458, 404,
+ /* 1870 */ 190, 496, 455, 403, 499, 403, 458, 455, 503, 504,
+ /* 1880 */ 505, 506, 507, 508, 433, 455, 511, 512, 455, 389,
+ /* 1890 */ 113, 416, 517, 111, 519, 415, 403, 403, 523, 524,
+ /* 1900 */ 449, 110, 451, 414, 404, 403, 406, 403, 403, 20,
+ /* 1910 */ 396, 52, 308, 400, 396, 12, 13, 400, 412, 487,
+ /* 1920 */ 389, 412, 20, 462, 451, 22, 20, 405, 412, 20,
+ /* 1930 */ 477, 412, 405, 433, 20, 404, 468, 406, 20, 36,
+ /* 1940 */ 412, 38, 412, 238, 412, 433, 412, 496, 403, 449,
+ /* 1950 */ 499, 451, 396, 412, 503, 504, 505, 506, 507, 508,
+ /* 1960 */ 392, 392, 511, 512, 433, 403, 396, 491, 517, 433,
+ /* 1970 */ 519, 68, 433, 115, 523, 524, 433, 433, 449, 433,
+ /* 1980 */ 449, 433, 451, 487, 449, 82, 433, 433, 489, 410,
+ /* 1990 */ 433, 433, 20, 486, 222, 221, 496, 410, 403, 499,
+ /* 2000 */ 318, 476, 319, 503, 504, 505, 506, 507, 508, 449,
+ /* 2010 */ 451, 511, 512, 449, 547, 112, 389, 517, 547, 519,
+ /* 2020 */ 327, 484, 207, 523, 524, 329, 549, 496, 550, 547,
+ /* 2030 */ 499, 404, 469, 545, 503, 504, 505, 506, 507, 508,
+ /* 2040 */ 469, 546, 511, 512, 483, 312, 328, 544, 517, 307,
+ /* 2050 */ 519, 12, 13, 306, 523, 524, 476, 537, 336, 567,
+ /* 2060 */ 433, 22, 333, 331, 404, 20, 126, 309, 502, 405,
+ /* 2070 */ 469, 410, 410, 449, 449, 36, 449, 38, 451, 449,
+ /* 2080 */ 449, 469, 561, 199, 449, 466, 410, 449, 462, 115,
+ /* 2090 */ 449, 199, 463, 404, 410, 462, 429, 410, 410, 449,
+ /* 2100 */ 449, 536, 449, 522, 449, 449, 449, 68, 115, 389,
+ /* 2110 */ 403, 410, 449, 438, 542, 22, 540, 391, 35, 216,
+ /* 2120 */ 449, 218, 449, 496, 404, 394, 499, 560, 37, 395,
+ /* 2130 */ 503, 504, 505, 506, 507, 508, 40, 397, 511, 512,
+ /* 2140 */ 495, 449, 396, 449, 517, 0, 519, 449, 411, 389,
+ /* 2150 */ 523, 524, 449, 433, 426, 449, 253, 254, 449, 449,
+ /* 2160 */ 449, 449, 449, 449, 404, 449, 488, 426, 449, 449,
+ /* 2170 */ 435, 451, 449, 270, 271, 426, 479, 387, 470, 0,
+ /* 2180 */ 277, 278, 279, 280, 281, 282, 435, 0, 47, 0,
+ /* 2190 */ 36, 244, 36, 433, 470, 36, 36, 244, 0, 36,
+ /* 2200 */ 36, 36, 244, 0, 0, 244, 0, 36, 0, 449,
+ /* 2210 */ 36, 451, 22, 0, 36, 239, 496, 0, 0, 499,
+ /* 2220 */ 224, 0, 224, 503, 504, 505, 506, 507, 508, 225,
+ /* 2230 */ 218, 511, 512, 216, 389, 0, 0, 0, 212, 519,
+ /* 2240 */ 211, 0, 0, 523, 524, 158, 51, 51, 0, 404,
+ /* 2250 */ 36, 0, 0, 54, 0, 216, 496, 218, 36, 499,
+ /* 2260 */ 51, 0, 47, 503, 504, 505, 506, 507, 508, 0,
+ /* 2270 */ 389, 511, 512, 0, 0, 51, 0, 0, 433, 519,
+ /* 2280 */ 0, 0, 0, 523, 524, 404, 0, 176, 0, 36,
+ /* 2290 */ 251, 252, 253, 176, 449, 0, 451, 0, 0, 0,
+ /* 2300 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 270,
+ /* 2310 */ 271, 0, 0, 0, 433, 0, 277, 278, 279, 280,
+ /* 2320 */ 281, 282, 0, 0, 0, 0, 51, 0, 0, 0,
+ /* 2330 */ 449, 47, 451, 0, 0, 0, 0, 0, 0, 0,
+ /* 2340 */ 22, 496, 158, 0, 499, 157, 389, 0, 503, 504,
+ /* 2350 */ 505, 506, 507, 508, 0, 0, 511, 512, 156, 0,
+ /* 2360 */ 68, 404, 22, 22, 519, 0, 52, 36, 523, 524,
+ /* 2370 */ 0, 52, 0, 0, 0, 54, 44, 496, 68, 0,
+ /* 2380 */ 499, 125, 36, 0, 503, 504, 505, 506, 507, 508,
+ /* 2390 */ 433, 0, 511, 512, 68, 389, 36, 44, 68, 36,
+ /* 2400 */ 44, 0, 54, 54, 36, 47, 449, 14, 451, 33,
+ /* 2410 */ 404, 44, 51, 51, 0, 51, 45, 0, 0, 44,
+ /* 2420 */ 0, 0, 44, 207, 0, 0, 0, 389, 51, 0,
+ /* 2430 */ 0, 51, 0, 76, 36, 0, 44, 0, 54, 433,
+ /* 2440 */ 36, 54, 404, 44, 36, 564, 565, 44, 54, 0,
+ /* 2450 */ 54, 36, 0, 496, 44, 449, 499, 451, 0, 0,
+ /* 2460 */ 503, 504, 505, 506, 507, 508, 0, 0, 511, 512,
+ /* 2470 */ 0, 433, 36, 123, 0, 22, 519, 22, 36, 36,
+ /* 2480 */ 36, 524, 36, 36, 36, 0, 36, 449, 0, 451,
+ /* 2490 */ 36, 22, 36, 33, 33, 22, 0, 22, 36, 36,
+ /* 2500 */ 36, 22, 496, 0, 22, 499, 0, 56, 36, 503,
+ /* 2510 */ 504, 505, 506, 507, 508, 0, 389, 511, 512, 0,
+ /* 2520 */ 36, 0, 36, 0, 0, 36, 22, 20, 36, 36,
+ /* 2530 */ 36, 404, 116, 0, 496, 193, 389, 499, 115, 223,
+ /* 2540 */ 0, 503, 504, 505, 506, 507, 508, 36, 228, 511,
+ /* 2550 */ 512, 404, 51, 115, 22, 0, 22, 0, 0, 553,
+ /* 2560 */ 433, 33, 193, 3, 52, 199, 36, 36, 313, 52,
+ /* 2570 */ 219, 33, 33, 229, 33, 193, 449, 51, 451, 193,
+ /* 2580 */ 433, 193, 33, 115, 313, 33, 51, 116, 203, 36,
+ /* 2590 */ 82, 115, 203, 115, 556, 115, 449, 116, 451, 116,
+ /* 2600 */ 473, 389, 111, 113, 3, 33, 313, 36, 33, 36,
+ /* 2610 */ 36, 116, 115, 115, 36, 116, 404, 115, 36, 36,
+ /* 2620 */ 473, 389, 200, 496, 0, 116, 499, 51, 115, 0,
+ /* 2630 */ 503, 504, 505, 506, 507, 508, 404, 51, 511, 512,
+ /* 2640 */ 44, 116, 115, 496, 115, 433, 499, 0, 44, 297,
+ /* 2650 */ 503, 504, 505, 506, 507, 508, 0, 44, 511, 512,
+ /* 2660 */ 116, 449, 116, 451, 116, 433, 116, 116, 33, 115,
+ /* 2670 */ 2, 115, 22, 22, 51, 116, 115, 113, 113, 116,
+ /* 2680 */ 285, 449, 195, 451, 253, 115, 0, 44, 51, 256,
+ /* 2690 */ 0, 22, 115, 51, 115, 115, 196, 116, 22, 115,
+ /* 2700 */ 115, 196, 115, 115, 115, 115, 389, 116, 496, 115,
+ /* 2710 */ 115, 499, 196, 116, 115, 503, 504, 505, 506, 507,
+ /* 2720 */ 508, 404, 116, 511, 512, 115, 115, 118, 496, 117,
+ /* 2730 */ 115, 499, 115, 115, 389, 503, 504, 505, 506, 507,
+ /* 2740 */ 508, 116, 115, 511, 512, 115, 514, 126, 22, 404,
+ /* 2750 */ 433, 22, 36, 36, 116, 115, 36, 116, 36, 115,
+ /* 2760 */ 36, 116, 116, 36, 116, 229, 449, 36, 451, 137,
+ /* 2770 */ 389, 116, 115, 33, 115, 36, 137, 565, 433, 115,
+ /* 2780 */ 22, 76, 75, 22, 36, 404, 137, 36, 36, 137,
+ /* 2790 */ 473, 36, 36, 36, 449, 36, 451, 82, 36, 36,
+ /* 2800 */ 36, 36, 109, 82, 109, 33, 36, 36, 0, 36,
+ /* 2810 */ 22, 36, 36, 496, 433, 36, 499, 82, 473, 36,
+ /* 2820 */ 503, 504, 505, 506, 507, 508, 36, 36, 511, 512,
+ /* 2830 */ 449, 36, 451, 36, 22, 36, 36, 44, 54, 0,
+ /* 2840 */ 36, 496, 44, 54, 499, 0, 389, 36, 503, 504,
+ /* 2850 */ 505, 506, 507, 508, 473, 54, 511, 512, 0, 44,
+ /* 2860 */ 36, 404, 44, 54, 0, 36, 389, 0, 22, 36,
+ /* 2870 */ 0, 22, 36, 33, 36, 22, 21, 496, 22, 22,
+ /* 2880 */ 499, 404, 21, 20, 503, 504, 505, 506, 507, 508,
+ /* 2890 */ 433, 568, 511, 512, 568, 568, 568, 568, 568, 568,
+ /* 2900 */ 568, 568, 568, 568, 568, 568, 449, 568, 451, 568,
+ /* 2910 */ 433, 568, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 2920 */ 568, 568, 568, 568, 568, 568, 449, 568, 451, 568,
+ /* 2930 */ 473, 389, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 2940 */ 568, 568, 568, 568, 568, 568, 404, 568, 568, 568,
+ /* 2950 */ 568, 568, 568, 496, 568, 568, 499, 568, 568, 568,
+ /* 2960 */ 503, 504, 505, 506, 507, 508, 568, 568, 511, 512,
+ /* 2970 */ 568, 568, 568, 496, 568, 433, 499, 568, 568, 568,
+ /* 2980 */ 503, 504, 505, 506, 507, 508, 568, 568, 511, 512,
+ /* 2990 */ 568, 449, 568, 451, 568, 568, 568, 568, 568, 568,
+ /* 3000 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3010 */ 568, 389, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3020 */ 568, 568, 568, 568, 568, 389, 404, 568, 568, 568,
+ /* 3030 */ 568, 568, 568, 568, 568, 568, 568, 568, 496, 568,
+ /* 3040 */ 404, 499, 389, 568, 568, 503, 504, 505, 506, 507,
+ /* 3050 */ 508, 568, 568, 511, 512, 433, 568, 404, 568, 568,
+ /* 3060 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 433,
+ /* 3070 */ 568, 449, 568, 451, 568, 568, 568, 568, 568, 568,
+ /* 3080 */ 568, 568, 568, 568, 568, 449, 433, 451, 568, 568,
+ /* 3090 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3100 */ 568, 568, 449, 568, 451, 568, 568, 389, 568, 568,
+ /* 3110 */ 568, 568, 568, 568, 568, 568, 568, 568, 496, 568,
+ /* 3120 */ 568, 499, 404, 568, 568, 503, 504, 505, 506, 507,
+ /* 3130 */ 508, 568, 496, 511, 512, 499, 568, 568, 568, 503,
+ /* 3140 */ 504, 505, 506, 507, 508, 568, 568, 511, 512, 496,
+ /* 3150 */ 568, 433, 499, 568, 568, 568, 503, 504, 505, 506,
+ /* 3160 */ 507, 508, 568, 568, 511, 512, 568, 449, 568, 451,
+ /* 3170 */ 568, 568, 568, 568, 568, 389, 568, 568, 568, 568,
+ /* 3180 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3190 */ 404, 568, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3200 */ 568, 568, 568, 389, 568, 568, 568, 568, 568, 568,
+ /* 3210 */ 568, 568, 568, 568, 496, 568, 568, 499, 404, 433,
+ /* 3220 */ 568, 503, 504, 505, 506, 507, 508, 568, 568, 511,
+ /* 3230 */ 512, 568, 568, 568, 568, 449, 568, 451, 568, 389,
+ /* 3240 */ 568, 568, 568, 568, 568, 568, 568, 433, 568, 568,
+ /* 3250 */ 568, 568, 568, 568, 404, 568, 568, 568, 568, 568,
+ /* 3260 */ 568, 568, 568, 449, 568, 451, 568, 568, 568, 568,
+ /* 3270 */ 568, 389, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3280 */ 568, 568, 496, 433, 568, 499, 404, 568, 568, 503,
+ /* 3290 */ 504, 505, 506, 507, 508, 568, 568, 511, 512, 449,
+ /* 3300 */ 568, 451, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3310 */ 496, 568, 568, 499, 568, 433, 568, 503, 504, 505,
+ /* 3320 */ 506, 507, 508, 568, 568, 511, 512, 568, 568, 568,
+ /* 3330 */ 568, 449, 568, 451, 568, 568, 389, 568, 568, 568,
+ /* 3340 */ 568, 568, 568, 568, 568, 568, 496, 568, 568, 499,
+ /* 3350 */ 568, 404, 568, 503, 504, 505, 506, 507, 508, 389,
+ /* 3360 */ 568, 511, 512, 568, 568, 568, 568, 568, 568, 568,
+ /* 3370 */ 568, 568, 568, 568, 404, 568, 568, 568, 496, 568,
+ /* 3380 */ 433, 499, 568, 568, 568, 503, 504, 505, 506, 507,
+ /* 3390 */ 508, 568, 568, 511, 512, 568, 449, 568, 451, 568,
+ /* 3400 */ 568, 389, 568, 433, 568, 568, 568, 568, 568, 568,
+ /* 3410 */ 568, 568, 568, 568, 568, 568, 404, 568, 568, 449,
+ /* 3420 */ 568, 451, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3430 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3440 */ 568, 568, 568, 496, 568, 433, 499, 389, 568, 568,
+ /* 3450 */ 503, 504, 505, 506, 507, 508, 568, 568, 511, 512,
+ /* 3460 */ 568, 449, 404, 451, 568, 568, 496, 568, 568, 499,
+ /* 3470 */ 568, 568, 568, 503, 504, 505, 506, 507, 508, 568,
+ /* 3480 */ 568, 511, 512, 568, 568, 568, 568, 568, 568, 568,
+ /* 3490 */ 568, 433, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3500 */ 568, 568, 568, 568, 568, 568, 568, 449, 496, 451,
+ /* 3510 */ 568, 499, 389, 568, 568, 503, 504, 505, 506, 507,
+ /* 3520 */ 508, 568, 568, 511, 512, 568, 568, 404, 568, 389,
+ /* 3530 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3540 */ 568, 568, 568, 568, 404, 568, 568, 568, 568, 568,
+ /* 3550 */ 568, 568, 568, 568, 496, 568, 433, 499, 568, 568,
+ /* 3560 */ 568, 503, 504, 505, 506, 507, 508, 568, 568, 511,
+ /* 3570 */ 512, 568, 449, 433, 451, 568, 568, 568, 568, 568,
+ /* 3580 */ 389, 568, 568, 568, 568, 568, 568, 568, 568, 449,
+ /* 3590 */ 568, 451, 568, 568, 568, 404, 568, 568, 568, 568,
+ /* 3600 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3610 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 496,
+ /* 3620 */ 568, 568, 499, 568, 433, 568, 503, 504, 505, 506,
+ /* 3630 */ 507, 508, 568, 568, 511, 512, 496, 568, 568, 499,
+ /* 3640 */ 449, 568, 451, 503, 504, 505, 506, 507, 508, 568,
+ /* 3650 */ 568, 511, 512, 568, 568, 568, 568, 568, 568, 568,
+ /* 3660 */ 568, 389, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3670 */ 568, 568, 568, 568, 568, 568, 404, 568, 568, 568,
+ /* 3680 */ 568, 568, 568, 568, 568, 568, 568, 496, 568, 389,
+ /* 3690 */ 499, 568, 568, 568, 503, 504, 505, 506, 507, 508,
+ /* 3700 */ 568, 568, 511, 512, 404, 433, 568, 568, 568, 568,
+ /* 3710 */ 389, 568, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3720 */ 568, 449, 568, 451, 568, 404, 568, 568, 568, 568,
+ /* 3730 */ 568, 568, 568, 433, 568, 568, 568, 568, 568, 568,
+ /* 3740 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 449,
+ /* 3750 */ 568, 451, 568, 568, 433, 568, 568, 568, 568, 568,
+ /* 3760 */ 568, 568, 568, 568, 568, 568, 568, 568, 496, 568,
+ /* 3770 */ 449, 499, 451, 568, 568, 503, 504, 505, 506, 507,
+ /* 3780 */ 508, 568, 568, 511, 512, 568, 389, 568, 568, 568,
+ /* 3790 */ 568, 568, 568, 568, 568, 568, 496, 568, 568, 499,
+ /* 3800 */ 568, 404, 568, 503, 504, 505, 506, 507, 508, 568,
+ /* 3810 */ 568, 511, 512, 568, 568, 568, 568, 496, 568, 568,
+ /* 3820 */ 499, 568, 568, 568, 503, 504, 505, 506, 507, 508,
+ /* 3830 */ 433, 568, 511, 512, 568, 389, 568, 568, 568, 568,
+ /* 3840 */ 568, 568, 568, 568, 568, 568, 449, 568, 451, 568,
+ /* 3850 */ 404, 568, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3860 */ 568, 568, 568, 389, 568, 568, 568, 568, 568, 568,
+ /* 3870 */ 568, 568, 568, 568, 568, 568, 568, 568, 404, 433,
+ /* 3880 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3890 */ 568, 568, 568, 496, 568, 449, 499, 451, 568, 389,
+ /* 3900 */ 503, 504, 505, 506, 507, 508, 568, 433, 511, 512,
+ /* 3910 */ 568, 568, 568, 568, 404, 568, 568, 568, 568, 568,
+ /* 3920 */ 568, 568, 568, 449, 568, 451, 568, 568, 568, 568,
+ /* 3930 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3940 */ 568, 568, 496, 433, 568, 499, 568, 568, 568, 503,
+ /* 3950 */ 504, 505, 506, 507, 508, 568, 568, 511, 512, 449,
+ /* 3960 */ 568, 451, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 3970 */ 496, 568, 568, 499, 568, 568, 568, 503, 504, 505,
+ /* 3980 */ 506, 507, 508, 568, 568, 511, 512, 568, 568, 568,
+ /* 3990 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 4000 */ 568, 568, 568, 568, 568, 568, 496, 568, 568, 499,
+ /* 4010 */ 568, 568, 389, 503, 504, 505, 506, 507, 508, 568,
+ /* 4020 */ 568, 511, 512, 568, 568, 568, 389, 404, 568, 568,
+ /* 4030 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 4040 */ 568, 404, 568, 568, 568, 568, 568, 568, 568, 568,
+ /* 4050 */ 568, 389, 568, 568, 568, 568, 433, 568, 568, 568,
+ /* 4060 */ 568, 568, 568, 568, 568, 568, 404, 568, 568, 568,
+ /* 4070 */ 433, 568, 449, 568, 451, 568, 568, 389, 568, 568,
+ /* 4080 */ 568, 568, 568, 568, 568, 568, 449, 568, 451, 568,
+ /* 4090 */ 568, 568, 404, 568, 389, 433, 568, 568, 568, 568,
+ /* 4100 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 404,
+ /* 4110 */ 568, 449, 568, 451, 568, 568, 568, 568, 568, 496,
+ /* 4120 */ 568, 433, 499, 568, 568, 568, 503, 504, 505, 506,
+ /* 4130 */ 507, 508, 568, 496, 511, 512, 499, 449, 433, 451,
+ /* 4140 */ 503, 504, 505, 506, 507, 508, 568, 568, 511, 512,
+ /* 4150 */ 568, 568, 568, 568, 449, 568, 451, 568, 496, 568,
+ /* 4160 */ 568, 499, 568, 568, 568, 503, 504, 505, 506, 507,
+ /* 4170 */ 508, 568, 568, 511, 512, 568, 568, 568, 568, 568,
+ /* 4180 */ 568, 568, 568, 568, 496, 568, 568, 499, 568, 568,
+ /* 4190 */ 568, 503, 504, 505, 506, 507, 508, 568, 568, 511,
+ /* 4200 */ 512, 496, 568, 568, 499, 568, 568, 568, 503, 504,
+ /* 4210 */ 505, 506, 507, 508, 568, 568, 511, 512, 386, 386,
+ /* 4220 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4230 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4240 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4250 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4260 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4270 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4280 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4290 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4300 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4310 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4320 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4330 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4340 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4350 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4360 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4370 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4380 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4390 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4400 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4410 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4420 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4430 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4440 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4450 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4460 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4470 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4480 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4490 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4500 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4510 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4520 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4530 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4540 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4550 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4560 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4570 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4580 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4590 */ 386, 386, 386, 386, 386, 386, 386, 386, 386, 386,
+ /* 4600 */ 386, 386, 386, 386,
};
#define YY_SHIFT_COUNT (1003)
#define YY_SHIFT_MIN (0)
-#define YY_SHIFT_MAX (2846)
+#define YY_SHIFT_MAX (2870)
static const unsigned short int yy_shift_ofst[] = {
- /* 0 */ 347, 0, 83, 0, 346, 346, 346, 346, 346, 346,
- /* 10 */ 346, 346, 346, 346, 346, 346, 429, 691, 691, 774,
- /* 20 */ 691, 691, 691, 691, 691, 691, 691, 691, 691, 691,
- /* 30 */ 691, 691, 691, 691, 691, 691, 691, 691, 691, 691,
- /* 40 */ 691, 691, 691, 691, 691, 691, 691, 691, 691, 691,
- /* 50 */ 102, 116, 534, 212, 408, 766, 408, 408, 212, 212,
- /* 60 */ 408, 1175, 408, 950, 1175, 623, 408, 20, 1338, 432,
- /* 70 */ 432, 214, 214, 1338, 1338, 459, 459, 432, 437, 437,
- /* 80 */ 74, 3, 3, 50, 52, 214, 214, 214, 214, 214,
- /* 90 */ 214, 214, 214, 214, 214, 214, 286, 407, 473, 214,
- /* 100 */ 214, 37, 20, 214, 286, 214, 20, 214, 214, 214,
- /* 110 */ 214, 20, 214, 214, 214, 20, 214, 20, 20, 20,
- /* 120 */ 636, 39, 39, 523, 523, 1433, 647, 236, 489, 1038,
- /* 130 */ 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038,
- /* 140 */ 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1222, 743,
- /* 150 */ 437, 74, 1035, 1035, 790, 261, 261, 261, 632, 632,
- /* 160 */ 496, 461, 790, 37, 20, 613, 20, 20, 483, 20,
- /* 170 */ 20, 792, 20, 792, 792, 764, 1227, 523, 523, 523,
- /* 180 */ 523, 523, 523, 1577, 302, 405, 563, 348, 348, 763,
- /* 190 */ 599, 363, 330, 700, 122, 49, 747, 61, 61, 1086,
- /* 200 */ 692, 901, 901, 901, 947, 901, 543, 1041, 1228, 1010,
- /* 210 */ 1049, 452, 1051, 1166, 1166, 1172, 1320, 1320, 1103, 820,
- /* 220 */ 981, 1166, 461, 1401, 1636, 1691, 1695, 1487, 37, 1695,
- /* 230 */ 37, 1531, 1691, 1732, 1709, 1732, 1709, 1574, 1691, 1732,
- /* 240 */ 1691, 1709, 1574, 1574, 1574, 1662, 1667, 1691, 1691, 1674,
- /* 250 */ 1691, 1691, 1691, 1771, 1740, 1771, 1740, 1695, 37, 37,
- /* 260 */ 1777, 37, 1785, 1788, 37, 1785, 37, 1802, 37, 1806,
- /* 270 */ 37, 37, 1691, 37, 1771, 20, 20, 20, 20, 20,
- /* 280 */ 20, 20, 20, 20, 20, 20, 1691, 1227, 1227, 1771,
- /* 290 */ 792, 792, 792, 1637, 1765, 1695, 636, 1863, 1665, 1663,
- /* 300 */ 1777, 636, 1401, 1691, 792, 1589, 1592, 1589, 1592, 1587,
- /* 310 */ 1701, 1589, 1591, 1594, 1606, 1401, 1632, 1639, 1612, 1617,
- /* 320 */ 1623, 1732, 1930, 1822, 1651, 1785, 636, 636, 1592, 792,
- /* 330 */ 792, 792, 792, 1592, 792, 1776, 636, 792, 1806, 636,
- /* 340 */ 1880, 792, 1800, 1806, 636, 764, 636, 1732, 792, 792,
- /* 350 */ 792, 792, 792, 792, 792, 792, 792, 792, 792, 792,
- /* 360 */ 792, 792, 792, 792, 792, 792, 792, 792, 792, 792,
- /* 370 */ 1900, 792, 1691, 636, 1996, 1985, 2008, 2009, 1771, 3018,
- /* 380 */ 3018, 3018, 3018, 3018, 3018, 3018, 3018, 3018, 3018, 3018,
- /* 390 */ 3018, 1077, 867, 648, 1206, 887, 1005, 1043, 1214, 1350,
- /* 400 */ 1692, 934, 1475, 1084, 1084, 1084, 1084, 1084, 1084, 1084,
- /* 410 */ 1084, 1084, 183, 512, 220, 693, 702, 702, 4, 616,
- /* 420 */ 811, 726, 542, 542, 145, 255, 542, 769, 683, 1209,
- /* 430 */ 856, 141, 141, 113, 160, 738, 113, 113, 113, 91,
- /* 440 */ 1241, 222, 925, 1301, 1019, 1249, 1388, 1272, 1287, 1291,
- /* 450 */ 1310, 1347, 1418, 1425, 558, 1397, 1449, 1450, 1164, 1283,
- /* 460 */ 1376, 1208, 1403, 1404, 1430, 1431, 1216, 1278, 1114, 1432,
- /* 470 */ 1463, 1464, 1476, 1466, 770, 1468, 1402, 1477, 1478, 1479,
- /* 480 */ 1497, 1498, 1501, 1520, 1526, 1530, 1538, 1546, 1573, 1579,
- /* 490 */ 1590, 1604, 1615, 1565, 1567, 1586, 1603, 1613, 1624, 1366,
- /* 500 */ 1473, 1369, 1458, 1508, 1598, 1547, 1440, 2090, 2091, 2092,
- /* 510 */ 2047, 2095, 2061, 1855, 2063, 2070, 2072, 1868, 2112, 2077,
- /* 520 */ 2078, 1872, 2080, 2117, 2118, 1876, 2120, 2085, 2122, 2087,
- /* 530 */ 2124, 2104, 2127, 2093, 1890, 2131, 1910, 2135, 1912, 1918,
- /* 540 */ 1927, 1932, 2146, 2149, 2150, 1939, 1941, 2153, 2155, 1998,
- /* 550 */ 2106, 2107, 2160, 2125, 2162, 2163, 2128, 2111, 2166, 2116,
- /* 560 */ 2168, 2126, 2169, 2171, 2175, 2129, 2177, 2178, 2179, 2181,
- /* 570 */ 2182, 2183, 2010, 2148, 2185, 2011, 2188, 2189, 2190, 2191,
- /* 580 */ 2193, 2195, 2198, 2199, 2200, 2201, 2202, 2204, 2205, 2206,
- /* 590 */ 2207, 2208, 2209, 2210, 2212, 2213, 2164, 2214, 2187, 2218,
- /* 600 */ 2222, 2230, 2232, 2235, 2236, 2237, 2241, 2244, 2233, 2252,
- /* 610 */ 2096, 2257, 2102, 2261, 2108, 2262, 2263, 2243, 2216, 2248,
- /* 620 */ 2219, 2279, 2220, 2281, 2223, 2250, 2282, 2224, 2284, 2225,
- /* 630 */ 2290, 2294, 2259, 2242, 2253, 2298, 2264, 2245, 2258, 2301,
- /* 640 */ 2268, 2254, 2274, 2319, 2285, 2320, 2275, 2283, 2292, 2272,
- /* 650 */ 2277, 2312, 2278, 2331, 2291, 2299, 2335, 2345, 2346, 2347,
- /* 660 */ 2304, 2142, 2354, 2272, 2300, 2356, 2272, 2306, 2358, 2367,
- /* 670 */ 2296, 2368, 2370, 2337, 2321, 2330, 2376, 2341, 2324, 2336,
- /* 680 */ 2381, 2348, 2329, 2352, 2392, 2359, 2343, 2355, 2398, 2401,
- /* 690 */ 2402, 2403, 2404, 2405, 2288, 2295, 2371, 2384, 2408, 2387,
- /* 700 */ 2375, 2378, 2379, 2385, 2386, 2395, 2397, 2399, 2406, 2407,
- /* 710 */ 2410, 2412, 2413, 2415, 2414, 2420, 2416, 2434, 2417, 2441,
- /* 720 */ 2422, 2390, 2452, 2431, 2419, 2454, 2456, 2458, 2423, 2462,
- /* 730 */ 2427, 2470, 2436, 2473, 2453, 2461, 2438, 2440, 2442, 2369,
- /* 740 */ 2372, 2483, 2293, 2255, 2260, 2374, 2267, 2272, 2443, 2491,
- /* 750 */ 2314, 2457, 2486, 2505, 2297, 2487, 2317, 2313, 2511, 2513,
- /* 760 */ 2322, 2315, 2326, 2318, 2514, 2489, 2226, 2424, 2409, 2425,
- /* 770 */ 2421, 2484, 2492, 2426, 2471, 2432, 2495, 2445, 2433, 2526,
- /* 780 */ 2527, 2446, 2448, 2449, 2450, 2451, 2528, 2497, 2517, 2455,
- /* 790 */ 2533, 2265, 2490, 2459, 2538, 2464, 2537, 2465, 2466, 2574,
- /* 800 */ 2547, 2280, 2549, 2550, 2551, 2552, 2554, 2555, 2467, 2478,
- /* 810 */ 2544, 2316, 2572, 2556, 2606, 2608, 2494, 2566, 2496, 2498,
- /* 820 */ 2500, 2501, 2429, 2503, 2611, 2569, 2439, 2619, 2504, 2508,
- /* 830 */ 2430, 2590, 2460, 2603, 2524, 2366, 2530, 2642, 2623, 2396,
- /* 840 */ 2531, 2534, 2536, 2539, 2541, 2542, 2543, 2545, 2598, 2548,
- /* 850 */ 2553, 2601, 2557, 2631, 2411, 2559, 2560, 2659, 2561, 2563,
- /* 860 */ 2469, 2616, 2564, 2567, 2669, 2648, 2558, 2565, 2272, 2621,
- /* 870 */ 2568, 2571, 2582, 2575, 2585, 2576, 2679, 2681, 2683, 2475,
- /* 880 */ 2591, 2645, 2672, 2595, 2597, 2678, 2600, 2609, 2686, 2536,
- /* 890 */ 2610, 2688, 2539, 2612, 2694, 2541, 2615, 2697, 2542, 2599,
- /* 900 */ 2602, 2613, 2617, 2625, 2705, 2634, 2716, 2640, 2705, 2705,
- /* 910 */ 2734, 2682, 2684, 2735, 2724, 2725, 2726, 2727, 2728, 2729,
- /* 920 */ 2730, 2731, 2732, 2733, 2737, 2689, 2661, 2693, 2670, 2745,
- /* 930 */ 2744, 2753, 2754, 2769, 2757, 2759, 2760, 2715, 2407, 2764,
- /* 940 */ 2410, 2766, 2767, 2768, 2775, 2791, 2779, 2817, 2783, 2770,
- /* 950 */ 2776, 2821, 2786, 2771, 2782, 2823, 2792, 2773, 2785, 2830,
- /* 960 */ 2795, 2781, 2793, 2836, 2802, 2840, 2819, 2808, 2845, 2832,
- /* 970 */ 2822, 2816, 2820, 2835, 2837, 2838, 2841, 2843, 2846,
+ /* 0 */ 1604, 272, 355, 272, 628, 628, 628, 628, 628, 628,
+ /* 10 */ 628, 628, 628, 628, 628, 628, 711, 1066, 1066, 1338,
+ /* 20 */ 0, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066,
+ /* 30 */ 1066, 983, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066,
+ /* 40 */ 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066,
+ /* 50 */ 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066,
+ /* 60 */ 433, 476, 700, 129, 390, 401, 390, 390, 129, 129,
+ /* 70 */ 390, 1903, 390, 1337, 1903, 461, 390, 35, 2039, 675,
+ /* 80 */ 675, 284, 284, 2039, 2039, 161, 161, 675, 14, 14,
+ /* 90 */ 494, 72, 72, 40, 372, 284, 284, 284, 284, 284,
+ /* 100 */ 284, 284, 284, 284, 284, 284, 486, 521, 591, 284,
+ /* 110 */ 284, 549, 35, 284, 486, 284, 35, 284, 284, 284,
+ /* 120 */ 284, 35, 284, 284, 284, 35, 284, 35, 35, 35,
+ /* 130 */ 694, 307, 307, 545, 545, 623, 1202, 178, 334, 1330,
+ /* 140 */ 1330, 1330, 1330, 1330, 1330, 1330, 1330, 1330, 1330, 1330,
+ /* 150 */ 1330, 1330, 1330, 1330, 1330, 1330, 1330, 1330, 687, 830,
+ /* 160 */ 14, 494, 765, 765, 712, 900, 900, 900, 553, 553,
+ /* 170 */ 932, 678, 712, 549, 35, 126, 35, 35, 661, 35,
+ /* 180 */ 35, 1344, 35, 1344, 1344, 1323, 924, 545, 545, 545,
+ /* 190 */ 545, 545, 545, 802, 414, 204, 552, 283, 283, 845,
+ /* 200 */ 820, 344, 366, 672, 101, 154, 438, 361, 361, 999,
+ /* 210 */ 786, 303, 303, 303, 1079, 303, 864, 832, 331, 391,
+ /* 220 */ 1056, 1282, 445, 681, 681, 1036, 1390, 1390, 1144, 1307,
+ /* 230 */ 876, 681, 678, 1510, 1771, 1808, 1814, 1605, 549, 1814,
+ /* 240 */ 549, 1634, 1808, 1842, 1817, 1842, 1817, 1680, 1808, 1842,
+ /* 250 */ 1808, 1817, 1680, 1680, 1680, 1777, 1782, 1808, 1808, 1791,
+ /* 260 */ 1808, 1808, 1808, 1889, 1859, 1889, 1859, 1814, 549, 549,
+ /* 270 */ 1902, 549, 1906, 1909, 549, 1906, 549, 1914, 549, 1918,
+ /* 280 */ 549, 549, 1808, 549, 1889, 35, 35, 35, 35, 35,
+ /* 290 */ 35, 35, 35, 35, 35, 35, 1808, 924, 924, 1889,
+ /* 300 */ 1344, 1344, 1344, 1705, 1858, 1814, 694, 1972, 1772, 1774,
+ /* 310 */ 1902, 694, 1510, 1808, 1344, 1683, 1682, 1683, 1682, 1693,
+ /* 320 */ 1815, 1683, 1696, 1718, 1733, 1510, 1742, 1747, 1722, 1729,
+ /* 330 */ 1732, 1842, 2045, 1940, 1758, 1906, 694, 694, 1682, 1344,
+ /* 340 */ 1344, 1344, 1344, 1682, 1344, 1884, 694, 1344, 1918, 694,
+ /* 350 */ 1974, 1344, 1892, 1918, 694, 1323, 694, 1842, 1344, 1344,
+ /* 360 */ 1344, 1344, 1344, 1344, 1344, 1344, 1344, 1344, 1344, 1344,
+ /* 370 */ 1344, 1344, 1344, 1344, 1344, 1344, 1344, 1344, 1344, 1344,
+ /* 380 */ 1993, 1344, 1808, 694, 2093, 2083, 2091, 2096, 1889, 4218,
+ /* 390 */ 4218, 4218, 4218, 4218, 4218, 4218, 4218, 4218, 4218, 4218,
+ /* 400 */ 4218, 39, 1511, 690, 982, 762, 1002, 1179, 1200, 1219,
+ /* 410 */ 2, 17, 34, 322, 1261, 1421, 1431, 1446, 1555, 910,
+ /* 420 */ 1239, 1487, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019,
+ /* 430 */ 1019, 271, 54, 232, 287, 1068, 1068, 317, 586, 9,
+ /* 440 */ 768, 118, 118, 15, 620, 696, 118, 314, 1041, 1088,
+ /* 450 */ 976, 976, 1136, 847, 1017, 1136, 1136, 1136, 342, 1379,
+ /* 460 */ 1391, 1408, 1436, 1363, 1301, 121, 1373, 1412, 1413, 1414,
+ /* 470 */ 1440, 1508, 1515, 429, 1523, 1538, 1550, 1229, 1524, 1526,
+ /* 480 */ 750, 1533, 1540, 1547, 1549, 1389, 1326, 1384, 1552, 1573,
+ /* 490 */ 1574, 1618, 1551, 1621, 853, 1622, 1647, 1466, 1668, 1669,
+ /* 500 */ 1674, 1690, 1691, 1575, 1577, 1600, 1616, 1659, 1666, 1670,
+ /* 510 */ 1672, 1679, 1681, 1686, 1699, 1717, 1743, 1744, 1745, 1750,
+ /* 520 */ 1542, 1578, 1609, 1617, 1695, 1759, 1721, 162, 2145, 2179,
+ /* 530 */ 2187, 2141, 2189, 2154, 1947, 2156, 2159, 2160, 1953, 2198,
+ /* 540 */ 2163, 2164, 1958, 2165, 2203, 2204, 1961, 2206, 2171, 2208,
+ /* 550 */ 2174, 2217, 2190, 2213, 2178, 1976, 2218, 1996, 2221, 1998,
+ /* 560 */ 2004, 2012, 2017, 2235, 2236, 2237, 2026, 2029, 2241, 2242,
+ /* 570 */ 2087, 2195, 2196, 2248, 2214, 2251, 2252, 2222, 2199, 2254,
+ /* 580 */ 2209, 2261, 2215, 2269, 2273, 2274, 2224, 2276, 2277, 2280,
+ /* 590 */ 2281, 2282, 2286, 2111, 2253, 2288, 2117, 2295, 2297, 2298,
+ /* 600 */ 2299, 2300, 2301, 2302, 2303, 2304, 2305, 2306, 2307, 2308,
+ /* 610 */ 2311, 2312, 2313, 2315, 2322, 2323, 2324, 2275, 2325, 2284,
+ /* 620 */ 2327, 2328, 2329, 2333, 2334, 2335, 2336, 2337, 2338, 2318,
+ /* 630 */ 2339, 2184, 2343, 2188, 2347, 2202, 2354, 2355, 2340, 2314,
+ /* 640 */ 2341, 2319, 2359, 2292, 2365, 2310, 2331, 2370, 2326, 2372,
+ /* 650 */ 2330, 2373, 2374, 2346, 2321, 2332, 2379, 2360, 2348, 2353,
+ /* 660 */ 2383, 2363, 2349, 2356, 2391, 2368, 2401, 2358, 2367, 2376,
+ /* 670 */ 2361, 2362, 2393, 2364, 2414, 2371, 2375, 2417, 2418, 2420,
+ /* 680 */ 2421, 2378, 2216, 2424, 2361, 2377, 2425, 2361, 2380, 2426,
+ /* 690 */ 2429, 2357, 2430, 2432, 2398, 2384, 2392, 2435, 2404, 2387,
+ /* 700 */ 2399, 2437, 2408, 2394, 2403, 2449, 2415, 2396, 2410, 2452,
+ /* 710 */ 2458, 2459, 2466, 2467, 2470, 2256, 2350, 2436, 2453, 2474,
+ /* 720 */ 2455, 2442, 2443, 2444, 2446, 2447, 2448, 2450, 2454, 2456,
+ /* 730 */ 2460, 2461, 2462, 2463, 2469, 2464, 2485, 2473, 2488, 2475,
+ /* 740 */ 2496, 2479, 2451, 2503, 2482, 2472, 2506, 2515, 2519, 2484,
+ /* 750 */ 2521, 2486, 2523, 2489, 2524, 2504, 2507, 2492, 2493, 2494,
+ /* 760 */ 2416, 2423, 2533, 2342, 2344, 2320, 2438, 2316, 2361, 2501,
+ /* 770 */ 2540, 2369, 2511, 2532, 2555, 2351, 2534, 2382, 2366, 2557,
+ /* 780 */ 2558, 2386, 2385, 2388, 2389, 2560, 2528, 2255, 2468, 2471,
+ /* 790 */ 2476, 2481, 2530, 2531, 2478, 2512, 2490, 2517, 2491, 2483,
+ /* 800 */ 2538, 2539, 2495, 2480, 2497, 2498, 2499, 2541, 2526, 2535,
+ /* 810 */ 2502, 2549, 2271, 2508, 2509, 2552, 2513, 2553, 2525, 2544,
+ /* 820 */ 2601, 2572, 2293, 2571, 2573, 2574, 2578, 2582, 2583, 2546,
+ /* 830 */ 2548, 2576, 2352, 2575, 2586, 2624, 2629, 2527, 2596, 2550,
+ /* 840 */ 2551, 2529, 2554, 2500, 2556, 2647, 2604, 2422, 2656, 2559,
+ /* 850 */ 2561, 2505, 2613, 2487, 2635, 2564, 2395, 2565, 2668, 2650,
+ /* 860 */ 2431, 2570, 2577, 2579, 2580, 2563, 2581, 2584, 2585, 2587,
+ /* 870 */ 2588, 2589, 2591, 2623, 2590, 2594, 2637, 2597, 2651, 2433,
+ /* 880 */ 2595, 2599, 2686, 2606, 2610, 2516, 2643, 2611, 2612, 2690,
+ /* 890 */ 2669, 2609, 2615, 2361, 2642, 2617, 2618, 2625, 2627, 2630,
+ /* 900 */ 2621, 2676, 2726, 2729, 2536, 2638, 2716, 2717, 2640, 2641,
+ /* 910 */ 2720, 2644, 2645, 2722, 2584, 2646, 2724, 2585, 2648, 2727,
+ /* 920 */ 2587, 2655, 2731, 2588, 2632, 2639, 2649, 2652, 2657, 2740,
+ /* 930 */ 2659, 2739, 2664, 2740, 2740, 2758, 2705, 2707, 2761, 2748,
+ /* 940 */ 2751, 2752, 2755, 2756, 2757, 2759, 2762, 2763, 2764, 2765,
+ /* 950 */ 2715, 2693, 2721, 2695, 2772, 2770, 2771, 2773, 2788, 2775,
+ /* 960 */ 2776, 2779, 2735, 2460, 2783, 2461, 2790, 2791, 2795, 2797,
+ /* 970 */ 2812, 2799, 2808, 2800, 2784, 2793, 2839, 2804, 2789, 2798,
+ /* 980 */ 2845, 2811, 2801, 2815, 2858, 2824, 2809, 2818, 2864, 2829,
+ /* 990 */ 2867, 2846, 2833, 2870, 2849, 2840, 2836, 2838, 2853, 2855,
+ /* 1000 */ 2856, 2857, 2861, 2863,
};
-#define YY_REDUCE_COUNT (390)
-#define YY_REDUCE_MIN (-503)
-#define YY_REDUCE_MAX (2515)
+#define YY_REDUCE_COUNT (400)
+#define YY_REDUCE_MIN (-474)
+#define YY_REDUCE_MAX (3705)
static const short yy_reduce_ofst[] = {
- /* 0 */ -239, -365, -325, -19, -202, 325, 366, 705, 810, 840,
- /* 10 */ 960, 991, 1027, 1156, 1237, 1318, 1342, 1361, 1429, 1494,
- /* 20 */ 1469, 1537, 1605, 1563, 1642, 1729, 1751, 1778, 1815, 1842,
- /* 30 */ 1864, 1891, 1928, 1969, 2004, 2036, 2055, 2101, 2133, 2197,
- /* 40 */ 2221, 2246, 2286, 2310, 2351, 2391, 2418, 2437, 2502, 2515,
- /* 50 */ -310, -61, -464, -362, 865, 955, 1145, 1165, -297, -271,
- /* 60 */ 1201, -412, -503, -384, -382, -82, 13, -393, -385, -436,
- /* 70 */ -356, -210, -21, -389, -324, -388, -247, -439, -142, 115,
- /* 80 */ 148, -198, -191, -359, 89, 173, 313, 345, 403, 409,
- /* 90 */ 435, 433, 440, 454, 578, 492, -337, 387, -10, 445,
- /* 100 */ 583, 472, 412, 601, 393, 614, 15, 653, 675, 794,
- /* 110 */ 837, 349, 844, 851, 874, 31, 877, 111, 375, 365,
- /* 120 */ 565, -501, -501, -66, -111, -223, 595, -100, 120, -231,
- /* 130 */ -3, 548, 753, 814, 817, 834, 836, 839, 843, 861,
- /* 140 */ 881, 904, 916, 932, 937, 948, 949, 974, -405, 530,
- /* 150 */ 87, 372, 704, 741, 869, 530, 806, 876, 434, 499,
- /* 160 */ 673, -224, 884, 228, 64, 893, -195, 547, 644, 863,
- /* 170 */ 718, 939, 871, 941, 943, -48, 919, -425, -411, 935,
- /* 180 */ 999, 1009, 1040, 1007, 1093, 1134, 1075, 1012, 1012, 993,
- /* 190 */ 1008, 1032, 1033, 1236, 1012, 1212, 1212, 1226, 1238, 1245,
- /* 200 */ 1195, 1105, 1115, 1116, 1197, 1117, 1212, 1211, 1268, 1182,
- /* 210 */ 1276, 1233, 1203, 1229, 1231, 1212, 1147, 1151, 1136, 1173,
- /* 220 */ 1158, 1234, 1281, 1242, 1219, 1321, 1247, 1240, 1317, 1252,
- /* 230 */ 1337, 1274, 1352, 1359, 1308, 1364, 1312, 1316, 1370, 1372,
- /* 240 */ 1371, 1319, 1323, 1324, 1326, 1368, 1373, 1384, 1386, 1381,
- /* 250 */ 1393, 1394, 1395, 1405, 1406, 1407, 1408, 1315, 1392, 1399,
- /* 260 */ 1356, 1415, 1410, 1343, 1417, 1414, 1419, 1374, 1420, 1375,
- /* 270 */ 1424, 1443, 1441, 1444, 1447, 1426, 1428, 1437, 1439, 1442,
- /* 280 */ 1446, 1448, 1451, 1452, 1453, 1454, 1460, 1482, 1484, 1481,
- /* 290 */ 1445, 1455, 1456, 1398, 1411, 1409, 1480, 1413, 1422, 1427,
- /* 300 */ 1457, 1491, 1421, 1500, 1465, 1377, 1461, 1378, 1462, 1367,
- /* 310 */ 1382, 1379, 1396, 1412, 1400, 1470, 1416, 1423, 1383, 1391,
- /* 320 */ 1459, 1550, 1467, 1438, 1483, 1555, 1551, 1552, 1495, 1514,
- /* 330 */ 1517, 1522, 1532, 1511, 1533, 1518, 1575, 1540, 1525, 1585,
- /* 340 */ 1485, 1557, 1545, 1553, 1608, 1584, 1609, 1618, 1576, 1578,
- /* 350 */ 1580, 1581, 1583, 1588, 1599, 1600, 1601, 1602, 1611, 1614,
- /* 360 */ 1616, 1625, 1627, 1628, 1630, 1631, 1633, 1634, 1635, 1638,
- /* 370 */ 1596, 1640, 1621, 1629, 1644, 1658, 1660, 1661, 1668, 1582,
- /* 380 */ 1646, 1593, 1597, 1620, 1622, 1669, 1670, 1659, 1671, 1675,
- /* 390 */ 1685,
+ /* 0 */ 399, -348, -206, 609, 1237, 1263, 1375, 1451, 1500, 1531,
+ /* 10 */ -63, 293, 1627, 1720, 1760, 1845, -101, 658, 1881, 1957,
+ /* 20 */ 974, 2006, 2127, 2147, 2038, 2212, 2232, 2317, 2345, 2381,
+ /* 30 */ 2457, 2477, 2542, 2622, 2636, 2653, 2718, 2786, 2814, 2850,
+ /* 40 */ 2882, 2947, 2970, 3012, 3058, 3123, 3140, 3191, 3272, 3300,
+ /* 50 */ 3321, 3397, 3446, 3474, 3510, 3623, 3637, 3662, 3688, 3705,
+ /* 60 */ -350, -343, -474, 540, -452, 1164, 1189, 1234, -290, 259,
+ /* 70 */ 1280, 143, 640, -395, 455, -182, -45, -243, -436, -444,
+ /* 80 */ -399, -323, -237, -84, -65, -324, -74, -427, -393, 274,
+ /* 90 */ 202, 442, 532, 547, 166, 201, 439, 536, 634, -231,
+ /* 100 */ 120, 636, 671, 726, 735, 642, 227, -398, 242, 773,
+ /* 110 */ 801, 743, 596, 890, 411, 911, -2, 938, 969, 977,
+ /* 120 */ 979, -137, 991, 993, 1015, 508, 1018, 294, 659, 509,
+ /* 130 */ -240, -252, -252, 172, -40, -383, -314, -431, -99, -352,
+ /* 140 */ 38, 262, 424, 615, 841, 862, 863, 907, 913, 916,
+ /* 150 */ 964, 1016, 1022, 1026, 1039, 1043, 1059, 1078, -208, -281,
+ /* 160 */ -104, 288, 759, 781, 804, -281, -158, 60, 469, 707,
+ /* 170 */ 336, 590, 951, 685, 567, 595, 141, 350, 641, 873,
+ /* 180 */ 739, 771, 826, 780, 955, 893, 978, -432, 1023, 1121,
+ /* 190 */ 1124, 1152, 1160, 1097, 1210, 1233, 1183, 1115, 1115, 1096,
+ /* 200 */ 1111, 1133, 1153, 1293, 1115, 1271, 1271, 1285, 1295, 1311,
+ /* 210 */ 1264, 1175, 1176, 1185, 1279, 1235, 1271, 1327, 1386, 1297,
+ /* 220 */ 1394, 1351, 1318, 1340, 1341, 1271, 1266, 1267, 1250, 1291,
+ /* 230 */ 1269, 1357, 1398, 1346, 1331, 1429, 1349, 1353, 1434, 1354,
+ /* 240 */ 1437, 1378, 1455, 1459, 1407, 1463, 1410, 1417, 1470, 1465,
+ /* 250 */ 1472, 1418, 1422, 1430, 1433, 1475, 1480, 1493, 1494, 1489,
+ /* 260 */ 1502, 1504, 1505, 1514, 1513, 1518, 1517, 1432, 1506, 1509,
+ /* 270 */ 1473, 1516, 1522, 1453, 1519, 1527, 1528, 1468, 1530, 1461,
+ /* 280 */ 1532, 1534, 1545, 1541, 1556, 1512, 1536, 1539, 1543, 1544,
+ /* 290 */ 1546, 1548, 1553, 1554, 1557, 1558, 1562, 1568, 1569, 1570,
+ /* 300 */ 1529, 1535, 1560, 1476, 1499, 1496, 1579, 1507, 1537, 1561,
+ /* 310 */ 1559, 1587, 1525, 1595, 1564, 1467, 1563, 1471, 1571, 1478,
+ /* 320 */ 1477, 1482, 1495, 1488, 1503, 1580, 1520, 1565, 1492, 1521,
+ /* 330 */ 1567, 1660, 1566, 1572, 1576, 1664, 1661, 1662, 1601, 1624,
+ /* 340 */ 1625, 1630, 1631, 1612, 1635, 1619, 1676, 1638, 1626, 1684,
+ /* 350 */ 1581, 1641, 1629, 1633, 1687, 1667, 1688, 1689, 1650, 1651,
+ /* 360 */ 1653, 1655, 1656, 1657, 1663, 1671, 1673, 1692, 1694, 1698,
+ /* 370 */ 1703, 1706, 1709, 1710, 1711, 1712, 1713, 1714, 1716, 1719,
+ /* 380 */ 1675, 1723, 1707, 1701, 1726, 1731, 1734, 1740, 1746, 1697,
+ /* 390 */ 1735, 1645, 1678, 1708, 1724, 1728, 1741, 1751, 1749, 1737,
+ /* 400 */ 1790,
};
static const YYACTIONTYPE yy_default[] = {
- /* 0 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 10 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 20 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 30 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 40 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 50 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 60 */ 2578, 2203, 2203, 2534, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 70 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2541, 2541,
- /* 80 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 90 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 100 */ 2203, 2309, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 110 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 120 */ 2307, 2830, 2203, 2956, 2619, 2203, 2203, 2859, 2203, 2203,
- /* 130 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 140 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2842,
- /* 150 */ 2203, 2203, 2280, 2280, 2203, 2842, 2842, 2842, 2802, 2802,
- /* 160 */ 2307, 2203, 2203, 2309, 2203, 2621, 2203, 2203, 2203, 2203,
- /* 170 */ 2203, 2203, 2203, 2203, 2203, 2450, 2233, 2203, 2203, 2203,
- /* 180 */ 2203, 2203, 2203, 2604, 2203, 2203, 2888, 2834, 2835, 2950,
- /* 190 */ 2203, 2891, 2853, 2203, 2848, 2203, 2203, 2203, 2203, 2203,
- /* 200 */ 2878, 2203, 2203, 2203, 2203, 2203, 2203, 2546, 2203, 2647,
- /* 210 */ 2203, 2395, 2598, 2203, 2203, 2203, 2203, 2203, 2934, 2832,
- /* 220 */ 2872, 2203, 2203, 2882, 2203, 2203, 2203, 2635, 2309, 2203,
- /* 230 */ 2309, 2591, 2529, 2203, 2539, 2203, 2539, 2536, 2203, 2203,
- /* 240 */ 2203, 2539, 2536, 2536, 2536, 2383, 2379, 2203, 2203, 2377,
- /* 250 */ 2203, 2203, 2203, 2203, 2263, 2203, 2263, 2203, 2309, 2309,
- /* 260 */ 2203, 2309, 2203, 2203, 2309, 2203, 2309, 2203, 2309, 2203,
- /* 270 */ 2309, 2309, 2203, 2309, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 280 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 290 */ 2203, 2203, 2203, 2633, 2614, 2203, 2307, 2203, 2602, 2600,
- /* 300 */ 2203, 2307, 2882, 2203, 2203, 2904, 2899, 2904, 2899, 2918,
- /* 310 */ 2914, 2904, 2923, 2920, 2884, 2882, 2865, 2861, 2953, 2940,
- /* 320 */ 2936, 2203, 2203, 2870, 2868, 2203, 2307, 2307, 2899, 2203,
- /* 330 */ 2203, 2203, 2203, 2899, 2203, 2203, 2307, 2203, 2203, 2307,
- /* 340 */ 2203, 2203, 2203, 2203, 2307, 2203, 2307, 2203, 2203, 2203,
- /* 350 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 360 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 370 */ 2412, 2203, 2203, 2307, 2203, 2235, 2237, 2247, 2203, 2593,
- /* 380 */ 2956, 2619, 2624, 2574, 2574, 2453, 2453, 2956, 2453, 2310,
- /* 390 */ 2208, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 400 */ 2203, 2203, 2203, 2917, 2916, 2753, 2203, 2806, 2805, 2804,
- /* 410 */ 2795, 2752, 2408, 2203, 2203, 2203, 2751, 2750, 2203, 2203,
- /* 420 */ 2203, 2203, 2399, 2396, 2203, 2203, 2421, 2203, 2203, 2203,
- /* 430 */ 2203, 2565, 2564, 2744, 2203, 2203, 2745, 2743, 2742, 2203,
- /* 440 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 450 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 460 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2937, 2941, 2203,
- /* 470 */ 2203, 2203, 2831, 2203, 2203, 2203, 2723, 2203, 2203, 2203,
- /* 480 */ 2203, 2203, 2691, 2686, 2677, 2668, 2683, 2674, 2662, 2680,
- /* 490 */ 2671, 2659, 2656, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 500 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 510 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 520 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 530 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 540 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2535,
- /* 550 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 560 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 570 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 580 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 590 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 600 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 610 */ 2203, 2203, 2203, 2203, 2550, 2203, 2203, 2203, 2203, 2203,
- /* 620 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 630 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 640 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2252, 2730,
- /* 650 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 660 */ 2203, 2203, 2203, 2733, 2203, 2203, 2734, 2203, 2203, 2203,
- /* 670 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 680 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 690 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 700 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2354,
- /* 710 */ 2353, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 720 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 730 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2735,
- /* 740 */ 2203, 2203, 2203, 2203, 2618, 2203, 2203, 2725, 2203, 2203,
- /* 750 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 760 */ 2203, 2203, 2203, 2203, 2933, 2885, 2203, 2203, 2203, 2203,
- /* 770 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 780 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2723, 2203,
- /* 790 */ 2915, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2931, 2203,
- /* 800 */ 2935, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2841, 2837,
- /* 810 */ 2203, 2203, 2833, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 820 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 830 */ 2203, 2203, 2203, 2792, 2203, 2203, 2203, 2826, 2203, 2203,
- /* 840 */ 2203, 2203, 2449, 2448, 2447, 2446, 2203, 2203, 2203, 2203,
- /* 850 */ 2203, 2203, 2735, 2203, 2738, 2203, 2203, 2203, 2203, 2203,
- /* 860 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2722, 2203,
- /* 870 */ 2777, 2776, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 880 */ 2203, 2203, 2203, 2443, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 890 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2427,
- /* 900 */ 2425, 2424, 2423, 2203, 2460, 2203, 2203, 2203, 2456, 2455,
- /* 910 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 920 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2328,
- /* 930 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2320, 2203,
- /* 940 */ 2319, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 950 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 960 */ 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
- /* 970 */ 2232, 2203, 2203, 2203, 2203, 2203, 2203, 2203, 2203,
+ /* 0 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 10 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 20 */ 2845, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 30 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 40 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 50 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 60 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 70 */ 2634, 2259, 2259, 2590, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 80 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2597, 2597,
+ /* 90 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 100 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 110 */ 2259, 2365, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 120 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 130 */ 2363, 2902, 2259, 3028, 2675, 2259, 2259, 2931, 2259, 2259,
+ /* 140 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 150 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2914,
+ /* 160 */ 2259, 2259, 2336, 2336, 2259, 2914, 2914, 2914, 2874, 2874,
+ /* 170 */ 2363, 2259, 2259, 2365, 2259, 2677, 2259, 2259, 2259, 2259,
+ /* 180 */ 2259, 2259, 2259, 2259, 2259, 2506, 2289, 2259, 2259, 2259,
+ /* 190 */ 2259, 2259, 2259, 2660, 2259, 2259, 2960, 2906, 2907, 3022,
+ /* 200 */ 2259, 2963, 2925, 2259, 2920, 2259, 2259, 2259, 2259, 2259,
+ /* 210 */ 2950, 2259, 2259, 2259, 2259, 2259, 2259, 2602, 2259, 2704,
+ /* 220 */ 2259, 2451, 2654, 2259, 2259, 2259, 2259, 2259, 3006, 2904,
+ /* 230 */ 2944, 2259, 2259, 2954, 2259, 2259, 2259, 2692, 2365, 2259,
+ /* 240 */ 2365, 2647, 2585, 2259, 2595, 2259, 2595, 2592, 2259, 2259,
+ /* 250 */ 2259, 2595, 2592, 2592, 2592, 2439, 2435, 2259, 2259, 2433,
+ /* 260 */ 2259, 2259, 2259, 2259, 2319, 2259, 2319, 2259, 2365, 2365,
+ /* 270 */ 2259, 2365, 2259, 2259, 2365, 2259, 2365, 2259, 2365, 2259,
+ /* 280 */ 2365, 2365, 2259, 2365, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 290 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 300 */ 2259, 2259, 2259, 2690, 2670, 2259, 2363, 2259, 2658, 2656,
+ /* 310 */ 2259, 2363, 2954, 2259, 2259, 2976, 2971, 2976, 2971, 2990,
+ /* 320 */ 2986, 2976, 2995, 2992, 2956, 2954, 2937, 2933, 3025, 3012,
+ /* 330 */ 3008, 2259, 2259, 2942, 2940, 2259, 2363, 2363, 2971, 2259,
+ /* 340 */ 2259, 2259, 2259, 2971, 2259, 2259, 2363, 2259, 2259, 2363,
+ /* 350 */ 2259, 2259, 2259, 2259, 2363, 2259, 2363, 2259, 2259, 2259,
+ /* 360 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 370 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 380 */ 2468, 2259, 2259, 2363, 2259, 2291, 2293, 2303, 2259, 2649,
+ /* 390 */ 3028, 2675, 2680, 2630, 2630, 2509, 2509, 3028, 2509, 2366,
+ /* 400 */ 2264, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 410 */ 2259, 2259, 2259, 2809, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 420 */ 2259, 2259, 2989, 2988, 2810, 2259, 2878, 2877, 2876, 2867,
+ /* 430 */ 2809, 2464, 2259, 2259, 2259, 2808, 2807, 2259, 2259, 2259,
+ /* 440 */ 2259, 2455, 2452, 2259, 2259, 2259, 2477, 2259, 2259, 2259,
+ /* 450 */ 2621, 2620, 2801, 2259, 2259, 2802, 2800, 2799, 2259, 2259,
+ /* 460 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 470 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 480 */ 2259, 2259, 2259, 2259, 2259, 2259, 3009, 3013, 2259, 2259,
+ /* 490 */ 2259, 2259, 2903, 2259, 2259, 2259, 2259, 2780, 2259, 2259,
+ /* 500 */ 2259, 2259, 2259, 2748, 2743, 2734, 2725, 2740, 2731, 2719,
+ /* 510 */ 2737, 2728, 2716, 2713, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 520 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 530 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 540 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 550 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 560 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 570 */ 2591, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 580 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 590 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 600 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 610 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 620 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 630 */ 2259, 2259, 2259, 2259, 2259, 2606, 2259, 2259, 2259, 2259,
+ /* 640 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 650 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 660 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2308,
+ /* 670 */ 2787, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 680 */ 2259, 2259, 2259, 2259, 2790, 2259, 2259, 2791, 2259, 2259,
+ /* 690 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 700 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 710 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 720 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 730 */ 2410, 2409, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 740 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 750 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 760 */ 2792, 2259, 2259, 2259, 2259, 2674, 2259, 2259, 2782, 2259,
+ /* 770 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 780 */ 2259, 2259, 2259, 2259, 2259, 3005, 2957, 2259, 2259, 2259,
+ /* 790 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 800 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2780,
+ /* 810 */ 2259, 2987, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 3003,
+ /* 820 */ 2259, 3007, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2913,
+ /* 830 */ 2909, 2259, 2259, 2905, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 840 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 850 */ 2259, 2259, 2259, 2259, 2864, 2259, 2259, 2259, 2898, 2259,
+ /* 860 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2505, 2504, 2503,
+ /* 870 */ 2502, 2259, 2259, 2259, 2259, 2259, 2259, 2792, 2259, 2795,
+ /* 880 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 890 */ 2259, 2259, 2259, 2779, 2259, 2842, 2841, 2259, 2259, 2259,
+ /* 900 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2499, 2259,
+ /* 910 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 920 */ 2259, 2259, 2259, 2259, 2483, 2481, 2480, 2479, 2259, 2516,
+ /* 930 */ 2259, 2259, 2259, 2512, 2511, 2259, 2259, 2259, 2259, 2259,
+ /* 940 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 950 */ 2259, 2259, 2259, 2259, 2384, 2259, 2259, 2259, 2259, 2259,
+ /* 960 */ 2259, 2259, 2259, 2376, 2259, 2375, 2259, 2259, 2259, 2259,
+ /* 970 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 980 */ 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259, 2259,
+ /* 990 */ 2259, 2259, 2259, 2259, 2259, 2288, 2259, 2259, 2259, 2259,
+ /* 1000 */ 2259, 2259, 2259, 2259,
};
/********** End of lemon-generated parsing tables *****************************/
-/* The next table maps tokens (terminal symbols) into fallback tokens.
+/* The next table maps tokens (terminal symbols) into fallback tokens.
** If a construct like the following:
-**
+**
** %fallback ID X Y Z.
**
** appears in the grammar, then ID becomes a fallback token for X, Y,
@@ -1648,12 +1880,12 @@ static const YYCODETYPE yyFallback[] = {
0, /* BWLIMIT => nothing */
0, /* START => nothing */
0, /* TIMESTAMP => nothing */
- 328, /* END => ABORT */
+ 337, /* END => ABORT */
0, /* TABLE => nothing */
0, /* NK_LP => nothing */
0, /* NK_RP => nothing */
0, /* USING => nothing */
- 328, /* FILE => ABORT */
+ 337, /* FILE => ABORT */
0, /* STABLE => nothing */
0, /* COLUMN => nothing */
0, /* MODIFY => nothing */
@@ -1721,7 +1953,7 @@ static const YYCODETYPE yyFallback[] = {
0, /* VNODES => nothing */
0, /* ALIVE => nothing */
0, /* VIEWS => nothing */
- 328, /* VIEW => ABORT */
+ 337, /* VIEW => ABORT */
0, /* COMPACTS => nothing */
0, /* NORMAL => nothing */
0, /* CHILD => nothing */
@@ -1764,7 +1996,7 @@ static const YYCODETYPE yyFallback[] = {
0, /* PAUSE => nothing */
0, /* RESUME => nothing */
0, /* PRIMARY => nothing */
- 328, /* KEY => ABORT */
+ 337, /* KEY => ABORT */
0, /* TRIGGER => nothing */
0, /* AT_ONCE => nothing */
0, /* WINDOW_CLOSE => nothing */
@@ -1804,7 +2036,7 @@ static const YYCODETYPE yyFallback[] = {
0, /* CAST => nothing */
0, /* POSITION => nothing */
0, /* IN => nothing */
- 336, /* FOR => ABORT */
+ 337, /* FOR => ABORT */
0, /* NOW => nothing */
0, /* TODAY => nothing */
0, /* SUBSTR => nothing */
@@ -1837,7 +2069,7 @@ static const YYCODETYPE yyFallback[] = {
0, /* LEFT => nothing */
0, /* RIGHT => nothing */
0, /* OUTER => nothing */
- 328, /* SEMI => ABORT */
+ 337, /* SEMI => ABORT */
0, /* ANTI => nothing */
0, /* ASOF => nothing */
0, /* WINDOW => nothing */
@@ -1873,52 +2105,51 @@ static const YYCODETYPE yyFallback[] = {
0, /* ASC => nothing */
0, /* NULLS => nothing */
0, /* ABORT => nothing */
- 328, /* AFTER => ABORT */
- 328, /* ATTACH => ABORT */
- 328, /* BEFORE => ABORT */
- 328, /* BEGIN => ABORT */
- 328, /* BITAND => ABORT */
- 328, /* BITNOT => ABORT */
- 328, /* BITOR => ABORT */
- 328, /* BLOCKS => ABORT */
- 328, /* CHANGE => ABORT */
- 328, /* COMMA => ABORT */
- 328, /* CONCAT => ABORT */
- 328, /* CONFLICT => ABORT */
- 328, /* COPY => ABORT */
- 328, /* DEFERRED => ABORT */
- 328, /* DELIMITERS => ABORT */
- 328, /* DETACH => ABORT */
- 328, /* DIVIDE => ABORT */
- 328, /* DOT => ABORT */
- 328, /* EACH => ABORT */
- 328, /* FAIL => ABORT */
- 328, /* FOR => ABORT */
- 328, /* GLOB => ABORT */
- 328, /* ID => ABORT */
- 328, /* IMMEDIATE => ABORT */
- 328, /* IMPORT => ABORT */
- 328, /* INITIALLY => ABORT */
- 328, /* INSTEAD => ABORT */
- 328, /* ISNULL => ABORT */
- 328, /* MODULES => ABORT */
- 328, /* NK_BITNOT => ABORT */
- 328, /* NK_SEMI => ABORT */
- 328, /* NOTNULL => ABORT */
- 328, /* OF => ABORT */
- 328, /* PLUS => ABORT */
- 328, /* PRIVILEGE => ABORT */
- 328, /* RAISE => ABORT */
- 328, /* RESTRICT => ABORT */
- 328, /* ROW => ABORT */
- 328, /* STAR => ABORT */
- 328, /* STATEMENT => ABORT */
- 328, /* STRICT => ABORT */
- 328, /* STRING => ABORT */
- 328, /* TIMES => ABORT */
- 328, /* VALUES => ABORT */
- 328, /* VARIABLE => ABORT */
- 328, /* WAL => ABORT */
+ 337, /* AFTER => ABORT */
+ 337, /* ATTACH => ABORT */
+ 337, /* BEFORE => ABORT */
+ 337, /* BEGIN => ABORT */
+ 337, /* BITAND => ABORT */
+ 337, /* BITNOT => ABORT */
+ 337, /* BITOR => ABORT */
+ 337, /* BLOCKS => ABORT */
+ 337, /* CHANGE => ABORT */
+ 337, /* COMMA => ABORT */
+ 337, /* CONCAT => ABORT */
+ 337, /* CONFLICT => ABORT */
+ 337, /* COPY => ABORT */
+ 337, /* DEFERRED => ABORT */
+ 337, /* DELIMITERS => ABORT */
+ 337, /* DETACH => ABORT */
+ 337, /* DIVIDE => ABORT */
+ 337, /* DOT => ABORT */
+ 337, /* EACH => ABORT */
+ 337, /* FAIL => ABORT */
+ 337, /* GLOB => ABORT */
+ 337, /* ID => ABORT */
+ 337, /* IMMEDIATE => ABORT */
+ 337, /* IMPORT => ABORT */
+ 337, /* INITIALLY => ABORT */
+ 337, /* INSTEAD => ABORT */
+ 337, /* ISNULL => ABORT */
+ 337, /* MODULES => ABORT */
+ 337, /* NK_BITNOT => ABORT */
+ 337, /* NK_SEMI => ABORT */
+ 337, /* NOTNULL => ABORT */
+ 337, /* OF => ABORT */
+ 337, /* PLUS => ABORT */
+ 337, /* PRIVILEGE => ABORT */
+ 337, /* RAISE => ABORT */
+ 337, /* RESTRICT => ABORT */
+ 337, /* ROW => ABORT */
+ 337, /* STAR => ABORT */
+ 337, /* STATEMENT => ABORT */
+ 337, /* STRICT => ABORT */
+ 337, /* STRING => ABORT */
+ 337, /* TIMES => ABORT */
+ 337, /* VALUES => ABORT */
+ 337, /* VARIABLE => ABORT */
+ 337, /* WAL => ABORT */
0, /* ENCODE => nothing */
0, /* COMPRESS => nothing */
0, /* LEVEL => nothing */
@@ -1961,10 +2192,15 @@ struct yyParser {
int yyerrcnt; /* Shifts left before out of the error */
#endif
ParseARG_SDECL /* A place to hold %extra_argument */
- ParseCTX_SDECL /* A place to hold %extra_context */
- yyStackEntry *yystackEnd; /* Last entry in the stack */
- yyStackEntry *yystack; /* The parser stack */
- yyStackEntry yystk0[YYSTACKDEPTH]; /* Initial stack space */
+ ParseCTX_SDECL /* A place to hold %extra_context */
+#if YYSTACKDEPTH<=0
+ int yystksz; /* Current side of the stack */
+ yyStackEntry *yystack; /* The parser's stack */
+ yyStackEntry yystk0; /* First stack entry */
+#else
+ yyStackEntry yystack[YYSTACKDEPTH]; /* The parser's stack */
+ yyStackEntry *yystackEnd; /* Last entry in the stack */
+#endif
};
typedef struct yyParser yyParser;
@@ -1976,10 +2212,10 @@ static char *yyTracePrompt = 0;
#endif /* NDEBUG */
#ifndef NDEBUG
-/*
+/*
** Turn parser tracing on by giving a stream to which to write the trace
** and a prompt to preface each trace message. Tracing is turned off
-** by making either argument NULL
+** by making either argument NULL
**
** Inputs:
**
@@ -2238,337 +2474,347 @@ static const char *const yyTokenName[] = {
/* 230 */ "TRIGGER",
/* 231 */ "AT_ONCE",
/* 232 */ "WINDOW_CLOSE",
- /* 233 */ "IGNORE",
- /* 234 */ "EXPIRED",
- /* 235 */ "FILL_HISTORY",
- /* 236 */ "UPDATE",
- /* 237 */ "SUBTABLE",
- /* 238 */ "UNTREATED",
- /* 239 */ "KILL",
- /* 240 */ "CONNECTION",
- /* 241 */ "TRANSACTION",
- /* 242 */ "BALANCE",
- /* 243 */ "VGROUP",
- /* 244 */ "LEADER",
- /* 245 */ "MERGE",
- /* 246 */ "REDISTRIBUTE",
- /* 247 */ "SPLIT",
- /* 248 */ "DELETE",
- /* 249 */ "INSERT",
- /* 250 */ "NK_BIN",
- /* 251 */ "NK_HEX",
- /* 252 */ "NULL",
- /* 253 */ "NK_QUESTION",
- /* 254 */ "NK_ALIAS",
- /* 255 */ "NK_ARROW",
- /* 256 */ "ROWTS",
- /* 257 */ "QSTART",
- /* 258 */ "QEND",
- /* 259 */ "QDURATION",
- /* 260 */ "WSTART",
- /* 261 */ "WEND",
- /* 262 */ "WDURATION",
- /* 263 */ "IROWTS",
- /* 264 */ "ISFILLED",
- /* 265 */ "CAST",
- /* 266 */ "NOW",
- /* 267 */ "TODAY",
- /* 268 */ "TIMEZONE",
- /* 269 */ "CLIENT_VERSION",
- /* 270 */ "SERVER_VERSION",
- /* 271 */ "SERVER_STATUS",
- /* 272 */ "CURRENT_USER",
- /* 273 */ "CASE",
- /* 274 */ "WHEN",
- /* 275 */ "THEN",
- /* 276 */ "ELSE",
- /* 277 */ "BETWEEN",
- /* 278 */ "IS",
- /* 279 */ "NK_LT",
- /* 280 */ "NK_GT",
- /* 281 */ "NK_LE",
- /* 282 */ "NK_GE",
- /* 283 */ "NK_NE",
- /* 284 */ "MATCH",
- /* 285 */ "NMATCH",
- /* 286 */ "CONTAINS",
- /* 287 */ "IN",
- /* 288 */ "JOIN",
- /* 289 */ "INNER",
- /* 290 */ "LEFT",
- /* 291 */ "RIGHT",
- /* 292 */ "OUTER",
- /* 293 */ "SEMI",
- /* 294 */ "ANTI",
- /* 295 */ "ASOF",
- /* 296 */ "WINDOW",
- /* 297 */ "WINDOW_OFFSET",
- /* 298 */ "JLIMIT",
- /* 299 */ "SELECT",
- /* 300 */ "NK_HINT",
- /* 301 */ "DISTINCT",
- /* 302 */ "WHERE",
- /* 303 */ "PARTITION",
- /* 304 */ "BY",
- /* 305 */ "SESSION",
- /* 306 */ "STATE_WINDOW",
- /* 307 */ "EVENT_WINDOW",
- /* 308 */ "COUNT_WINDOW",
- /* 309 */ "SLIDING",
- /* 310 */ "FILL",
- /* 311 */ "VALUE",
- /* 312 */ "VALUE_F",
- /* 313 */ "NONE",
- /* 314 */ "PREV",
- /* 315 */ "NULL_F",
- /* 316 */ "LINEAR",
- /* 317 */ "NEXT",
- /* 318 */ "HAVING",
- /* 319 */ "RANGE",
- /* 320 */ "EVERY",
- /* 321 */ "ORDER",
- /* 322 */ "SLIMIT",
- /* 323 */ "SOFFSET",
- /* 324 */ "LIMIT",
- /* 325 */ "OFFSET",
- /* 326 */ "ASC",
- /* 327 */ "NULLS",
- /* 328 */ "ABORT",
- /* 329 */ "AFTER",
- /* 330 */ "ATTACH",
- /* 331 */ "BEFORE",
- /* 332 */ "BEGIN",
- /* 333 */ "BITAND",
- /* 334 */ "BITNOT",
- /* 335 */ "BITOR",
- /* 336 */ "BLOCKS",
- /* 337 */ "CHANGE",
- /* 338 */ "COMMA",
- /* 339 */ "CONCAT",
- /* 340 */ "CONFLICT",
- /* 341 */ "COPY",
- /* 342 */ "DEFERRED",
- /* 343 */ "DELIMITERS",
- /* 344 */ "DETACH",
- /* 345 */ "DIVIDE",
- /* 346 */ "DOT",
- /* 347 */ "EACH",
- /* 348 */ "FAIL",
- /* 349 */ "FOR",
- /* 350 */ "GLOB",
- /* 351 */ "ID",
- /* 352 */ "IMMEDIATE",
- /* 353 */ "IMPORT",
- /* 354 */ "INITIALLY",
- /* 355 */ "INSTEAD",
- /* 356 */ "ISNULL",
- /* 357 */ "MODULES",
- /* 358 */ "NK_BITNOT",
- /* 359 */ "NK_SEMI",
- /* 360 */ "NOTNULL",
- /* 361 */ "OF",
- /* 362 */ "PLUS",
- /* 363 */ "PRIVILEGE",
- /* 364 */ "RAISE",
- /* 365 */ "RESTRICT",
- /* 366 */ "ROW",
- /* 367 */ "STAR",
- /* 368 */ "STATEMENT",
- /* 369 */ "STRICT",
- /* 370 */ "STRING",
- /* 371 */ "TIMES",
- /* 372 */ "VALUES",
- /* 373 */ "VARIABLE",
- /* 374 */ "WAL",
- /* 375 */ "ENCODE",
- /* 376 */ "COMPRESS",
- /* 377 */ "LEVEL",
- /* 378 */ "cmd",
- /* 379 */ "account_options",
- /* 380 */ "alter_account_options",
- /* 381 */ "literal",
- /* 382 */ "alter_account_option",
- /* 383 */ "ip_range_list",
- /* 384 */ "white_list",
- /* 385 */ "white_list_opt",
- /* 386 */ "is_import_opt",
- /* 387 */ "is_createdb_opt",
- /* 388 */ "user_name",
- /* 389 */ "sysinfo_opt",
- /* 390 */ "privileges",
- /* 391 */ "priv_level",
- /* 392 */ "with_opt",
- /* 393 */ "priv_type_list",
- /* 394 */ "priv_type",
- /* 395 */ "db_name",
- /* 396 */ "table_name",
- /* 397 */ "topic_name",
- /* 398 */ "search_condition",
- /* 399 */ "dnode_endpoint",
- /* 400 */ "force_opt",
- /* 401 */ "unsafe_opt",
- /* 402 */ "not_exists_opt",
- /* 403 */ "db_options",
- /* 404 */ "exists_opt",
- /* 405 */ "alter_db_options",
- /* 406 */ "speed_opt",
- /* 407 */ "start_opt",
- /* 408 */ "end_opt",
- /* 409 */ "integer_list",
- /* 410 */ "variable_list",
- /* 411 */ "retention_list",
- /* 412 */ "signed",
- /* 413 */ "alter_db_option",
- /* 414 */ "retention",
- /* 415 */ "full_table_name",
- /* 416 */ "column_def_list",
- /* 417 */ "tags_def_opt",
- /* 418 */ "table_options",
- /* 419 */ "multi_create_clause",
- /* 420 */ "tag_list_opt",
- /* 421 */ "tags_def",
- /* 422 */ "multi_drop_clause",
- /* 423 */ "alter_table_clause",
- /* 424 */ "alter_table_options",
- /* 425 */ "column_name",
- /* 426 */ "type_name",
- /* 427 */ "column_options",
- /* 428 */ "tags_literal",
- /* 429 */ "create_subtable_clause",
- /* 430 */ "specific_cols_opt",
- /* 431 */ "tags_literal_list",
- /* 432 */ "drop_table_clause",
- /* 433 */ "col_name_list",
- /* 434 */ "tag_def_list",
- /* 435 */ "tag_def",
- /* 436 */ "column_def",
- /* 437 */ "type_name_default_len",
- /* 438 */ "duration_list",
- /* 439 */ "rollup_func_list",
- /* 440 */ "alter_table_option",
- /* 441 */ "duration_literal",
- /* 442 */ "rollup_func_name",
- /* 443 */ "function_name",
- /* 444 */ "col_name",
- /* 445 */ "db_kind_opt",
- /* 446 */ "table_kind_db_name_cond_opt",
- /* 447 */ "like_pattern_opt",
- /* 448 */ "db_name_cond_opt",
- /* 449 */ "table_name_cond",
- /* 450 */ "from_db_opt",
- /* 451 */ "table_kind",
- /* 452 */ "tag_item",
- /* 453 */ "column_alias",
- /* 454 */ "tsma_name",
- /* 455 */ "tsma_func_list",
- /* 456 */ "full_tsma_name",
- /* 457 */ "func_list",
- /* 458 */ "index_options",
- /* 459 */ "full_index_name",
- /* 460 */ "index_name",
- /* 461 */ "sliding_opt",
- /* 462 */ "sma_stream_opt",
- /* 463 */ "func",
- /* 464 */ "sma_func_name",
- /* 465 */ "expression_list",
- /* 466 */ "with_meta",
- /* 467 */ "query_or_subquery",
- /* 468 */ "where_clause_opt",
- /* 469 */ "cgroup_name",
- /* 470 */ "analyze_opt",
- /* 471 */ "explain_options",
- /* 472 */ "insert_query",
- /* 473 */ "or_replace_opt",
- /* 474 */ "agg_func_opt",
- /* 475 */ "bufsize_opt",
- /* 476 */ "language_opt",
- /* 477 */ "full_view_name",
- /* 478 */ "view_name",
- /* 479 */ "stream_name",
- /* 480 */ "stream_options",
- /* 481 */ "col_list_opt",
- /* 482 */ "tag_def_or_ref_opt",
- /* 483 */ "subtable_opt",
- /* 484 */ "ignore_opt",
- /* 485 */ "column_stream_def_list",
- /* 486 */ "column_stream_def",
- /* 487 */ "stream_col_options",
- /* 488 */ "expression",
- /* 489 */ "on_vgroup_id",
- /* 490 */ "dnode_list",
- /* 491 */ "literal_func",
- /* 492 */ "signed_literal",
- /* 493 */ "literal_list",
- /* 494 */ "table_alias",
- /* 495 */ "expr_or_subquery",
- /* 496 */ "pseudo_column",
- /* 497 */ "column_reference",
- /* 498 */ "function_expression",
- /* 499 */ "case_when_expression",
- /* 500 */ "star_func",
- /* 501 */ "star_func_para_list",
- /* 502 */ "noarg_func",
- /* 503 */ "other_para_list",
- /* 504 */ "star_func_para",
- /* 505 */ "when_then_list",
- /* 506 */ "case_when_else_opt",
- /* 507 */ "common_expression",
- /* 508 */ "when_then_expr",
- /* 509 */ "predicate",
- /* 510 */ "compare_op",
- /* 511 */ "in_op",
- /* 512 */ "in_predicate_value",
- /* 513 */ "boolean_value_expression",
- /* 514 */ "boolean_primary",
- /* 515 */ "from_clause_opt",
- /* 516 */ "table_reference_list",
- /* 517 */ "table_reference",
- /* 518 */ "table_primary",
- /* 519 */ "joined_table",
- /* 520 */ "alias_opt",
- /* 521 */ "subquery",
- /* 522 */ "parenthesized_joined_table",
- /* 523 */ "join_type",
- /* 524 */ "join_subtype",
- /* 525 */ "join_on_clause_opt",
- /* 526 */ "window_offset_clause_opt",
- /* 527 */ "jlimit_clause_opt",
- /* 528 */ "window_offset_literal",
- /* 529 */ "query_specification",
- /* 530 */ "hint_list",
- /* 531 */ "set_quantifier_opt",
- /* 532 */ "tag_mode_opt",
- /* 533 */ "select_list",
- /* 534 */ "partition_by_clause_opt",
- /* 535 */ "range_opt",
- /* 536 */ "every_opt",
- /* 537 */ "fill_opt",
- /* 538 */ "twindow_clause_opt",
- /* 539 */ "group_by_clause_opt",
- /* 540 */ "having_clause_opt",
- /* 541 */ "select_item",
- /* 542 */ "partition_list",
- /* 543 */ "partition_item",
- /* 544 */ "interval_sliding_duration_literal",
- /* 545 */ "fill_mode",
- /* 546 */ "group_by_list",
- /* 547 */ "query_expression",
- /* 548 */ "query_simple",
- /* 549 */ "order_by_clause_opt",
- /* 550 */ "slimit_clause_opt",
- /* 551 */ "limit_clause_opt",
- /* 552 */ "union_query_expression",
- /* 553 */ "query_simple_or_subquery",
- /* 554 */ "sort_specification_list",
- /* 555 */ "sort_specification",
- /* 556 */ "ordering_specification_opt",
- /* 557 */ "null_ordering_opt",
+ /* 233 */ "FORCE_WINDOW_CLOSE",
+ /* 234 */ "IGNORE",
+ /* 235 */ "EXPIRED",
+ /* 236 */ "FILL_HISTORY",
+ /* 237 */ "UPDATE",
+ /* 238 */ "SUBTABLE",
+ /* 239 */ "UNTREATED",
+ /* 240 */ "KILL",
+ /* 241 */ "CONNECTION",
+ /* 242 */ "TRANSACTION",
+ /* 243 */ "BALANCE",
+ /* 244 */ "VGROUP",
+ /* 245 */ "LEADER",
+ /* 246 */ "MERGE",
+ /* 247 */ "REDISTRIBUTE",
+ /* 248 */ "SPLIT",
+ /* 249 */ "DELETE",
+ /* 250 */ "INSERT",
+ /* 251 */ "NK_BIN",
+ /* 252 */ "NK_HEX",
+ /* 253 */ "NULL",
+ /* 254 */ "NK_QUESTION",
+ /* 255 */ "NK_ALIAS",
+ /* 256 */ "NK_ARROW",
+ /* 257 */ "ROWTS",
+ /* 258 */ "QSTART",
+ /* 259 */ "QEND",
+ /* 260 */ "QDURATION",
+ /* 261 */ "WSTART",
+ /* 262 */ "WEND",
+ /* 263 */ "WDURATION",
+ /* 264 */ "IROWTS",
+ /* 265 */ "ISFILLED",
+ /* 266 */ "CAST",
+ /* 267 */ "POSITION",
+ /* 268 */ "IN",
+ /* 269 */ "FOR",
+ /* 270 */ "NOW",
+ /* 271 */ "TODAY",
+ /* 272 */ "SUBSTR",
+ /* 273 */ "SUBSTRING",
+ /* 274 */ "BOTH",
+ /* 275 */ "TRAILING",
+ /* 276 */ "LEADING",
+ /* 277 */ "TIMEZONE",
+ /* 278 */ "CLIENT_VERSION",
+ /* 279 */ "SERVER_VERSION",
+ /* 280 */ "SERVER_STATUS",
+ /* 281 */ "CURRENT_USER",
+ /* 282 */ "PI",
+ /* 283 */ "CASE",
+ /* 284 */ "WHEN",
+ /* 285 */ "THEN",
+ /* 286 */ "ELSE",
+ /* 287 */ "BETWEEN",
+ /* 288 */ "IS",
+ /* 289 */ "NK_LT",
+ /* 290 */ "NK_GT",
+ /* 291 */ "NK_LE",
+ /* 292 */ "NK_GE",
+ /* 293 */ "NK_NE",
+ /* 294 */ "MATCH",
+ /* 295 */ "NMATCH",
+ /* 296 */ "CONTAINS",
+ /* 297 */ "JOIN",
+ /* 298 */ "INNER",
+ /* 299 */ "LEFT",
+ /* 300 */ "RIGHT",
+ /* 301 */ "OUTER",
+ /* 302 */ "SEMI",
+ /* 303 */ "ANTI",
+ /* 304 */ "ASOF",
+ /* 305 */ "WINDOW",
+ /* 306 */ "WINDOW_OFFSET",
+ /* 307 */ "JLIMIT",
+ /* 308 */ "SELECT",
+ /* 309 */ "NK_HINT",
+ /* 310 */ "DISTINCT",
+ /* 311 */ "WHERE",
+ /* 312 */ "PARTITION",
+ /* 313 */ "BY",
+ /* 314 */ "SESSION",
+ /* 315 */ "STATE_WINDOW",
+ /* 316 */ "EVENT_WINDOW",
+ /* 317 */ "COUNT_WINDOW",
+ /* 318 */ "SLIDING",
+ /* 319 */ "FILL",
+ /* 320 */ "VALUE",
+ /* 321 */ "VALUE_F",
+ /* 322 */ "NONE",
+ /* 323 */ "PREV",
+ /* 324 */ "NULL_F",
+ /* 325 */ "LINEAR",
+ /* 326 */ "NEXT",
+ /* 327 */ "HAVING",
+ /* 328 */ "RANGE",
+ /* 329 */ "EVERY",
+ /* 330 */ "ORDER",
+ /* 331 */ "SLIMIT",
+ /* 332 */ "SOFFSET",
+ /* 333 */ "LIMIT",
+ /* 334 */ "OFFSET",
+ /* 335 */ "ASC",
+ /* 336 */ "NULLS",
+ /* 337 */ "ABORT",
+ /* 338 */ "AFTER",
+ /* 339 */ "ATTACH",
+ /* 340 */ "BEFORE",
+ /* 341 */ "BEGIN",
+ /* 342 */ "BITAND",
+ /* 343 */ "BITNOT",
+ /* 344 */ "BITOR",
+ /* 345 */ "BLOCKS",
+ /* 346 */ "CHANGE",
+ /* 347 */ "COMMA",
+ /* 348 */ "CONCAT",
+ /* 349 */ "CONFLICT",
+ /* 350 */ "COPY",
+ /* 351 */ "DEFERRED",
+ /* 352 */ "DELIMITERS",
+ /* 353 */ "DETACH",
+ /* 354 */ "DIVIDE",
+ /* 355 */ "DOT",
+ /* 356 */ "EACH",
+ /* 357 */ "FAIL",
+ /* 358 */ "GLOB",
+ /* 359 */ "ID",
+ /* 360 */ "IMMEDIATE",
+ /* 361 */ "IMPORT",
+ /* 362 */ "INITIALLY",
+ /* 363 */ "INSTEAD",
+ /* 364 */ "ISNULL",
+ /* 365 */ "MODULES",
+ /* 366 */ "NK_BITNOT",
+ /* 367 */ "NK_SEMI",
+ /* 368 */ "NOTNULL",
+ /* 369 */ "OF",
+ /* 370 */ "PLUS",
+ /* 371 */ "PRIVILEGE",
+ /* 372 */ "RAISE",
+ /* 373 */ "RESTRICT",
+ /* 374 */ "ROW",
+ /* 375 */ "STAR",
+ /* 376 */ "STATEMENT",
+ /* 377 */ "STRICT",
+ /* 378 */ "STRING",
+ /* 379 */ "TIMES",
+ /* 380 */ "VALUES",
+ /* 381 */ "VARIABLE",
+ /* 382 */ "WAL",
+ /* 383 */ "ENCODE",
+ /* 384 */ "COMPRESS",
+ /* 385 */ "LEVEL",
+ /* 386 */ "cmd",
+ /* 387 */ "account_options",
+ /* 388 */ "alter_account_options",
+ /* 389 */ "literal",
+ /* 390 */ "alter_account_option",
+ /* 391 */ "ip_range_list",
+ /* 392 */ "white_list",
+ /* 393 */ "white_list_opt",
+ /* 394 */ "is_import_opt",
+ /* 395 */ "is_createdb_opt",
+ /* 396 */ "user_name",
+ /* 397 */ "sysinfo_opt",
+ /* 398 */ "privileges",
+ /* 399 */ "priv_level",
+ /* 400 */ "with_opt",
+ /* 401 */ "priv_type_list",
+ /* 402 */ "priv_type",
+ /* 403 */ "db_name",
+ /* 404 */ "table_name",
+ /* 405 */ "topic_name",
+ /* 406 */ "search_condition",
+ /* 407 */ "dnode_endpoint",
+ /* 408 */ "force_opt",
+ /* 409 */ "unsafe_opt",
+ /* 410 */ "not_exists_opt",
+ /* 411 */ "db_options",
+ /* 412 */ "exists_opt",
+ /* 413 */ "alter_db_options",
+ /* 414 */ "speed_opt",
+ /* 415 */ "start_opt",
+ /* 416 */ "end_opt",
+ /* 417 */ "integer_list",
+ /* 418 */ "variable_list",
+ /* 419 */ "retention_list",
+ /* 420 */ "signed",
+ /* 421 */ "alter_db_option",
+ /* 422 */ "retention",
+ /* 423 */ "full_table_name",
+ /* 424 */ "column_def_list",
+ /* 425 */ "tags_def_opt",
+ /* 426 */ "table_options",
+ /* 427 */ "multi_create_clause",
+ /* 428 */ "tag_list_opt",
+ /* 429 */ "tags_def",
+ /* 430 */ "multi_drop_clause",
+ /* 431 */ "alter_table_clause",
+ /* 432 */ "alter_table_options",
+ /* 433 */ "column_name",
+ /* 434 */ "type_name",
+ /* 435 */ "column_options",
+ /* 436 */ "tags_literal",
+ /* 437 */ "create_subtable_clause",
+ /* 438 */ "specific_cols_opt",
+ /* 439 */ "tags_literal_list",
+ /* 440 */ "drop_table_clause",
+ /* 441 */ "col_name_list",
+ /* 442 */ "tag_def_list",
+ /* 443 */ "tag_def",
+ /* 444 */ "column_def",
+ /* 445 */ "type_name_default_len",
+ /* 446 */ "duration_list",
+ /* 447 */ "rollup_func_list",
+ /* 448 */ "alter_table_option",
+ /* 449 */ "duration_literal",
+ /* 450 */ "rollup_func_name",
+ /* 451 */ "function_name",
+ /* 452 */ "col_name",
+ /* 453 */ "db_kind_opt",
+ /* 454 */ "table_kind_db_name_cond_opt",
+ /* 455 */ "like_pattern_opt",
+ /* 456 */ "db_name_cond_opt",
+ /* 457 */ "table_name_cond",
+ /* 458 */ "from_db_opt",
+ /* 459 */ "table_kind",
+ /* 460 */ "tag_item",
+ /* 461 */ "column_alias",
+ /* 462 */ "tsma_name",
+ /* 463 */ "tsma_func_list",
+ /* 464 */ "full_tsma_name",
+ /* 465 */ "func_list",
+ /* 466 */ "index_options",
+ /* 467 */ "full_index_name",
+ /* 468 */ "index_name",
+ /* 469 */ "sliding_opt",
+ /* 470 */ "sma_stream_opt",
+ /* 471 */ "func",
+ /* 472 */ "sma_func_name",
+ /* 473 */ "expression_list",
+ /* 474 */ "with_meta",
+ /* 475 */ "query_or_subquery",
+ /* 476 */ "where_clause_opt",
+ /* 477 */ "cgroup_name",
+ /* 478 */ "analyze_opt",
+ /* 479 */ "explain_options",
+ /* 480 */ "insert_query",
+ /* 481 */ "or_replace_opt",
+ /* 482 */ "agg_func_opt",
+ /* 483 */ "bufsize_opt",
+ /* 484 */ "language_opt",
+ /* 485 */ "full_view_name",
+ /* 486 */ "view_name",
+ /* 487 */ "stream_name",
+ /* 488 */ "stream_options",
+ /* 489 */ "col_list_opt",
+ /* 490 */ "tag_def_or_ref_opt",
+ /* 491 */ "subtable_opt",
+ /* 492 */ "ignore_opt",
+ /* 493 */ "column_stream_def_list",
+ /* 494 */ "column_stream_def",
+ /* 495 */ "stream_col_options",
+ /* 496 */ "expression",
+ /* 497 */ "on_vgroup_id",
+ /* 498 */ "dnode_list",
+ /* 499 */ "literal_func",
+ /* 500 */ "signed_literal",
+ /* 501 */ "literal_list",
+ /* 502 */ "table_alias",
+ /* 503 */ "expr_or_subquery",
+ /* 504 */ "pseudo_column",
+ /* 505 */ "column_reference",
+ /* 506 */ "function_expression",
+ /* 507 */ "case_when_expression",
+ /* 508 */ "star_func",
+ /* 509 */ "star_func_para_list",
+ /* 510 */ "trim_specification_type",
+ /* 511 */ "substr_func",
+ /* 512 */ "noarg_func",
+ /* 513 */ "other_para_list",
+ /* 514 */ "star_func_para",
+ /* 515 */ "when_then_list",
+ /* 516 */ "case_when_else_opt",
+ /* 517 */ "common_expression",
+ /* 518 */ "when_then_expr",
+ /* 519 */ "predicate",
+ /* 520 */ "compare_op",
+ /* 521 */ "in_op",
+ /* 522 */ "in_predicate_value",
+ /* 523 */ "boolean_value_expression",
+ /* 524 */ "boolean_primary",
+ /* 525 */ "from_clause_opt",
+ /* 526 */ "table_reference_list",
+ /* 527 */ "table_reference",
+ /* 528 */ "table_primary",
+ /* 529 */ "joined_table",
+ /* 530 */ "alias_opt",
+ /* 531 */ "subquery",
+ /* 532 */ "parenthesized_joined_table",
+ /* 533 */ "join_type",
+ /* 534 */ "join_subtype",
+ /* 535 */ "join_on_clause_opt",
+ /* 536 */ "window_offset_clause_opt",
+ /* 537 */ "jlimit_clause_opt",
+ /* 538 */ "window_offset_literal",
+ /* 539 */ "query_specification",
+ /* 540 */ "hint_list",
+ /* 541 */ "set_quantifier_opt",
+ /* 542 */ "tag_mode_opt",
+ /* 543 */ "select_list",
+ /* 544 */ "partition_by_clause_opt",
+ /* 545 */ "range_opt",
+ /* 546 */ "every_opt",
+ /* 547 */ "fill_opt",
+ /* 548 */ "twindow_clause_opt",
+ /* 549 */ "group_by_clause_opt",
+ /* 550 */ "having_clause_opt",
+ /* 551 */ "select_item",
+ /* 552 */ "partition_list",
+ /* 553 */ "partition_item",
+ /* 554 */ "interval_sliding_duration_literal",
+ /* 555 */ "fill_mode",
+ /* 556 */ "group_by_list",
+ /* 557 */ "query_expression",
+ /* 558 */ "query_simple",
+ /* 559 */ "order_by_clause_opt",
+ /* 560 */ "slimit_clause_opt",
+ /* 561 */ "limit_clause_opt",
+ /* 562 */ "union_query_expression",
+ /* 563 */ "query_simple_or_subquery",
+ /* 564 */ "sort_specification_list",
+ /* 565 */ "sort_specification",
+ /* 566 */ "ordering_specification_opt",
+ /* 567 */ "null_ordering_opt",
};
#endif /* defined(YYCOVERAGE) || !defined(NDEBUG) */
#ifndef NDEBUG
/* For tracing reduce actions, the names of all rules are required.
- */
+*/
static const char *const yyRuleName[] = {
/* 0 */ "cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options",
/* 1 */ "cmd ::= ALTER ACCOUNT NK_ID alter_account_options",
@@ -2991,383 +3237,391 @@ static const char *const yyRuleName[] = {
/* 418 */ "stream_options ::=",
/* 419 */ "stream_options ::= stream_options TRIGGER AT_ONCE",
/* 420 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE",
- /* 421 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal",
- /* 422 */ "stream_options ::= stream_options WATERMARK duration_literal",
- /* 423 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER",
- /* 424 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER",
- /* 425 */ "stream_options ::= stream_options DELETE_MARK duration_literal",
- /* 426 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER",
- /* 427 */ "subtable_opt ::=",
- /* 428 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP",
- /* 429 */ "ignore_opt ::=",
- /* 430 */ "ignore_opt ::= IGNORE UNTREATED",
- /* 431 */ "cmd ::= KILL CONNECTION NK_INTEGER",
- /* 432 */ "cmd ::= KILL QUERY NK_STRING",
- /* 433 */ "cmd ::= KILL TRANSACTION NK_INTEGER",
- /* 434 */ "cmd ::= KILL COMPACT NK_INTEGER",
- /* 435 */ "cmd ::= BALANCE VGROUP",
- /* 436 */ "cmd ::= BALANCE VGROUP LEADER on_vgroup_id",
- /* 437 */ "cmd ::= BALANCE VGROUP LEADER DATABASE db_name",
- /* 438 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER",
- /* 439 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list",
- /* 440 */ "cmd ::= SPLIT VGROUP NK_INTEGER",
- /* 441 */ "on_vgroup_id ::=",
- /* 442 */ "on_vgroup_id ::= ON NK_INTEGER",
- /* 443 */ "dnode_list ::= DNODE NK_INTEGER",
- /* 444 */ "dnode_list ::= dnode_list DNODE NK_INTEGER",
- /* 445 */ "cmd ::= DELETE FROM full_table_name where_clause_opt",
- /* 446 */ "cmd ::= query_or_subquery",
- /* 447 */ "cmd ::= insert_query",
- /* 448 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery",
- /* 449 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery",
- /* 450 */ "tags_literal ::= NK_INTEGER",
- /* 451 */ "tags_literal ::= NK_INTEGER NK_PLUS duration_literal",
- /* 452 */ "tags_literal ::= NK_INTEGER NK_MINUS duration_literal",
- /* 453 */ "tags_literal ::= NK_PLUS NK_INTEGER",
- /* 454 */ "tags_literal ::= NK_PLUS NK_INTEGER NK_PLUS duration_literal",
- /* 455 */ "tags_literal ::= NK_PLUS NK_INTEGER NK_MINUS duration_literal",
- /* 456 */ "tags_literal ::= NK_MINUS NK_INTEGER",
- /* 457 */ "tags_literal ::= NK_MINUS NK_INTEGER NK_PLUS duration_literal",
- /* 458 */ "tags_literal ::= NK_MINUS NK_INTEGER NK_MINUS duration_literal",
- /* 459 */ "tags_literal ::= NK_FLOAT",
- /* 460 */ "tags_literal ::= NK_PLUS NK_FLOAT",
- /* 461 */ "tags_literal ::= NK_MINUS NK_FLOAT",
- /* 462 */ "tags_literal ::= NK_BIN",
- /* 463 */ "tags_literal ::= NK_BIN NK_PLUS duration_literal",
- /* 464 */ "tags_literal ::= NK_BIN NK_MINUS duration_literal",
- /* 465 */ "tags_literal ::= NK_PLUS NK_BIN",
- /* 466 */ "tags_literal ::= NK_PLUS NK_BIN NK_PLUS duration_literal",
- /* 467 */ "tags_literal ::= NK_PLUS NK_BIN NK_MINUS duration_literal",
- /* 468 */ "tags_literal ::= NK_MINUS NK_BIN",
- /* 469 */ "tags_literal ::= NK_MINUS NK_BIN NK_PLUS duration_literal",
- /* 470 */ "tags_literal ::= NK_MINUS NK_BIN NK_MINUS duration_literal",
- /* 471 */ "tags_literal ::= NK_HEX",
- /* 472 */ "tags_literal ::= NK_HEX NK_PLUS duration_literal",
- /* 473 */ "tags_literal ::= NK_HEX NK_MINUS duration_literal",
- /* 474 */ "tags_literal ::= NK_PLUS NK_HEX",
- /* 475 */ "tags_literal ::= NK_PLUS NK_HEX NK_PLUS duration_literal",
- /* 476 */ "tags_literal ::= NK_PLUS NK_HEX NK_MINUS duration_literal",
- /* 477 */ "tags_literal ::= NK_MINUS NK_HEX",
- /* 478 */ "tags_literal ::= NK_MINUS NK_HEX NK_PLUS duration_literal",
- /* 479 */ "tags_literal ::= NK_MINUS NK_HEX NK_MINUS duration_literal",
- /* 480 */ "tags_literal ::= NK_STRING",
- /* 481 */ "tags_literal ::= NK_STRING NK_PLUS duration_literal",
- /* 482 */ "tags_literal ::= NK_STRING NK_MINUS duration_literal",
- /* 483 */ "tags_literal ::= NK_BOOL",
- /* 484 */ "tags_literal ::= NULL",
- /* 485 */ "tags_literal ::= literal_func",
- /* 486 */ "tags_literal ::= literal_func NK_PLUS duration_literal",
- /* 487 */ "tags_literal ::= literal_func NK_MINUS duration_literal",
- /* 488 */ "tags_literal_list ::= tags_literal",
- /* 489 */ "tags_literal_list ::= tags_literal_list NK_COMMA tags_literal",
- /* 490 */ "literal ::= NK_INTEGER",
- /* 491 */ "literal ::= NK_FLOAT",
- /* 492 */ "literal ::= NK_STRING",
- /* 493 */ "literal ::= NK_BOOL",
- /* 494 */ "literal ::= TIMESTAMP NK_STRING",
- /* 495 */ "literal ::= duration_literal",
- /* 496 */ "literal ::= NULL",
- /* 497 */ "literal ::= NK_QUESTION",
- /* 498 */ "duration_literal ::= NK_VARIABLE",
- /* 499 */ "signed ::= NK_INTEGER",
- /* 500 */ "signed ::= NK_PLUS NK_INTEGER",
- /* 501 */ "signed ::= NK_MINUS NK_INTEGER",
- /* 502 */ "signed ::= NK_FLOAT",
- /* 503 */ "signed ::= NK_PLUS NK_FLOAT",
- /* 504 */ "signed ::= NK_MINUS NK_FLOAT",
- /* 505 */ "signed_literal ::= signed",
- /* 506 */ "signed_literal ::= NK_STRING",
- /* 507 */ "signed_literal ::= NK_BOOL",
- /* 508 */ "signed_literal ::= TIMESTAMP NK_STRING",
- /* 509 */ "signed_literal ::= duration_literal",
- /* 510 */ "signed_literal ::= NULL",
- /* 511 */ "signed_literal ::= literal_func",
- /* 512 */ "signed_literal ::= NK_QUESTION",
- /* 513 */ "literal_list ::= signed_literal",
- /* 514 */ "literal_list ::= literal_list NK_COMMA signed_literal",
- /* 515 */ "db_name ::= NK_ID",
- /* 516 */ "table_name ::= NK_ID",
- /* 517 */ "column_name ::= NK_ID",
- /* 518 */ "function_name ::= NK_ID",
- /* 519 */ "view_name ::= NK_ID",
- /* 520 */ "table_alias ::= NK_ID",
- /* 521 */ "column_alias ::= NK_ID",
- /* 522 */ "column_alias ::= NK_ALIAS",
- /* 523 */ "user_name ::= NK_ID",
- /* 524 */ "topic_name ::= NK_ID",
- /* 525 */ "stream_name ::= NK_ID",
- /* 526 */ "cgroup_name ::= NK_ID",
- /* 527 */ "index_name ::= NK_ID",
- /* 528 */ "tsma_name ::= NK_ID",
- /* 529 */ "expr_or_subquery ::= expression",
- /* 530 */ "expression ::= literal",
- /* 531 */ "expression ::= pseudo_column",
- /* 532 */ "expression ::= column_reference",
- /* 533 */ "expression ::= function_expression",
- /* 534 */ "expression ::= case_when_expression",
- /* 535 */ "expression ::= NK_LP expression NK_RP",
- /* 536 */ "expression ::= NK_PLUS expr_or_subquery",
- /* 537 */ "expression ::= NK_MINUS expr_or_subquery",
- /* 538 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery",
- /* 539 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery",
- /* 540 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery",
- /* 541 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery",
- /* 542 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery",
- /* 543 */ "expression ::= column_reference NK_ARROW NK_STRING",
- /* 544 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery",
- /* 545 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery",
- /* 546 */ "expression_list ::= expr_or_subquery",
- /* 547 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery",
- /* 548 */ "column_reference ::= column_name",
- /* 549 */ "column_reference ::= table_name NK_DOT column_name",
- /* 550 */ "column_reference ::= NK_ALIAS",
- /* 551 */ "column_reference ::= table_name NK_DOT NK_ALIAS",
- /* 552 */ "pseudo_column ::= ROWTS",
- /* 553 */ "pseudo_column ::= TBNAME",
- /* 554 */ "pseudo_column ::= table_name NK_DOT TBNAME",
- /* 555 */ "pseudo_column ::= QSTART",
- /* 556 */ "pseudo_column ::= QEND",
- /* 557 */ "pseudo_column ::= QDURATION",
- /* 558 */ "pseudo_column ::= WSTART",
- /* 559 */ "pseudo_column ::= WEND",
- /* 560 */ "pseudo_column ::= WDURATION",
- /* 561 */ "pseudo_column ::= IROWTS",
- /* 562 */ "pseudo_column ::= ISFILLED",
- /* 563 */ "pseudo_column ::= QTAGS",
- /* 564 */ "function_expression ::= function_name NK_LP expression_list NK_RP",
- /* 565 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP",
- /* 566 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP",
- /* 567 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name_default_len NK_RP",
- /* 568 */ "function_expression ::= literal_func",
- /* 569 */ "literal_func ::= noarg_func NK_LP NK_RP",
- /* 570 */ "literal_func ::= NOW",
- /* 571 */ "literal_func ::= TODAY",
- /* 572 */ "noarg_func ::= NOW",
- /* 573 */ "noarg_func ::= TODAY",
- /* 574 */ "noarg_func ::= TIMEZONE",
- /* 575 */ "noarg_func ::= DATABASE",
- /* 576 */ "noarg_func ::= CLIENT_VERSION",
- /* 577 */ "noarg_func ::= SERVER_VERSION",
- /* 578 */ "noarg_func ::= SERVER_STATUS",
- /* 579 */ "noarg_func ::= CURRENT_USER",
- /* 580 */ "noarg_func ::= USER",
- /* 581 */ "star_func ::= COUNT",
- /* 582 */ "star_func ::= FIRST",
- /* 583 */ "star_func ::= LAST",
- /* 584 */ "star_func ::= LAST_ROW",
- /* 585 */ "star_func_para_list ::= NK_STAR",
- /* 586 */ "star_func_para_list ::= other_para_list",
- /* 587 */ "other_para_list ::= star_func_para",
- /* 588 */ "other_para_list ::= other_para_list NK_COMMA star_func_para",
- /* 589 */ "star_func_para ::= expr_or_subquery",
- /* 590 */ "star_func_para ::= table_name NK_DOT NK_STAR",
- /* 591 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END",
- /* 592 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END",
- /* 593 */ "when_then_list ::= when_then_expr",
- /* 594 */ "when_then_list ::= when_then_list when_then_expr",
- /* 595 */ "when_then_expr ::= WHEN common_expression THEN common_expression",
- /* 596 */ "case_when_else_opt ::=",
- /* 597 */ "case_when_else_opt ::= ELSE common_expression",
- /* 598 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery",
- /* 599 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery",
- /* 600 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery",
- /* 601 */ "predicate ::= expr_or_subquery IS NULL",
- /* 602 */ "predicate ::= expr_or_subquery IS NOT NULL",
- /* 603 */ "predicate ::= expr_or_subquery in_op in_predicate_value",
- /* 604 */ "compare_op ::= NK_LT",
- /* 605 */ "compare_op ::= NK_GT",
- /* 606 */ "compare_op ::= NK_LE",
- /* 607 */ "compare_op ::= NK_GE",
- /* 608 */ "compare_op ::= NK_NE",
- /* 609 */ "compare_op ::= NK_EQ",
- /* 610 */ "compare_op ::= LIKE",
- /* 611 */ "compare_op ::= NOT LIKE",
- /* 612 */ "compare_op ::= MATCH",
- /* 613 */ "compare_op ::= NMATCH",
- /* 614 */ "compare_op ::= CONTAINS",
- /* 615 */ "in_op ::= IN",
- /* 616 */ "in_op ::= NOT IN",
- /* 617 */ "in_predicate_value ::= NK_LP literal_list NK_RP",
- /* 618 */ "boolean_value_expression ::= boolean_primary",
- /* 619 */ "boolean_value_expression ::= NOT boolean_primary",
- /* 620 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression",
- /* 621 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression",
- /* 622 */ "boolean_primary ::= predicate",
- /* 623 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP",
- /* 624 */ "common_expression ::= expr_or_subquery",
- /* 625 */ "common_expression ::= boolean_value_expression",
- /* 626 */ "from_clause_opt ::=",
- /* 627 */ "from_clause_opt ::= FROM table_reference_list",
- /* 628 */ "table_reference_list ::= table_reference",
- /* 629 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference",
- /* 630 */ "table_reference ::= table_primary",
- /* 631 */ "table_reference ::= joined_table",
- /* 632 */ "table_primary ::= table_name alias_opt",
- /* 633 */ "table_primary ::= db_name NK_DOT table_name alias_opt",
- /* 634 */ "table_primary ::= subquery alias_opt",
- /* 635 */ "table_primary ::= parenthesized_joined_table",
- /* 636 */ "alias_opt ::=",
- /* 637 */ "alias_opt ::= table_alias",
- /* 638 */ "alias_opt ::= AS table_alias",
- /* 639 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP",
- /* 640 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP",
- /* 641 */ "joined_table ::= table_reference join_type join_subtype JOIN table_reference join_on_clause_opt window_offset_clause_opt jlimit_clause_opt",
- /* 642 */ "join_type ::=",
- /* 643 */ "join_type ::= INNER",
- /* 644 */ "join_type ::= LEFT",
- /* 645 */ "join_type ::= RIGHT",
- /* 646 */ "join_type ::= FULL",
- /* 647 */ "join_subtype ::=",
- /* 648 */ "join_subtype ::= OUTER",
- /* 649 */ "join_subtype ::= SEMI",
- /* 650 */ "join_subtype ::= ANTI",
- /* 651 */ "join_subtype ::= ASOF",
- /* 652 */ "join_subtype ::= WINDOW",
- /* 653 */ "join_on_clause_opt ::=",
- /* 654 */ "join_on_clause_opt ::= ON search_condition",
- /* 655 */ "window_offset_clause_opt ::=",
- /* 656 */ "window_offset_clause_opt ::= WINDOW_OFFSET NK_LP window_offset_literal NK_COMMA window_offset_literal NK_RP",
- /* 657 */ "window_offset_literal ::= NK_VARIABLE",
- /* 658 */ "window_offset_literal ::= NK_MINUS NK_VARIABLE",
- /* 659 */ "jlimit_clause_opt ::=",
- /* 660 */ "jlimit_clause_opt ::= JLIMIT NK_INTEGER",
- /* 661 */ "query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt",
- /* 662 */ "hint_list ::=",
- /* 663 */ "hint_list ::= NK_HINT",
- /* 664 */ "tag_mode_opt ::=",
- /* 665 */ "tag_mode_opt ::= TAGS",
- /* 666 */ "set_quantifier_opt ::=",
- /* 667 */ "set_quantifier_opt ::= DISTINCT",
- /* 668 */ "set_quantifier_opt ::= ALL",
- /* 669 */ "select_list ::= select_item",
- /* 670 */ "select_list ::= select_list NK_COMMA select_item",
- /* 671 */ "select_item ::= NK_STAR",
- /* 672 */ "select_item ::= common_expression",
- /* 673 */ "select_item ::= common_expression column_alias",
- /* 674 */ "select_item ::= common_expression AS column_alias",
- /* 675 */ "select_item ::= table_name NK_DOT NK_STAR",
- /* 676 */ "where_clause_opt ::=",
- /* 677 */ "where_clause_opt ::= WHERE search_condition",
- /* 678 */ "partition_by_clause_opt ::=",
- /* 679 */ "partition_by_clause_opt ::= PARTITION BY partition_list",
- /* 680 */ "partition_list ::= partition_item",
- /* 681 */ "partition_list ::= partition_list NK_COMMA partition_item",
- /* 682 */ "partition_item ::= expr_or_subquery",
- /* 683 */ "partition_item ::= expr_or_subquery column_alias",
- /* 684 */ "partition_item ::= expr_or_subquery AS column_alias",
- /* 685 */ "twindow_clause_opt ::=",
- /* 686 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP",
- /* 687 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP",
- /* 688 */ "twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt",
- /* 689 */ "twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt",
- /* 690 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition",
- /* 691 */ "twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_RP",
- /* 692 */ "twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP",
- /* 693 */ "sliding_opt ::=",
- /* 694 */ "sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP",
- /* 695 */ "interval_sliding_duration_literal ::= NK_VARIABLE",
- /* 696 */ "interval_sliding_duration_literal ::= NK_STRING",
- /* 697 */ "interval_sliding_duration_literal ::= NK_INTEGER",
- /* 698 */ "fill_opt ::=",
- /* 699 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP",
- /* 700 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP",
- /* 701 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP",
- /* 702 */ "fill_mode ::= NONE",
- /* 703 */ "fill_mode ::= PREV",
- /* 704 */ "fill_mode ::= NULL",
- /* 705 */ "fill_mode ::= NULL_F",
- /* 706 */ "fill_mode ::= LINEAR",
- /* 707 */ "fill_mode ::= NEXT",
- /* 708 */ "group_by_clause_opt ::=",
- /* 709 */ "group_by_clause_opt ::= GROUP BY group_by_list",
- /* 710 */ "group_by_list ::= expr_or_subquery",
- /* 711 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery",
- /* 712 */ "having_clause_opt ::=",
- /* 713 */ "having_clause_opt ::= HAVING search_condition",
- /* 714 */ "range_opt ::=",
- /* 715 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP",
- /* 716 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_RP",
- /* 717 */ "every_opt ::=",
- /* 718 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP",
- /* 719 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt",
- /* 720 */ "query_simple ::= query_specification",
- /* 721 */ "query_simple ::= union_query_expression",
- /* 722 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery",
- /* 723 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery",
- /* 724 */ "query_simple_or_subquery ::= query_simple",
- /* 725 */ "query_simple_or_subquery ::= subquery",
- /* 726 */ "query_or_subquery ::= query_expression",
- /* 727 */ "query_or_subquery ::= subquery",
- /* 728 */ "order_by_clause_opt ::=",
- /* 729 */ "order_by_clause_opt ::= ORDER BY sort_specification_list",
- /* 730 */ "slimit_clause_opt ::=",
- /* 731 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER",
- /* 732 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER",
- /* 733 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER",
- /* 734 */ "limit_clause_opt ::=",
- /* 735 */ "limit_clause_opt ::= LIMIT NK_INTEGER",
- /* 736 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER",
- /* 737 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER",
- /* 738 */ "subquery ::= NK_LP query_expression NK_RP",
- /* 739 */ "subquery ::= NK_LP subquery NK_RP",
- /* 740 */ "search_condition ::= common_expression",
- /* 741 */ "sort_specification_list ::= sort_specification",
- /* 742 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification",
- /* 743 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt",
- /* 744 */ "ordering_specification_opt ::=",
- /* 745 */ "ordering_specification_opt ::= ASC",
- /* 746 */ "ordering_specification_opt ::= DESC",
- /* 747 */ "null_ordering_opt ::=",
- /* 748 */ "null_ordering_opt ::= NULLS FIRST",
- /* 749 */ "null_ordering_opt ::= NULLS LAST",
- /* 750 */ "column_options ::=",
- /* 751 */ "column_options ::= column_options PRIMARY KEY",
- /* 752 */ "column_options ::= column_options ENCODE NK_STRING",
- /* 753 */ "column_options ::= column_options COMPRESS NK_STRING",
- /* 754 */ "column_options ::= column_options LEVEL NK_STRING",
+ /* 421 */ "stream_options ::= stream_options TRIGGER FORCE_WINDOW_CLOSE",
+ /* 422 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal",
+ /* 423 */ "stream_options ::= stream_options WATERMARK duration_literal",
+ /* 424 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER",
+ /* 425 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER",
+ /* 426 */ "stream_options ::= stream_options DELETE_MARK duration_literal",
+ /* 427 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER",
+ /* 428 */ "subtable_opt ::=",
+ /* 429 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP",
+ /* 430 */ "ignore_opt ::=",
+ /* 431 */ "ignore_opt ::= IGNORE UNTREATED",
+ /* 432 */ "cmd ::= KILL CONNECTION NK_INTEGER",
+ /* 433 */ "cmd ::= KILL QUERY NK_STRING",
+ /* 434 */ "cmd ::= KILL TRANSACTION NK_INTEGER",
+ /* 435 */ "cmd ::= KILL COMPACT NK_INTEGER",
+ /* 436 */ "cmd ::= BALANCE VGROUP",
+ /* 437 */ "cmd ::= BALANCE VGROUP LEADER on_vgroup_id",
+ /* 438 */ "cmd ::= BALANCE VGROUP LEADER DATABASE db_name",
+ /* 439 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER",
+ /* 440 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list",
+ /* 441 */ "cmd ::= SPLIT VGROUP NK_INTEGER",
+ /* 442 */ "on_vgroup_id ::=",
+ /* 443 */ "on_vgroup_id ::= ON NK_INTEGER",
+ /* 444 */ "dnode_list ::= DNODE NK_INTEGER",
+ /* 445 */ "dnode_list ::= dnode_list DNODE NK_INTEGER",
+ /* 446 */ "cmd ::= DELETE FROM full_table_name where_clause_opt",
+ /* 447 */ "cmd ::= query_or_subquery",
+ /* 448 */ "cmd ::= insert_query",
+ /* 449 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery",
+ /* 450 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery",
+ /* 451 */ "tags_literal ::= NK_INTEGER",
+ /* 452 */ "tags_literal ::= NK_INTEGER NK_PLUS duration_literal",
+ /* 453 */ "tags_literal ::= NK_INTEGER NK_MINUS duration_literal",
+ /* 454 */ "tags_literal ::= NK_PLUS NK_INTEGER",
+ /* 455 */ "tags_literal ::= NK_PLUS NK_INTEGER NK_PLUS duration_literal",
+ /* 456 */ "tags_literal ::= NK_PLUS NK_INTEGER NK_MINUS duration_literal",
+ /* 457 */ "tags_literal ::= NK_MINUS NK_INTEGER",
+ /* 458 */ "tags_literal ::= NK_MINUS NK_INTEGER NK_PLUS duration_literal",
+ /* 459 */ "tags_literal ::= NK_MINUS NK_INTEGER NK_MINUS duration_literal",
+ /* 460 */ "tags_literal ::= NK_FLOAT",
+ /* 461 */ "tags_literal ::= NK_PLUS NK_FLOAT",
+ /* 462 */ "tags_literal ::= NK_MINUS NK_FLOAT",
+ /* 463 */ "tags_literal ::= NK_BIN",
+ /* 464 */ "tags_literal ::= NK_BIN NK_PLUS duration_literal",
+ /* 465 */ "tags_literal ::= NK_BIN NK_MINUS duration_literal",
+ /* 466 */ "tags_literal ::= NK_PLUS NK_BIN",
+ /* 467 */ "tags_literal ::= NK_PLUS NK_BIN NK_PLUS duration_literal",
+ /* 468 */ "tags_literal ::= NK_PLUS NK_BIN NK_MINUS duration_literal",
+ /* 469 */ "tags_literal ::= NK_MINUS NK_BIN",
+ /* 470 */ "tags_literal ::= NK_MINUS NK_BIN NK_PLUS duration_literal",
+ /* 471 */ "tags_literal ::= NK_MINUS NK_BIN NK_MINUS duration_literal",
+ /* 472 */ "tags_literal ::= NK_HEX",
+ /* 473 */ "tags_literal ::= NK_HEX NK_PLUS duration_literal",
+ /* 474 */ "tags_literal ::= NK_HEX NK_MINUS duration_literal",
+ /* 475 */ "tags_literal ::= NK_PLUS NK_HEX",
+ /* 476 */ "tags_literal ::= NK_PLUS NK_HEX NK_PLUS duration_literal",
+ /* 477 */ "tags_literal ::= NK_PLUS NK_HEX NK_MINUS duration_literal",
+ /* 478 */ "tags_literal ::= NK_MINUS NK_HEX",
+ /* 479 */ "tags_literal ::= NK_MINUS NK_HEX NK_PLUS duration_literal",
+ /* 480 */ "tags_literal ::= NK_MINUS NK_HEX NK_MINUS duration_literal",
+ /* 481 */ "tags_literal ::= NK_STRING",
+ /* 482 */ "tags_literal ::= NK_STRING NK_PLUS duration_literal",
+ /* 483 */ "tags_literal ::= NK_STRING NK_MINUS duration_literal",
+ /* 484 */ "tags_literal ::= NK_BOOL",
+ /* 485 */ "tags_literal ::= NULL",
+ /* 486 */ "tags_literal ::= literal_func",
+ /* 487 */ "tags_literal ::= literal_func NK_PLUS duration_literal",
+ /* 488 */ "tags_literal ::= literal_func NK_MINUS duration_literal",
+ /* 489 */ "tags_literal_list ::= tags_literal",
+ /* 490 */ "tags_literal_list ::= tags_literal_list NK_COMMA tags_literal",
+ /* 491 */ "literal ::= NK_INTEGER",
+ /* 492 */ "literal ::= NK_FLOAT",
+ /* 493 */ "literal ::= NK_STRING",
+ /* 494 */ "literal ::= NK_BOOL",
+ /* 495 */ "literal ::= TIMESTAMP NK_STRING",
+ /* 496 */ "literal ::= duration_literal",
+ /* 497 */ "literal ::= NULL",
+ /* 498 */ "literal ::= NK_QUESTION",
+ /* 499 */ "duration_literal ::= NK_VARIABLE",
+ /* 500 */ "signed ::= NK_INTEGER",
+ /* 501 */ "signed ::= NK_PLUS NK_INTEGER",
+ /* 502 */ "signed ::= NK_MINUS NK_INTEGER",
+ /* 503 */ "signed ::= NK_FLOAT",
+ /* 504 */ "signed ::= NK_PLUS NK_FLOAT",
+ /* 505 */ "signed ::= NK_MINUS NK_FLOAT",
+ /* 506 */ "signed_literal ::= signed",
+ /* 507 */ "signed_literal ::= NK_STRING",
+ /* 508 */ "signed_literal ::= NK_BOOL",
+ /* 509 */ "signed_literal ::= TIMESTAMP NK_STRING",
+ /* 510 */ "signed_literal ::= duration_literal",
+ /* 511 */ "signed_literal ::= NULL",
+ /* 512 */ "signed_literal ::= literal_func",
+ /* 513 */ "signed_literal ::= NK_QUESTION",
+ /* 514 */ "literal_list ::= signed_literal",
+ /* 515 */ "literal_list ::= literal_list NK_COMMA signed_literal",
+ /* 516 */ "db_name ::= NK_ID",
+ /* 517 */ "table_name ::= NK_ID",
+ /* 518 */ "column_name ::= NK_ID",
+ /* 519 */ "function_name ::= NK_ID",
+ /* 520 */ "view_name ::= NK_ID",
+ /* 521 */ "table_alias ::= NK_ID",
+ /* 522 */ "column_alias ::= NK_ID",
+ /* 523 */ "column_alias ::= NK_ALIAS",
+ /* 524 */ "user_name ::= NK_ID",
+ /* 525 */ "topic_name ::= NK_ID",
+ /* 526 */ "stream_name ::= NK_ID",
+ /* 527 */ "cgroup_name ::= NK_ID",
+ /* 528 */ "index_name ::= NK_ID",
+ /* 529 */ "tsma_name ::= NK_ID",
+ /* 530 */ "expr_or_subquery ::= expression",
+ /* 531 */ "expression ::= literal",
+ /* 532 */ "expression ::= pseudo_column",
+ /* 533 */ "expression ::= column_reference",
+ /* 534 */ "expression ::= function_expression",
+ /* 535 */ "expression ::= case_when_expression",
+ /* 536 */ "expression ::= NK_LP expression NK_RP",
+ /* 537 */ "expression ::= NK_PLUS expr_or_subquery",
+ /* 538 */ "expression ::= NK_MINUS expr_or_subquery",
+ /* 539 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery",
+ /* 540 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery",
+ /* 541 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery",
+ /* 542 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery",
+ /* 543 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery",
+ /* 544 */ "expression ::= column_reference NK_ARROW NK_STRING",
+ /* 545 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery",
+ /* 546 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery",
+ /* 547 */ "expression_list ::= expr_or_subquery",
+ /* 548 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery",
+ /* 549 */ "column_reference ::= column_name",
+ /* 550 */ "column_reference ::= table_name NK_DOT column_name",
+ /* 551 */ "column_reference ::= NK_ALIAS",
+ /* 552 */ "column_reference ::= table_name NK_DOT NK_ALIAS",
+ /* 553 */ "pseudo_column ::= ROWTS",
+ /* 554 */ "pseudo_column ::= TBNAME",
+ /* 555 */ "pseudo_column ::= table_name NK_DOT TBNAME",
+ /* 556 */ "pseudo_column ::= QSTART",
+ /* 557 */ "pseudo_column ::= QEND",
+ /* 558 */ "pseudo_column ::= QDURATION",
+ /* 559 */ "pseudo_column ::= WSTART",
+ /* 560 */ "pseudo_column ::= WEND",
+ /* 561 */ "pseudo_column ::= WDURATION",
+ /* 562 */ "pseudo_column ::= IROWTS",
+ /* 563 */ "pseudo_column ::= ISFILLED",
+ /* 564 */ "pseudo_column ::= QTAGS",
+ /* 565 */ "function_expression ::= function_name NK_LP expression_list NK_RP",
+ /* 566 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP",
+ /* 567 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP",
+ /* 568 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name_default_len NK_RP",
+ /* 569 */ "function_expression ::= POSITION NK_LP expr_or_subquery IN expr_or_subquery NK_RP",
+ /* 570 */ "function_expression ::= TRIM NK_LP expr_or_subquery NK_RP",
+ /* 571 */ "function_expression ::= TRIM NK_LP trim_specification_type FROM expr_or_subquery NK_RP",
+ /* 572 */ "function_expression ::= TRIM NK_LP trim_specification_type expr_or_subquery FROM expr_or_subquery NK_RP",
+ /* 573 */ "function_expression ::= substr_func NK_LP expression_list NK_RP",
+ /* 574 */ "function_expression ::= substr_func NK_LP expr_or_subquery FROM expr_or_subquery NK_RP",
+ /* 575 */ "function_expression ::= substr_func NK_LP expr_or_subquery FROM expr_or_subquery FOR expr_or_subquery NK_RP",
+ /* 576 */ "function_expression ::= REPLACE NK_LP expression_list NK_RP",
+ /* 577 */ "function_expression ::= literal_func",
+ /* 578 */ "literal_func ::= noarg_func NK_LP NK_RP",
+ /* 579 */ "literal_func ::= NOW",
+ /* 580 */ "literal_func ::= TODAY",
+ /* 581 */ "substr_func ::= SUBSTR",
+ /* 582 */ "substr_func ::= SUBSTRING",
+ /* 583 */ "trim_specification_type ::=",
+ /* 584 */ "trim_specification_type ::= BOTH",
+ /* 585 */ "trim_specification_type ::= TRAILING",
+ /* 586 */ "trim_specification_type ::= LEADING",
+ /* 587 */ "noarg_func ::= NOW",
+ /* 588 */ "noarg_func ::= TODAY",
+ /* 589 */ "noarg_func ::= TIMEZONE",
+ /* 590 */ "noarg_func ::= DATABASE",
+ /* 591 */ "noarg_func ::= CLIENT_VERSION",
+ /* 592 */ "noarg_func ::= SERVER_VERSION",
+ /* 593 */ "noarg_func ::= SERVER_STATUS",
+ /* 594 */ "noarg_func ::= CURRENT_USER",
+ /* 595 */ "noarg_func ::= USER",
+ /* 596 */ "noarg_func ::= PI",
+ /* 597 */ "star_func ::= COUNT",
+ /* 598 */ "star_func ::= FIRST",
+ /* 599 */ "star_func ::= LAST",
+ /* 600 */ "star_func ::= LAST_ROW",
+ /* 601 */ "star_func_para_list ::= NK_STAR",
+ /* 602 */ "star_func_para_list ::= other_para_list",
+ /* 603 */ "other_para_list ::= star_func_para",
+ /* 604 */ "other_para_list ::= other_para_list NK_COMMA star_func_para",
+ /* 605 */ "star_func_para ::= expr_or_subquery",
+ /* 606 */ "star_func_para ::= table_name NK_DOT NK_STAR",
+ /* 607 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END",
+ /* 608 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END",
+ /* 609 */ "when_then_list ::= when_then_expr",
+ /* 610 */ "when_then_list ::= when_then_list when_then_expr",
+ /* 611 */ "when_then_expr ::= WHEN common_expression THEN common_expression",
+ /* 612 */ "case_when_else_opt ::=",
+ /* 613 */ "case_when_else_opt ::= ELSE common_expression",
+ /* 614 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery",
+ /* 615 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery",
+ /* 616 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery",
+ /* 617 */ "predicate ::= expr_or_subquery IS NULL",
+ /* 618 */ "predicate ::= expr_or_subquery IS NOT NULL",
+ /* 619 */ "predicate ::= expr_or_subquery in_op in_predicate_value",
+ /* 620 */ "compare_op ::= NK_LT",
+ /* 621 */ "compare_op ::= NK_GT",
+ /* 622 */ "compare_op ::= NK_LE",
+ /* 623 */ "compare_op ::= NK_GE",
+ /* 624 */ "compare_op ::= NK_NE",
+ /* 625 */ "compare_op ::= NK_EQ",
+ /* 626 */ "compare_op ::= LIKE",
+ /* 627 */ "compare_op ::= NOT LIKE",
+ /* 628 */ "compare_op ::= MATCH",
+ /* 629 */ "compare_op ::= NMATCH",
+ /* 630 */ "compare_op ::= CONTAINS",
+ /* 631 */ "in_op ::= IN",
+ /* 632 */ "in_op ::= NOT IN",
+ /* 633 */ "in_predicate_value ::= NK_LP literal_list NK_RP",
+ /* 634 */ "boolean_value_expression ::= boolean_primary",
+ /* 635 */ "boolean_value_expression ::= NOT boolean_primary",
+ /* 636 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression",
+ /* 637 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression",
+ /* 638 */ "boolean_primary ::= predicate",
+ /* 639 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP",
+ /* 640 */ "common_expression ::= expr_or_subquery",
+ /* 641 */ "common_expression ::= boolean_value_expression",
+ /* 642 */ "from_clause_opt ::=",
+ /* 643 */ "from_clause_opt ::= FROM table_reference_list",
+ /* 644 */ "table_reference_list ::= table_reference",
+ /* 645 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference",
+ /* 646 */ "table_reference ::= table_primary",
+ /* 647 */ "table_reference ::= joined_table",
+ /* 648 */ "table_primary ::= table_name alias_opt",
+ /* 649 */ "table_primary ::= db_name NK_DOT table_name alias_opt",
+ /* 650 */ "table_primary ::= subquery alias_opt",
+ /* 651 */ "table_primary ::= parenthesized_joined_table",
+ /* 652 */ "alias_opt ::=",
+ /* 653 */ "alias_opt ::= table_alias",
+ /* 654 */ "alias_opt ::= AS table_alias",
+ /* 655 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP",
+ /* 656 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP",
+ /* 657 */ "joined_table ::= table_reference join_type join_subtype JOIN table_reference join_on_clause_opt window_offset_clause_opt jlimit_clause_opt",
+ /* 658 */ "join_type ::=",
+ /* 659 */ "join_type ::= INNER",
+ /* 660 */ "join_type ::= LEFT",
+ /* 661 */ "join_type ::= RIGHT",
+ /* 662 */ "join_type ::= FULL",
+ /* 663 */ "join_subtype ::=",
+ /* 664 */ "join_subtype ::= OUTER",
+ /* 665 */ "join_subtype ::= SEMI",
+ /* 666 */ "join_subtype ::= ANTI",
+ /* 667 */ "join_subtype ::= ASOF",
+ /* 668 */ "join_subtype ::= WINDOW",
+ /* 669 */ "join_on_clause_opt ::=",
+ /* 670 */ "join_on_clause_opt ::= ON search_condition",
+ /* 671 */ "window_offset_clause_opt ::=",
+ /* 672 */ "window_offset_clause_opt ::= WINDOW_OFFSET NK_LP window_offset_literal NK_COMMA window_offset_literal NK_RP",
+ /* 673 */ "window_offset_literal ::= NK_VARIABLE",
+ /* 674 */ "window_offset_literal ::= NK_MINUS NK_VARIABLE",
+ /* 675 */ "jlimit_clause_opt ::=",
+ /* 676 */ "jlimit_clause_opt ::= JLIMIT NK_INTEGER",
+ /* 677 */ "query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt",
+ /* 678 */ "hint_list ::=",
+ /* 679 */ "hint_list ::= NK_HINT",
+ /* 680 */ "tag_mode_opt ::=",
+ /* 681 */ "tag_mode_opt ::= TAGS",
+ /* 682 */ "set_quantifier_opt ::=",
+ /* 683 */ "set_quantifier_opt ::= DISTINCT",
+ /* 684 */ "set_quantifier_opt ::= ALL",
+ /* 685 */ "select_list ::= select_item",
+ /* 686 */ "select_list ::= select_list NK_COMMA select_item",
+ /* 687 */ "select_item ::= NK_STAR",
+ /* 688 */ "select_item ::= common_expression",
+ /* 689 */ "select_item ::= common_expression column_alias",
+ /* 690 */ "select_item ::= common_expression AS column_alias",
+ /* 691 */ "select_item ::= table_name NK_DOT NK_STAR",
+ /* 692 */ "where_clause_opt ::=",
+ /* 693 */ "where_clause_opt ::= WHERE search_condition",
+ /* 694 */ "partition_by_clause_opt ::=",
+ /* 695 */ "partition_by_clause_opt ::= PARTITION BY partition_list",
+ /* 696 */ "partition_list ::= partition_item",
+ /* 697 */ "partition_list ::= partition_list NK_COMMA partition_item",
+ /* 698 */ "partition_item ::= expr_or_subquery",
+ /* 699 */ "partition_item ::= expr_or_subquery column_alias",
+ /* 700 */ "partition_item ::= expr_or_subquery AS column_alias",
+ /* 701 */ "twindow_clause_opt ::=",
+ /* 702 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP",
+ /* 703 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP",
+ /* 704 */ "twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt",
+ /* 705 */ "twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt",
+ /* 706 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition",
+ /* 707 */ "twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_RP",
+ /* 708 */ "twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP",
+ /* 709 */ "sliding_opt ::=",
+ /* 710 */ "sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP",
+ /* 711 */ "interval_sliding_duration_literal ::= NK_VARIABLE",
+ /* 712 */ "interval_sliding_duration_literal ::= NK_STRING",
+ /* 713 */ "interval_sliding_duration_literal ::= NK_INTEGER",
+ /* 714 */ "fill_opt ::=",
+ /* 715 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP",
+ /* 716 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP",
+ /* 717 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP",
+ /* 718 */ "fill_mode ::= NONE",
+ /* 719 */ "fill_mode ::= PREV",
+ /* 720 */ "fill_mode ::= NULL",
+ /* 721 */ "fill_mode ::= NULL_F",
+ /* 722 */ "fill_mode ::= LINEAR",
+ /* 723 */ "fill_mode ::= NEXT",
+ /* 724 */ "group_by_clause_opt ::=",
+ /* 725 */ "group_by_clause_opt ::= GROUP BY group_by_list",
+ /* 726 */ "group_by_list ::= expr_or_subquery",
+ /* 727 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery",
+ /* 728 */ "having_clause_opt ::=",
+ /* 729 */ "having_clause_opt ::= HAVING search_condition",
+ /* 730 */ "range_opt ::=",
+ /* 731 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP",
+ /* 732 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_RP",
+ /* 733 */ "every_opt ::=",
+ /* 734 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP",
+ /* 735 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt",
+ /* 736 */ "query_simple ::= query_specification",
+ /* 737 */ "query_simple ::= union_query_expression",
+ /* 738 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery",
+ /* 739 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery",
+ /* 740 */ "query_simple_or_subquery ::= query_simple",
+ /* 741 */ "query_simple_or_subquery ::= subquery",
+ /* 742 */ "query_or_subquery ::= query_expression",
+ /* 743 */ "query_or_subquery ::= subquery",
+ /* 744 */ "order_by_clause_opt ::=",
+ /* 745 */ "order_by_clause_opt ::= ORDER BY sort_specification_list",
+ /* 746 */ "slimit_clause_opt ::=",
+ /* 747 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER",
+ /* 748 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER",
+ /* 749 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER",
+ /* 750 */ "limit_clause_opt ::=",
+ /* 751 */ "limit_clause_opt ::= LIMIT NK_INTEGER",
+ /* 752 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER",
+ /* 753 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER",
+ /* 754 */ "subquery ::= NK_LP query_expression NK_RP",
+ /* 755 */ "subquery ::= NK_LP subquery NK_RP",
+ /* 756 */ "search_condition ::= common_expression",
+ /* 757 */ "sort_specification_list ::= sort_specification",
+ /* 758 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification",
+ /* 759 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt",
+ /* 760 */ "ordering_specification_opt ::=",
+ /* 761 */ "ordering_specification_opt ::= ASC",
+ /* 762 */ "ordering_specification_opt ::= DESC",
+ /* 763 */ "null_ordering_opt ::=",
+ /* 764 */ "null_ordering_opt ::= NULLS FIRST",
+ /* 765 */ "null_ordering_opt ::= NULLS LAST",
+ /* 766 */ "column_options ::=",
+ /* 767 */ "column_options ::= column_options PRIMARY KEY",
+ /* 768 */ "column_options ::= column_options ENCODE NK_STRING",
+ /* 769 */ "column_options ::= column_options COMPRESS NK_STRING",
+ /* 770 */ "column_options ::= column_options LEVEL NK_STRING",
};
#endif /* NDEBUG */
-#if YYGROWABLESTACK
+#if YYSTACKDEPTH<=0
/*
** Try to increase the size of the parser stack. Return the number
** of errors. Return 0 on success.
*/
static int yyGrowStack(yyParser *p){
- int oldSize = 1 + (int)(p->yystackEnd - p->yystack);
int newSize;
int idx;
yyStackEntry *pNew;
- newSize = oldSize*2 + 100;
- idx = (int)(p->yytos - p->yystack);
- if( p->yystack==p->yystk0 ){
- pNew = YYREALLOC(0, newSize*sizeof(pNew[0]));
- if( pNew==0 ) return 1;
- memcpy(pNew, p->yystack, oldSize*sizeof(pNew[0]));
+ newSize = p->yystksz*2 + 100;
+ idx = p->yytos ? (int)(p->yytos - p->yystack) : 0;
+ if( p->yystack==&p->yystk0 ){
+ pNew = malloc(newSize*sizeof(pNew[0]));
+ if( pNew ) pNew[0] = p->yystk0;
}else{
- pNew = YYREALLOC(p->yystack, newSize*sizeof(pNew[0]));
- if( pNew==0 ) return 1;
+ pNew = realloc(p->yystack, newSize*sizeof(pNew[0]));
}
- p->yystack = pNew;
- p->yytos = &p->yystack[idx];
+ if( pNew ){
+ p->yystack = pNew;
+ p->yytos = &p->yystack[idx];
#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE,"%sStack grows from %d to %d entries.\n",
- yyTracePrompt, oldSize, newSize);
- }
+ if( yyTraceFILE ){
+ fprintf(yyTraceFILE,"%sStack grows from %d to %d entries.\n",
+ yyTracePrompt, p->yystksz, newSize);
+ }
#endif
- p->yystackEnd = &p->yystack[newSize-1];
- return 0;
+ p->yystksz = newSize;
+ }
+ return pNew==0;
}
-#endif /* YYGROWABLESTACK */
-
-#if !YYGROWABLESTACK
-/* For builds that do no have a growable stack, yyGrowStack always
-** returns an error.
-*/
-# define yyGrowStack(X) 1
#endif
/* Datatype of the argument to the memory allocated passed as the
@@ -3380,25 +3634,35 @@ static int yyGrowStack(yyParser *p){
#endif
/* Initialize a new parser that has already been allocated.
- */
+*/
void ParseInit(void *yypRawParser ParseCTX_PDECL){
yyParser *yypParser = (yyParser*)yypRawParser;
ParseCTX_STORE
#ifdef YYTRACKMAXSTACKDEPTH
- yypParser->yyhwm = 0;
+ yypParser->yyhwm = 0;
+#endif
+#if YYSTACKDEPTH<=0
+ yypParser->yytos = NULL;
+ yypParser->yystack = NULL;
+ yypParser->yystksz = 0;
+ if( yyGrowStack(yypParser) ){
+ yypParser->yystack = &yypParser->yystk0;
+ yypParser->yystksz = 1;
+ }
#endif
- yypParser->yystack = yypParser->yystk0;
- yypParser->yystackEnd = &yypParser->yystack[YYSTACKDEPTH-1];
#ifndef YYNOERRORRECOVERY
yypParser->yyerrcnt = -1;
#endif
yypParser->yytos = yypParser->yystack;
yypParser->yystack[0].stateno = 0;
yypParser->yystack[0].major = 0;
+#if YYSTACKDEPTH>0
+ yypParser->yystackEnd = &yypParser->yystack[YYSTACKDEPTH-1];
+#endif
}
#ifndef Parse_ENGINEALWAYSONSTACK
-/*
+/*
** This function allocates a new parser.
** The only argument is a pointer to a function which works like
** malloc.
@@ -3425,322 +3689,290 @@ void *ParseAlloc(void *(*mallocProc)(YYMALLOCARGTYPE) ParseCTX_PDECL){
/* The following function deletes the "minor type" or semantic value
** associated with a symbol. The symbol can be either a terminal
** or nonterminal. "yymajor" is the symbol code, and "yypminor" is
-** a pointer to the value to be deleted. The code used to do the
+** a pointer to the value to be deleted. The code used to do the
** deletions is derived from the %destructor and/or %token_destructor
** directives of the input grammar.
*/
static void yy_destructor(
- yyParser *yypParser, /* The parser */
- YYCODETYPE yymajor, /* Type code for object to destroy */
- YYMINORTYPE *yypminor /* The object to be destroyed */
+ yyParser *yypParser, /* The parser */
+ YYCODETYPE yymajor, /* Type code for object to destroy */
+ YYMINORTYPE *yypminor /* The object to be destroyed */
){
ParseARG_FETCH
- ParseCTX_FETCH
- switch( yymajor ){
- /* Here is inserted the actions which take place when a
+ ParseCTX_FETCH
+ switch( yymajor ){
+ /* Here is inserted the actions which take place when a
** terminal or non-terminal is destroyed. This can happen
** when the symbol is popped from the stack during a
- ** reduce or during error processing or when a parser is
+ ** reduce or during error processing or when a parser is
** being destroyed before it is finished parsing.
**
** Note: during a reduce, the only symbols destroyed are those
** which appear on the RHS of the rule, but which are *not* used
** inside the C code.
- */
- /********* Begin destructor definitions ***************************************/
+ */
+/********* Begin destructor definitions ***************************************/
/* Default NON-TERMINAL Destructor */
- case 378: /* cmd */
- case 381: /* literal */
- case 392: /* with_opt */
- case 398: /* search_condition */
- case 403: /* db_options */
- case 405: /* alter_db_options */
- case 407: /* start_opt */
- case 408: /* end_opt */
- case 412: /* signed */
- case 414: /* retention */
- case 415: /* full_table_name */
- case 418: /* table_options */
- case 423: /* alter_table_clause */
- case 424: /* alter_table_options */
- case 427: /* column_options */
- case 428: /* tags_literal */
- case 429: /* create_subtable_clause */
- case 432: /* drop_table_clause */
- case 435: /* tag_def */
- case 436: /* column_def */
- case 441: /* duration_literal */
- case 442: /* rollup_func_name */
- case 444: /* col_name */
- case 447: /* like_pattern_opt */
- case 448: /* db_name_cond_opt */
- case 449: /* table_name_cond */
- case 450: /* from_db_opt */
- case 452: /* tag_item */
- case 456: /* full_tsma_name */
- case 458: /* index_options */
- case 459: /* full_index_name */
- case 461: /* sliding_opt */
- case 462: /* sma_stream_opt */
- case 463: /* func */
- case 467: /* query_or_subquery */
- case 468: /* where_clause_opt */
- case 471: /* explain_options */
- case 472: /* insert_query */
- case 477: /* full_view_name */
- case 480: /* stream_options */
- case 483: /* subtable_opt */
- case 486: /* column_stream_def */
- case 487: /* stream_col_options */
- case 488: /* expression */
- case 491: /* literal_func */
- case 492: /* signed_literal */
- case 495: /* expr_or_subquery */
- case 496: /* pseudo_column */
- case 497: /* column_reference */
- case 498: /* function_expression */
- case 499: /* case_when_expression */
- case 504: /* star_func_para */
- case 506: /* case_when_else_opt */
- case 507: /* common_expression */
- case 508: /* when_then_expr */
- case 509: /* predicate */
- case 512: /* in_predicate_value */
- case 513: /* boolean_value_expression */
- case 514: /* boolean_primary */
- case 515: /* from_clause_opt */
- case 516: /* table_reference_list */
- case 517: /* table_reference */
- case 518: /* table_primary */
- case 519: /* joined_table */
- case 521: /* subquery */
- case 522: /* parenthesized_joined_table */
- case 525: /* join_on_clause_opt */
- case 526: /* window_offset_clause_opt */
- case 527: /* jlimit_clause_opt */
- case 528: /* window_offset_literal */
- case 529: /* query_specification */
- case 535: /* range_opt */
- case 536: /* every_opt */
- case 537: /* fill_opt */
- case 538: /* twindow_clause_opt */
- case 540: /* having_clause_opt */
- case 541: /* select_item */
- case 543: /* partition_item */
- case 544: /* interval_sliding_duration_literal */
- case 547: /* query_expression */
- case 548: /* query_simple */
- case 550: /* slimit_clause_opt */
- case 551: /* limit_clause_opt */
- case 552: /* union_query_expression */
- case 553: /* query_simple_or_subquery */
- case 555: /* sort_specification */
+ case 386: /* cmd */
+ case 389: /* literal */
+ case 400: /* with_opt */
+ case 406: /* search_condition */
+ case 411: /* db_options */
+ case 413: /* alter_db_options */
+ case 415: /* start_opt */
+ case 416: /* end_opt */
+ case 420: /* signed */
+ case 422: /* retention */
+ case 423: /* full_table_name */
+ case 426: /* table_options */
+ case 431: /* alter_table_clause */
+ case 432: /* alter_table_options */
+ case 435: /* column_options */
+ case 436: /* tags_literal */
+ case 437: /* create_subtable_clause */
+ case 440: /* drop_table_clause */
+ case 443: /* tag_def */
+ case 444: /* column_def */
+ case 449: /* duration_literal */
+ case 450: /* rollup_func_name */
+ case 452: /* col_name */
+ case 455: /* like_pattern_opt */
+ case 456: /* db_name_cond_opt */
+ case 457: /* table_name_cond */
+ case 458: /* from_db_opt */
+ case 460: /* tag_item */
+ case 464: /* full_tsma_name */
+ case 466: /* index_options */
+ case 467: /* full_index_name */
+ case 469: /* sliding_opt */
+ case 470: /* sma_stream_opt */
+ case 471: /* func */
+ case 475: /* query_or_subquery */
+ case 476: /* where_clause_opt */
+ case 479: /* explain_options */
+ case 480: /* insert_query */
+ case 485: /* full_view_name */
+ case 488: /* stream_options */
+ case 491: /* subtable_opt */
+ case 494: /* column_stream_def */
+ case 495: /* stream_col_options */
+ case 496: /* expression */
+ case 499: /* literal_func */
+ case 500: /* signed_literal */
+ case 503: /* expr_or_subquery */
+ case 504: /* pseudo_column */
+ case 505: /* column_reference */
+ case 506: /* function_expression */
+ case 507: /* case_when_expression */
+ case 514: /* star_func_para */
+ case 516: /* case_when_else_opt */
+ case 517: /* common_expression */
+ case 518: /* when_then_expr */
+ case 519: /* predicate */
+ case 522: /* in_predicate_value */
+ case 523: /* boolean_value_expression */
+ case 524: /* boolean_primary */
+ case 525: /* from_clause_opt */
+ case 526: /* table_reference_list */
+ case 527: /* table_reference */
+ case 528: /* table_primary */
+ case 529: /* joined_table */
+ case 531: /* subquery */
+ case 532: /* parenthesized_joined_table */
+ case 535: /* join_on_clause_opt */
+ case 536: /* window_offset_clause_opt */
+ case 537: /* jlimit_clause_opt */
+ case 538: /* window_offset_literal */
+ case 539: /* query_specification */
+ case 545: /* range_opt */
+ case 546: /* every_opt */
+ case 547: /* fill_opt */
+ case 548: /* twindow_clause_opt */
+ case 550: /* having_clause_opt */
+ case 551: /* select_item */
+ case 553: /* partition_item */
+ case 554: /* interval_sliding_duration_literal */
+ case 557: /* query_expression */
+ case 558: /* query_simple */
+ case 560: /* slimit_clause_opt */
+ case 561: /* limit_clause_opt */
+ case 562: /* union_query_expression */
+ case 563: /* query_simple_or_subquery */
+ case 565: /* sort_specification */
{
-#line 7 "sql.y"
- nodesDestroyNode((yypminor->yy416));
-#line 3517 "sql.c"
+ nodesDestroyNode((yypminor->yy840));
}
break;
- case 379: /* account_options */
- case 380: /* alter_account_options */
- case 382: /* alter_account_option */
- case 406: /* speed_opt */
- case 466: /* with_meta */
- case 475: /* bufsize_opt */
+ case 387: /* account_options */
+ case 388: /* alter_account_options */
+ case 390: /* alter_account_option */
+ case 414: /* speed_opt */
+ case 474: /* with_meta */
+ case 483: /* bufsize_opt */
{
-#line 54 "sql.y"
-#line 3529 "sql.c"
}
break;
- case 383: /* ip_range_list */
- case 384: /* white_list */
- case 385: /* white_list_opt */
- case 409: /* integer_list */
- case 410: /* variable_list */
- case 411: /* retention_list */
- case 416: /* column_def_list */
- case 417: /* tags_def_opt */
- case 419: /* multi_create_clause */
- case 420: /* tag_list_opt */
- case 421: /* tags_def */
- case 422: /* multi_drop_clause */
- case 430: /* specific_cols_opt */
- case 431: /* tags_literal_list */
- case 433: /* col_name_list */
- case 434: /* tag_def_list */
- case 438: /* duration_list */
- case 439: /* rollup_func_list */
- case 457: /* func_list */
- case 465: /* expression_list */
- case 481: /* col_list_opt */
- case 482: /* tag_def_or_ref_opt */
- case 485: /* column_stream_def_list */
- case 490: /* dnode_list */
- case 493: /* literal_list */
- case 501: /* star_func_para_list */
- case 503: /* other_para_list */
- case 505: /* when_then_list */
- case 530: /* hint_list */
- case 533: /* select_list */
- case 534: /* partition_by_clause_opt */
- case 539: /* group_by_clause_opt */
- case 542: /* partition_list */
- case 546: /* group_by_list */
- case 549: /* order_by_clause_opt */
- case 554: /* sort_specification_list */
+ case 391: /* ip_range_list */
+ case 392: /* white_list */
+ case 393: /* white_list_opt */
+ case 417: /* integer_list */
+ case 418: /* variable_list */
+ case 419: /* retention_list */
+ case 424: /* column_def_list */
+ case 425: /* tags_def_opt */
+ case 427: /* multi_create_clause */
+ case 428: /* tag_list_opt */
+ case 429: /* tags_def */
+ case 430: /* multi_drop_clause */
+ case 438: /* specific_cols_opt */
+ case 439: /* tags_literal_list */
+ case 441: /* col_name_list */
+ case 442: /* tag_def_list */
+ case 446: /* duration_list */
+ case 447: /* rollup_func_list */
+ case 465: /* func_list */
+ case 473: /* expression_list */
+ case 489: /* col_list_opt */
+ case 490: /* tag_def_or_ref_opt */
+ case 493: /* column_stream_def_list */
+ case 498: /* dnode_list */
+ case 501: /* literal_list */
+ case 509: /* star_func_para_list */
+ case 513: /* other_para_list */
+ case 515: /* when_then_list */
+ case 540: /* hint_list */
+ case 543: /* select_list */
+ case 544: /* partition_by_clause_opt */
+ case 549: /* group_by_clause_opt */
+ case 552: /* partition_list */
+ case 556: /* group_by_list */
+ case 559: /* order_by_clause_opt */
+ case 564: /* sort_specification_list */
{
-#line 85 "sql.y"
- nodesDestroyList((yypminor->yy316));
-#line 3571 "sql.c"
+ nodesDestroyList((yypminor->yy456));
}
break;
- case 386: /* is_import_opt */
- case 387: /* is_createdb_opt */
- case 389: /* sysinfo_opt */
+ case 394: /* is_import_opt */
+ case 395: /* is_createdb_opt */
+ case 397: /* sysinfo_opt */
{
-#line 99 "sql.y"
-#line 3580 "sql.c"
}
break;
- case 388: /* user_name */
- case 395: /* db_name */
- case 396: /* table_name */
- case 397: /* topic_name */
- case 399: /* dnode_endpoint */
- case 425: /* column_name */
- case 443: /* function_name */
- case 453: /* column_alias */
- case 454: /* tsma_name */
- case 460: /* index_name */
- case 464: /* sma_func_name */
- case 469: /* cgroup_name */
- case 476: /* language_opt */
- case 478: /* view_name */
- case 479: /* stream_name */
- case 489: /* on_vgroup_id */
- case 494: /* table_alias */
- case 500: /* star_func */
- case 502: /* noarg_func */
- case 520: /* alias_opt */
+ case 396: /* user_name */
+ case 403: /* db_name */
+ case 404: /* table_name */
+ case 405: /* topic_name */
+ case 407: /* dnode_endpoint */
+ case 433: /* column_name */
+ case 451: /* function_name */
+ case 461: /* column_alias */
+ case 462: /* tsma_name */
+ case 468: /* index_name */
+ case 472: /* sma_func_name */
+ case 477: /* cgroup_name */
+ case 484: /* language_opt */
+ case 486: /* view_name */
+ case 487: /* stream_name */
+ case 497: /* on_vgroup_id */
+ case 502: /* table_alias */
+ case 508: /* star_func */
+ case 511: /* substr_func */
+ case 512: /* noarg_func */
+ case 530: /* alias_opt */
{
-#line 1082 "sql.y"
-#line 3606 "sql.c"
}
break;
- case 390: /* privileges */
- case 393: /* priv_type_list */
- case 394: /* priv_type */
+ case 398: /* privileges */
+ case 401: /* priv_type_list */
+ case 402: /* priv_type */
{
-#line 131 "sql.y"
-#line 3615 "sql.c"
}
break;
- case 391: /* priv_level */
+ case 399: /* priv_level */
{
-#line 148 "sql.y"
-#line 3622 "sql.c"
}
break;
- case 400: /* force_opt */
- case 401: /* unsafe_opt */
- case 402: /* not_exists_opt */
- case 404: /* exists_opt */
- case 470: /* analyze_opt */
- case 473: /* or_replace_opt */
- case 474: /* agg_func_opt */
- case 484: /* ignore_opt */
- case 531: /* set_quantifier_opt */
- case 532: /* tag_mode_opt */
+ case 408: /* force_opt */
+ case 409: /* unsafe_opt */
+ case 410: /* not_exists_opt */
+ case 412: /* exists_opt */
+ case 478: /* analyze_opt */
+ case 481: /* or_replace_opt */
+ case 482: /* agg_func_opt */
+ case 492: /* ignore_opt */
+ case 541: /* set_quantifier_opt */
+ case 542: /* tag_mode_opt */
{
-#line 180 "sql.y"
-#line 3638 "sql.c"
}
break;
- case 413: /* alter_db_option */
- case 440: /* alter_table_option */
+ case 421: /* alter_db_option */
+ case 448: /* alter_table_option */
{
-#line 288 "sql.y"
-#line 3646 "sql.c"
}
break;
- case 426: /* type_name */
- case 437: /* type_name_default_len */
+ case 434: /* type_name */
+ case 445: /* type_name_default_len */
{
-#line 425 "sql.y"
-#line 3654 "sql.c"
}
break;
- case 445: /* db_kind_opt */
- case 451: /* table_kind */
+ case 453: /* db_kind_opt */
+ case 459: /* table_kind */
{
-#line 604 "sql.y"
-#line 3662 "sql.c"
}
break;
- case 446: /* table_kind_db_name_cond_opt */
+ case 454: /* table_kind_db_name_cond_opt */
{
-#line 569 "sql.y"
-#line 3669 "sql.c"
}
break;
- case 455: /* tsma_func_list */
+ case 463: /* tsma_func_list */
{
-#line 623 "sql.y"
- nodesDestroyNode((yypminor->yy416));
-#line 3676 "sql.c"
+ nodesDestroyNode((yypminor->yy840));
}
break;
- case 510: /* compare_op */
- case 511: /* in_op */
+ case 510: /* trim_specification_type */
{
-#line 1280 "sql.y"
-#line 3684 "sql.c"
}
break;
- case 523: /* join_type */
+ case 520: /* compare_op */
+ case 521: /* in_op */
{
-#line 1361 "sql.y"
-#line 3691 "sql.c"
}
break;
- case 524: /* join_subtype */
+ case 533: /* join_type */
{
-#line 1369 "sql.y"
-#line 3698 "sql.c"
}
break;
- case 545: /* fill_mode */
+ case 534: /* join_subtype */
{
-#line 1485 "sql.y"
-#line 3705 "sql.c"
}
break;
- case 556: /* ordering_specification_opt */
+ case 555: /* fill_mode */
{
-#line 1570 "sql.y"
-#line 3712 "sql.c"
}
break;
- case 557: /* null_ordering_opt */
+ case 566: /* ordering_specification_opt */
+{
+
+}
+ break;
+ case 567: /* null_ordering_opt */
{
-#line 1576 "sql.y"
-#line 3719 "sql.c"
}
break;
/********* End destructor definitions *****************************************/
@@ -3762,8 +3994,8 @@ static void yy_pop_parser_stack(yyParser *pParser){
#ifndef NDEBUG
if( yyTraceFILE ){
fprintf(yyTraceFILE,"%sPopping %s\n",
- yyTracePrompt,
- yyTokenName[yytos->major]);
+ yyTracePrompt,
+ yyTokenName[yytos->major]);
}
#endif
yy_destructor(pParser, yytos->major, &yytos->minor);
@@ -3774,31 +4006,14 @@ static void yy_pop_parser_stack(yyParser *pParser){
*/
void ParseFinalize(void *p){
yyParser *pParser = (yyParser*)p;
-
- /* In-lined version of calling yy_pop_parser_stack() for each
- ** element left in the stack */
- yyStackEntry *yytos = pParser->yytos;
- while( yytos>pParser->yystack ){
-#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE,"%sPopping %s\n",
- yyTracePrompt,
- yyTokenName[yytos->major]);
- }
-#endif
- if( yytos->major>=YY_MIN_DSTRCTR ){
- yy_destructor(pParser, yytos->major, &yytos->minor);
- }
- yytos--;
- }
-
-#if YYGROWABLESTACK
- if( pParser->yystack!=pParser->yystk0 ) YYFREE(pParser->yystack);
+ while( pParser->yytos>pParser->yystack ) yy_pop_parser_stack(pParser);
+#if YYSTACKDEPTH<=0
+ if( pParser->yystack!=&pParser->yystk0 ) free(pParser->yystack);
#endif
}
#ifndef Parse_ENGINEALWAYSONSTACK
-/*
+/*
** Deallocate and destroy a parser. Destructors are called for
** all stack elements before shutting the parser down.
**
@@ -3807,8 +4022,8 @@ void ParseFinalize(void *p){
** assumed that the input pointer is never NULL.
*/
void ParseFree(
- void *p, /* The parser to be deleted */
- void (*freeProc)(void*) /* Function used to reclaim memory */
+ void *p, /* The parser to be deleted */
+ void (*freeProc)(void*) /* Function used to reclaim memory */
){
#ifndef YYPARSEFREENEVERNULL
if( p==0 ) return;
@@ -3870,8 +4085,8 @@ int ParseCoverage(FILE *out){
** look-ahead token iLookAhead.
*/
static YYACTIONTYPE yy_find_shift_action(
- YYCODETYPE iLookAhead, /* The look-ahead token */
- YYACTIONTYPE stateno /* Current state number */
+ YYCODETYPE iLookAhead, /* The look-ahead token */
+ YYACTIONTYPE stateno /* Current state number */
){
int i;
@@ -3898,7 +4113,7 @@ static YYACTIONTYPE yy_find_shift_action(
#ifndef NDEBUG
if( yyTraceFILE ){
fprintf(yyTraceFILE, "%sFALLBACK %s => %s\n",
- yyTracePrompt, yyTokenName[iLookAhead], yyTokenName[iFallback]);
+ yyTracePrompt, yyTokenName[iLookAhead], yyTokenName[iFallback]);
}
#endif
assert( yyFallback[iFallback]==0 ); /* Fallback loop must terminate */
@@ -3914,8 +4129,8 @@ static YYACTIONTYPE yy_find_shift_action(
#ifndef NDEBUG
if( yyTraceFILE ){
fprintf(yyTraceFILE, "%sWILDCARD %s => %s\n",
- yyTracePrompt, yyTokenName[iLookAhead],
- yyTokenName[YYWILDCARD]);
+ yyTracePrompt, yyTokenName[iLookAhead],
+ yyTokenName[YYWILDCARD]);
}
#endif /* NDEBUG */
return yy_action[j];
@@ -3935,8 +4150,8 @@ static YYACTIONTYPE yy_find_shift_action(
** look-ahead token iLookAhead.
*/
static YYACTIONTYPE yy_find_reduce_action(
- YYACTIONTYPE stateno, /* Current state number */
- YYCODETYPE iLookAhead /* The look-ahead token */
+ YYACTIONTYPE stateno, /* Current state number */
+ YYCODETYPE iLookAhead /* The look-ahead token */
){
int i;
#ifdef YYERRORSYMBOL
@@ -3964,20 +4179,20 @@ static YYACTIONTYPE yy_find_reduce_action(
** The following routine is called if the stack overflows.
*/
static void yyStackOverflow(yyParser *yypParser){
- ParseARG_FETCH
- ParseCTX_FETCH
+ ParseARG_FETCH
+ ParseCTX_FETCH
#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE,"%sStack Overflow!\n",yyTracePrompt);
- }
+ if( yyTraceFILE ){
+ fprintf(yyTraceFILE,"%sStack Overflow!\n",yyTracePrompt);
+ }
#endif
- while( yypParser->yytos>yypParser->yystack ) yy_pop_parser_stack(yypParser);
- /* Here code is inserted which will execute if the parser
+ while( yypParser->yytos>yypParser->yystack ) yy_pop_parser_stack(yypParser);
+ /* Here code is inserted which will execute if the parser
** stack every overflows */
- /******** Begin %stack_overflow code ******************************************/
- /******** End %stack_overflow code ********************************************/
- ParseARG_STORE /* Suppress warning about unused %extra_argument var */
- ParseCTX_STORE
+/******** Begin %stack_overflow code ******************************************/
+/******** End %stack_overflow code ********************************************/
+ ParseARG_STORE /* Suppress warning about unused %extra_argument var */
+ ParseCTX_STORE
}
/*
@@ -3988,12 +4203,12 @@ static void yyTraceShift(yyParser *yypParser, int yyNewState, const char *zTag){
if( yyTraceFILE ){
if( yyNewStateyytos->major],
- yyNewState);
+ yyTracePrompt, zTag, yyTokenName[yypParser->yytos->major],
+ yyNewState);
}else{
fprintf(yyTraceFILE,"%s%s '%s', pending reduce %d\n",
- yyTracePrompt, zTag, yyTokenName[yypParser->yytos->major],
- yyNewState - YY_MIN_REDUCE);
+ yyTracePrompt, zTag, yyTokenName[yypParser->yytos->major],
+ yyNewState - YY_MIN_REDUCE);
}
}
}
@@ -4005,10 +4220,10 @@ static void yyTraceShift(yyParser *yypParser, int yyNewState, const char *zTag){
** Perform a shift action.
*/
static void yy_shift(
- yyParser *yypParser, /* The parser to be shifted */
- YYACTIONTYPE yyNewState, /* The new state to shift in */
- YYCODETYPE yyMajor, /* The major token to shift in */
- ParseTOKENTYPE yyMinor /* The minor token to shift in */
+ yyParser *yypParser, /* The parser to be shifted */
+ YYACTIONTYPE yyNewState, /* The new state to shift in */
+ YYCODETYPE yyMajor, /* The major token to shift in */
+ ParseTOKENTYPE yyMinor /* The minor token to shift in */
){
yyStackEntry *yytos;
yypParser->yytos++;
@@ -4018,19 +4233,25 @@ static void yy_shift(
assert( yypParser->yyhwm == (int)(yypParser->yytos - yypParser->yystack) );
}
#endif
- yytos = yypParser->yytos;
- if( yytos>yypParser->yystackEnd ){
+#if YYSTACKDEPTH>0
+ if( yypParser->yytos>yypParser->yystackEnd ){
+ yypParser->yytos--;
+ yyStackOverflow(yypParser);
+ return;
+ }
+#else
+ if( yypParser->yytos>=&yypParser->yystack[yypParser->yystksz] ){
if( yyGrowStack(yypParser) ){
yypParser->yytos--;
yyStackOverflow(yypParser);
return;
}
- yytos = yypParser->yytos;
- assert( yytos <= yypParser->yystackEnd );
}
+#endif
if( yyNewState > YY_MAX_SHIFT ){
yyNewState += YY_MIN_REDUCE - YY_MIN_SHIFTREDUCE;
}
+ yytos = yypParser->yytos;
yytos->stateno = yyNewState;
yytos->major = yyMajor;
yytos->minor.yy0 = yyMinor;
@@ -4040,1521 +4261,1553 @@ static void yy_shift(
/* For rule J, yyRuleInfoLhs[J] contains the symbol on the left-hand side
** of that rule */
static const YYCODETYPE yyRuleInfoLhs[] = {
- 378, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */
- 378, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */
- 379, /* (2) account_options ::= */
- 379, /* (3) account_options ::= account_options PPS literal */
- 379, /* (4) account_options ::= account_options TSERIES literal */
- 379, /* (5) account_options ::= account_options STORAGE literal */
- 379, /* (6) account_options ::= account_options STREAMS literal */
- 379, /* (7) account_options ::= account_options QTIME literal */
- 379, /* (8) account_options ::= account_options DBS literal */
- 379, /* (9) account_options ::= account_options USERS literal */
- 379, /* (10) account_options ::= account_options CONNS literal */
- 379, /* (11) account_options ::= account_options STATE literal */
- 380, /* (12) alter_account_options ::= alter_account_option */
- 380, /* (13) alter_account_options ::= alter_account_options alter_account_option */
- 382, /* (14) alter_account_option ::= PASS literal */
- 382, /* (15) alter_account_option ::= PPS literal */
- 382, /* (16) alter_account_option ::= TSERIES literal */
- 382, /* (17) alter_account_option ::= STORAGE literal */
- 382, /* (18) alter_account_option ::= STREAMS literal */
- 382, /* (19) alter_account_option ::= QTIME literal */
- 382, /* (20) alter_account_option ::= DBS literal */
- 382, /* (21) alter_account_option ::= USERS literal */
- 382, /* (22) alter_account_option ::= CONNS literal */
- 382, /* (23) alter_account_option ::= STATE literal */
- 383, /* (24) ip_range_list ::= NK_STRING */
- 383, /* (25) ip_range_list ::= ip_range_list NK_COMMA NK_STRING */
- 384, /* (26) white_list ::= HOST ip_range_list */
- 385, /* (27) white_list_opt ::= */
- 385, /* (28) white_list_opt ::= white_list */
- 386, /* (29) is_import_opt ::= */
- 386, /* (30) is_import_opt ::= IS_IMPORT NK_INTEGER */
- 387, /* (31) is_createdb_opt ::= */
- 387, /* (32) is_createdb_opt ::= CREATEDB NK_INTEGER */
- 378, /* (33) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt is_createdb_opt is_import_opt white_list_opt */
- 378, /* (34) cmd ::= ALTER USER user_name PASS NK_STRING */
- 378, /* (35) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */
- 378, /* (36) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */
- 378, /* (37) cmd ::= ALTER USER user_name CREATEDB NK_INTEGER */
- 378, /* (38) cmd ::= ALTER USER user_name ADD white_list */
- 378, /* (39) cmd ::= ALTER USER user_name DROP white_list */
- 378, /* (40) cmd ::= DROP USER user_name */
- 389, /* (41) sysinfo_opt ::= */
- 389, /* (42) sysinfo_opt ::= SYSINFO NK_INTEGER */
- 378, /* (43) cmd ::= GRANT privileges ON priv_level with_opt TO user_name */
- 378, /* (44) cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */
- 390, /* (45) privileges ::= ALL */
- 390, /* (46) privileges ::= priv_type_list */
- 390, /* (47) privileges ::= SUBSCRIBE */
- 393, /* (48) priv_type_list ::= priv_type */
- 393, /* (49) priv_type_list ::= priv_type_list NK_COMMA priv_type */
- 394, /* (50) priv_type ::= READ */
- 394, /* (51) priv_type ::= WRITE */
- 394, /* (52) priv_type ::= ALTER */
- 391, /* (53) priv_level ::= NK_STAR NK_DOT NK_STAR */
- 391, /* (54) priv_level ::= db_name NK_DOT NK_STAR */
- 391, /* (55) priv_level ::= db_name NK_DOT table_name */
- 391, /* (56) priv_level ::= topic_name */
- 392, /* (57) with_opt ::= */
- 392, /* (58) with_opt ::= WITH search_condition */
- 378, /* (59) cmd ::= CREATE ENCRYPT_KEY NK_STRING */
- 378, /* (60) cmd ::= CREATE DNODE dnode_endpoint */
- 378, /* (61) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */
- 378, /* (62) cmd ::= DROP DNODE NK_INTEGER force_opt */
- 378, /* (63) cmd ::= DROP DNODE dnode_endpoint force_opt */
- 378, /* (64) cmd ::= DROP DNODE NK_INTEGER unsafe_opt */
- 378, /* (65) cmd ::= DROP DNODE dnode_endpoint unsafe_opt */
- 378, /* (66) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */
- 378, /* (67) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */
- 378, /* (68) cmd ::= ALTER ALL DNODES NK_STRING */
- 378, /* (69) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */
- 378, /* (70) cmd ::= RESTORE DNODE NK_INTEGER */
- 399, /* (71) dnode_endpoint ::= NK_STRING */
- 399, /* (72) dnode_endpoint ::= NK_ID */
- 399, /* (73) dnode_endpoint ::= NK_IPTOKEN */
- 400, /* (74) force_opt ::= */
- 400, /* (75) force_opt ::= FORCE */
- 401, /* (76) unsafe_opt ::= UNSAFE */
- 378, /* (77) cmd ::= ALTER CLUSTER NK_STRING */
- 378, /* (78) cmd ::= ALTER CLUSTER NK_STRING NK_STRING */
- 378, /* (79) cmd ::= ALTER LOCAL NK_STRING */
- 378, /* (80) cmd ::= ALTER LOCAL NK_STRING NK_STRING */
- 378, /* (81) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */
- 378, /* (82) cmd ::= DROP QNODE ON DNODE NK_INTEGER */
- 378, /* (83) cmd ::= RESTORE QNODE ON DNODE NK_INTEGER */
- 378, /* (84) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */
- 378, /* (85) cmd ::= DROP BNODE ON DNODE NK_INTEGER */
- 378, /* (86) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */
- 378, /* (87) cmd ::= DROP SNODE ON DNODE NK_INTEGER */
- 378, /* (88) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */
- 378, /* (89) cmd ::= DROP MNODE ON DNODE NK_INTEGER */
- 378, /* (90) cmd ::= RESTORE MNODE ON DNODE NK_INTEGER */
- 378, /* (91) cmd ::= RESTORE VNODE ON DNODE NK_INTEGER */
- 378, /* (92) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */
- 378, /* (93) cmd ::= DROP DATABASE exists_opt db_name */
- 378, /* (94) cmd ::= USE db_name */
- 378, /* (95) cmd ::= ALTER DATABASE db_name alter_db_options */
- 378, /* (96) cmd ::= FLUSH DATABASE db_name */
- 378, /* (97) cmd ::= TRIM DATABASE db_name speed_opt */
- 378, /* (98) cmd ::= S3MIGRATE DATABASE db_name */
- 378, /* (99) cmd ::= COMPACT DATABASE db_name start_opt end_opt */
- 402, /* (100) not_exists_opt ::= IF NOT EXISTS */
- 402, /* (101) not_exists_opt ::= */
- 404, /* (102) exists_opt ::= IF EXISTS */
- 404, /* (103) exists_opt ::= */
- 403, /* (104) db_options ::= */
- 403, /* (105) db_options ::= db_options BUFFER NK_INTEGER */
- 403, /* (106) db_options ::= db_options CACHEMODEL NK_STRING */
- 403, /* (107) db_options ::= db_options CACHESIZE NK_INTEGER */
- 403, /* (108) db_options ::= db_options COMP NK_INTEGER */
- 403, /* (109) db_options ::= db_options DURATION NK_INTEGER */
- 403, /* (110) db_options ::= db_options DURATION NK_VARIABLE */
- 403, /* (111) db_options ::= db_options MAXROWS NK_INTEGER */
- 403, /* (112) db_options ::= db_options MINROWS NK_INTEGER */
- 403, /* (113) db_options ::= db_options KEEP integer_list */
- 403, /* (114) db_options ::= db_options KEEP variable_list */
- 403, /* (115) db_options ::= db_options PAGES NK_INTEGER */
- 403, /* (116) db_options ::= db_options PAGESIZE NK_INTEGER */
- 403, /* (117) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */
- 403, /* (118) db_options ::= db_options PRECISION NK_STRING */
- 403, /* (119) db_options ::= db_options REPLICA NK_INTEGER */
- 403, /* (120) db_options ::= db_options VGROUPS NK_INTEGER */
- 403, /* (121) db_options ::= db_options SINGLE_STABLE NK_INTEGER */
- 403, /* (122) db_options ::= db_options RETENTIONS retention_list */
- 403, /* (123) db_options ::= db_options SCHEMALESS NK_INTEGER */
- 403, /* (124) db_options ::= db_options WAL_LEVEL NK_INTEGER */
- 403, /* (125) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */
- 403, /* (126) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */
- 403, /* (127) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */
- 403, /* (128) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */
- 403, /* (129) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */
- 403, /* (130) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */
- 403, /* (131) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */
- 403, /* (132) db_options ::= db_options STT_TRIGGER NK_INTEGER */
- 403, /* (133) db_options ::= db_options TABLE_PREFIX signed */
- 403, /* (134) db_options ::= db_options TABLE_SUFFIX signed */
- 403, /* (135) db_options ::= db_options S3_CHUNKSIZE NK_INTEGER */
- 403, /* (136) db_options ::= db_options S3_KEEPLOCAL NK_INTEGER */
- 403, /* (137) db_options ::= db_options S3_KEEPLOCAL NK_VARIABLE */
- 403, /* (138) db_options ::= db_options S3_COMPACT NK_INTEGER */
- 403, /* (139) db_options ::= db_options KEEP_TIME_OFFSET NK_INTEGER */
- 403, /* (140) db_options ::= db_options ENCRYPT_ALGORITHM NK_STRING */
- 405, /* (141) alter_db_options ::= alter_db_option */
- 405, /* (142) alter_db_options ::= alter_db_options alter_db_option */
- 413, /* (143) alter_db_option ::= BUFFER NK_INTEGER */
- 413, /* (144) alter_db_option ::= CACHEMODEL NK_STRING */
- 413, /* (145) alter_db_option ::= CACHESIZE NK_INTEGER */
- 413, /* (146) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */
- 413, /* (147) alter_db_option ::= KEEP integer_list */
- 413, /* (148) alter_db_option ::= KEEP variable_list */
- 413, /* (149) alter_db_option ::= PAGES NK_INTEGER */
- 413, /* (150) alter_db_option ::= REPLICA NK_INTEGER */
- 413, /* (151) alter_db_option ::= WAL_LEVEL NK_INTEGER */
- 413, /* (152) alter_db_option ::= STT_TRIGGER NK_INTEGER */
- 413, /* (153) alter_db_option ::= MINROWS NK_INTEGER */
- 413, /* (154) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */
- 413, /* (155) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */
- 413, /* (156) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */
- 413, /* (157) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */
- 413, /* (158) alter_db_option ::= S3_KEEPLOCAL NK_INTEGER */
- 413, /* (159) alter_db_option ::= S3_KEEPLOCAL NK_VARIABLE */
- 413, /* (160) alter_db_option ::= S3_COMPACT NK_INTEGER */
- 413, /* (161) alter_db_option ::= KEEP_TIME_OFFSET NK_INTEGER */
- 413, /* (162) alter_db_option ::= ENCRYPT_ALGORITHM NK_STRING */
- 409, /* (163) integer_list ::= NK_INTEGER */
- 409, /* (164) integer_list ::= integer_list NK_COMMA NK_INTEGER */
- 410, /* (165) variable_list ::= NK_VARIABLE */
- 410, /* (166) variable_list ::= variable_list NK_COMMA NK_VARIABLE */
- 411, /* (167) retention_list ::= retention */
- 411, /* (168) retention_list ::= retention_list NK_COMMA retention */
- 414, /* (169) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */
- 414, /* (170) retention ::= NK_MINUS NK_COLON NK_VARIABLE */
- 406, /* (171) speed_opt ::= */
- 406, /* (172) speed_opt ::= BWLIMIT NK_INTEGER */
- 407, /* (173) start_opt ::= */
- 407, /* (174) start_opt ::= START WITH NK_INTEGER */
- 407, /* (175) start_opt ::= START WITH NK_STRING */
- 407, /* (176) start_opt ::= START WITH TIMESTAMP NK_STRING */
- 408, /* (177) end_opt ::= */
- 408, /* (178) end_opt ::= END WITH NK_INTEGER */
- 408, /* (179) end_opt ::= END WITH NK_STRING */
- 408, /* (180) end_opt ::= END WITH TIMESTAMP NK_STRING */
- 378, /* (181) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */
- 378, /* (182) cmd ::= CREATE TABLE multi_create_clause */
- 378, /* (183) cmd ::= CREATE TABLE not_exists_opt USING full_table_name NK_LP tag_list_opt NK_RP FILE NK_STRING */
- 378, /* (184) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */
- 378, /* (185) cmd ::= DROP TABLE multi_drop_clause */
- 378, /* (186) cmd ::= DROP STABLE exists_opt full_table_name */
- 378, /* (187) cmd ::= ALTER TABLE alter_table_clause */
- 378, /* (188) cmd ::= ALTER STABLE alter_table_clause */
- 423, /* (189) alter_table_clause ::= full_table_name alter_table_options */
- 423, /* (190) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name column_options */
- 423, /* (191) alter_table_clause ::= full_table_name DROP COLUMN column_name */
- 423, /* (192) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */
- 423, /* (193) alter_table_clause ::= full_table_name MODIFY COLUMN column_name column_options */
- 423, /* (194) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */
- 423, /* (195) alter_table_clause ::= full_table_name ADD TAG column_name type_name */
- 423, /* (196) alter_table_clause ::= full_table_name DROP TAG column_name */
- 423, /* (197) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */
- 423, /* (198) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */
- 423, /* (199) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ tags_literal */
- 419, /* (200) multi_create_clause ::= create_subtable_clause */
- 419, /* (201) multi_create_clause ::= multi_create_clause create_subtable_clause */
- 429, /* (202) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP tags_literal_list NK_RP table_options */
- 422, /* (203) multi_drop_clause ::= drop_table_clause */
- 422, /* (204) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */
- 432, /* (205) drop_table_clause ::= exists_opt full_table_name */
- 430, /* (206) specific_cols_opt ::= */
- 430, /* (207) specific_cols_opt ::= NK_LP col_name_list NK_RP */
- 415, /* (208) full_table_name ::= table_name */
- 415, /* (209) full_table_name ::= db_name NK_DOT table_name */
- 434, /* (210) tag_def_list ::= tag_def */
- 434, /* (211) tag_def_list ::= tag_def_list NK_COMMA tag_def */
- 435, /* (212) tag_def ::= column_name type_name */
- 416, /* (213) column_def_list ::= column_def */
- 416, /* (214) column_def_list ::= column_def_list NK_COMMA column_def */
- 436, /* (215) column_def ::= column_name type_name column_options */
- 426, /* (216) type_name ::= BOOL */
- 426, /* (217) type_name ::= TINYINT */
- 426, /* (218) type_name ::= SMALLINT */
- 426, /* (219) type_name ::= INT */
- 426, /* (220) type_name ::= INTEGER */
- 426, /* (221) type_name ::= BIGINT */
- 426, /* (222) type_name ::= FLOAT */
- 426, /* (223) type_name ::= DOUBLE */
- 426, /* (224) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */
- 426, /* (225) type_name ::= TIMESTAMP */
- 426, /* (226) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */
- 426, /* (227) type_name ::= TINYINT UNSIGNED */
- 426, /* (228) type_name ::= SMALLINT UNSIGNED */
- 426, /* (229) type_name ::= INT UNSIGNED */
- 426, /* (230) type_name ::= BIGINT UNSIGNED */
- 426, /* (231) type_name ::= JSON */
- 426, /* (232) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */
- 426, /* (233) type_name ::= MEDIUMBLOB */
- 426, /* (234) type_name ::= BLOB */
- 426, /* (235) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */
- 426, /* (236) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */
- 426, /* (237) type_name ::= DECIMAL */
- 426, /* (238) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */
- 426, /* (239) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */
- 437, /* (240) type_name_default_len ::= BINARY */
- 437, /* (241) type_name_default_len ::= NCHAR */
- 437, /* (242) type_name_default_len ::= VARCHAR */
- 437, /* (243) type_name_default_len ::= VARBINARY */
- 417, /* (244) tags_def_opt ::= */
- 417, /* (245) tags_def_opt ::= tags_def */
- 421, /* (246) tags_def ::= TAGS NK_LP tag_def_list NK_RP */
- 418, /* (247) table_options ::= */
- 418, /* (248) table_options ::= table_options COMMENT NK_STRING */
- 418, /* (249) table_options ::= table_options MAX_DELAY duration_list */
- 418, /* (250) table_options ::= table_options WATERMARK duration_list */
- 418, /* (251) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */
- 418, /* (252) table_options ::= table_options TTL NK_INTEGER */
- 418, /* (253) table_options ::= table_options SMA NK_LP col_name_list NK_RP */
- 418, /* (254) table_options ::= table_options DELETE_MARK duration_list */
- 424, /* (255) alter_table_options ::= alter_table_option */
- 424, /* (256) alter_table_options ::= alter_table_options alter_table_option */
- 440, /* (257) alter_table_option ::= COMMENT NK_STRING */
- 440, /* (258) alter_table_option ::= TTL NK_INTEGER */
- 438, /* (259) duration_list ::= duration_literal */
- 438, /* (260) duration_list ::= duration_list NK_COMMA duration_literal */
- 439, /* (261) rollup_func_list ::= rollup_func_name */
- 439, /* (262) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */
- 442, /* (263) rollup_func_name ::= function_name */
- 442, /* (264) rollup_func_name ::= FIRST */
- 442, /* (265) rollup_func_name ::= LAST */
- 433, /* (266) col_name_list ::= col_name */
- 433, /* (267) col_name_list ::= col_name_list NK_COMMA col_name */
- 444, /* (268) col_name ::= column_name */
- 378, /* (269) cmd ::= SHOW DNODES */
- 378, /* (270) cmd ::= SHOW USERS */
- 378, /* (271) cmd ::= SHOW USERS FULL */
- 378, /* (272) cmd ::= SHOW USER PRIVILEGES */
- 378, /* (273) cmd ::= SHOW db_kind_opt DATABASES */
- 378, /* (274) cmd ::= SHOW table_kind_db_name_cond_opt TABLES like_pattern_opt */
- 378, /* (275) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */
- 378, /* (276) cmd ::= SHOW db_name_cond_opt VGROUPS */
- 378, /* (277) cmd ::= SHOW MNODES */
- 378, /* (278) cmd ::= SHOW QNODES */
- 378, /* (279) cmd ::= SHOW ARBGROUPS */
- 378, /* (280) cmd ::= SHOW FUNCTIONS */
- 378, /* (281) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */
- 378, /* (282) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */
- 378, /* (283) cmd ::= SHOW STREAMS */
- 378, /* (284) cmd ::= SHOW ACCOUNTS */
- 378, /* (285) cmd ::= SHOW APPS */
- 378, /* (286) cmd ::= SHOW CONNECTIONS */
- 378, /* (287) cmd ::= SHOW LICENCES */
- 378, /* (288) cmd ::= SHOW GRANTS */
- 378, /* (289) cmd ::= SHOW GRANTS FULL */
- 378, /* (290) cmd ::= SHOW GRANTS LOGS */
- 378, /* (291) cmd ::= SHOW CLUSTER MACHINES */
- 378, /* (292) cmd ::= SHOW CREATE DATABASE db_name */
- 378, /* (293) cmd ::= SHOW CREATE TABLE full_table_name */
- 378, /* (294) cmd ::= SHOW CREATE STABLE full_table_name */
- 378, /* (295) cmd ::= SHOW ENCRYPTIONS */
- 378, /* (296) cmd ::= SHOW QUERIES */
- 378, /* (297) cmd ::= SHOW SCORES */
- 378, /* (298) cmd ::= SHOW TOPICS */
- 378, /* (299) cmd ::= SHOW VARIABLES */
- 378, /* (300) cmd ::= SHOW CLUSTER VARIABLES */
- 378, /* (301) cmd ::= SHOW LOCAL VARIABLES */
- 378, /* (302) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */
- 378, /* (303) cmd ::= SHOW BNODES */
- 378, /* (304) cmd ::= SHOW SNODES */
- 378, /* (305) cmd ::= SHOW CLUSTER */
- 378, /* (306) cmd ::= SHOW TRANSACTIONS */
- 378, /* (307) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */
- 378, /* (308) cmd ::= SHOW CONSUMERS */
- 378, /* (309) cmd ::= SHOW SUBSCRIPTIONS */
- 378, /* (310) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */
- 378, /* (311) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */
- 378, /* (312) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */
- 378, /* (313) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */
- 378, /* (314) cmd ::= SHOW VNODES ON DNODE NK_INTEGER */
- 378, /* (315) cmd ::= SHOW VNODES */
- 378, /* (316) cmd ::= SHOW db_name_cond_opt ALIVE */
- 378, /* (317) cmd ::= SHOW CLUSTER ALIVE */
- 378, /* (318) cmd ::= SHOW db_name_cond_opt VIEWS like_pattern_opt */
- 378, /* (319) cmd ::= SHOW CREATE VIEW full_table_name */
- 378, /* (320) cmd ::= SHOW COMPACTS */
- 378, /* (321) cmd ::= SHOW COMPACT NK_INTEGER */
- 446, /* (322) table_kind_db_name_cond_opt ::= */
- 446, /* (323) table_kind_db_name_cond_opt ::= table_kind */
- 446, /* (324) table_kind_db_name_cond_opt ::= db_name NK_DOT */
- 446, /* (325) table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT */
- 451, /* (326) table_kind ::= NORMAL */
- 451, /* (327) table_kind ::= CHILD */
- 448, /* (328) db_name_cond_opt ::= */
- 448, /* (329) db_name_cond_opt ::= db_name NK_DOT */
- 447, /* (330) like_pattern_opt ::= */
- 447, /* (331) like_pattern_opt ::= LIKE NK_STRING */
- 449, /* (332) table_name_cond ::= table_name */
- 450, /* (333) from_db_opt ::= */
- 450, /* (334) from_db_opt ::= FROM db_name */
- 420, /* (335) tag_list_opt ::= */
- 420, /* (336) tag_list_opt ::= tag_item */
- 420, /* (337) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */
- 452, /* (338) tag_item ::= TBNAME */
- 452, /* (339) tag_item ::= QTAGS */
- 452, /* (340) tag_item ::= column_name */
- 452, /* (341) tag_item ::= column_name column_alias */
- 452, /* (342) tag_item ::= column_name AS column_alias */
- 445, /* (343) db_kind_opt ::= */
- 445, /* (344) db_kind_opt ::= USER */
- 445, /* (345) db_kind_opt ::= SYSTEM */
- 378, /* (346) cmd ::= CREATE TSMA not_exists_opt tsma_name ON full_table_name tsma_func_list INTERVAL NK_LP duration_literal NK_RP */
- 378, /* (347) cmd ::= CREATE RECURSIVE TSMA not_exists_opt tsma_name ON full_table_name INTERVAL NK_LP duration_literal NK_RP */
- 378, /* (348) cmd ::= DROP TSMA exists_opt full_tsma_name */
- 378, /* (349) cmd ::= SHOW db_name_cond_opt TSMAS */
- 456, /* (350) full_tsma_name ::= tsma_name */
- 456, /* (351) full_tsma_name ::= db_name NK_DOT tsma_name */
- 455, /* (352) tsma_func_list ::= FUNCTION NK_LP func_list NK_RP */
- 378, /* (353) cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */
- 378, /* (354) cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */
- 378, /* (355) cmd ::= DROP INDEX exists_opt full_index_name */
- 459, /* (356) full_index_name ::= index_name */
- 459, /* (357) full_index_name ::= db_name NK_DOT index_name */
- 458, /* (358) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */
- 458, /* (359) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */
- 457, /* (360) func_list ::= func */
- 457, /* (361) func_list ::= func_list NK_COMMA func */
- 463, /* (362) func ::= sma_func_name NK_LP expression_list NK_RP */
- 464, /* (363) sma_func_name ::= function_name */
- 464, /* (364) sma_func_name ::= COUNT */
- 464, /* (365) sma_func_name ::= FIRST */
- 464, /* (366) sma_func_name ::= LAST */
- 464, /* (367) sma_func_name ::= LAST_ROW */
- 462, /* (368) sma_stream_opt ::= */
- 462, /* (369) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */
- 462, /* (370) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */
- 462, /* (371) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */
- 466, /* (372) with_meta ::= AS */
- 466, /* (373) with_meta ::= WITH META AS */
- 466, /* (374) with_meta ::= ONLY META AS */
- 378, /* (375) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */
- 378, /* (376) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */
- 378, /* (377) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */
- 378, /* (378) cmd ::= DROP TOPIC exists_opt topic_name */
- 378, /* (379) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */
- 378, /* (380) cmd ::= DESC full_table_name */
- 378, /* (381) cmd ::= DESCRIBE full_table_name */
- 378, /* (382) cmd ::= RESET QUERY CACHE */
- 378, /* (383) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */
- 378, /* (384) cmd ::= EXPLAIN analyze_opt explain_options insert_query */
- 470, /* (385) analyze_opt ::= */
- 470, /* (386) analyze_opt ::= ANALYZE */
- 471, /* (387) explain_options ::= */
- 471, /* (388) explain_options ::= explain_options VERBOSE NK_BOOL */
- 471, /* (389) explain_options ::= explain_options RATIO NK_FLOAT */
- 378, /* (390) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */
- 378, /* (391) cmd ::= DROP FUNCTION exists_opt function_name */
- 474, /* (392) agg_func_opt ::= */
- 474, /* (393) agg_func_opt ::= AGGREGATE */
- 475, /* (394) bufsize_opt ::= */
- 475, /* (395) bufsize_opt ::= BUFSIZE NK_INTEGER */
- 476, /* (396) language_opt ::= */
- 476, /* (397) language_opt ::= LANGUAGE NK_STRING */
- 473, /* (398) or_replace_opt ::= */
- 473, /* (399) or_replace_opt ::= OR REPLACE */
- 378, /* (400) cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */
- 378, /* (401) cmd ::= DROP VIEW exists_opt full_view_name */
- 477, /* (402) full_view_name ::= view_name */
- 477, /* (403) full_view_name ::= db_name NK_DOT view_name */
- 378, /* (404) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */
- 378, /* (405) cmd ::= DROP STREAM exists_opt stream_name */
- 378, /* (406) cmd ::= PAUSE STREAM exists_opt stream_name */
- 378, /* (407) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */
- 481, /* (408) col_list_opt ::= */
- 481, /* (409) col_list_opt ::= NK_LP column_stream_def_list NK_RP */
- 485, /* (410) column_stream_def_list ::= column_stream_def */
- 485, /* (411) column_stream_def_list ::= column_stream_def_list NK_COMMA column_stream_def */
- 486, /* (412) column_stream_def ::= column_name stream_col_options */
- 487, /* (413) stream_col_options ::= */
- 487, /* (414) stream_col_options ::= stream_col_options PRIMARY KEY */
- 482, /* (415) tag_def_or_ref_opt ::= */
- 482, /* (416) tag_def_or_ref_opt ::= tags_def */
- 482, /* (417) tag_def_or_ref_opt ::= TAGS NK_LP column_stream_def_list NK_RP */
- 480, /* (418) stream_options ::= */
- 480, /* (419) stream_options ::= stream_options TRIGGER AT_ONCE */
- 480, /* (420) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */
- 480, /* (421) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */
- 480, /* (422) stream_options ::= stream_options WATERMARK duration_literal */
- 480, /* (423) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */
- 480, /* (424) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */
- 480, /* (425) stream_options ::= stream_options DELETE_MARK duration_literal */
- 480, /* (426) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */
- 483, /* (427) subtable_opt ::= */
- 483, /* (428) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */
- 484, /* (429) ignore_opt ::= */
- 484, /* (430) ignore_opt ::= IGNORE UNTREATED */
- 378, /* (431) cmd ::= KILL CONNECTION NK_INTEGER */
- 378, /* (432) cmd ::= KILL QUERY NK_STRING */
- 378, /* (433) cmd ::= KILL TRANSACTION NK_INTEGER */
- 378, /* (434) cmd ::= KILL COMPACT NK_INTEGER */
- 378, /* (435) cmd ::= BALANCE VGROUP */
- 378, /* (436) cmd ::= BALANCE VGROUP LEADER on_vgroup_id */
- 378, /* (437) cmd ::= BALANCE VGROUP LEADER DATABASE db_name */
- 378, /* (438) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */
- 378, /* (439) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */
- 378, /* (440) cmd ::= SPLIT VGROUP NK_INTEGER */
- 489, /* (441) on_vgroup_id ::= */
- 489, /* (442) on_vgroup_id ::= ON NK_INTEGER */
- 490, /* (443) dnode_list ::= DNODE NK_INTEGER */
- 490, /* (444) dnode_list ::= dnode_list DNODE NK_INTEGER */
- 378, /* (445) cmd ::= DELETE FROM full_table_name where_clause_opt */
- 378, /* (446) cmd ::= query_or_subquery */
- 378, /* (447) cmd ::= insert_query */
- 472, /* (448) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */
- 472, /* (449) insert_query ::= INSERT INTO full_table_name query_or_subquery */
- 428, /* (450) tags_literal ::= NK_INTEGER */
- 428, /* (451) tags_literal ::= NK_INTEGER NK_PLUS duration_literal */
- 428, /* (452) tags_literal ::= NK_INTEGER NK_MINUS duration_literal */
- 428, /* (453) tags_literal ::= NK_PLUS NK_INTEGER */
- 428, /* (454) tags_literal ::= NK_PLUS NK_INTEGER NK_PLUS duration_literal */
- 428, /* (455) tags_literal ::= NK_PLUS NK_INTEGER NK_MINUS duration_literal */
- 428, /* (456) tags_literal ::= NK_MINUS NK_INTEGER */
- 428, /* (457) tags_literal ::= NK_MINUS NK_INTEGER NK_PLUS duration_literal */
- 428, /* (458) tags_literal ::= NK_MINUS NK_INTEGER NK_MINUS duration_literal */
- 428, /* (459) tags_literal ::= NK_FLOAT */
- 428, /* (460) tags_literal ::= NK_PLUS NK_FLOAT */
- 428, /* (461) tags_literal ::= NK_MINUS NK_FLOAT */
- 428, /* (462) tags_literal ::= NK_BIN */
- 428, /* (463) tags_literal ::= NK_BIN NK_PLUS duration_literal */
- 428, /* (464) tags_literal ::= NK_BIN NK_MINUS duration_literal */
- 428, /* (465) tags_literal ::= NK_PLUS NK_BIN */
- 428, /* (466) tags_literal ::= NK_PLUS NK_BIN NK_PLUS duration_literal */
- 428, /* (467) tags_literal ::= NK_PLUS NK_BIN NK_MINUS duration_literal */
- 428, /* (468) tags_literal ::= NK_MINUS NK_BIN */
- 428, /* (469) tags_literal ::= NK_MINUS NK_BIN NK_PLUS duration_literal */
- 428, /* (470) tags_literal ::= NK_MINUS NK_BIN NK_MINUS duration_literal */
- 428, /* (471) tags_literal ::= NK_HEX */
- 428, /* (472) tags_literal ::= NK_HEX NK_PLUS duration_literal */
- 428, /* (473) tags_literal ::= NK_HEX NK_MINUS duration_literal */
- 428, /* (474) tags_literal ::= NK_PLUS NK_HEX */
- 428, /* (475) tags_literal ::= NK_PLUS NK_HEX NK_PLUS duration_literal */
- 428, /* (476) tags_literal ::= NK_PLUS NK_HEX NK_MINUS duration_literal */
- 428, /* (477) tags_literal ::= NK_MINUS NK_HEX */
- 428, /* (478) tags_literal ::= NK_MINUS NK_HEX NK_PLUS duration_literal */
- 428, /* (479) tags_literal ::= NK_MINUS NK_HEX NK_MINUS duration_literal */
- 428, /* (480) tags_literal ::= NK_STRING */
- 428, /* (481) tags_literal ::= NK_STRING NK_PLUS duration_literal */
- 428, /* (482) tags_literal ::= NK_STRING NK_MINUS duration_literal */
- 428, /* (483) tags_literal ::= NK_BOOL */
- 428, /* (484) tags_literal ::= NULL */
- 428, /* (485) tags_literal ::= literal_func */
- 428, /* (486) tags_literal ::= literal_func NK_PLUS duration_literal */
- 428, /* (487) tags_literal ::= literal_func NK_MINUS duration_literal */
- 431, /* (488) tags_literal_list ::= tags_literal */
- 431, /* (489) tags_literal_list ::= tags_literal_list NK_COMMA tags_literal */
- 381, /* (490) literal ::= NK_INTEGER */
- 381, /* (491) literal ::= NK_FLOAT */
- 381, /* (492) literal ::= NK_STRING */
- 381, /* (493) literal ::= NK_BOOL */
- 381, /* (494) literal ::= TIMESTAMP NK_STRING */
- 381, /* (495) literal ::= duration_literal */
- 381, /* (496) literal ::= NULL */
- 381, /* (497) literal ::= NK_QUESTION */
- 441, /* (498) duration_literal ::= NK_VARIABLE */
- 412, /* (499) signed ::= NK_INTEGER */
- 412, /* (500) signed ::= NK_PLUS NK_INTEGER */
- 412, /* (501) signed ::= NK_MINUS NK_INTEGER */
- 412, /* (502) signed ::= NK_FLOAT */
- 412, /* (503) signed ::= NK_PLUS NK_FLOAT */
- 412, /* (504) signed ::= NK_MINUS NK_FLOAT */
- 492, /* (505) signed_literal ::= signed */
- 492, /* (506) signed_literal ::= NK_STRING */
- 492, /* (507) signed_literal ::= NK_BOOL */
- 492, /* (508) signed_literal ::= TIMESTAMP NK_STRING */
- 492, /* (509) signed_literal ::= duration_literal */
- 492, /* (510) signed_literal ::= NULL */
- 492, /* (511) signed_literal ::= literal_func */
- 492, /* (512) signed_literal ::= NK_QUESTION */
- 493, /* (513) literal_list ::= signed_literal */
- 493, /* (514) literal_list ::= literal_list NK_COMMA signed_literal */
- 395, /* (515) db_name ::= NK_ID */
- 396, /* (516) table_name ::= NK_ID */
- 425, /* (517) column_name ::= NK_ID */
- 443, /* (518) function_name ::= NK_ID */
- 478, /* (519) view_name ::= NK_ID */
- 494, /* (520) table_alias ::= NK_ID */
- 453, /* (521) column_alias ::= NK_ID */
- 453, /* (522) column_alias ::= NK_ALIAS */
- 388, /* (523) user_name ::= NK_ID */
- 397, /* (524) topic_name ::= NK_ID */
- 479, /* (525) stream_name ::= NK_ID */
- 469, /* (526) cgroup_name ::= NK_ID */
- 460, /* (527) index_name ::= NK_ID */
- 454, /* (528) tsma_name ::= NK_ID */
- 495, /* (529) expr_or_subquery ::= expression */
- 488, /* (530) expression ::= literal */
- 488, /* (531) expression ::= pseudo_column */
- 488, /* (532) expression ::= column_reference */
- 488, /* (533) expression ::= function_expression */
- 488, /* (534) expression ::= case_when_expression */
- 488, /* (535) expression ::= NK_LP expression NK_RP */
- 488, /* (536) expression ::= NK_PLUS expr_or_subquery */
- 488, /* (537) expression ::= NK_MINUS expr_or_subquery */
- 488, /* (538) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */
- 488, /* (539) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */
- 488, /* (540) expression ::= expr_or_subquery NK_STAR expr_or_subquery */
- 488, /* (541) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */
- 488, /* (542) expression ::= expr_or_subquery NK_REM expr_or_subquery */
- 488, /* (543) expression ::= column_reference NK_ARROW NK_STRING */
- 488, /* (544) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */
- 488, /* (545) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */
- 465, /* (546) expression_list ::= expr_or_subquery */
- 465, /* (547) expression_list ::= expression_list NK_COMMA expr_or_subquery */
- 497, /* (548) column_reference ::= column_name */
- 497, /* (549) column_reference ::= table_name NK_DOT column_name */
- 497, /* (550) column_reference ::= NK_ALIAS */
- 497, /* (551) column_reference ::= table_name NK_DOT NK_ALIAS */
- 496, /* (552) pseudo_column ::= ROWTS */
- 496, /* (553) pseudo_column ::= TBNAME */
- 496, /* (554) pseudo_column ::= table_name NK_DOT TBNAME */
- 496, /* (555) pseudo_column ::= QSTART */
- 496, /* (556) pseudo_column ::= QEND */
- 496, /* (557) pseudo_column ::= QDURATION */
- 496, /* (558) pseudo_column ::= WSTART */
- 496, /* (559) pseudo_column ::= WEND */
- 496, /* (560) pseudo_column ::= WDURATION */
- 496, /* (561) pseudo_column ::= IROWTS */
- 496, /* (562) pseudo_column ::= ISFILLED */
- 496, /* (563) pseudo_column ::= QTAGS */
- 498, /* (564) function_expression ::= function_name NK_LP expression_list NK_RP */
- 498, /* (565) function_expression ::= star_func NK_LP star_func_para_list NK_RP */
- 498, /* (566) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */
- 498, /* (567) function_expression ::= CAST NK_LP expr_or_subquery AS type_name_default_len NK_RP */
- 498, /* (568) function_expression ::= literal_func */
- 491, /* (569) literal_func ::= noarg_func NK_LP NK_RP */
- 491, /* (570) literal_func ::= NOW */
- 491, /* (571) literal_func ::= TODAY */
- 502, /* (572) noarg_func ::= NOW */
- 502, /* (573) noarg_func ::= TODAY */
- 502, /* (574) noarg_func ::= TIMEZONE */
- 502, /* (575) noarg_func ::= DATABASE */
- 502, /* (576) noarg_func ::= CLIENT_VERSION */
- 502, /* (577) noarg_func ::= SERVER_VERSION */
- 502, /* (578) noarg_func ::= SERVER_STATUS */
- 502, /* (579) noarg_func ::= CURRENT_USER */
- 502, /* (580) noarg_func ::= USER */
- 500, /* (581) star_func ::= COUNT */
- 500, /* (582) star_func ::= FIRST */
- 500, /* (583) star_func ::= LAST */
- 500, /* (584) star_func ::= LAST_ROW */
- 501, /* (585) star_func_para_list ::= NK_STAR */
- 501, /* (586) star_func_para_list ::= other_para_list */
- 503, /* (587) other_para_list ::= star_func_para */
- 503, /* (588) other_para_list ::= other_para_list NK_COMMA star_func_para */
- 504, /* (589) star_func_para ::= expr_or_subquery */
- 504, /* (590) star_func_para ::= table_name NK_DOT NK_STAR */
- 499, /* (591) case_when_expression ::= CASE when_then_list case_when_else_opt END */
- 499, /* (592) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */
- 505, /* (593) when_then_list ::= when_then_expr */
- 505, /* (594) when_then_list ::= when_then_list when_then_expr */
- 508, /* (595) when_then_expr ::= WHEN common_expression THEN common_expression */
- 506, /* (596) case_when_else_opt ::= */
- 506, /* (597) case_when_else_opt ::= ELSE common_expression */
- 509, /* (598) predicate ::= expr_or_subquery compare_op expr_or_subquery */
- 509, /* (599) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */
- 509, /* (600) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */
- 509, /* (601) predicate ::= expr_or_subquery IS NULL */
- 509, /* (602) predicate ::= expr_or_subquery IS NOT NULL */
- 509, /* (603) predicate ::= expr_or_subquery in_op in_predicate_value */
- 510, /* (604) compare_op ::= NK_LT */
- 510, /* (605) compare_op ::= NK_GT */
- 510, /* (606) compare_op ::= NK_LE */
- 510, /* (607) compare_op ::= NK_GE */
- 510, /* (608) compare_op ::= NK_NE */
- 510, /* (609) compare_op ::= NK_EQ */
- 510, /* (610) compare_op ::= LIKE */
- 510, /* (611) compare_op ::= NOT LIKE */
- 510, /* (612) compare_op ::= MATCH */
- 510, /* (613) compare_op ::= NMATCH */
- 510, /* (614) compare_op ::= CONTAINS */
- 511, /* (615) in_op ::= IN */
- 511, /* (616) in_op ::= NOT IN */
- 512, /* (617) in_predicate_value ::= NK_LP literal_list NK_RP */
- 513, /* (618) boolean_value_expression ::= boolean_primary */
- 513, /* (619) boolean_value_expression ::= NOT boolean_primary */
- 513, /* (620) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */
- 513, /* (621) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */
- 514, /* (622) boolean_primary ::= predicate */
- 514, /* (623) boolean_primary ::= NK_LP boolean_value_expression NK_RP */
- 507, /* (624) common_expression ::= expr_or_subquery */
- 507, /* (625) common_expression ::= boolean_value_expression */
- 515, /* (626) from_clause_opt ::= */
- 515, /* (627) from_clause_opt ::= FROM table_reference_list */
- 516, /* (628) table_reference_list ::= table_reference */
- 516, /* (629) table_reference_list ::= table_reference_list NK_COMMA table_reference */
- 517, /* (630) table_reference ::= table_primary */
- 517, /* (631) table_reference ::= joined_table */
- 518, /* (632) table_primary ::= table_name alias_opt */
- 518, /* (633) table_primary ::= db_name NK_DOT table_name alias_opt */
- 518, /* (634) table_primary ::= subquery alias_opt */
- 518, /* (635) table_primary ::= parenthesized_joined_table */
- 520, /* (636) alias_opt ::= */
- 520, /* (637) alias_opt ::= table_alias */
- 520, /* (638) alias_opt ::= AS table_alias */
- 522, /* (639) parenthesized_joined_table ::= NK_LP joined_table NK_RP */
- 522, /* (640) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */
- 519, /* (641) joined_table ::= table_reference join_type join_subtype JOIN table_reference join_on_clause_opt window_offset_clause_opt jlimit_clause_opt */
- 523, /* (642) join_type ::= */
- 523, /* (643) join_type ::= INNER */
- 523, /* (644) join_type ::= LEFT */
- 523, /* (645) join_type ::= RIGHT */
- 523, /* (646) join_type ::= FULL */
- 524, /* (647) join_subtype ::= */
- 524, /* (648) join_subtype ::= OUTER */
- 524, /* (649) join_subtype ::= SEMI */
- 524, /* (650) join_subtype ::= ANTI */
- 524, /* (651) join_subtype ::= ASOF */
- 524, /* (652) join_subtype ::= WINDOW */
- 525, /* (653) join_on_clause_opt ::= */
- 525, /* (654) join_on_clause_opt ::= ON search_condition */
- 526, /* (655) window_offset_clause_opt ::= */
- 526, /* (656) window_offset_clause_opt ::= WINDOW_OFFSET NK_LP window_offset_literal NK_COMMA window_offset_literal NK_RP */
- 528, /* (657) window_offset_literal ::= NK_VARIABLE */
- 528, /* (658) window_offset_literal ::= NK_MINUS NK_VARIABLE */
- 527, /* (659) jlimit_clause_opt ::= */
- 527, /* (660) jlimit_clause_opt ::= JLIMIT NK_INTEGER */
- 529, /* (661) query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */
- 530, /* (662) hint_list ::= */
- 530, /* (663) hint_list ::= NK_HINT */
- 532, /* (664) tag_mode_opt ::= */
- 532, /* (665) tag_mode_opt ::= TAGS */
- 531, /* (666) set_quantifier_opt ::= */
- 531, /* (667) set_quantifier_opt ::= DISTINCT */
- 531, /* (668) set_quantifier_opt ::= ALL */
- 533, /* (669) select_list ::= select_item */
- 533, /* (670) select_list ::= select_list NK_COMMA select_item */
- 541, /* (671) select_item ::= NK_STAR */
- 541, /* (672) select_item ::= common_expression */
- 541, /* (673) select_item ::= common_expression column_alias */
- 541, /* (674) select_item ::= common_expression AS column_alias */
- 541, /* (675) select_item ::= table_name NK_DOT NK_STAR */
- 468, /* (676) where_clause_opt ::= */
- 468, /* (677) where_clause_opt ::= WHERE search_condition */
- 534, /* (678) partition_by_clause_opt ::= */
- 534, /* (679) partition_by_clause_opt ::= PARTITION BY partition_list */
- 542, /* (680) partition_list ::= partition_item */
- 542, /* (681) partition_list ::= partition_list NK_COMMA partition_item */
- 543, /* (682) partition_item ::= expr_or_subquery */
- 543, /* (683) partition_item ::= expr_or_subquery column_alias */
- 543, /* (684) partition_item ::= expr_or_subquery AS column_alias */
- 538, /* (685) twindow_clause_opt ::= */
- 538, /* (686) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */
- 538, /* (687) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */
- 538, /* (688) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */
- 538, /* (689) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt */
- 538, /* (690) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */
- 538, /* (691) twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_RP */
- 538, /* (692) twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */
- 461, /* (693) sliding_opt ::= */
- 461, /* (694) sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */
- 544, /* (695) interval_sliding_duration_literal ::= NK_VARIABLE */
- 544, /* (696) interval_sliding_duration_literal ::= NK_STRING */
- 544, /* (697) interval_sliding_duration_literal ::= NK_INTEGER */
- 537, /* (698) fill_opt ::= */
- 537, /* (699) fill_opt ::= FILL NK_LP fill_mode NK_RP */
- 537, /* (700) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */
- 537, /* (701) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */
- 545, /* (702) fill_mode ::= NONE */
- 545, /* (703) fill_mode ::= PREV */
- 545, /* (704) fill_mode ::= NULL */
- 545, /* (705) fill_mode ::= NULL_F */
- 545, /* (706) fill_mode ::= LINEAR */
- 545, /* (707) fill_mode ::= NEXT */
- 539, /* (708) group_by_clause_opt ::= */
- 539, /* (709) group_by_clause_opt ::= GROUP BY group_by_list */
- 546, /* (710) group_by_list ::= expr_or_subquery */
- 546, /* (711) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */
- 540, /* (712) having_clause_opt ::= */
- 540, /* (713) having_clause_opt ::= HAVING search_condition */
- 535, /* (714) range_opt ::= */
- 535, /* (715) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */
- 535, /* (716) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */
- 536, /* (717) every_opt ::= */
- 536, /* (718) every_opt ::= EVERY NK_LP duration_literal NK_RP */
- 547, /* (719) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */
- 548, /* (720) query_simple ::= query_specification */
- 548, /* (721) query_simple ::= union_query_expression */
- 552, /* (722) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */
- 552, /* (723) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */
- 553, /* (724) query_simple_or_subquery ::= query_simple */
- 553, /* (725) query_simple_or_subquery ::= subquery */
- 467, /* (726) query_or_subquery ::= query_expression */
- 467, /* (727) query_or_subquery ::= subquery */
- 549, /* (728) order_by_clause_opt ::= */
- 549, /* (729) order_by_clause_opt ::= ORDER BY sort_specification_list */
- 550, /* (730) slimit_clause_opt ::= */
- 550, /* (731) slimit_clause_opt ::= SLIMIT NK_INTEGER */
- 550, /* (732) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */
- 550, /* (733) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */
- 551, /* (734) limit_clause_opt ::= */
- 551, /* (735) limit_clause_opt ::= LIMIT NK_INTEGER */
- 551, /* (736) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */
- 551, /* (737) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */
- 521, /* (738) subquery ::= NK_LP query_expression NK_RP */
- 521, /* (739) subquery ::= NK_LP subquery NK_RP */
- 398, /* (740) search_condition ::= common_expression */
- 554, /* (741) sort_specification_list ::= sort_specification */
- 554, /* (742) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */
- 555, /* (743) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */
- 556, /* (744) ordering_specification_opt ::= */
- 556, /* (745) ordering_specification_opt ::= ASC */
- 556, /* (746) ordering_specification_opt ::= DESC */
- 557, /* (747) null_ordering_opt ::= */
- 557, /* (748) null_ordering_opt ::= NULLS FIRST */
- 557, /* (749) null_ordering_opt ::= NULLS LAST */
- 427, /* (750) column_options ::= */
- 427, /* (751) column_options ::= column_options PRIMARY KEY */
- 427, /* (752) column_options ::= column_options ENCODE NK_STRING */
- 427, /* (753) column_options ::= column_options COMPRESS NK_STRING */
- 427, /* (754) column_options ::= column_options LEVEL NK_STRING */
+ 386, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */
+ 386, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */
+ 387, /* (2) account_options ::= */
+ 387, /* (3) account_options ::= account_options PPS literal */
+ 387, /* (4) account_options ::= account_options TSERIES literal */
+ 387, /* (5) account_options ::= account_options STORAGE literal */
+ 387, /* (6) account_options ::= account_options STREAMS literal */
+ 387, /* (7) account_options ::= account_options QTIME literal */
+ 387, /* (8) account_options ::= account_options DBS literal */
+ 387, /* (9) account_options ::= account_options USERS literal */
+ 387, /* (10) account_options ::= account_options CONNS literal */
+ 387, /* (11) account_options ::= account_options STATE literal */
+ 388, /* (12) alter_account_options ::= alter_account_option */
+ 388, /* (13) alter_account_options ::= alter_account_options alter_account_option */
+ 390, /* (14) alter_account_option ::= PASS literal */
+ 390, /* (15) alter_account_option ::= PPS literal */
+ 390, /* (16) alter_account_option ::= TSERIES literal */
+ 390, /* (17) alter_account_option ::= STORAGE literal */
+ 390, /* (18) alter_account_option ::= STREAMS literal */
+ 390, /* (19) alter_account_option ::= QTIME literal */
+ 390, /* (20) alter_account_option ::= DBS literal */
+ 390, /* (21) alter_account_option ::= USERS literal */
+ 390, /* (22) alter_account_option ::= CONNS literal */
+ 390, /* (23) alter_account_option ::= STATE literal */
+ 391, /* (24) ip_range_list ::= NK_STRING */
+ 391, /* (25) ip_range_list ::= ip_range_list NK_COMMA NK_STRING */
+ 392, /* (26) white_list ::= HOST ip_range_list */
+ 393, /* (27) white_list_opt ::= */
+ 393, /* (28) white_list_opt ::= white_list */
+ 394, /* (29) is_import_opt ::= */
+ 394, /* (30) is_import_opt ::= IS_IMPORT NK_INTEGER */
+ 395, /* (31) is_createdb_opt ::= */
+ 395, /* (32) is_createdb_opt ::= CREATEDB NK_INTEGER */
+ 386, /* (33) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt is_createdb_opt is_import_opt white_list_opt */
+ 386, /* (34) cmd ::= ALTER USER user_name PASS NK_STRING */
+ 386, /* (35) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */
+ 386, /* (36) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */
+ 386, /* (37) cmd ::= ALTER USER user_name CREATEDB NK_INTEGER */
+ 386, /* (38) cmd ::= ALTER USER user_name ADD white_list */
+ 386, /* (39) cmd ::= ALTER USER user_name DROP white_list */
+ 386, /* (40) cmd ::= DROP USER user_name */
+ 397, /* (41) sysinfo_opt ::= */
+ 397, /* (42) sysinfo_opt ::= SYSINFO NK_INTEGER */
+ 386, /* (43) cmd ::= GRANT privileges ON priv_level with_opt TO user_name */
+ 386, /* (44) cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */
+ 398, /* (45) privileges ::= ALL */
+ 398, /* (46) privileges ::= priv_type_list */
+ 398, /* (47) privileges ::= SUBSCRIBE */
+ 401, /* (48) priv_type_list ::= priv_type */
+ 401, /* (49) priv_type_list ::= priv_type_list NK_COMMA priv_type */
+ 402, /* (50) priv_type ::= READ */
+ 402, /* (51) priv_type ::= WRITE */
+ 402, /* (52) priv_type ::= ALTER */
+ 399, /* (53) priv_level ::= NK_STAR NK_DOT NK_STAR */
+ 399, /* (54) priv_level ::= db_name NK_DOT NK_STAR */
+ 399, /* (55) priv_level ::= db_name NK_DOT table_name */
+ 399, /* (56) priv_level ::= topic_name */
+ 400, /* (57) with_opt ::= */
+ 400, /* (58) with_opt ::= WITH search_condition */
+ 386, /* (59) cmd ::= CREATE ENCRYPT_KEY NK_STRING */
+ 386, /* (60) cmd ::= CREATE DNODE dnode_endpoint */
+ 386, /* (61) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */
+ 386, /* (62) cmd ::= DROP DNODE NK_INTEGER force_opt */
+ 386, /* (63) cmd ::= DROP DNODE dnode_endpoint force_opt */
+ 386, /* (64) cmd ::= DROP DNODE NK_INTEGER unsafe_opt */
+ 386, /* (65) cmd ::= DROP DNODE dnode_endpoint unsafe_opt */
+ 386, /* (66) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */
+ 386, /* (67) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */
+ 386, /* (68) cmd ::= ALTER ALL DNODES NK_STRING */
+ 386, /* (69) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */
+ 386, /* (70) cmd ::= RESTORE DNODE NK_INTEGER */
+ 407, /* (71) dnode_endpoint ::= NK_STRING */
+ 407, /* (72) dnode_endpoint ::= NK_ID */
+ 407, /* (73) dnode_endpoint ::= NK_IPTOKEN */
+ 408, /* (74) force_opt ::= */
+ 408, /* (75) force_opt ::= FORCE */
+ 409, /* (76) unsafe_opt ::= UNSAFE */
+ 386, /* (77) cmd ::= ALTER CLUSTER NK_STRING */
+ 386, /* (78) cmd ::= ALTER CLUSTER NK_STRING NK_STRING */
+ 386, /* (79) cmd ::= ALTER LOCAL NK_STRING */
+ 386, /* (80) cmd ::= ALTER LOCAL NK_STRING NK_STRING */
+ 386, /* (81) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */
+ 386, /* (82) cmd ::= DROP QNODE ON DNODE NK_INTEGER */
+ 386, /* (83) cmd ::= RESTORE QNODE ON DNODE NK_INTEGER */
+ 386, /* (84) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */
+ 386, /* (85) cmd ::= DROP BNODE ON DNODE NK_INTEGER */
+ 386, /* (86) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */
+ 386, /* (87) cmd ::= DROP SNODE ON DNODE NK_INTEGER */
+ 386, /* (88) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */
+ 386, /* (89) cmd ::= DROP MNODE ON DNODE NK_INTEGER */
+ 386, /* (90) cmd ::= RESTORE MNODE ON DNODE NK_INTEGER */
+ 386, /* (91) cmd ::= RESTORE VNODE ON DNODE NK_INTEGER */
+ 386, /* (92) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */
+ 386, /* (93) cmd ::= DROP DATABASE exists_opt db_name */
+ 386, /* (94) cmd ::= USE db_name */
+ 386, /* (95) cmd ::= ALTER DATABASE db_name alter_db_options */
+ 386, /* (96) cmd ::= FLUSH DATABASE db_name */
+ 386, /* (97) cmd ::= TRIM DATABASE db_name speed_opt */
+ 386, /* (98) cmd ::= S3MIGRATE DATABASE db_name */
+ 386, /* (99) cmd ::= COMPACT DATABASE db_name start_opt end_opt */
+ 410, /* (100) not_exists_opt ::= IF NOT EXISTS */
+ 410, /* (101) not_exists_opt ::= */
+ 412, /* (102) exists_opt ::= IF EXISTS */
+ 412, /* (103) exists_opt ::= */
+ 411, /* (104) db_options ::= */
+ 411, /* (105) db_options ::= db_options BUFFER NK_INTEGER */
+ 411, /* (106) db_options ::= db_options CACHEMODEL NK_STRING */
+ 411, /* (107) db_options ::= db_options CACHESIZE NK_INTEGER */
+ 411, /* (108) db_options ::= db_options COMP NK_INTEGER */
+ 411, /* (109) db_options ::= db_options DURATION NK_INTEGER */
+ 411, /* (110) db_options ::= db_options DURATION NK_VARIABLE */
+ 411, /* (111) db_options ::= db_options MAXROWS NK_INTEGER */
+ 411, /* (112) db_options ::= db_options MINROWS NK_INTEGER */
+ 411, /* (113) db_options ::= db_options KEEP integer_list */
+ 411, /* (114) db_options ::= db_options KEEP variable_list */
+ 411, /* (115) db_options ::= db_options PAGES NK_INTEGER */
+ 411, /* (116) db_options ::= db_options PAGESIZE NK_INTEGER */
+ 411, /* (117) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */
+ 411, /* (118) db_options ::= db_options PRECISION NK_STRING */
+ 411, /* (119) db_options ::= db_options REPLICA NK_INTEGER */
+ 411, /* (120) db_options ::= db_options VGROUPS NK_INTEGER */
+ 411, /* (121) db_options ::= db_options SINGLE_STABLE NK_INTEGER */
+ 411, /* (122) db_options ::= db_options RETENTIONS retention_list */
+ 411, /* (123) db_options ::= db_options SCHEMALESS NK_INTEGER */
+ 411, /* (124) db_options ::= db_options WAL_LEVEL NK_INTEGER */
+ 411, /* (125) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */
+ 411, /* (126) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */
+ 411, /* (127) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */
+ 411, /* (128) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */
+ 411, /* (129) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */
+ 411, /* (130) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */
+ 411, /* (131) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */
+ 411, /* (132) db_options ::= db_options STT_TRIGGER NK_INTEGER */
+ 411, /* (133) db_options ::= db_options TABLE_PREFIX signed */
+ 411, /* (134) db_options ::= db_options TABLE_SUFFIX signed */
+ 411, /* (135) db_options ::= db_options S3_CHUNKSIZE NK_INTEGER */
+ 411, /* (136) db_options ::= db_options S3_KEEPLOCAL NK_INTEGER */
+ 411, /* (137) db_options ::= db_options S3_KEEPLOCAL NK_VARIABLE */
+ 411, /* (138) db_options ::= db_options S3_COMPACT NK_INTEGER */
+ 411, /* (139) db_options ::= db_options KEEP_TIME_OFFSET NK_INTEGER */
+ 411, /* (140) db_options ::= db_options ENCRYPT_ALGORITHM NK_STRING */
+ 413, /* (141) alter_db_options ::= alter_db_option */
+ 413, /* (142) alter_db_options ::= alter_db_options alter_db_option */
+ 421, /* (143) alter_db_option ::= BUFFER NK_INTEGER */
+ 421, /* (144) alter_db_option ::= CACHEMODEL NK_STRING */
+ 421, /* (145) alter_db_option ::= CACHESIZE NK_INTEGER */
+ 421, /* (146) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */
+ 421, /* (147) alter_db_option ::= KEEP integer_list */
+ 421, /* (148) alter_db_option ::= KEEP variable_list */
+ 421, /* (149) alter_db_option ::= PAGES NK_INTEGER */
+ 421, /* (150) alter_db_option ::= REPLICA NK_INTEGER */
+ 421, /* (151) alter_db_option ::= WAL_LEVEL NK_INTEGER */
+ 421, /* (152) alter_db_option ::= STT_TRIGGER NK_INTEGER */
+ 421, /* (153) alter_db_option ::= MINROWS NK_INTEGER */
+ 421, /* (154) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */
+ 421, /* (155) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */
+ 421, /* (156) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */
+ 421, /* (157) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */
+ 421, /* (158) alter_db_option ::= S3_KEEPLOCAL NK_INTEGER */
+ 421, /* (159) alter_db_option ::= S3_KEEPLOCAL NK_VARIABLE */
+ 421, /* (160) alter_db_option ::= S3_COMPACT NK_INTEGER */
+ 421, /* (161) alter_db_option ::= KEEP_TIME_OFFSET NK_INTEGER */
+ 421, /* (162) alter_db_option ::= ENCRYPT_ALGORITHM NK_STRING */
+ 417, /* (163) integer_list ::= NK_INTEGER */
+ 417, /* (164) integer_list ::= integer_list NK_COMMA NK_INTEGER */
+ 418, /* (165) variable_list ::= NK_VARIABLE */
+ 418, /* (166) variable_list ::= variable_list NK_COMMA NK_VARIABLE */
+ 419, /* (167) retention_list ::= retention */
+ 419, /* (168) retention_list ::= retention_list NK_COMMA retention */
+ 422, /* (169) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */
+ 422, /* (170) retention ::= NK_MINUS NK_COLON NK_VARIABLE */
+ 414, /* (171) speed_opt ::= */
+ 414, /* (172) speed_opt ::= BWLIMIT NK_INTEGER */
+ 415, /* (173) start_opt ::= */
+ 415, /* (174) start_opt ::= START WITH NK_INTEGER */
+ 415, /* (175) start_opt ::= START WITH NK_STRING */
+ 415, /* (176) start_opt ::= START WITH TIMESTAMP NK_STRING */
+ 416, /* (177) end_opt ::= */
+ 416, /* (178) end_opt ::= END WITH NK_INTEGER */
+ 416, /* (179) end_opt ::= END WITH NK_STRING */
+ 416, /* (180) end_opt ::= END WITH TIMESTAMP NK_STRING */
+ 386, /* (181) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */
+ 386, /* (182) cmd ::= CREATE TABLE multi_create_clause */
+ 386, /* (183) cmd ::= CREATE TABLE not_exists_opt USING full_table_name NK_LP tag_list_opt NK_RP FILE NK_STRING */
+ 386, /* (184) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */
+ 386, /* (185) cmd ::= DROP TABLE multi_drop_clause */
+ 386, /* (186) cmd ::= DROP STABLE exists_opt full_table_name */
+ 386, /* (187) cmd ::= ALTER TABLE alter_table_clause */
+ 386, /* (188) cmd ::= ALTER STABLE alter_table_clause */
+ 431, /* (189) alter_table_clause ::= full_table_name alter_table_options */
+ 431, /* (190) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name column_options */
+ 431, /* (191) alter_table_clause ::= full_table_name DROP COLUMN column_name */
+ 431, /* (192) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */
+ 431, /* (193) alter_table_clause ::= full_table_name MODIFY COLUMN column_name column_options */
+ 431, /* (194) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */
+ 431, /* (195) alter_table_clause ::= full_table_name ADD TAG column_name type_name */
+ 431, /* (196) alter_table_clause ::= full_table_name DROP TAG column_name */
+ 431, /* (197) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */
+ 431, /* (198) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */
+ 431, /* (199) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ tags_literal */
+ 427, /* (200) multi_create_clause ::= create_subtable_clause */
+ 427, /* (201) multi_create_clause ::= multi_create_clause create_subtable_clause */
+ 437, /* (202) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP tags_literal_list NK_RP table_options */
+ 430, /* (203) multi_drop_clause ::= drop_table_clause */
+ 430, /* (204) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */
+ 440, /* (205) drop_table_clause ::= exists_opt full_table_name */
+ 438, /* (206) specific_cols_opt ::= */
+ 438, /* (207) specific_cols_opt ::= NK_LP col_name_list NK_RP */
+ 423, /* (208) full_table_name ::= table_name */
+ 423, /* (209) full_table_name ::= db_name NK_DOT table_name */
+ 442, /* (210) tag_def_list ::= tag_def */
+ 442, /* (211) tag_def_list ::= tag_def_list NK_COMMA tag_def */
+ 443, /* (212) tag_def ::= column_name type_name */
+ 424, /* (213) column_def_list ::= column_def */
+ 424, /* (214) column_def_list ::= column_def_list NK_COMMA column_def */
+ 444, /* (215) column_def ::= column_name type_name column_options */
+ 434, /* (216) type_name ::= BOOL */
+ 434, /* (217) type_name ::= TINYINT */
+ 434, /* (218) type_name ::= SMALLINT */
+ 434, /* (219) type_name ::= INT */
+ 434, /* (220) type_name ::= INTEGER */
+ 434, /* (221) type_name ::= BIGINT */
+ 434, /* (222) type_name ::= FLOAT */
+ 434, /* (223) type_name ::= DOUBLE */
+ 434, /* (224) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */
+ 434, /* (225) type_name ::= TIMESTAMP */
+ 434, /* (226) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */
+ 434, /* (227) type_name ::= TINYINT UNSIGNED */
+ 434, /* (228) type_name ::= SMALLINT UNSIGNED */
+ 434, /* (229) type_name ::= INT UNSIGNED */
+ 434, /* (230) type_name ::= BIGINT UNSIGNED */
+ 434, /* (231) type_name ::= JSON */
+ 434, /* (232) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */
+ 434, /* (233) type_name ::= MEDIUMBLOB */
+ 434, /* (234) type_name ::= BLOB */
+ 434, /* (235) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */
+ 434, /* (236) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */
+ 434, /* (237) type_name ::= DECIMAL */
+ 434, /* (238) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */
+ 434, /* (239) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */
+ 445, /* (240) type_name_default_len ::= BINARY */
+ 445, /* (241) type_name_default_len ::= NCHAR */
+ 445, /* (242) type_name_default_len ::= VARCHAR */
+ 445, /* (243) type_name_default_len ::= VARBINARY */
+ 425, /* (244) tags_def_opt ::= */
+ 425, /* (245) tags_def_opt ::= tags_def */
+ 429, /* (246) tags_def ::= TAGS NK_LP tag_def_list NK_RP */
+ 426, /* (247) table_options ::= */
+ 426, /* (248) table_options ::= table_options COMMENT NK_STRING */
+ 426, /* (249) table_options ::= table_options MAX_DELAY duration_list */
+ 426, /* (250) table_options ::= table_options WATERMARK duration_list */
+ 426, /* (251) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */
+ 426, /* (252) table_options ::= table_options TTL NK_INTEGER */
+ 426, /* (253) table_options ::= table_options SMA NK_LP col_name_list NK_RP */
+ 426, /* (254) table_options ::= table_options DELETE_MARK duration_list */
+ 432, /* (255) alter_table_options ::= alter_table_option */
+ 432, /* (256) alter_table_options ::= alter_table_options alter_table_option */
+ 448, /* (257) alter_table_option ::= COMMENT NK_STRING */
+ 448, /* (258) alter_table_option ::= TTL NK_INTEGER */
+ 446, /* (259) duration_list ::= duration_literal */
+ 446, /* (260) duration_list ::= duration_list NK_COMMA duration_literal */
+ 447, /* (261) rollup_func_list ::= rollup_func_name */
+ 447, /* (262) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */
+ 450, /* (263) rollup_func_name ::= function_name */
+ 450, /* (264) rollup_func_name ::= FIRST */
+ 450, /* (265) rollup_func_name ::= LAST */
+ 441, /* (266) col_name_list ::= col_name */
+ 441, /* (267) col_name_list ::= col_name_list NK_COMMA col_name */
+ 452, /* (268) col_name ::= column_name */
+ 386, /* (269) cmd ::= SHOW DNODES */
+ 386, /* (270) cmd ::= SHOW USERS */
+ 386, /* (271) cmd ::= SHOW USERS FULL */
+ 386, /* (272) cmd ::= SHOW USER PRIVILEGES */
+ 386, /* (273) cmd ::= SHOW db_kind_opt DATABASES */
+ 386, /* (274) cmd ::= SHOW table_kind_db_name_cond_opt TABLES like_pattern_opt */
+ 386, /* (275) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */
+ 386, /* (276) cmd ::= SHOW db_name_cond_opt VGROUPS */
+ 386, /* (277) cmd ::= SHOW MNODES */
+ 386, /* (278) cmd ::= SHOW QNODES */
+ 386, /* (279) cmd ::= SHOW ARBGROUPS */
+ 386, /* (280) cmd ::= SHOW FUNCTIONS */
+ 386, /* (281) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */
+ 386, /* (282) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */
+ 386, /* (283) cmd ::= SHOW STREAMS */
+ 386, /* (284) cmd ::= SHOW ACCOUNTS */
+ 386, /* (285) cmd ::= SHOW APPS */
+ 386, /* (286) cmd ::= SHOW CONNECTIONS */
+ 386, /* (287) cmd ::= SHOW LICENCES */
+ 386, /* (288) cmd ::= SHOW GRANTS */
+ 386, /* (289) cmd ::= SHOW GRANTS FULL */
+ 386, /* (290) cmd ::= SHOW GRANTS LOGS */
+ 386, /* (291) cmd ::= SHOW CLUSTER MACHINES */
+ 386, /* (292) cmd ::= SHOW CREATE DATABASE db_name */
+ 386, /* (293) cmd ::= SHOW CREATE TABLE full_table_name */
+ 386, /* (294) cmd ::= SHOW CREATE STABLE full_table_name */
+ 386, /* (295) cmd ::= SHOW ENCRYPTIONS */
+ 386, /* (296) cmd ::= SHOW QUERIES */
+ 386, /* (297) cmd ::= SHOW SCORES */
+ 386, /* (298) cmd ::= SHOW TOPICS */
+ 386, /* (299) cmd ::= SHOW VARIABLES */
+ 386, /* (300) cmd ::= SHOW CLUSTER VARIABLES */
+ 386, /* (301) cmd ::= SHOW LOCAL VARIABLES */
+ 386, /* (302) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */
+ 386, /* (303) cmd ::= SHOW BNODES */
+ 386, /* (304) cmd ::= SHOW SNODES */
+ 386, /* (305) cmd ::= SHOW CLUSTER */
+ 386, /* (306) cmd ::= SHOW TRANSACTIONS */
+ 386, /* (307) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */
+ 386, /* (308) cmd ::= SHOW CONSUMERS */
+ 386, /* (309) cmd ::= SHOW SUBSCRIPTIONS */
+ 386, /* (310) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */
+ 386, /* (311) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */
+ 386, /* (312) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */
+ 386, /* (313) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */
+ 386, /* (314) cmd ::= SHOW VNODES ON DNODE NK_INTEGER */
+ 386, /* (315) cmd ::= SHOW VNODES */
+ 386, /* (316) cmd ::= SHOW db_name_cond_opt ALIVE */
+ 386, /* (317) cmd ::= SHOW CLUSTER ALIVE */
+ 386, /* (318) cmd ::= SHOW db_name_cond_opt VIEWS like_pattern_opt */
+ 386, /* (319) cmd ::= SHOW CREATE VIEW full_table_name */
+ 386, /* (320) cmd ::= SHOW COMPACTS */
+ 386, /* (321) cmd ::= SHOW COMPACT NK_INTEGER */
+ 454, /* (322) table_kind_db_name_cond_opt ::= */
+ 454, /* (323) table_kind_db_name_cond_opt ::= table_kind */
+ 454, /* (324) table_kind_db_name_cond_opt ::= db_name NK_DOT */
+ 454, /* (325) table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT */
+ 459, /* (326) table_kind ::= NORMAL */
+ 459, /* (327) table_kind ::= CHILD */
+ 456, /* (328) db_name_cond_opt ::= */
+ 456, /* (329) db_name_cond_opt ::= db_name NK_DOT */
+ 455, /* (330) like_pattern_opt ::= */
+ 455, /* (331) like_pattern_opt ::= LIKE NK_STRING */
+ 457, /* (332) table_name_cond ::= table_name */
+ 458, /* (333) from_db_opt ::= */
+ 458, /* (334) from_db_opt ::= FROM db_name */
+ 428, /* (335) tag_list_opt ::= */
+ 428, /* (336) tag_list_opt ::= tag_item */
+ 428, /* (337) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */
+ 460, /* (338) tag_item ::= TBNAME */
+ 460, /* (339) tag_item ::= QTAGS */
+ 460, /* (340) tag_item ::= column_name */
+ 460, /* (341) tag_item ::= column_name column_alias */
+ 460, /* (342) tag_item ::= column_name AS column_alias */
+ 453, /* (343) db_kind_opt ::= */
+ 453, /* (344) db_kind_opt ::= USER */
+ 453, /* (345) db_kind_opt ::= SYSTEM */
+ 386, /* (346) cmd ::= CREATE TSMA not_exists_opt tsma_name ON full_table_name tsma_func_list INTERVAL NK_LP duration_literal NK_RP */
+ 386, /* (347) cmd ::= CREATE RECURSIVE TSMA not_exists_opt tsma_name ON full_table_name INTERVAL NK_LP duration_literal NK_RP */
+ 386, /* (348) cmd ::= DROP TSMA exists_opt full_tsma_name */
+ 386, /* (349) cmd ::= SHOW db_name_cond_opt TSMAS */
+ 464, /* (350) full_tsma_name ::= tsma_name */
+ 464, /* (351) full_tsma_name ::= db_name NK_DOT tsma_name */
+ 463, /* (352) tsma_func_list ::= FUNCTION NK_LP func_list NK_RP */
+ 386, /* (353) cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */
+ 386, /* (354) cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */
+ 386, /* (355) cmd ::= DROP INDEX exists_opt full_index_name */
+ 467, /* (356) full_index_name ::= index_name */
+ 467, /* (357) full_index_name ::= db_name NK_DOT index_name */
+ 466, /* (358) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */
+ 466, /* (359) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */
+ 465, /* (360) func_list ::= func */
+ 465, /* (361) func_list ::= func_list NK_COMMA func */
+ 471, /* (362) func ::= sma_func_name NK_LP expression_list NK_RP */
+ 472, /* (363) sma_func_name ::= function_name */
+ 472, /* (364) sma_func_name ::= COUNT */
+ 472, /* (365) sma_func_name ::= FIRST */
+ 472, /* (366) sma_func_name ::= LAST */
+ 472, /* (367) sma_func_name ::= LAST_ROW */
+ 470, /* (368) sma_stream_opt ::= */
+ 470, /* (369) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */
+ 470, /* (370) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */
+ 470, /* (371) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */
+ 474, /* (372) with_meta ::= AS */
+ 474, /* (373) with_meta ::= WITH META AS */
+ 474, /* (374) with_meta ::= ONLY META AS */
+ 386, /* (375) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */
+ 386, /* (376) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */
+ 386, /* (377) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */
+ 386, /* (378) cmd ::= DROP TOPIC exists_opt topic_name */
+ 386, /* (379) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */
+ 386, /* (380) cmd ::= DESC full_table_name */
+ 386, /* (381) cmd ::= DESCRIBE full_table_name */
+ 386, /* (382) cmd ::= RESET QUERY CACHE */
+ 386, /* (383) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */
+ 386, /* (384) cmd ::= EXPLAIN analyze_opt explain_options insert_query */
+ 478, /* (385) analyze_opt ::= */
+ 478, /* (386) analyze_opt ::= ANALYZE */
+ 479, /* (387) explain_options ::= */
+ 479, /* (388) explain_options ::= explain_options VERBOSE NK_BOOL */
+ 479, /* (389) explain_options ::= explain_options RATIO NK_FLOAT */
+ 386, /* (390) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */
+ 386, /* (391) cmd ::= DROP FUNCTION exists_opt function_name */
+ 482, /* (392) agg_func_opt ::= */
+ 482, /* (393) agg_func_opt ::= AGGREGATE */
+ 483, /* (394) bufsize_opt ::= */
+ 483, /* (395) bufsize_opt ::= BUFSIZE NK_INTEGER */
+ 484, /* (396) language_opt ::= */
+ 484, /* (397) language_opt ::= LANGUAGE NK_STRING */
+ 481, /* (398) or_replace_opt ::= */
+ 481, /* (399) or_replace_opt ::= OR REPLACE */
+ 386, /* (400) cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */
+ 386, /* (401) cmd ::= DROP VIEW exists_opt full_view_name */
+ 485, /* (402) full_view_name ::= view_name */
+ 485, /* (403) full_view_name ::= db_name NK_DOT view_name */
+ 386, /* (404) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */
+ 386, /* (405) cmd ::= DROP STREAM exists_opt stream_name */
+ 386, /* (406) cmd ::= PAUSE STREAM exists_opt stream_name */
+ 386, /* (407) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */
+ 489, /* (408) col_list_opt ::= */
+ 489, /* (409) col_list_opt ::= NK_LP column_stream_def_list NK_RP */
+ 493, /* (410) column_stream_def_list ::= column_stream_def */
+ 493, /* (411) column_stream_def_list ::= column_stream_def_list NK_COMMA column_stream_def */
+ 494, /* (412) column_stream_def ::= column_name stream_col_options */
+ 495, /* (413) stream_col_options ::= */
+ 495, /* (414) stream_col_options ::= stream_col_options PRIMARY KEY */
+ 490, /* (415) tag_def_or_ref_opt ::= */
+ 490, /* (416) tag_def_or_ref_opt ::= tags_def */
+ 490, /* (417) tag_def_or_ref_opt ::= TAGS NK_LP column_stream_def_list NK_RP */
+ 488, /* (418) stream_options ::= */
+ 488, /* (419) stream_options ::= stream_options TRIGGER AT_ONCE */
+ 488, /* (420) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */
+ 488, /* (421) stream_options ::= stream_options TRIGGER FORCE_WINDOW_CLOSE */
+ 488, /* (422) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */
+ 488, /* (423) stream_options ::= stream_options WATERMARK duration_literal */
+ 488, /* (424) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */
+ 488, /* (425) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */
+ 488, /* (426) stream_options ::= stream_options DELETE_MARK duration_literal */
+ 488, /* (427) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */
+ 491, /* (428) subtable_opt ::= */
+ 491, /* (429) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */
+ 492, /* (430) ignore_opt ::= */
+ 492, /* (431) ignore_opt ::= IGNORE UNTREATED */
+ 386, /* (432) cmd ::= KILL CONNECTION NK_INTEGER */
+ 386, /* (433) cmd ::= KILL QUERY NK_STRING */
+ 386, /* (434) cmd ::= KILL TRANSACTION NK_INTEGER */
+ 386, /* (435) cmd ::= KILL COMPACT NK_INTEGER */
+ 386, /* (436) cmd ::= BALANCE VGROUP */
+ 386, /* (437) cmd ::= BALANCE VGROUP LEADER on_vgroup_id */
+ 386, /* (438) cmd ::= BALANCE VGROUP LEADER DATABASE db_name */
+ 386, /* (439) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */
+ 386, /* (440) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */
+ 386, /* (441) cmd ::= SPLIT VGROUP NK_INTEGER */
+ 497, /* (442) on_vgroup_id ::= */
+ 497, /* (443) on_vgroup_id ::= ON NK_INTEGER */
+ 498, /* (444) dnode_list ::= DNODE NK_INTEGER */
+ 498, /* (445) dnode_list ::= dnode_list DNODE NK_INTEGER */
+ 386, /* (446) cmd ::= DELETE FROM full_table_name where_clause_opt */
+ 386, /* (447) cmd ::= query_or_subquery */
+ 386, /* (448) cmd ::= insert_query */
+ 480, /* (449) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */
+ 480, /* (450) insert_query ::= INSERT INTO full_table_name query_or_subquery */
+ 436, /* (451) tags_literal ::= NK_INTEGER */
+ 436, /* (452) tags_literal ::= NK_INTEGER NK_PLUS duration_literal */
+ 436, /* (453) tags_literal ::= NK_INTEGER NK_MINUS duration_literal */
+ 436, /* (454) tags_literal ::= NK_PLUS NK_INTEGER */
+ 436, /* (455) tags_literal ::= NK_PLUS NK_INTEGER NK_PLUS duration_literal */
+ 436, /* (456) tags_literal ::= NK_PLUS NK_INTEGER NK_MINUS duration_literal */
+ 436, /* (457) tags_literal ::= NK_MINUS NK_INTEGER */
+ 436, /* (458) tags_literal ::= NK_MINUS NK_INTEGER NK_PLUS duration_literal */
+ 436, /* (459) tags_literal ::= NK_MINUS NK_INTEGER NK_MINUS duration_literal */
+ 436, /* (460) tags_literal ::= NK_FLOAT */
+ 436, /* (461) tags_literal ::= NK_PLUS NK_FLOAT */
+ 436, /* (462) tags_literal ::= NK_MINUS NK_FLOAT */
+ 436, /* (463) tags_literal ::= NK_BIN */
+ 436, /* (464) tags_literal ::= NK_BIN NK_PLUS duration_literal */
+ 436, /* (465) tags_literal ::= NK_BIN NK_MINUS duration_literal */
+ 436, /* (466) tags_literal ::= NK_PLUS NK_BIN */
+ 436, /* (467) tags_literal ::= NK_PLUS NK_BIN NK_PLUS duration_literal */
+ 436, /* (468) tags_literal ::= NK_PLUS NK_BIN NK_MINUS duration_literal */
+ 436, /* (469) tags_literal ::= NK_MINUS NK_BIN */
+ 436, /* (470) tags_literal ::= NK_MINUS NK_BIN NK_PLUS duration_literal */
+ 436, /* (471) tags_literal ::= NK_MINUS NK_BIN NK_MINUS duration_literal */
+ 436, /* (472) tags_literal ::= NK_HEX */
+ 436, /* (473) tags_literal ::= NK_HEX NK_PLUS duration_literal */
+ 436, /* (474) tags_literal ::= NK_HEX NK_MINUS duration_literal */
+ 436, /* (475) tags_literal ::= NK_PLUS NK_HEX */
+ 436, /* (476) tags_literal ::= NK_PLUS NK_HEX NK_PLUS duration_literal */
+ 436, /* (477) tags_literal ::= NK_PLUS NK_HEX NK_MINUS duration_literal */
+ 436, /* (478) tags_literal ::= NK_MINUS NK_HEX */
+ 436, /* (479) tags_literal ::= NK_MINUS NK_HEX NK_PLUS duration_literal */
+ 436, /* (480) tags_literal ::= NK_MINUS NK_HEX NK_MINUS duration_literal */
+ 436, /* (481) tags_literal ::= NK_STRING */
+ 436, /* (482) tags_literal ::= NK_STRING NK_PLUS duration_literal */
+ 436, /* (483) tags_literal ::= NK_STRING NK_MINUS duration_literal */
+ 436, /* (484) tags_literal ::= NK_BOOL */
+ 436, /* (485) tags_literal ::= NULL */
+ 436, /* (486) tags_literal ::= literal_func */
+ 436, /* (487) tags_literal ::= literal_func NK_PLUS duration_literal */
+ 436, /* (488) tags_literal ::= literal_func NK_MINUS duration_literal */
+ 439, /* (489) tags_literal_list ::= tags_literal */
+ 439, /* (490) tags_literal_list ::= tags_literal_list NK_COMMA tags_literal */
+ 389, /* (491) literal ::= NK_INTEGER */
+ 389, /* (492) literal ::= NK_FLOAT */
+ 389, /* (493) literal ::= NK_STRING */
+ 389, /* (494) literal ::= NK_BOOL */
+ 389, /* (495) literal ::= TIMESTAMP NK_STRING */
+ 389, /* (496) literal ::= duration_literal */
+ 389, /* (497) literal ::= NULL */
+ 389, /* (498) literal ::= NK_QUESTION */
+ 449, /* (499) duration_literal ::= NK_VARIABLE */
+ 420, /* (500) signed ::= NK_INTEGER */
+ 420, /* (501) signed ::= NK_PLUS NK_INTEGER */
+ 420, /* (502) signed ::= NK_MINUS NK_INTEGER */
+ 420, /* (503) signed ::= NK_FLOAT */
+ 420, /* (504) signed ::= NK_PLUS NK_FLOAT */
+ 420, /* (505) signed ::= NK_MINUS NK_FLOAT */
+ 500, /* (506) signed_literal ::= signed */
+ 500, /* (507) signed_literal ::= NK_STRING */
+ 500, /* (508) signed_literal ::= NK_BOOL */
+ 500, /* (509) signed_literal ::= TIMESTAMP NK_STRING */
+ 500, /* (510) signed_literal ::= duration_literal */
+ 500, /* (511) signed_literal ::= NULL */
+ 500, /* (512) signed_literal ::= literal_func */
+ 500, /* (513) signed_literal ::= NK_QUESTION */
+ 501, /* (514) literal_list ::= signed_literal */
+ 501, /* (515) literal_list ::= literal_list NK_COMMA signed_literal */
+ 403, /* (516) db_name ::= NK_ID */
+ 404, /* (517) table_name ::= NK_ID */
+ 433, /* (518) column_name ::= NK_ID */
+ 451, /* (519) function_name ::= NK_ID */
+ 486, /* (520) view_name ::= NK_ID */
+ 502, /* (521) table_alias ::= NK_ID */
+ 461, /* (522) column_alias ::= NK_ID */
+ 461, /* (523) column_alias ::= NK_ALIAS */
+ 396, /* (524) user_name ::= NK_ID */
+ 405, /* (525) topic_name ::= NK_ID */
+ 487, /* (526) stream_name ::= NK_ID */
+ 477, /* (527) cgroup_name ::= NK_ID */
+ 468, /* (528) index_name ::= NK_ID */
+ 462, /* (529) tsma_name ::= NK_ID */
+ 503, /* (530) expr_or_subquery ::= expression */
+ 496, /* (531) expression ::= literal */
+ 496, /* (532) expression ::= pseudo_column */
+ 496, /* (533) expression ::= column_reference */
+ 496, /* (534) expression ::= function_expression */
+ 496, /* (535) expression ::= case_when_expression */
+ 496, /* (536) expression ::= NK_LP expression NK_RP */
+ 496, /* (537) expression ::= NK_PLUS expr_or_subquery */
+ 496, /* (538) expression ::= NK_MINUS expr_or_subquery */
+ 496, /* (539) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */
+ 496, /* (540) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */
+ 496, /* (541) expression ::= expr_or_subquery NK_STAR expr_or_subquery */
+ 496, /* (542) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */
+ 496, /* (543) expression ::= expr_or_subquery NK_REM expr_or_subquery */
+ 496, /* (544) expression ::= column_reference NK_ARROW NK_STRING */
+ 496, /* (545) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */
+ 496, /* (546) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */
+ 473, /* (547) expression_list ::= expr_or_subquery */
+ 473, /* (548) expression_list ::= expression_list NK_COMMA expr_or_subquery */
+ 505, /* (549) column_reference ::= column_name */
+ 505, /* (550) column_reference ::= table_name NK_DOT column_name */
+ 505, /* (551) column_reference ::= NK_ALIAS */
+ 505, /* (552) column_reference ::= table_name NK_DOT NK_ALIAS */
+ 504, /* (553) pseudo_column ::= ROWTS */
+ 504, /* (554) pseudo_column ::= TBNAME */
+ 504, /* (555) pseudo_column ::= table_name NK_DOT TBNAME */
+ 504, /* (556) pseudo_column ::= QSTART */
+ 504, /* (557) pseudo_column ::= QEND */
+ 504, /* (558) pseudo_column ::= QDURATION */
+ 504, /* (559) pseudo_column ::= WSTART */
+ 504, /* (560) pseudo_column ::= WEND */
+ 504, /* (561) pseudo_column ::= WDURATION */
+ 504, /* (562) pseudo_column ::= IROWTS */
+ 504, /* (563) pseudo_column ::= ISFILLED */
+ 504, /* (564) pseudo_column ::= QTAGS */
+ 506, /* (565) function_expression ::= function_name NK_LP expression_list NK_RP */
+ 506, /* (566) function_expression ::= star_func NK_LP star_func_para_list NK_RP */
+ 506, /* (567) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */
+ 506, /* (568) function_expression ::= CAST NK_LP expr_or_subquery AS type_name_default_len NK_RP */
+ 506, /* (569) function_expression ::= POSITION NK_LP expr_or_subquery IN expr_or_subquery NK_RP */
+ 506, /* (570) function_expression ::= TRIM NK_LP expr_or_subquery NK_RP */
+ 506, /* (571) function_expression ::= TRIM NK_LP trim_specification_type FROM expr_or_subquery NK_RP */
+ 506, /* (572) function_expression ::= TRIM NK_LP trim_specification_type expr_or_subquery FROM expr_or_subquery NK_RP */
+ 506, /* (573) function_expression ::= substr_func NK_LP expression_list NK_RP */
+ 506, /* (574) function_expression ::= substr_func NK_LP expr_or_subquery FROM expr_or_subquery NK_RP */
+ 506, /* (575) function_expression ::= substr_func NK_LP expr_or_subquery FROM expr_or_subquery FOR expr_or_subquery NK_RP */
+ 506, /* (576) function_expression ::= REPLACE NK_LP expression_list NK_RP */
+ 506, /* (577) function_expression ::= literal_func */
+ 499, /* (578) literal_func ::= noarg_func NK_LP NK_RP */
+ 499, /* (579) literal_func ::= NOW */
+ 499, /* (580) literal_func ::= TODAY */
+ 511, /* (581) substr_func ::= SUBSTR */
+ 511, /* (582) substr_func ::= SUBSTRING */
+ 510, /* (583) trim_specification_type ::= */
+ 510, /* (584) trim_specification_type ::= BOTH */
+ 510, /* (585) trim_specification_type ::= TRAILING */
+ 510, /* (586) trim_specification_type ::= LEADING */
+ 512, /* (587) noarg_func ::= NOW */
+ 512, /* (588) noarg_func ::= TODAY */
+ 512, /* (589) noarg_func ::= TIMEZONE */
+ 512, /* (590) noarg_func ::= DATABASE */
+ 512, /* (591) noarg_func ::= CLIENT_VERSION */
+ 512, /* (592) noarg_func ::= SERVER_VERSION */
+ 512, /* (593) noarg_func ::= SERVER_STATUS */
+ 512, /* (594) noarg_func ::= CURRENT_USER */
+ 512, /* (595) noarg_func ::= USER */
+ 512, /* (596) noarg_func ::= PI */
+ 508, /* (597) star_func ::= COUNT */
+ 508, /* (598) star_func ::= FIRST */
+ 508, /* (599) star_func ::= LAST */
+ 508, /* (600) star_func ::= LAST_ROW */
+ 509, /* (601) star_func_para_list ::= NK_STAR */
+ 509, /* (602) star_func_para_list ::= other_para_list */
+ 513, /* (603) other_para_list ::= star_func_para */
+ 513, /* (604) other_para_list ::= other_para_list NK_COMMA star_func_para */
+ 514, /* (605) star_func_para ::= expr_or_subquery */
+ 514, /* (606) star_func_para ::= table_name NK_DOT NK_STAR */
+ 507, /* (607) case_when_expression ::= CASE when_then_list case_when_else_opt END */
+ 507, /* (608) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */
+ 515, /* (609) when_then_list ::= when_then_expr */
+ 515, /* (610) when_then_list ::= when_then_list when_then_expr */
+ 518, /* (611) when_then_expr ::= WHEN common_expression THEN common_expression */
+ 516, /* (612) case_when_else_opt ::= */
+ 516, /* (613) case_when_else_opt ::= ELSE common_expression */
+ 519, /* (614) predicate ::= expr_or_subquery compare_op expr_or_subquery */
+ 519, /* (615) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */
+ 519, /* (616) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */
+ 519, /* (617) predicate ::= expr_or_subquery IS NULL */
+ 519, /* (618) predicate ::= expr_or_subquery IS NOT NULL */
+ 519, /* (619) predicate ::= expr_or_subquery in_op in_predicate_value */
+ 520, /* (620) compare_op ::= NK_LT */
+ 520, /* (621) compare_op ::= NK_GT */
+ 520, /* (622) compare_op ::= NK_LE */
+ 520, /* (623) compare_op ::= NK_GE */
+ 520, /* (624) compare_op ::= NK_NE */
+ 520, /* (625) compare_op ::= NK_EQ */
+ 520, /* (626) compare_op ::= LIKE */
+ 520, /* (627) compare_op ::= NOT LIKE */
+ 520, /* (628) compare_op ::= MATCH */
+ 520, /* (629) compare_op ::= NMATCH */
+ 520, /* (630) compare_op ::= CONTAINS */
+ 521, /* (631) in_op ::= IN */
+ 521, /* (632) in_op ::= NOT IN */
+ 522, /* (633) in_predicate_value ::= NK_LP literal_list NK_RP */
+ 523, /* (634) boolean_value_expression ::= boolean_primary */
+ 523, /* (635) boolean_value_expression ::= NOT boolean_primary */
+ 523, /* (636) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */
+ 523, /* (637) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */
+ 524, /* (638) boolean_primary ::= predicate */
+ 524, /* (639) boolean_primary ::= NK_LP boolean_value_expression NK_RP */
+ 517, /* (640) common_expression ::= expr_or_subquery */
+ 517, /* (641) common_expression ::= boolean_value_expression */
+ 525, /* (642) from_clause_opt ::= */
+ 525, /* (643) from_clause_opt ::= FROM table_reference_list */
+ 526, /* (644) table_reference_list ::= table_reference */
+ 526, /* (645) table_reference_list ::= table_reference_list NK_COMMA table_reference */
+ 527, /* (646) table_reference ::= table_primary */
+ 527, /* (647) table_reference ::= joined_table */
+ 528, /* (648) table_primary ::= table_name alias_opt */
+ 528, /* (649) table_primary ::= db_name NK_DOT table_name alias_opt */
+ 528, /* (650) table_primary ::= subquery alias_opt */
+ 528, /* (651) table_primary ::= parenthesized_joined_table */
+ 530, /* (652) alias_opt ::= */
+ 530, /* (653) alias_opt ::= table_alias */
+ 530, /* (654) alias_opt ::= AS table_alias */
+ 532, /* (655) parenthesized_joined_table ::= NK_LP joined_table NK_RP */
+ 532, /* (656) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */
+ 529, /* (657) joined_table ::= table_reference join_type join_subtype JOIN table_reference join_on_clause_opt window_offset_clause_opt jlimit_clause_opt */
+ 533, /* (658) join_type ::= */
+ 533, /* (659) join_type ::= INNER */
+ 533, /* (660) join_type ::= LEFT */
+ 533, /* (661) join_type ::= RIGHT */
+ 533, /* (662) join_type ::= FULL */
+ 534, /* (663) join_subtype ::= */
+ 534, /* (664) join_subtype ::= OUTER */
+ 534, /* (665) join_subtype ::= SEMI */
+ 534, /* (666) join_subtype ::= ANTI */
+ 534, /* (667) join_subtype ::= ASOF */
+ 534, /* (668) join_subtype ::= WINDOW */
+ 535, /* (669) join_on_clause_opt ::= */
+ 535, /* (670) join_on_clause_opt ::= ON search_condition */
+ 536, /* (671) window_offset_clause_opt ::= */
+ 536, /* (672) window_offset_clause_opt ::= WINDOW_OFFSET NK_LP window_offset_literal NK_COMMA window_offset_literal NK_RP */
+ 538, /* (673) window_offset_literal ::= NK_VARIABLE */
+ 538, /* (674) window_offset_literal ::= NK_MINUS NK_VARIABLE */
+ 537, /* (675) jlimit_clause_opt ::= */
+ 537, /* (676) jlimit_clause_opt ::= JLIMIT NK_INTEGER */
+ 539, /* (677) query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */
+ 540, /* (678) hint_list ::= */
+ 540, /* (679) hint_list ::= NK_HINT */
+ 542, /* (680) tag_mode_opt ::= */
+ 542, /* (681) tag_mode_opt ::= TAGS */
+ 541, /* (682) set_quantifier_opt ::= */
+ 541, /* (683) set_quantifier_opt ::= DISTINCT */
+ 541, /* (684) set_quantifier_opt ::= ALL */
+ 543, /* (685) select_list ::= select_item */
+ 543, /* (686) select_list ::= select_list NK_COMMA select_item */
+ 551, /* (687) select_item ::= NK_STAR */
+ 551, /* (688) select_item ::= common_expression */
+ 551, /* (689) select_item ::= common_expression column_alias */
+ 551, /* (690) select_item ::= common_expression AS column_alias */
+ 551, /* (691) select_item ::= table_name NK_DOT NK_STAR */
+ 476, /* (692) where_clause_opt ::= */
+ 476, /* (693) where_clause_opt ::= WHERE search_condition */
+ 544, /* (694) partition_by_clause_opt ::= */
+ 544, /* (695) partition_by_clause_opt ::= PARTITION BY partition_list */
+ 552, /* (696) partition_list ::= partition_item */
+ 552, /* (697) partition_list ::= partition_list NK_COMMA partition_item */
+ 553, /* (698) partition_item ::= expr_or_subquery */
+ 553, /* (699) partition_item ::= expr_or_subquery column_alias */
+ 553, /* (700) partition_item ::= expr_or_subquery AS column_alias */
+ 548, /* (701) twindow_clause_opt ::= */
+ 548, /* (702) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */
+ 548, /* (703) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */
+ 548, /* (704) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */
+ 548, /* (705) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt */
+ 548, /* (706) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */
+ 548, /* (707) twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_RP */
+ 548, /* (708) twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */
+ 469, /* (709) sliding_opt ::= */
+ 469, /* (710) sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */
+ 554, /* (711) interval_sliding_duration_literal ::= NK_VARIABLE */
+ 554, /* (712) interval_sliding_duration_literal ::= NK_STRING */
+ 554, /* (713) interval_sliding_duration_literal ::= NK_INTEGER */
+ 547, /* (714) fill_opt ::= */
+ 547, /* (715) fill_opt ::= FILL NK_LP fill_mode NK_RP */
+ 547, /* (716) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */
+ 547, /* (717) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */
+ 555, /* (718) fill_mode ::= NONE */
+ 555, /* (719) fill_mode ::= PREV */
+ 555, /* (720) fill_mode ::= NULL */
+ 555, /* (721) fill_mode ::= NULL_F */
+ 555, /* (722) fill_mode ::= LINEAR */
+ 555, /* (723) fill_mode ::= NEXT */
+ 549, /* (724) group_by_clause_opt ::= */
+ 549, /* (725) group_by_clause_opt ::= GROUP BY group_by_list */
+ 556, /* (726) group_by_list ::= expr_or_subquery */
+ 556, /* (727) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */
+ 550, /* (728) having_clause_opt ::= */
+ 550, /* (729) having_clause_opt ::= HAVING search_condition */
+ 545, /* (730) range_opt ::= */
+ 545, /* (731) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */
+ 545, /* (732) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */
+ 546, /* (733) every_opt ::= */
+ 546, /* (734) every_opt ::= EVERY NK_LP duration_literal NK_RP */
+ 557, /* (735) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */
+ 558, /* (736) query_simple ::= query_specification */
+ 558, /* (737) query_simple ::= union_query_expression */
+ 562, /* (738) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */
+ 562, /* (739) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */
+ 563, /* (740) query_simple_or_subquery ::= query_simple */
+ 563, /* (741) query_simple_or_subquery ::= subquery */
+ 475, /* (742) query_or_subquery ::= query_expression */
+ 475, /* (743) query_or_subquery ::= subquery */
+ 559, /* (744) order_by_clause_opt ::= */
+ 559, /* (745) order_by_clause_opt ::= ORDER BY sort_specification_list */
+ 560, /* (746) slimit_clause_opt ::= */
+ 560, /* (747) slimit_clause_opt ::= SLIMIT NK_INTEGER */
+ 560, /* (748) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */
+ 560, /* (749) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */
+ 561, /* (750) limit_clause_opt ::= */
+ 561, /* (751) limit_clause_opt ::= LIMIT NK_INTEGER */
+ 561, /* (752) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */
+ 561, /* (753) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */
+ 531, /* (754) subquery ::= NK_LP query_expression NK_RP */
+ 531, /* (755) subquery ::= NK_LP subquery NK_RP */
+ 406, /* (756) search_condition ::= common_expression */
+ 564, /* (757) sort_specification_list ::= sort_specification */
+ 564, /* (758) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */
+ 565, /* (759) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */
+ 566, /* (760) ordering_specification_opt ::= */
+ 566, /* (761) ordering_specification_opt ::= ASC */
+ 566, /* (762) ordering_specification_opt ::= DESC */
+ 567, /* (763) null_ordering_opt ::= */
+ 567, /* (764) null_ordering_opt ::= NULLS FIRST */
+ 567, /* (765) null_ordering_opt ::= NULLS LAST */
+ 435, /* (766) column_options ::= */
+ 435, /* (767) column_options ::= column_options PRIMARY KEY */
+ 435, /* (768) column_options ::= column_options ENCODE NK_STRING */
+ 435, /* (769) column_options ::= column_options COMPRESS NK_STRING */
+ 435, /* (770) column_options ::= column_options LEVEL NK_STRING */
};
/* For rule J, yyRuleInfoNRhs[J] contains the negative of the number
** of symbols on the right-hand side of that rule. */
static const signed char yyRuleInfoNRhs[] = {
- -6, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */
- -4, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */
+ -6, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */
+ -4, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */
0, /* (2) account_options ::= */
- -3, /* (3) account_options ::= account_options PPS literal */
- -3, /* (4) account_options ::= account_options TSERIES literal */
- -3, /* (5) account_options ::= account_options STORAGE literal */
- -3, /* (6) account_options ::= account_options STREAMS literal */
- -3, /* (7) account_options ::= account_options QTIME literal */
- -3, /* (8) account_options ::= account_options DBS literal */
- -3, /* (9) account_options ::= account_options USERS literal */
- -3, /* (10) account_options ::= account_options CONNS literal */
- -3, /* (11) account_options ::= account_options STATE literal */
- -1, /* (12) alter_account_options ::= alter_account_option */
- -2, /* (13) alter_account_options ::= alter_account_options alter_account_option */
- -2, /* (14) alter_account_option ::= PASS literal */
- -2, /* (15) alter_account_option ::= PPS literal */
- -2, /* (16) alter_account_option ::= TSERIES literal */
- -2, /* (17) alter_account_option ::= STORAGE literal */
- -2, /* (18) alter_account_option ::= STREAMS literal */
- -2, /* (19) alter_account_option ::= QTIME literal */
- -2, /* (20) alter_account_option ::= DBS literal */
- -2, /* (21) alter_account_option ::= USERS literal */
- -2, /* (22) alter_account_option ::= CONNS literal */
- -2, /* (23) alter_account_option ::= STATE literal */
- -1, /* (24) ip_range_list ::= NK_STRING */
- -3, /* (25) ip_range_list ::= ip_range_list NK_COMMA NK_STRING */
- -2, /* (26) white_list ::= HOST ip_range_list */
+ -3, /* (3) account_options ::= account_options PPS literal */
+ -3, /* (4) account_options ::= account_options TSERIES literal */
+ -3, /* (5) account_options ::= account_options STORAGE literal */
+ -3, /* (6) account_options ::= account_options STREAMS literal */
+ -3, /* (7) account_options ::= account_options QTIME literal */
+ -3, /* (8) account_options ::= account_options DBS literal */
+ -3, /* (9) account_options ::= account_options USERS literal */
+ -3, /* (10) account_options ::= account_options CONNS literal */
+ -3, /* (11) account_options ::= account_options STATE literal */
+ -1, /* (12) alter_account_options ::= alter_account_option */
+ -2, /* (13) alter_account_options ::= alter_account_options alter_account_option */
+ -2, /* (14) alter_account_option ::= PASS literal */
+ -2, /* (15) alter_account_option ::= PPS literal */
+ -2, /* (16) alter_account_option ::= TSERIES literal */
+ -2, /* (17) alter_account_option ::= STORAGE literal */
+ -2, /* (18) alter_account_option ::= STREAMS literal */
+ -2, /* (19) alter_account_option ::= QTIME literal */
+ -2, /* (20) alter_account_option ::= DBS literal */
+ -2, /* (21) alter_account_option ::= USERS literal */
+ -2, /* (22) alter_account_option ::= CONNS literal */
+ -2, /* (23) alter_account_option ::= STATE literal */
+ -1, /* (24) ip_range_list ::= NK_STRING */
+ -3, /* (25) ip_range_list ::= ip_range_list NK_COMMA NK_STRING */
+ -2, /* (26) white_list ::= HOST ip_range_list */
0, /* (27) white_list_opt ::= */
- -1, /* (28) white_list_opt ::= white_list */
+ -1, /* (28) white_list_opt ::= white_list */
0, /* (29) is_import_opt ::= */
- -2, /* (30) is_import_opt ::= IS_IMPORT NK_INTEGER */
+ -2, /* (30) is_import_opt ::= IS_IMPORT NK_INTEGER */
0, /* (31) is_createdb_opt ::= */
- -2, /* (32) is_createdb_opt ::= CREATEDB NK_INTEGER */
- -9, /* (33) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt is_createdb_opt is_import_opt white_list_opt */
- -5, /* (34) cmd ::= ALTER USER user_name PASS NK_STRING */
- -5, /* (35) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */
- -5, /* (36) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */
- -5, /* (37) cmd ::= ALTER USER user_name CREATEDB NK_INTEGER */
- -5, /* (38) cmd ::= ALTER USER user_name ADD white_list */
- -5, /* (39) cmd ::= ALTER USER user_name DROP white_list */
- -3, /* (40) cmd ::= DROP USER user_name */
+ -2, /* (32) is_createdb_opt ::= CREATEDB NK_INTEGER */
+ -9, /* (33) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt is_createdb_opt is_import_opt white_list_opt */
+ -5, /* (34) cmd ::= ALTER USER user_name PASS NK_STRING */
+ -5, /* (35) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */
+ -5, /* (36) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */
+ -5, /* (37) cmd ::= ALTER USER user_name CREATEDB NK_INTEGER */
+ -5, /* (38) cmd ::= ALTER USER user_name ADD white_list */
+ -5, /* (39) cmd ::= ALTER USER user_name DROP white_list */
+ -3, /* (40) cmd ::= DROP USER user_name */
0, /* (41) sysinfo_opt ::= */
- -2, /* (42) sysinfo_opt ::= SYSINFO NK_INTEGER */
- -7, /* (43) cmd ::= GRANT privileges ON priv_level with_opt TO user_name */
- -7, /* (44) cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */
- -1, /* (45) privileges ::= ALL */
- -1, /* (46) privileges ::= priv_type_list */
- -1, /* (47) privileges ::= SUBSCRIBE */
- -1, /* (48) priv_type_list ::= priv_type */
- -3, /* (49) priv_type_list ::= priv_type_list NK_COMMA priv_type */
- -1, /* (50) priv_type ::= READ */
- -1, /* (51) priv_type ::= WRITE */
- -1, /* (52) priv_type ::= ALTER */
- -3, /* (53) priv_level ::= NK_STAR NK_DOT NK_STAR */
- -3, /* (54) priv_level ::= db_name NK_DOT NK_STAR */
- -3, /* (55) priv_level ::= db_name NK_DOT table_name */
- -1, /* (56) priv_level ::= topic_name */
+ -2, /* (42) sysinfo_opt ::= SYSINFO NK_INTEGER */
+ -7, /* (43) cmd ::= GRANT privileges ON priv_level with_opt TO user_name */
+ -7, /* (44) cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */
+ -1, /* (45) privileges ::= ALL */
+ -1, /* (46) privileges ::= priv_type_list */
+ -1, /* (47) privileges ::= SUBSCRIBE */
+ -1, /* (48) priv_type_list ::= priv_type */
+ -3, /* (49) priv_type_list ::= priv_type_list NK_COMMA priv_type */
+ -1, /* (50) priv_type ::= READ */
+ -1, /* (51) priv_type ::= WRITE */
+ -1, /* (52) priv_type ::= ALTER */
+ -3, /* (53) priv_level ::= NK_STAR NK_DOT NK_STAR */
+ -3, /* (54) priv_level ::= db_name NK_DOT NK_STAR */
+ -3, /* (55) priv_level ::= db_name NK_DOT table_name */
+ -1, /* (56) priv_level ::= topic_name */
0, /* (57) with_opt ::= */
- -2, /* (58) with_opt ::= WITH search_condition */
- -3, /* (59) cmd ::= CREATE ENCRYPT_KEY NK_STRING */
- -3, /* (60) cmd ::= CREATE DNODE dnode_endpoint */
- -5, /* (61) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */
- -4, /* (62) cmd ::= DROP DNODE NK_INTEGER force_opt */
- -4, /* (63) cmd ::= DROP DNODE dnode_endpoint force_opt */
- -4, /* (64) cmd ::= DROP DNODE NK_INTEGER unsafe_opt */
- -4, /* (65) cmd ::= DROP DNODE dnode_endpoint unsafe_opt */
- -4, /* (66) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */
- -5, /* (67) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */
- -4, /* (68) cmd ::= ALTER ALL DNODES NK_STRING */
- -5, /* (69) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */
- -3, /* (70) cmd ::= RESTORE DNODE NK_INTEGER */
- -1, /* (71) dnode_endpoint ::= NK_STRING */
- -1, /* (72) dnode_endpoint ::= NK_ID */
- -1, /* (73) dnode_endpoint ::= NK_IPTOKEN */
+ -2, /* (58) with_opt ::= WITH search_condition */
+ -3, /* (59) cmd ::= CREATE ENCRYPT_KEY NK_STRING */
+ -3, /* (60) cmd ::= CREATE DNODE dnode_endpoint */
+ -5, /* (61) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */
+ -4, /* (62) cmd ::= DROP DNODE NK_INTEGER force_opt */
+ -4, /* (63) cmd ::= DROP DNODE dnode_endpoint force_opt */
+ -4, /* (64) cmd ::= DROP DNODE NK_INTEGER unsafe_opt */
+ -4, /* (65) cmd ::= DROP DNODE dnode_endpoint unsafe_opt */
+ -4, /* (66) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */
+ -5, /* (67) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */
+ -4, /* (68) cmd ::= ALTER ALL DNODES NK_STRING */
+ -5, /* (69) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */
+ -3, /* (70) cmd ::= RESTORE DNODE NK_INTEGER */
+ -1, /* (71) dnode_endpoint ::= NK_STRING */
+ -1, /* (72) dnode_endpoint ::= NK_ID */
+ -1, /* (73) dnode_endpoint ::= NK_IPTOKEN */
0, /* (74) force_opt ::= */
- -1, /* (75) force_opt ::= FORCE */
- -1, /* (76) unsafe_opt ::= UNSAFE */
- -3, /* (77) cmd ::= ALTER CLUSTER NK_STRING */
- -4, /* (78) cmd ::= ALTER CLUSTER NK_STRING NK_STRING */
- -3, /* (79) cmd ::= ALTER LOCAL NK_STRING */
- -4, /* (80) cmd ::= ALTER LOCAL NK_STRING NK_STRING */
- -5, /* (81) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */
- -5, /* (82) cmd ::= DROP QNODE ON DNODE NK_INTEGER */
- -5, /* (83) cmd ::= RESTORE QNODE ON DNODE NK_INTEGER */
- -5, /* (84) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */
- -5, /* (85) cmd ::= DROP BNODE ON DNODE NK_INTEGER */
- -5, /* (86) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */
- -5, /* (87) cmd ::= DROP SNODE ON DNODE NK_INTEGER */
- -5, /* (88) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */
- -5, /* (89) cmd ::= DROP MNODE ON DNODE NK_INTEGER */
- -5, /* (90) cmd ::= RESTORE MNODE ON DNODE NK_INTEGER */
- -5, /* (91) cmd ::= RESTORE VNODE ON DNODE NK_INTEGER */
- -5, /* (92) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */
- -4, /* (93) cmd ::= DROP DATABASE exists_opt db_name */
- -2, /* (94) cmd ::= USE db_name */
- -4, /* (95) cmd ::= ALTER DATABASE db_name alter_db_options */
- -3, /* (96) cmd ::= FLUSH DATABASE db_name */
- -4, /* (97) cmd ::= TRIM DATABASE db_name speed_opt */
- -3, /* (98) cmd ::= S3MIGRATE DATABASE db_name */
- -5, /* (99) cmd ::= COMPACT DATABASE db_name start_opt end_opt */
- -3, /* (100) not_exists_opt ::= IF NOT EXISTS */
+ -1, /* (75) force_opt ::= FORCE */
+ -1, /* (76) unsafe_opt ::= UNSAFE */
+ -3, /* (77) cmd ::= ALTER CLUSTER NK_STRING */
+ -4, /* (78) cmd ::= ALTER CLUSTER NK_STRING NK_STRING */
+ -3, /* (79) cmd ::= ALTER LOCAL NK_STRING */
+ -4, /* (80) cmd ::= ALTER LOCAL NK_STRING NK_STRING */
+ -5, /* (81) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */
+ -5, /* (82) cmd ::= DROP QNODE ON DNODE NK_INTEGER */
+ -5, /* (83) cmd ::= RESTORE QNODE ON DNODE NK_INTEGER */
+ -5, /* (84) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */
+ -5, /* (85) cmd ::= DROP BNODE ON DNODE NK_INTEGER */
+ -5, /* (86) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */
+ -5, /* (87) cmd ::= DROP SNODE ON DNODE NK_INTEGER */
+ -5, /* (88) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */
+ -5, /* (89) cmd ::= DROP MNODE ON DNODE NK_INTEGER */
+ -5, /* (90) cmd ::= RESTORE MNODE ON DNODE NK_INTEGER */
+ -5, /* (91) cmd ::= RESTORE VNODE ON DNODE NK_INTEGER */
+ -5, /* (92) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */
+ -4, /* (93) cmd ::= DROP DATABASE exists_opt db_name */
+ -2, /* (94) cmd ::= USE db_name */
+ -4, /* (95) cmd ::= ALTER DATABASE db_name alter_db_options */
+ -3, /* (96) cmd ::= FLUSH DATABASE db_name */
+ -4, /* (97) cmd ::= TRIM DATABASE db_name speed_opt */
+ -3, /* (98) cmd ::= S3MIGRATE DATABASE db_name */
+ -5, /* (99) cmd ::= COMPACT DATABASE db_name start_opt end_opt */
+ -3, /* (100) not_exists_opt ::= IF NOT EXISTS */
0, /* (101) not_exists_opt ::= */
- -2, /* (102) exists_opt ::= IF EXISTS */
+ -2, /* (102) exists_opt ::= IF EXISTS */
0, /* (103) exists_opt ::= */
0, /* (104) db_options ::= */
- -3, /* (105) db_options ::= db_options BUFFER NK_INTEGER */
- -3, /* (106) db_options ::= db_options CACHEMODEL NK_STRING */
- -3, /* (107) db_options ::= db_options CACHESIZE NK_INTEGER */
- -3, /* (108) db_options ::= db_options COMP NK_INTEGER */
- -3, /* (109) db_options ::= db_options DURATION NK_INTEGER */
- -3, /* (110) db_options ::= db_options DURATION NK_VARIABLE */
- -3, /* (111) db_options ::= db_options MAXROWS NK_INTEGER */
- -3, /* (112) db_options ::= db_options MINROWS NK_INTEGER */
- -3, /* (113) db_options ::= db_options KEEP integer_list */
- -3, /* (114) db_options ::= db_options KEEP variable_list */
- -3, /* (115) db_options ::= db_options PAGES NK_INTEGER */
- -3, /* (116) db_options ::= db_options PAGESIZE NK_INTEGER */
- -3, /* (117) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */
- -3, /* (118) db_options ::= db_options PRECISION NK_STRING */
- -3, /* (119) db_options ::= db_options REPLICA NK_INTEGER */
- -3, /* (120) db_options ::= db_options VGROUPS NK_INTEGER */
- -3, /* (121) db_options ::= db_options SINGLE_STABLE NK_INTEGER */
- -3, /* (122) db_options ::= db_options RETENTIONS retention_list */
- -3, /* (123) db_options ::= db_options SCHEMALESS NK_INTEGER */
- -3, /* (124) db_options ::= db_options WAL_LEVEL NK_INTEGER */
- -3, /* (125) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */
- -3, /* (126) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */
- -4, /* (127) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */
- -3, /* (128) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */
- -4, /* (129) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */
- -3, /* (130) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */
- -3, /* (131) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */
- -3, /* (132) db_options ::= db_options STT_TRIGGER NK_INTEGER */
- -3, /* (133) db_options ::= db_options TABLE_PREFIX signed */
- -3, /* (134) db_options ::= db_options TABLE_SUFFIX signed */
- -3, /* (135) db_options ::= db_options S3_CHUNKSIZE NK_INTEGER */
- -3, /* (136) db_options ::= db_options S3_KEEPLOCAL NK_INTEGER */
- -3, /* (137) db_options ::= db_options S3_KEEPLOCAL NK_VARIABLE */
- -3, /* (138) db_options ::= db_options S3_COMPACT NK_INTEGER */
- -3, /* (139) db_options ::= db_options KEEP_TIME_OFFSET NK_INTEGER */
- -3, /* (140) db_options ::= db_options ENCRYPT_ALGORITHM NK_STRING */
- -1, /* (141) alter_db_options ::= alter_db_option */
- -2, /* (142) alter_db_options ::= alter_db_options alter_db_option */
- -2, /* (143) alter_db_option ::= BUFFER NK_INTEGER */
- -2, /* (144) alter_db_option ::= CACHEMODEL NK_STRING */
- -2, /* (145) alter_db_option ::= CACHESIZE NK_INTEGER */
- -2, /* (146) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */
- -2, /* (147) alter_db_option ::= KEEP integer_list */
- -2, /* (148) alter_db_option ::= KEEP variable_list */
- -2, /* (149) alter_db_option ::= PAGES NK_INTEGER */
- -2, /* (150) alter_db_option ::= REPLICA NK_INTEGER */
- -2, /* (151) alter_db_option ::= WAL_LEVEL NK_INTEGER */
- -2, /* (152) alter_db_option ::= STT_TRIGGER NK_INTEGER */
- -2, /* (153) alter_db_option ::= MINROWS NK_INTEGER */
- -2, /* (154) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */
- -3, /* (155) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */
- -2, /* (156) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */
- -3, /* (157) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */
- -2, /* (158) alter_db_option ::= S3_KEEPLOCAL NK_INTEGER */
- -2, /* (159) alter_db_option ::= S3_KEEPLOCAL NK_VARIABLE */
- -2, /* (160) alter_db_option ::= S3_COMPACT NK_INTEGER */
- -2, /* (161) alter_db_option ::= KEEP_TIME_OFFSET NK_INTEGER */
- -2, /* (162) alter_db_option ::= ENCRYPT_ALGORITHM NK_STRING */
- -1, /* (163) integer_list ::= NK_INTEGER */
- -3, /* (164) integer_list ::= integer_list NK_COMMA NK_INTEGER */
- -1, /* (165) variable_list ::= NK_VARIABLE */
- -3, /* (166) variable_list ::= variable_list NK_COMMA NK_VARIABLE */
- -1, /* (167) retention_list ::= retention */
- -3, /* (168) retention_list ::= retention_list NK_COMMA retention */
- -3, /* (169) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */
- -3, /* (170) retention ::= NK_MINUS NK_COLON NK_VARIABLE */
+ -3, /* (105) db_options ::= db_options BUFFER NK_INTEGER */
+ -3, /* (106) db_options ::= db_options CACHEMODEL NK_STRING */
+ -3, /* (107) db_options ::= db_options CACHESIZE NK_INTEGER */
+ -3, /* (108) db_options ::= db_options COMP NK_INTEGER */
+ -3, /* (109) db_options ::= db_options DURATION NK_INTEGER */
+ -3, /* (110) db_options ::= db_options DURATION NK_VARIABLE */
+ -3, /* (111) db_options ::= db_options MAXROWS NK_INTEGER */
+ -3, /* (112) db_options ::= db_options MINROWS NK_INTEGER */
+ -3, /* (113) db_options ::= db_options KEEP integer_list */
+ -3, /* (114) db_options ::= db_options KEEP variable_list */
+ -3, /* (115) db_options ::= db_options PAGES NK_INTEGER */
+ -3, /* (116) db_options ::= db_options PAGESIZE NK_INTEGER */
+ -3, /* (117) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */
+ -3, /* (118) db_options ::= db_options PRECISION NK_STRING */
+ -3, /* (119) db_options ::= db_options REPLICA NK_INTEGER */
+ -3, /* (120) db_options ::= db_options VGROUPS NK_INTEGER */
+ -3, /* (121) db_options ::= db_options SINGLE_STABLE NK_INTEGER */
+ -3, /* (122) db_options ::= db_options RETENTIONS retention_list */
+ -3, /* (123) db_options ::= db_options SCHEMALESS NK_INTEGER */
+ -3, /* (124) db_options ::= db_options WAL_LEVEL NK_INTEGER */
+ -3, /* (125) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */
+ -3, /* (126) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */
+ -4, /* (127) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */
+ -3, /* (128) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */
+ -4, /* (129) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */
+ -3, /* (130) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */
+ -3, /* (131) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */
+ -3, /* (132) db_options ::= db_options STT_TRIGGER NK_INTEGER */
+ -3, /* (133) db_options ::= db_options TABLE_PREFIX signed */
+ -3, /* (134) db_options ::= db_options TABLE_SUFFIX signed */
+ -3, /* (135) db_options ::= db_options S3_CHUNKSIZE NK_INTEGER */
+ -3, /* (136) db_options ::= db_options S3_KEEPLOCAL NK_INTEGER */
+ -3, /* (137) db_options ::= db_options S3_KEEPLOCAL NK_VARIABLE */
+ -3, /* (138) db_options ::= db_options S3_COMPACT NK_INTEGER */
+ -3, /* (139) db_options ::= db_options KEEP_TIME_OFFSET NK_INTEGER */
+ -3, /* (140) db_options ::= db_options ENCRYPT_ALGORITHM NK_STRING */
+ -1, /* (141) alter_db_options ::= alter_db_option */
+ -2, /* (142) alter_db_options ::= alter_db_options alter_db_option */
+ -2, /* (143) alter_db_option ::= BUFFER NK_INTEGER */
+ -2, /* (144) alter_db_option ::= CACHEMODEL NK_STRING */
+ -2, /* (145) alter_db_option ::= CACHESIZE NK_INTEGER */
+ -2, /* (146) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */
+ -2, /* (147) alter_db_option ::= KEEP integer_list */
+ -2, /* (148) alter_db_option ::= KEEP variable_list */
+ -2, /* (149) alter_db_option ::= PAGES NK_INTEGER */
+ -2, /* (150) alter_db_option ::= REPLICA NK_INTEGER */
+ -2, /* (151) alter_db_option ::= WAL_LEVEL NK_INTEGER */
+ -2, /* (152) alter_db_option ::= STT_TRIGGER NK_INTEGER */
+ -2, /* (153) alter_db_option ::= MINROWS NK_INTEGER */
+ -2, /* (154) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */
+ -3, /* (155) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */
+ -2, /* (156) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */
+ -3, /* (157) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */
+ -2, /* (158) alter_db_option ::= S3_KEEPLOCAL NK_INTEGER */
+ -2, /* (159) alter_db_option ::= S3_KEEPLOCAL NK_VARIABLE */
+ -2, /* (160) alter_db_option ::= S3_COMPACT NK_INTEGER */
+ -2, /* (161) alter_db_option ::= KEEP_TIME_OFFSET NK_INTEGER */
+ -2, /* (162) alter_db_option ::= ENCRYPT_ALGORITHM NK_STRING */
+ -1, /* (163) integer_list ::= NK_INTEGER */
+ -3, /* (164) integer_list ::= integer_list NK_COMMA NK_INTEGER */
+ -1, /* (165) variable_list ::= NK_VARIABLE */
+ -3, /* (166) variable_list ::= variable_list NK_COMMA NK_VARIABLE */
+ -1, /* (167) retention_list ::= retention */
+ -3, /* (168) retention_list ::= retention_list NK_COMMA retention */
+ -3, /* (169) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */
+ -3, /* (170) retention ::= NK_MINUS NK_COLON NK_VARIABLE */
0, /* (171) speed_opt ::= */
- -2, /* (172) speed_opt ::= BWLIMIT NK_INTEGER */
+ -2, /* (172) speed_opt ::= BWLIMIT NK_INTEGER */
0, /* (173) start_opt ::= */
- -3, /* (174) start_opt ::= START WITH NK_INTEGER */
- -3, /* (175) start_opt ::= START WITH NK_STRING */
- -4, /* (176) start_opt ::= START WITH TIMESTAMP NK_STRING */
+ -3, /* (174) start_opt ::= START WITH NK_INTEGER */
+ -3, /* (175) start_opt ::= START WITH NK_STRING */
+ -4, /* (176) start_opt ::= START WITH TIMESTAMP NK_STRING */
0, /* (177) end_opt ::= */
- -3, /* (178) end_opt ::= END WITH NK_INTEGER */
- -3, /* (179) end_opt ::= END WITH NK_STRING */
- -4, /* (180) end_opt ::= END WITH TIMESTAMP NK_STRING */
- -9, /* (181) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */
- -3, /* (182) cmd ::= CREATE TABLE multi_create_clause */
- -10, /* (183) cmd ::= CREATE TABLE not_exists_opt USING full_table_name NK_LP tag_list_opt NK_RP FILE NK_STRING */
- -9, /* (184) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */
- -3, /* (185) cmd ::= DROP TABLE multi_drop_clause */
- -4, /* (186) cmd ::= DROP STABLE exists_opt full_table_name */
- -3, /* (187) cmd ::= ALTER TABLE alter_table_clause */
- -3, /* (188) cmd ::= ALTER STABLE alter_table_clause */
- -2, /* (189) alter_table_clause ::= full_table_name alter_table_options */
- -6, /* (190) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name column_options */
- -4, /* (191) alter_table_clause ::= full_table_name DROP COLUMN column_name */
- -5, /* (192) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */
- -5, /* (193) alter_table_clause ::= full_table_name MODIFY COLUMN column_name column_options */
- -5, /* (194) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */
- -5, /* (195) alter_table_clause ::= full_table_name ADD TAG column_name type_name */
- -4, /* (196) alter_table_clause ::= full_table_name DROP TAG column_name */
- -5, /* (197) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */
- -5, /* (198) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */
- -6, /* (199) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ tags_literal */
- -1, /* (200) multi_create_clause ::= create_subtable_clause */
- -2, /* (201) multi_create_clause ::= multi_create_clause create_subtable_clause */
- -10, /* (202) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP tags_literal_list NK_RP table_options */
- -1, /* (203) multi_drop_clause ::= drop_table_clause */
- -3, /* (204) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */
- -2, /* (205) drop_table_clause ::= exists_opt full_table_name */
+ -3, /* (178) end_opt ::= END WITH NK_INTEGER */
+ -3, /* (179) end_opt ::= END WITH NK_STRING */
+ -4, /* (180) end_opt ::= END WITH TIMESTAMP NK_STRING */
+ -9, /* (181) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */
+ -3, /* (182) cmd ::= CREATE TABLE multi_create_clause */
+ -10, /* (183) cmd ::= CREATE TABLE not_exists_opt USING full_table_name NK_LP tag_list_opt NK_RP FILE NK_STRING */
+ -9, /* (184) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */
+ -3, /* (185) cmd ::= DROP TABLE multi_drop_clause */
+ -4, /* (186) cmd ::= DROP STABLE exists_opt full_table_name */
+ -3, /* (187) cmd ::= ALTER TABLE alter_table_clause */
+ -3, /* (188) cmd ::= ALTER STABLE alter_table_clause */
+ -2, /* (189) alter_table_clause ::= full_table_name alter_table_options */
+ -6, /* (190) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name column_options */
+ -4, /* (191) alter_table_clause ::= full_table_name DROP COLUMN column_name */
+ -5, /* (192) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */
+ -5, /* (193) alter_table_clause ::= full_table_name MODIFY COLUMN column_name column_options */
+ -5, /* (194) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */
+ -5, /* (195) alter_table_clause ::= full_table_name ADD TAG column_name type_name */
+ -4, /* (196) alter_table_clause ::= full_table_name DROP TAG column_name */
+ -5, /* (197) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */
+ -5, /* (198) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */
+ -6, /* (199) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ tags_literal */
+ -1, /* (200) multi_create_clause ::= create_subtable_clause */
+ -2, /* (201) multi_create_clause ::= multi_create_clause create_subtable_clause */
+ -10, /* (202) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP tags_literal_list NK_RP table_options */
+ -1, /* (203) multi_drop_clause ::= drop_table_clause */
+ -3, /* (204) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */
+ -2, /* (205) drop_table_clause ::= exists_opt full_table_name */
0, /* (206) specific_cols_opt ::= */
- -3, /* (207) specific_cols_opt ::= NK_LP col_name_list NK_RP */
- -1, /* (208) full_table_name ::= table_name */
- -3, /* (209) full_table_name ::= db_name NK_DOT table_name */
- -1, /* (210) tag_def_list ::= tag_def */
- -3, /* (211) tag_def_list ::= tag_def_list NK_COMMA tag_def */
- -2, /* (212) tag_def ::= column_name type_name */
- -1, /* (213) column_def_list ::= column_def */
- -3, /* (214) column_def_list ::= column_def_list NK_COMMA column_def */
- -3, /* (215) column_def ::= column_name type_name column_options */
- -1, /* (216) type_name ::= BOOL */
- -1, /* (217) type_name ::= TINYINT */
- -1, /* (218) type_name ::= SMALLINT */
- -1, /* (219) type_name ::= INT */
- -1, /* (220) type_name ::= INTEGER */
- -1, /* (221) type_name ::= BIGINT */
- -1, /* (222) type_name ::= FLOAT */
- -1, /* (223) type_name ::= DOUBLE */
- -4, /* (224) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */
- -1, /* (225) type_name ::= TIMESTAMP */
- -4, /* (226) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */
- -2, /* (227) type_name ::= TINYINT UNSIGNED */
- -2, /* (228) type_name ::= SMALLINT UNSIGNED */
- -2, /* (229) type_name ::= INT UNSIGNED */
- -2, /* (230) type_name ::= BIGINT UNSIGNED */
- -1, /* (231) type_name ::= JSON */
- -4, /* (232) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */
- -1, /* (233) type_name ::= MEDIUMBLOB */
- -1, /* (234) type_name ::= BLOB */
- -4, /* (235) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */
- -4, /* (236) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */
- -1, /* (237) type_name ::= DECIMAL */
- -4, /* (238) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */
- -6, /* (239) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */
- -1, /* (240) type_name_default_len ::= BINARY */
- -1, /* (241) type_name_default_len ::= NCHAR */
- -1, /* (242) type_name_default_len ::= VARCHAR */
- -1, /* (243) type_name_default_len ::= VARBINARY */
+ -3, /* (207) specific_cols_opt ::= NK_LP col_name_list NK_RP */
+ -1, /* (208) full_table_name ::= table_name */
+ -3, /* (209) full_table_name ::= db_name NK_DOT table_name */
+ -1, /* (210) tag_def_list ::= tag_def */
+ -3, /* (211) tag_def_list ::= tag_def_list NK_COMMA tag_def */
+ -2, /* (212) tag_def ::= column_name type_name */
+ -1, /* (213) column_def_list ::= column_def */
+ -3, /* (214) column_def_list ::= column_def_list NK_COMMA column_def */
+ -3, /* (215) column_def ::= column_name type_name column_options */
+ -1, /* (216) type_name ::= BOOL */
+ -1, /* (217) type_name ::= TINYINT */
+ -1, /* (218) type_name ::= SMALLINT */
+ -1, /* (219) type_name ::= INT */
+ -1, /* (220) type_name ::= INTEGER */
+ -1, /* (221) type_name ::= BIGINT */
+ -1, /* (222) type_name ::= FLOAT */
+ -1, /* (223) type_name ::= DOUBLE */
+ -4, /* (224) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */
+ -1, /* (225) type_name ::= TIMESTAMP */
+ -4, /* (226) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */
+ -2, /* (227) type_name ::= TINYINT UNSIGNED */
+ -2, /* (228) type_name ::= SMALLINT UNSIGNED */
+ -2, /* (229) type_name ::= INT UNSIGNED */
+ -2, /* (230) type_name ::= BIGINT UNSIGNED */
+ -1, /* (231) type_name ::= JSON */
+ -4, /* (232) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */
+ -1, /* (233) type_name ::= MEDIUMBLOB */
+ -1, /* (234) type_name ::= BLOB */
+ -4, /* (235) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */
+ -4, /* (236) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */
+ -1, /* (237) type_name ::= DECIMAL */
+ -4, /* (238) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */
+ -6, /* (239) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */
+ -1, /* (240) type_name_default_len ::= BINARY */
+ -1, /* (241) type_name_default_len ::= NCHAR */
+ -1, /* (242) type_name_default_len ::= VARCHAR */
+ -1, /* (243) type_name_default_len ::= VARBINARY */
0, /* (244) tags_def_opt ::= */
- -1, /* (245) tags_def_opt ::= tags_def */
- -4, /* (246) tags_def ::= TAGS NK_LP tag_def_list NK_RP */
+ -1, /* (245) tags_def_opt ::= tags_def */
+ -4, /* (246) tags_def ::= TAGS NK_LP tag_def_list NK_RP */
0, /* (247) table_options ::= */
- -3, /* (248) table_options ::= table_options COMMENT NK_STRING */
- -3, /* (249) table_options ::= table_options MAX_DELAY duration_list */
- -3, /* (250) table_options ::= table_options WATERMARK duration_list */
- -5, /* (251) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */
- -3, /* (252) table_options ::= table_options TTL NK_INTEGER */
- -5, /* (253) table_options ::= table_options SMA NK_LP col_name_list NK_RP */
- -3, /* (254) table_options ::= table_options DELETE_MARK duration_list */
- -1, /* (255) alter_table_options ::= alter_table_option */
- -2, /* (256) alter_table_options ::= alter_table_options alter_table_option */
- -2, /* (257) alter_table_option ::= COMMENT NK_STRING */
- -2, /* (258) alter_table_option ::= TTL NK_INTEGER */
- -1, /* (259) duration_list ::= duration_literal */
- -3, /* (260) duration_list ::= duration_list NK_COMMA duration_literal */
- -1, /* (261) rollup_func_list ::= rollup_func_name */
- -3, /* (262) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */
- -1, /* (263) rollup_func_name ::= function_name */
- -1, /* (264) rollup_func_name ::= FIRST */
- -1, /* (265) rollup_func_name ::= LAST */
- -1, /* (266) col_name_list ::= col_name */
- -3, /* (267) col_name_list ::= col_name_list NK_COMMA col_name */
- -1, /* (268) col_name ::= column_name */
- -2, /* (269) cmd ::= SHOW DNODES */
- -2, /* (270) cmd ::= SHOW USERS */
- -3, /* (271) cmd ::= SHOW USERS FULL */
- -3, /* (272) cmd ::= SHOW USER PRIVILEGES */
- -3, /* (273) cmd ::= SHOW db_kind_opt DATABASES */
- -4, /* (274) cmd ::= SHOW table_kind_db_name_cond_opt TABLES like_pattern_opt */
- -4, /* (275) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */
- -3, /* (276) cmd ::= SHOW db_name_cond_opt VGROUPS */
- -2, /* (277) cmd ::= SHOW MNODES */
- -2, /* (278) cmd ::= SHOW QNODES */
- -2, /* (279) cmd ::= SHOW ARBGROUPS */
- -2, /* (280) cmd ::= SHOW FUNCTIONS */
- -5, /* (281) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */
- -6, /* (282) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */
- -2, /* (283) cmd ::= SHOW STREAMS */
- -2, /* (284) cmd ::= SHOW ACCOUNTS */
- -2, /* (285) cmd ::= SHOW APPS */
- -2, /* (286) cmd ::= SHOW CONNECTIONS */
- -2, /* (287) cmd ::= SHOW LICENCES */
- -2, /* (288) cmd ::= SHOW GRANTS */
- -3, /* (289) cmd ::= SHOW GRANTS FULL */
- -3, /* (290) cmd ::= SHOW GRANTS LOGS */
- -3, /* (291) cmd ::= SHOW CLUSTER MACHINES */
- -4, /* (292) cmd ::= SHOW CREATE DATABASE db_name */
- -4, /* (293) cmd ::= SHOW CREATE TABLE full_table_name */
- -4, /* (294) cmd ::= SHOW CREATE STABLE full_table_name */
- -2, /* (295) cmd ::= SHOW ENCRYPTIONS */
- -2, /* (296) cmd ::= SHOW QUERIES */
- -2, /* (297) cmd ::= SHOW SCORES */
- -2, /* (298) cmd ::= SHOW TOPICS */
- -2, /* (299) cmd ::= SHOW VARIABLES */
- -3, /* (300) cmd ::= SHOW CLUSTER VARIABLES */
- -3, /* (301) cmd ::= SHOW LOCAL VARIABLES */
- -5, /* (302) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */
- -2, /* (303) cmd ::= SHOW BNODES */
- -2, /* (304) cmd ::= SHOW SNODES */
- -2, /* (305) cmd ::= SHOW CLUSTER */
- -2, /* (306) cmd ::= SHOW TRANSACTIONS */
- -4, /* (307) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */
- -2, /* (308) cmd ::= SHOW CONSUMERS */
- -2, /* (309) cmd ::= SHOW SUBSCRIPTIONS */
- -5, /* (310) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */
- -6, /* (311) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */
- -7, /* (312) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */
- -8, /* (313) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */
- -5, /* (314) cmd ::= SHOW VNODES ON DNODE NK_INTEGER */
- -2, /* (315) cmd ::= SHOW VNODES */
- -3, /* (316) cmd ::= SHOW db_name_cond_opt ALIVE */
- -3, /* (317) cmd ::= SHOW CLUSTER ALIVE */
- -4, /* (318) cmd ::= SHOW db_name_cond_opt VIEWS like_pattern_opt */
- -4, /* (319) cmd ::= SHOW CREATE VIEW full_table_name */
- -2, /* (320) cmd ::= SHOW COMPACTS */
- -3, /* (321) cmd ::= SHOW COMPACT NK_INTEGER */
+ -3, /* (248) table_options ::= table_options COMMENT NK_STRING */
+ -3, /* (249) table_options ::= table_options MAX_DELAY duration_list */
+ -3, /* (250) table_options ::= table_options WATERMARK duration_list */
+ -5, /* (251) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */
+ -3, /* (252) table_options ::= table_options TTL NK_INTEGER */
+ -5, /* (253) table_options ::= table_options SMA NK_LP col_name_list NK_RP */
+ -3, /* (254) table_options ::= table_options DELETE_MARK duration_list */
+ -1, /* (255) alter_table_options ::= alter_table_option */
+ -2, /* (256) alter_table_options ::= alter_table_options alter_table_option */
+ -2, /* (257) alter_table_option ::= COMMENT NK_STRING */
+ -2, /* (258) alter_table_option ::= TTL NK_INTEGER */
+ -1, /* (259) duration_list ::= duration_literal */
+ -3, /* (260) duration_list ::= duration_list NK_COMMA duration_literal */
+ -1, /* (261) rollup_func_list ::= rollup_func_name */
+ -3, /* (262) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */
+ -1, /* (263) rollup_func_name ::= function_name */
+ -1, /* (264) rollup_func_name ::= FIRST */
+ -1, /* (265) rollup_func_name ::= LAST */
+ -1, /* (266) col_name_list ::= col_name */
+ -3, /* (267) col_name_list ::= col_name_list NK_COMMA col_name */
+ -1, /* (268) col_name ::= column_name */
+ -2, /* (269) cmd ::= SHOW DNODES */
+ -2, /* (270) cmd ::= SHOW USERS */
+ -3, /* (271) cmd ::= SHOW USERS FULL */
+ -3, /* (272) cmd ::= SHOW USER PRIVILEGES */
+ -3, /* (273) cmd ::= SHOW db_kind_opt DATABASES */
+ -4, /* (274) cmd ::= SHOW table_kind_db_name_cond_opt TABLES like_pattern_opt */
+ -4, /* (275) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */
+ -3, /* (276) cmd ::= SHOW db_name_cond_opt VGROUPS */
+ -2, /* (277) cmd ::= SHOW MNODES */
+ -2, /* (278) cmd ::= SHOW QNODES */
+ -2, /* (279) cmd ::= SHOW ARBGROUPS */
+ -2, /* (280) cmd ::= SHOW FUNCTIONS */
+ -5, /* (281) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */
+ -6, /* (282) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */
+ -2, /* (283) cmd ::= SHOW STREAMS */
+ -2, /* (284) cmd ::= SHOW ACCOUNTS */
+ -2, /* (285) cmd ::= SHOW APPS */
+ -2, /* (286) cmd ::= SHOW CONNECTIONS */
+ -2, /* (287) cmd ::= SHOW LICENCES */
+ -2, /* (288) cmd ::= SHOW GRANTS */
+ -3, /* (289) cmd ::= SHOW GRANTS FULL */
+ -3, /* (290) cmd ::= SHOW GRANTS LOGS */
+ -3, /* (291) cmd ::= SHOW CLUSTER MACHINES */
+ -4, /* (292) cmd ::= SHOW CREATE DATABASE db_name */
+ -4, /* (293) cmd ::= SHOW CREATE TABLE full_table_name */
+ -4, /* (294) cmd ::= SHOW CREATE STABLE full_table_name */
+ -2, /* (295) cmd ::= SHOW ENCRYPTIONS */
+ -2, /* (296) cmd ::= SHOW QUERIES */
+ -2, /* (297) cmd ::= SHOW SCORES */
+ -2, /* (298) cmd ::= SHOW TOPICS */
+ -2, /* (299) cmd ::= SHOW VARIABLES */
+ -3, /* (300) cmd ::= SHOW CLUSTER VARIABLES */
+ -3, /* (301) cmd ::= SHOW LOCAL VARIABLES */
+ -5, /* (302) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */
+ -2, /* (303) cmd ::= SHOW BNODES */
+ -2, /* (304) cmd ::= SHOW SNODES */
+ -2, /* (305) cmd ::= SHOW CLUSTER */
+ -2, /* (306) cmd ::= SHOW TRANSACTIONS */
+ -4, /* (307) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */
+ -2, /* (308) cmd ::= SHOW CONSUMERS */
+ -2, /* (309) cmd ::= SHOW SUBSCRIPTIONS */
+ -5, /* (310) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */
+ -6, /* (311) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */
+ -7, /* (312) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */
+ -8, /* (313) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */
+ -5, /* (314) cmd ::= SHOW VNODES ON DNODE NK_INTEGER */
+ -2, /* (315) cmd ::= SHOW VNODES */
+ -3, /* (316) cmd ::= SHOW db_name_cond_opt ALIVE */
+ -3, /* (317) cmd ::= SHOW CLUSTER ALIVE */
+ -4, /* (318) cmd ::= SHOW db_name_cond_opt VIEWS like_pattern_opt */
+ -4, /* (319) cmd ::= SHOW CREATE VIEW full_table_name */
+ -2, /* (320) cmd ::= SHOW COMPACTS */
+ -3, /* (321) cmd ::= SHOW COMPACT NK_INTEGER */
0, /* (322) table_kind_db_name_cond_opt ::= */
- -1, /* (323) table_kind_db_name_cond_opt ::= table_kind */
- -2, /* (324) table_kind_db_name_cond_opt ::= db_name NK_DOT */
- -3, /* (325) table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT */
- -1, /* (326) table_kind ::= NORMAL */
- -1, /* (327) table_kind ::= CHILD */
+ -1, /* (323) table_kind_db_name_cond_opt ::= table_kind */
+ -2, /* (324) table_kind_db_name_cond_opt ::= db_name NK_DOT */
+ -3, /* (325) table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT */
+ -1, /* (326) table_kind ::= NORMAL */
+ -1, /* (327) table_kind ::= CHILD */
0, /* (328) db_name_cond_opt ::= */
- -2, /* (329) db_name_cond_opt ::= db_name NK_DOT */
+ -2, /* (329) db_name_cond_opt ::= db_name NK_DOT */
0, /* (330) like_pattern_opt ::= */
- -2, /* (331) like_pattern_opt ::= LIKE NK_STRING */
- -1, /* (332) table_name_cond ::= table_name */
+ -2, /* (331) like_pattern_opt ::= LIKE NK_STRING */
+ -1, /* (332) table_name_cond ::= table_name */
0, /* (333) from_db_opt ::= */
- -2, /* (334) from_db_opt ::= FROM db_name */
+ -2, /* (334) from_db_opt ::= FROM db_name */
0, /* (335) tag_list_opt ::= */
- -1, /* (336) tag_list_opt ::= tag_item */
- -3, /* (337) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */
- -1, /* (338) tag_item ::= TBNAME */
- -1, /* (339) tag_item ::= QTAGS */
- -1, /* (340) tag_item ::= column_name */
- -2, /* (341) tag_item ::= column_name column_alias */
- -3, /* (342) tag_item ::= column_name AS column_alias */
+ -1, /* (336) tag_list_opt ::= tag_item */
+ -3, /* (337) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */
+ -1, /* (338) tag_item ::= TBNAME */
+ -1, /* (339) tag_item ::= QTAGS */
+ -1, /* (340) tag_item ::= column_name */
+ -2, /* (341) tag_item ::= column_name column_alias */
+ -3, /* (342) tag_item ::= column_name AS column_alias */
0, /* (343) db_kind_opt ::= */
- -1, /* (344) db_kind_opt ::= USER */
- -1, /* (345) db_kind_opt ::= SYSTEM */
- -11, /* (346) cmd ::= CREATE TSMA not_exists_opt tsma_name ON full_table_name tsma_func_list INTERVAL NK_LP duration_literal NK_RP */
- -11, /* (347) cmd ::= CREATE RECURSIVE TSMA not_exists_opt tsma_name ON full_table_name INTERVAL NK_LP duration_literal NK_RP */
- -4, /* (348) cmd ::= DROP TSMA exists_opt full_tsma_name */
- -3, /* (349) cmd ::= SHOW db_name_cond_opt TSMAS */
- -1, /* (350) full_tsma_name ::= tsma_name */
- -3, /* (351) full_tsma_name ::= db_name NK_DOT tsma_name */
- -4, /* (352) tsma_func_list ::= FUNCTION NK_LP func_list NK_RP */
- -8, /* (353) cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */
- -9, /* (354) cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */
- -4, /* (355) cmd ::= DROP INDEX exists_opt full_index_name */
- -1, /* (356) full_index_name ::= index_name */
- -3, /* (357) full_index_name ::= db_name NK_DOT index_name */
- -10, /* (358) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */
- -12, /* (359) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */
- -1, /* (360) func_list ::= func */
- -3, /* (361) func_list ::= func_list NK_COMMA func */
- -4, /* (362) func ::= sma_func_name NK_LP expression_list NK_RP */
- -1, /* (363) sma_func_name ::= function_name */
- -1, /* (364) sma_func_name ::= COUNT */
- -1, /* (365) sma_func_name ::= FIRST */
- -1, /* (366) sma_func_name ::= LAST */
- -1, /* (367) sma_func_name ::= LAST_ROW */
+ -1, /* (344) db_kind_opt ::= USER */
+ -1, /* (345) db_kind_opt ::= SYSTEM */
+ -11, /* (346) cmd ::= CREATE TSMA not_exists_opt tsma_name ON full_table_name tsma_func_list INTERVAL NK_LP duration_literal NK_RP */
+ -11, /* (347) cmd ::= CREATE RECURSIVE TSMA not_exists_opt tsma_name ON full_table_name INTERVAL NK_LP duration_literal NK_RP */
+ -4, /* (348) cmd ::= DROP TSMA exists_opt full_tsma_name */
+ -3, /* (349) cmd ::= SHOW db_name_cond_opt TSMAS */
+ -1, /* (350) full_tsma_name ::= tsma_name */
+ -3, /* (351) full_tsma_name ::= db_name NK_DOT tsma_name */
+ -4, /* (352) tsma_func_list ::= FUNCTION NK_LP func_list NK_RP */
+ -8, /* (353) cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */
+ -9, /* (354) cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */
+ -4, /* (355) cmd ::= DROP INDEX exists_opt full_index_name */
+ -1, /* (356) full_index_name ::= index_name */
+ -3, /* (357) full_index_name ::= db_name NK_DOT index_name */
+ -10, /* (358) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */
+ -12, /* (359) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */
+ -1, /* (360) func_list ::= func */
+ -3, /* (361) func_list ::= func_list NK_COMMA func */
+ -4, /* (362) func ::= sma_func_name NK_LP expression_list NK_RP */
+ -1, /* (363) sma_func_name ::= function_name */
+ -1, /* (364) sma_func_name ::= COUNT */
+ -1, /* (365) sma_func_name ::= FIRST */
+ -1, /* (366) sma_func_name ::= LAST */
+ -1, /* (367) sma_func_name ::= LAST_ROW */
0, /* (368) sma_stream_opt ::= */
- -3, /* (369) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */
- -3, /* (370) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */
- -3, /* (371) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */
- -1, /* (372) with_meta ::= AS */
- -3, /* (373) with_meta ::= WITH META AS */
- -3, /* (374) with_meta ::= ONLY META AS */
- -6, /* (375) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */
- -7, /* (376) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */
- -8, /* (377) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */
- -4, /* (378) cmd ::= DROP TOPIC exists_opt topic_name */
- -7, /* (379) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */
- -2, /* (380) cmd ::= DESC full_table_name */
- -2, /* (381) cmd ::= DESCRIBE full_table_name */
- -3, /* (382) cmd ::= RESET QUERY CACHE */
- -4, /* (383) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */
- -4, /* (384) cmd ::= EXPLAIN analyze_opt explain_options insert_query */
+ -3, /* (369) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */
+ -3, /* (370) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */
+ -3, /* (371) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */
+ -1, /* (372) with_meta ::= AS */
+ -3, /* (373) with_meta ::= WITH META AS */
+ -3, /* (374) with_meta ::= ONLY META AS */
+ -6, /* (375) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */
+ -7, /* (376) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */
+ -8, /* (377) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */
+ -4, /* (378) cmd ::= DROP TOPIC exists_opt topic_name */
+ -7, /* (379) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */
+ -2, /* (380) cmd ::= DESC full_table_name */
+ -2, /* (381) cmd ::= DESCRIBE full_table_name */
+ -3, /* (382) cmd ::= RESET QUERY CACHE */
+ -4, /* (383) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */
+ -4, /* (384) cmd ::= EXPLAIN analyze_opt explain_options insert_query */
0, /* (385) analyze_opt ::= */
- -1, /* (386) analyze_opt ::= ANALYZE */
+ -1, /* (386) analyze_opt ::= ANALYZE */
0, /* (387) explain_options ::= */
- -3, /* (388) explain_options ::= explain_options VERBOSE NK_BOOL */
- -3, /* (389) explain_options ::= explain_options RATIO NK_FLOAT */
- -12, /* (390) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */
- -4, /* (391) cmd ::= DROP FUNCTION exists_opt function_name */
+ -3, /* (388) explain_options ::= explain_options VERBOSE NK_BOOL */
+ -3, /* (389) explain_options ::= explain_options RATIO NK_FLOAT */
+ -12, /* (390) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */
+ -4, /* (391) cmd ::= DROP FUNCTION exists_opt function_name */
0, /* (392) agg_func_opt ::= */
- -1, /* (393) agg_func_opt ::= AGGREGATE */
+ -1, /* (393) agg_func_opt ::= AGGREGATE */
0, /* (394) bufsize_opt ::= */
- -2, /* (395) bufsize_opt ::= BUFSIZE NK_INTEGER */
+ -2, /* (395) bufsize_opt ::= BUFSIZE NK_INTEGER */
0, /* (396) language_opt ::= */
- -2, /* (397) language_opt ::= LANGUAGE NK_STRING */
+ -2, /* (397) language_opt ::= LANGUAGE NK_STRING */
0, /* (398) or_replace_opt ::= */
- -2, /* (399) or_replace_opt ::= OR REPLACE */
- -6, /* (400) cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */
- -4, /* (401) cmd ::= DROP VIEW exists_opt full_view_name */
- -1, /* (402) full_view_name ::= view_name */
- -3, /* (403) full_view_name ::= db_name NK_DOT view_name */
- -12, /* (404) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */
- -4, /* (405) cmd ::= DROP STREAM exists_opt stream_name */
- -4, /* (406) cmd ::= PAUSE STREAM exists_opt stream_name */
- -5, /* (407) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */
+ -2, /* (399) or_replace_opt ::= OR REPLACE */
+ -6, /* (400) cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */
+ -4, /* (401) cmd ::= DROP VIEW exists_opt full_view_name */
+ -1, /* (402) full_view_name ::= view_name */
+ -3, /* (403) full_view_name ::= db_name NK_DOT view_name */
+ -12, /* (404) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */
+ -4, /* (405) cmd ::= DROP STREAM exists_opt stream_name */
+ -4, /* (406) cmd ::= PAUSE STREAM exists_opt stream_name */
+ -5, /* (407) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */
0, /* (408) col_list_opt ::= */
- -3, /* (409) col_list_opt ::= NK_LP column_stream_def_list NK_RP */
- -1, /* (410) column_stream_def_list ::= column_stream_def */
- -3, /* (411) column_stream_def_list ::= column_stream_def_list NK_COMMA column_stream_def */
- -2, /* (412) column_stream_def ::= column_name stream_col_options */
+ -3, /* (409) col_list_opt ::= NK_LP column_stream_def_list NK_RP */
+ -1, /* (410) column_stream_def_list ::= column_stream_def */
+ -3, /* (411) column_stream_def_list ::= column_stream_def_list NK_COMMA column_stream_def */
+ -2, /* (412) column_stream_def ::= column_name stream_col_options */
0, /* (413) stream_col_options ::= */
- -3, /* (414) stream_col_options ::= stream_col_options PRIMARY KEY */
+ -3, /* (414) stream_col_options ::= stream_col_options PRIMARY KEY */
0, /* (415) tag_def_or_ref_opt ::= */
- -1, /* (416) tag_def_or_ref_opt ::= tags_def */
- -4, /* (417) tag_def_or_ref_opt ::= TAGS NK_LP column_stream_def_list NK_RP */
+ -1, /* (416) tag_def_or_ref_opt ::= tags_def */
+ -4, /* (417) tag_def_or_ref_opt ::= TAGS NK_LP column_stream_def_list NK_RP */
0, /* (418) stream_options ::= */
-3, /* (419) stream_options ::= stream_options TRIGGER AT_ONCE */
-3, /* (420) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */
- -4, /* (421) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */
- -3, /* (422) stream_options ::= stream_options WATERMARK duration_literal */
- -4, /* (423) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */
- -3, /* (424) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */
- -3, /* (425) stream_options ::= stream_options DELETE_MARK duration_literal */
- -4, /* (426) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */
- 0, /* (427) subtable_opt ::= */
- -4, /* (428) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */
- 0, /* (429) ignore_opt ::= */
- -2, /* (430) ignore_opt ::= IGNORE UNTREATED */
- -3, /* (431) cmd ::= KILL CONNECTION NK_INTEGER */
- -3, /* (432) cmd ::= KILL QUERY NK_STRING */
- -3, /* (433) cmd ::= KILL TRANSACTION NK_INTEGER */
- -3, /* (434) cmd ::= KILL COMPACT NK_INTEGER */
- -2, /* (435) cmd ::= BALANCE VGROUP */
- -4, /* (436) cmd ::= BALANCE VGROUP LEADER on_vgroup_id */
- -5, /* (437) cmd ::= BALANCE VGROUP LEADER DATABASE db_name */
- -4, /* (438) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */
- -4, /* (439) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */
- -3, /* (440) cmd ::= SPLIT VGROUP NK_INTEGER */
- 0, /* (441) on_vgroup_id ::= */
- -2, /* (442) on_vgroup_id ::= ON NK_INTEGER */
- -2, /* (443) dnode_list ::= DNODE NK_INTEGER */
- -3, /* (444) dnode_list ::= dnode_list DNODE NK_INTEGER */
- -4, /* (445) cmd ::= DELETE FROM full_table_name where_clause_opt */
- -1, /* (446) cmd ::= query_or_subquery */
- -1, /* (447) cmd ::= insert_query */
- -7, /* (448) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */
- -4, /* (449) insert_query ::= INSERT INTO full_table_name query_or_subquery */
- -1, /* (450) tags_literal ::= NK_INTEGER */
- -3, /* (451) tags_literal ::= NK_INTEGER NK_PLUS duration_literal */
- -3, /* (452) tags_literal ::= NK_INTEGER NK_MINUS duration_literal */
- -2, /* (453) tags_literal ::= NK_PLUS NK_INTEGER */
- -4, /* (454) tags_literal ::= NK_PLUS NK_INTEGER NK_PLUS duration_literal */
- -4, /* (455) tags_literal ::= NK_PLUS NK_INTEGER NK_MINUS duration_literal */
- -2, /* (456) tags_literal ::= NK_MINUS NK_INTEGER */
- -4, /* (457) tags_literal ::= NK_MINUS NK_INTEGER NK_PLUS duration_literal */
- -4, /* (458) tags_literal ::= NK_MINUS NK_INTEGER NK_MINUS duration_literal */
- -1, /* (459) tags_literal ::= NK_FLOAT */
- -2, /* (460) tags_literal ::= NK_PLUS NK_FLOAT */
- -2, /* (461) tags_literal ::= NK_MINUS NK_FLOAT */
- -1, /* (462) tags_literal ::= NK_BIN */
- -3, /* (463) tags_literal ::= NK_BIN NK_PLUS duration_literal */
- -3, /* (464) tags_literal ::= NK_BIN NK_MINUS duration_literal */
- -2, /* (465) tags_literal ::= NK_PLUS NK_BIN */
- -4, /* (466) tags_literal ::= NK_PLUS NK_BIN NK_PLUS duration_literal */
- -4, /* (467) tags_literal ::= NK_PLUS NK_BIN NK_MINUS duration_literal */
- -2, /* (468) tags_literal ::= NK_MINUS NK_BIN */
- -4, /* (469) tags_literal ::= NK_MINUS NK_BIN NK_PLUS duration_literal */
- -4, /* (470) tags_literal ::= NK_MINUS NK_BIN NK_MINUS duration_literal */
- -1, /* (471) tags_literal ::= NK_HEX */
- -3, /* (472) tags_literal ::= NK_HEX NK_PLUS duration_literal */
- -3, /* (473) tags_literal ::= NK_HEX NK_MINUS duration_literal */
- -2, /* (474) tags_literal ::= NK_PLUS NK_HEX */
- -4, /* (475) tags_literal ::= NK_PLUS NK_HEX NK_PLUS duration_literal */
- -4, /* (476) tags_literal ::= NK_PLUS NK_HEX NK_MINUS duration_literal */
- -2, /* (477) tags_literal ::= NK_MINUS NK_HEX */
- -4, /* (478) tags_literal ::= NK_MINUS NK_HEX NK_PLUS duration_literal */
- -4, /* (479) tags_literal ::= NK_MINUS NK_HEX NK_MINUS duration_literal */
- -1, /* (480) tags_literal ::= NK_STRING */
- -3, /* (481) tags_literal ::= NK_STRING NK_PLUS duration_literal */
- -3, /* (482) tags_literal ::= NK_STRING NK_MINUS duration_literal */
- -1, /* (483) tags_literal ::= NK_BOOL */
- -1, /* (484) tags_literal ::= NULL */
- -1, /* (485) tags_literal ::= literal_func */
- -3, /* (486) tags_literal ::= literal_func NK_PLUS duration_literal */
- -3, /* (487) tags_literal ::= literal_func NK_MINUS duration_literal */
- -1, /* (488) tags_literal_list ::= tags_literal */
- -3, /* (489) tags_literal_list ::= tags_literal_list NK_COMMA tags_literal */
- -1, /* (490) literal ::= NK_INTEGER */
- -1, /* (491) literal ::= NK_FLOAT */
- -1, /* (492) literal ::= NK_STRING */
- -1, /* (493) literal ::= NK_BOOL */
- -2, /* (494) literal ::= TIMESTAMP NK_STRING */
- -1, /* (495) literal ::= duration_literal */
- -1, /* (496) literal ::= NULL */
- -1, /* (497) literal ::= NK_QUESTION */
- -1, /* (498) duration_literal ::= NK_VARIABLE */
- -1, /* (499) signed ::= NK_INTEGER */
- -2, /* (500) signed ::= NK_PLUS NK_INTEGER */
- -2, /* (501) signed ::= NK_MINUS NK_INTEGER */
- -1, /* (502) signed ::= NK_FLOAT */
- -2, /* (503) signed ::= NK_PLUS NK_FLOAT */
- -2, /* (504) signed ::= NK_MINUS NK_FLOAT */
- -1, /* (505) signed_literal ::= signed */
- -1, /* (506) signed_literal ::= NK_STRING */
- -1, /* (507) signed_literal ::= NK_BOOL */
- -2, /* (508) signed_literal ::= TIMESTAMP NK_STRING */
- -1, /* (509) signed_literal ::= duration_literal */
- -1, /* (510) signed_literal ::= NULL */
- -1, /* (511) signed_literal ::= literal_func */
- -1, /* (512) signed_literal ::= NK_QUESTION */
- -1, /* (513) literal_list ::= signed_literal */
- -3, /* (514) literal_list ::= literal_list NK_COMMA signed_literal */
- -1, /* (515) db_name ::= NK_ID */
- -1, /* (516) table_name ::= NK_ID */
- -1, /* (517) column_name ::= NK_ID */
- -1, /* (518) function_name ::= NK_ID */
- -1, /* (519) view_name ::= NK_ID */
- -1, /* (520) table_alias ::= NK_ID */
- -1, /* (521) column_alias ::= NK_ID */
- -1, /* (522) column_alias ::= NK_ALIAS */
- -1, /* (523) user_name ::= NK_ID */
- -1, /* (524) topic_name ::= NK_ID */
- -1, /* (525) stream_name ::= NK_ID */
- -1, /* (526) cgroup_name ::= NK_ID */
- -1, /* (527) index_name ::= NK_ID */
- -1, /* (528) tsma_name ::= NK_ID */
- -1, /* (529) expr_or_subquery ::= expression */
- -1, /* (530) expression ::= literal */
- -1, /* (531) expression ::= pseudo_column */
- -1, /* (532) expression ::= column_reference */
- -1, /* (533) expression ::= function_expression */
- -1, /* (534) expression ::= case_when_expression */
- -3, /* (535) expression ::= NK_LP expression NK_RP */
- -2, /* (536) expression ::= NK_PLUS expr_or_subquery */
- -2, /* (537) expression ::= NK_MINUS expr_or_subquery */
- -3, /* (538) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */
- -3, /* (539) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */
- -3, /* (540) expression ::= expr_or_subquery NK_STAR expr_or_subquery */
- -3, /* (541) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */
- -3, /* (542) expression ::= expr_or_subquery NK_REM expr_or_subquery */
- -3, /* (543) expression ::= column_reference NK_ARROW NK_STRING */
- -3, /* (544) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */
- -3, /* (545) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */
- -1, /* (546) expression_list ::= expr_or_subquery */
- -3, /* (547) expression_list ::= expression_list NK_COMMA expr_or_subquery */
- -1, /* (548) column_reference ::= column_name */
- -3, /* (549) column_reference ::= table_name NK_DOT column_name */
- -1, /* (550) column_reference ::= NK_ALIAS */
- -3, /* (551) column_reference ::= table_name NK_DOT NK_ALIAS */
- -1, /* (552) pseudo_column ::= ROWTS */
- -1, /* (553) pseudo_column ::= TBNAME */
- -3, /* (554) pseudo_column ::= table_name NK_DOT TBNAME */
- -1, /* (555) pseudo_column ::= QSTART */
- -1, /* (556) pseudo_column ::= QEND */
- -1, /* (557) pseudo_column ::= QDURATION */
- -1, /* (558) pseudo_column ::= WSTART */
- -1, /* (559) pseudo_column ::= WEND */
- -1, /* (560) pseudo_column ::= WDURATION */
- -1, /* (561) pseudo_column ::= IROWTS */
- -1, /* (562) pseudo_column ::= ISFILLED */
- -1, /* (563) pseudo_column ::= QTAGS */
- -4, /* (564) function_expression ::= function_name NK_LP expression_list NK_RP */
- -4, /* (565) function_expression ::= star_func NK_LP star_func_para_list NK_RP */
- -6, /* (566) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */
- -6, /* (567) function_expression ::= CAST NK_LP expr_or_subquery AS type_name_default_len NK_RP */
- -1, /* (568) function_expression ::= literal_func */
- -3, /* (569) literal_func ::= noarg_func NK_LP NK_RP */
- -1, /* (570) literal_func ::= NOW */
- -1, /* (571) literal_func ::= TODAY */
- -1, /* (572) noarg_func ::= NOW */
- -1, /* (573) noarg_func ::= TODAY */
- -1, /* (574) noarg_func ::= TIMEZONE */
- -1, /* (575) noarg_func ::= DATABASE */
- -1, /* (576) noarg_func ::= CLIENT_VERSION */
- -1, /* (577) noarg_func ::= SERVER_VERSION */
- -1, /* (578) noarg_func ::= SERVER_STATUS */
- -1, /* (579) noarg_func ::= CURRENT_USER */
- -1, /* (580) noarg_func ::= USER */
- -1, /* (581) star_func ::= COUNT */
- -1, /* (582) star_func ::= FIRST */
- -1, /* (583) star_func ::= LAST */
- -1, /* (584) star_func ::= LAST_ROW */
- -1, /* (585) star_func_para_list ::= NK_STAR */
- -1, /* (586) star_func_para_list ::= other_para_list */
- -1, /* (587) other_para_list ::= star_func_para */
- -3, /* (588) other_para_list ::= other_para_list NK_COMMA star_func_para */
- -1, /* (589) star_func_para ::= expr_or_subquery */
- -3, /* (590) star_func_para ::= table_name NK_DOT NK_STAR */
- -4, /* (591) case_when_expression ::= CASE when_then_list case_when_else_opt END */
- -5, /* (592) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */
- -1, /* (593) when_then_list ::= when_then_expr */
- -2, /* (594) when_then_list ::= when_then_list when_then_expr */
- -4, /* (595) when_then_expr ::= WHEN common_expression THEN common_expression */
- 0, /* (596) case_when_else_opt ::= */
- -2, /* (597) case_when_else_opt ::= ELSE common_expression */
- -3, /* (598) predicate ::= expr_or_subquery compare_op expr_or_subquery */
- -5, /* (599) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */
- -6, /* (600) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */
- -3, /* (601) predicate ::= expr_or_subquery IS NULL */
- -4, /* (602) predicate ::= expr_or_subquery IS NOT NULL */
- -3, /* (603) predicate ::= expr_or_subquery in_op in_predicate_value */
- -1, /* (604) compare_op ::= NK_LT */
- -1, /* (605) compare_op ::= NK_GT */
- -1, /* (606) compare_op ::= NK_LE */
- -1, /* (607) compare_op ::= NK_GE */
- -1, /* (608) compare_op ::= NK_NE */
- -1, /* (609) compare_op ::= NK_EQ */
- -1, /* (610) compare_op ::= LIKE */
- -2, /* (611) compare_op ::= NOT LIKE */
- -1, /* (612) compare_op ::= MATCH */
- -1, /* (613) compare_op ::= NMATCH */
- -1, /* (614) compare_op ::= CONTAINS */
- -1, /* (615) in_op ::= IN */
- -2, /* (616) in_op ::= NOT IN */
- -3, /* (617) in_predicate_value ::= NK_LP literal_list NK_RP */
- -1, /* (618) boolean_value_expression ::= boolean_primary */
- -2, /* (619) boolean_value_expression ::= NOT boolean_primary */
- -3, /* (620) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */
- -3, /* (621) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */
- -1, /* (622) boolean_primary ::= predicate */
- -3, /* (623) boolean_primary ::= NK_LP boolean_value_expression NK_RP */
- -1, /* (624) common_expression ::= expr_or_subquery */
- -1, /* (625) common_expression ::= boolean_value_expression */
- 0, /* (626) from_clause_opt ::= */
- -2, /* (627) from_clause_opt ::= FROM table_reference_list */
- -1, /* (628) table_reference_list ::= table_reference */
- -3, /* (629) table_reference_list ::= table_reference_list NK_COMMA table_reference */
- -1, /* (630) table_reference ::= table_primary */
- -1, /* (631) table_reference ::= joined_table */
- -2, /* (632) table_primary ::= table_name alias_opt */
- -4, /* (633) table_primary ::= db_name NK_DOT table_name alias_opt */
- -2, /* (634) table_primary ::= subquery alias_opt */
- -1, /* (635) table_primary ::= parenthesized_joined_table */
- 0, /* (636) alias_opt ::= */
- -1, /* (637) alias_opt ::= table_alias */
- -2, /* (638) alias_opt ::= AS table_alias */
- -3, /* (639) parenthesized_joined_table ::= NK_LP joined_table NK_RP */
- -3, /* (640) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */
- -8, /* (641) joined_table ::= table_reference join_type join_subtype JOIN table_reference join_on_clause_opt window_offset_clause_opt jlimit_clause_opt */
- 0, /* (642) join_type ::= */
- -1, /* (643) join_type ::= INNER */
- -1, /* (644) join_type ::= LEFT */
- -1, /* (645) join_type ::= RIGHT */
- -1, /* (646) join_type ::= FULL */
- 0, /* (647) join_subtype ::= */
- -1, /* (648) join_subtype ::= OUTER */
- -1, /* (649) join_subtype ::= SEMI */
- -1, /* (650) join_subtype ::= ANTI */
- -1, /* (651) join_subtype ::= ASOF */
- -1, /* (652) join_subtype ::= WINDOW */
- 0, /* (653) join_on_clause_opt ::= */
- -2, /* (654) join_on_clause_opt ::= ON search_condition */
- 0, /* (655) window_offset_clause_opt ::= */
- -6, /* (656) window_offset_clause_opt ::= WINDOW_OFFSET NK_LP window_offset_literal NK_COMMA window_offset_literal NK_RP */
- -1, /* (657) window_offset_literal ::= NK_VARIABLE */
- -2, /* (658) window_offset_literal ::= NK_MINUS NK_VARIABLE */
- 0, /* (659) jlimit_clause_opt ::= */
- -2, /* (660) jlimit_clause_opt ::= JLIMIT NK_INTEGER */
- -14, /* (661) query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */
- 0, /* (662) hint_list ::= */
- -1, /* (663) hint_list ::= NK_HINT */
- 0, /* (664) tag_mode_opt ::= */
- -1, /* (665) tag_mode_opt ::= TAGS */
- 0, /* (666) set_quantifier_opt ::= */
- -1, /* (667) set_quantifier_opt ::= DISTINCT */
- -1, /* (668) set_quantifier_opt ::= ALL */
- -1, /* (669) select_list ::= select_item */
- -3, /* (670) select_list ::= select_list NK_COMMA select_item */
- -1, /* (671) select_item ::= NK_STAR */
- -1, /* (672) select_item ::= common_expression */
- -2, /* (673) select_item ::= common_expression column_alias */
- -3, /* (674) select_item ::= common_expression AS column_alias */
- -3, /* (675) select_item ::= table_name NK_DOT NK_STAR */
- 0, /* (676) where_clause_opt ::= */
- -2, /* (677) where_clause_opt ::= WHERE search_condition */
- 0, /* (678) partition_by_clause_opt ::= */
- -3, /* (679) partition_by_clause_opt ::= PARTITION BY partition_list */
- -1, /* (680) partition_list ::= partition_item */
- -3, /* (681) partition_list ::= partition_list NK_COMMA partition_item */
- -1, /* (682) partition_item ::= expr_or_subquery */
- -2, /* (683) partition_item ::= expr_or_subquery column_alias */
- -3, /* (684) partition_item ::= expr_or_subquery AS column_alias */
- 0, /* (685) twindow_clause_opt ::= */
- -6, /* (686) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */
- -4, /* (687) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */
- -6, /* (688) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */
- -8, /* (689) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt */
- -7, /* (690) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */
- -4, /* (691) twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_RP */
- -6, /* (692) twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */
- 0, /* (693) sliding_opt ::= */
- -4, /* (694) sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */
- -1, /* (695) interval_sliding_duration_literal ::= NK_VARIABLE */
- -1, /* (696) interval_sliding_duration_literal ::= NK_STRING */
- -1, /* (697) interval_sliding_duration_literal ::= NK_INTEGER */
- 0, /* (698) fill_opt ::= */
- -4, /* (699) fill_opt ::= FILL NK_LP fill_mode NK_RP */
- -6, /* (700) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */
- -6, /* (701) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */
- -1, /* (702) fill_mode ::= NONE */
- -1, /* (703) fill_mode ::= PREV */
- -1, /* (704) fill_mode ::= NULL */
- -1, /* (705) fill_mode ::= NULL_F */
- -1, /* (706) fill_mode ::= LINEAR */
- -1, /* (707) fill_mode ::= NEXT */
- 0, /* (708) group_by_clause_opt ::= */
- -3, /* (709) group_by_clause_opt ::= GROUP BY group_by_list */
- -1, /* (710) group_by_list ::= expr_or_subquery */
- -3, /* (711) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */
- 0, /* (712) having_clause_opt ::= */
- -2, /* (713) having_clause_opt ::= HAVING search_condition */
- 0, /* (714) range_opt ::= */
- -6, /* (715) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */
- -4, /* (716) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */
- 0, /* (717) every_opt ::= */
- -4, /* (718) every_opt ::= EVERY NK_LP duration_literal NK_RP */
- -4, /* (719) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */
- -1, /* (720) query_simple ::= query_specification */
- -1, /* (721) query_simple ::= union_query_expression */
- -4, /* (722) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */
- -3, /* (723) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */
- -1, /* (724) query_simple_or_subquery ::= query_simple */
- -1, /* (725) query_simple_or_subquery ::= subquery */
- -1, /* (726) query_or_subquery ::= query_expression */
- -1, /* (727) query_or_subquery ::= subquery */
- 0, /* (728) order_by_clause_opt ::= */
- -3, /* (729) order_by_clause_opt ::= ORDER BY sort_specification_list */
- 0, /* (730) slimit_clause_opt ::= */
- -2, /* (731) slimit_clause_opt ::= SLIMIT NK_INTEGER */
- -4, /* (732) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */
- -4, /* (733) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */
- 0, /* (734) limit_clause_opt ::= */
- -2, /* (735) limit_clause_opt ::= LIMIT NK_INTEGER */
- -4, /* (736) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */
- -4, /* (737) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */
- -3, /* (738) subquery ::= NK_LP query_expression NK_RP */
- -3, /* (739) subquery ::= NK_LP subquery NK_RP */
- -1, /* (740) search_condition ::= common_expression */
- -1, /* (741) sort_specification_list ::= sort_specification */
- -3, /* (742) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */
- -3, /* (743) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */
- 0, /* (744) ordering_specification_opt ::= */
- -1, /* (745) ordering_specification_opt ::= ASC */
- -1, /* (746) ordering_specification_opt ::= DESC */
- 0, /* (747) null_ordering_opt ::= */
- -2, /* (748) null_ordering_opt ::= NULLS FIRST */
- -2, /* (749) null_ordering_opt ::= NULLS LAST */
- 0, /* (750) column_options ::= */
- -3, /* (751) column_options ::= column_options PRIMARY KEY */
- -3, /* (752) column_options ::= column_options ENCODE NK_STRING */
- -3, /* (753) column_options ::= column_options COMPRESS NK_STRING */
- -3, /* (754) column_options ::= column_options LEVEL NK_STRING */
+ -3, /* (421) stream_options ::= stream_options TRIGGER FORCE_WINDOW_CLOSE */
+ -4, /* (422) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */
+ -3, /* (423) stream_options ::= stream_options WATERMARK duration_literal */
+ -4, /* (424) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */
+ -3, /* (425) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */
+ -3, /* (426) stream_options ::= stream_options DELETE_MARK duration_literal */
+ -4, /* (427) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */
+ 0, /* (428) subtable_opt ::= */
+ -4, /* (429) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */
+ 0, /* (430) ignore_opt ::= */
+ -2, /* (431) ignore_opt ::= IGNORE UNTREATED */
+ -3, /* (432) cmd ::= KILL CONNECTION NK_INTEGER */
+ -3, /* (433) cmd ::= KILL QUERY NK_STRING */
+ -3, /* (434) cmd ::= KILL TRANSACTION NK_INTEGER */
+ -3, /* (435) cmd ::= KILL COMPACT NK_INTEGER */
+ -2, /* (436) cmd ::= BALANCE VGROUP */
+ -4, /* (437) cmd ::= BALANCE VGROUP LEADER on_vgroup_id */
+ -5, /* (438) cmd ::= BALANCE VGROUP LEADER DATABASE db_name */
+ -4, /* (439) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */
+ -4, /* (440) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */
+ -3, /* (441) cmd ::= SPLIT VGROUP NK_INTEGER */
+ 0, /* (442) on_vgroup_id ::= */
+ -2, /* (443) on_vgroup_id ::= ON NK_INTEGER */
+ -2, /* (444) dnode_list ::= DNODE NK_INTEGER */
+ -3, /* (445) dnode_list ::= dnode_list DNODE NK_INTEGER */
+ -4, /* (446) cmd ::= DELETE FROM full_table_name where_clause_opt */
+ -1, /* (447) cmd ::= query_or_subquery */
+ -1, /* (448) cmd ::= insert_query */
+ -7, /* (449) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */
+ -4, /* (450) insert_query ::= INSERT INTO full_table_name query_or_subquery */
+ -1, /* (451) tags_literal ::= NK_INTEGER */
+ -3, /* (452) tags_literal ::= NK_INTEGER NK_PLUS duration_literal */
+ -3, /* (453) tags_literal ::= NK_INTEGER NK_MINUS duration_literal */
+ -2, /* (454) tags_literal ::= NK_PLUS NK_INTEGER */
+ -4, /* (455) tags_literal ::= NK_PLUS NK_INTEGER NK_PLUS duration_literal */
+ -4, /* (456) tags_literal ::= NK_PLUS NK_INTEGER NK_MINUS duration_literal */
+ -2, /* (457) tags_literal ::= NK_MINUS NK_INTEGER */
+ -4, /* (458) tags_literal ::= NK_MINUS NK_INTEGER NK_PLUS duration_literal */
+ -4, /* (459) tags_literal ::= NK_MINUS NK_INTEGER NK_MINUS duration_literal */
+ -1, /* (460) tags_literal ::= NK_FLOAT */
+ -2, /* (461) tags_literal ::= NK_PLUS NK_FLOAT */
+ -2, /* (462) tags_literal ::= NK_MINUS NK_FLOAT */
+ -1, /* (463) tags_literal ::= NK_BIN */
+ -3, /* (464) tags_literal ::= NK_BIN NK_PLUS duration_literal */
+ -3, /* (465) tags_literal ::= NK_BIN NK_MINUS duration_literal */
+ -2, /* (466) tags_literal ::= NK_PLUS NK_BIN */
+ -4, /* (467) tags_literal ::= NK_PLUS NK_BIN NK_PLUS duration_literal */
+ -4, /* (468) tags_literal ::= NK_PLUS NK_BIN NK_MINUS duration_literal */
+ -2, /* (469) tags_literal ::= NK_MINUS NK_BIN */
+ -4, /* (470) tags_literal ::= NK_MINUS NK_BIN NK_PLUS duration_literal */
+ -4, /* (471) tags_literal ::= NK_MINUS NK_BIN NK_MINUS duration_literal */
+ -1, /* (472) tags_literal ::= NK_HEX */
+ -3, /* (473) tags_literal ::= NK_HEX NK_PLUS duration_literal */
+ -3, /* (474) tags_literal ::= NK_HEX NK_MINUS duration_literal */
+ -2, /* (475) tags_literal ::= NK_PLUS NK_HEX */
+ -4, /* (476) tags_literal ::= NK_PLUS NK_HEX NK_PLUS duration_literal */
+ -4, /* (477) tags_literal ::= NK_PLUS NK_HEX NK_MINUS duration_literal */
+ -2, /* (478) tags_literal ::= NK_MINUS NK_HEX */
+ -4, /* (479) tags_literal ::= NK_MINUS NK_HEX NK_PLUS duration_literal */
+ -4, /* (480) tags_literal ::= NK_MINUS NK_HEX NK_MINUS duration_literal */
+ -1, /* (481) tags_literal ::= NK_STRING */
+ -3, /* (482) tags_literal ::= NK_STRING NK_PLUS duration_literal */
+ -3, /* (483) tags_literal ::= NK_STRING NK_MINUS duration_literal */
+ -1, /* (484) tags_literal ::= NK_BOOL */
+ -1, /* (485) tags_literal ::= NULL */
+ -1, /* (486) tags_literal ::= literal_func */
+ -3, /* (487) tags_literal ::= literal_func NK_PLUS duration_literal */
+ -3, /* (488) tags_literal ::= literal_func NK_MINUS duration_literal */
+ -1, /* (489) tags_literal_list ::= tags_literal */
+ -3, /* (490) tags_literal_list ::= tags_literal_list NK_COMMA tags_literal */
+ -1, /* (491) literal ::= NK_INTEGER */
+ -1, /* (492) literal ::= NK_FLOAT */
+ -1, /* (493) literal ::= NK_STRING */
+ -1, /* (494) literal ::= NK_BOOL */
+ -2, /* (495) literal ::= TIMESTAMP NK_STRING */
+ -1, /* (496) literal ::= duration_literal */
+ -1, /* (497) literal ::= NULL */
+ -1, /* (498) literal ::= NK_QUESTION */
+ -1, /* (499) duration_literal ::= NK_VARIABLE */
+ -1, /* (500) signed ::= NK_INTEGER */
+ -2, /* (501) signed ::= NK_PLUS NK_INTEGER */
+ -2, /* (502) signed ::= NK_MINUS NK_INTEGER */
+ -1, /* (503) signed ::= NK_FLOAT */
+ -2, /* (504) signed ::= NK_PLUS NK_FLOAT */
+ -2, /* (505) signed ::= NK_MINUS NK_FLOAT */
+ -1, /* (506) signed_literal ::= signed */
+ -1, /* (507) signed_literal ::= NK_STRING */
+ -1, /* (508) signed_literal ::= NK_BOOL */
+ -2, /* (509) signed_literal ::= TIMESTAMP NK_STRING */
+ -1, /* (510) signed_literal ::= duration_literal */
+ -1, /* (511) signed_literal ::= NULL */
+ -1, /* (512) signed_literal ::= literal_func */
+ -1, /* (513) signed_literal ::= NK_QUESTION */
+ -1, /* (514) literal_list ::= signed_literal */
+ -3, /* (515) literal_list ::= literal_list NK_COMMA signed_literal */
+ -1, /* (516) db_name ::= NK_ID */
+ -1, /* (517) table_name ::= NK_ID */
+ -1, /* (518) column_name ::= NK_ID */
+ -1, /* (519) function_name ::= NK_ID */
+ -1, /* (520) view_name ::= NK_ID */
+ -1, /* (521) table_alias ::= NK_ID */
+ -1, /* (522) column_alias ::= NK_ID */
+ -1, /* (523) column_alias ::= NK_ALIAS */
+ -1, /* (524) user_name ::= NK_ID */
+ -1, /* (525) topic_name ::= NK_ID */
+ -1, /* (526) stream_name ::= NK_ID */
+ -1, /* (527) cgroup_name ::= NK_ID */
+ -1, /* (528) index_name ::= NK_ID */
+ -1, /* (529) tsma_name ::= NK_ID */
+ -1, /* (530) expr_or_subquery ::= expression */
+ -1, /* (531) expression ::= literal */
+ -1, /* (532) expression ::= pseudo_column */
+ -1, /* (533) expression ::= column_reference */
+ -1, /* (534) expression ::= function_expression */
+ -1, /* (535) expression ::= case_when_expression */
+ -3, /* (536) expression ::= NK_LP expression NK_RP */
+ -2, /* (537) expression ::= NK_PLUS expr_or_subquery */
+ -2, /* (538) expression ::= NK_MINUS expr_or_subquery */
+ -3, /* (539) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */
+ -3, /* (540) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */
+ -3, /* (541) expression ::= expr_or_subquery NK_STAR expr_or_subquery */
+ -3, /* (542) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */
+ -3, /* (543) expression ::= expr_or_subquery NK_REM expr_or_subquery */
+ -3, /* (544) expression ::= column_reference NK_ARROW NK_STRING */
+ -3, /* (545) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */
+ -3, /* (546) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */
+ -1, /* (547) expression_list ::= expr_or_subquery */
+ -3, /* (548) expression_list ::= expression_list NK_COMMA expr_or_subquery */
+ -1, /* (549) column_reference ::= column_name */
+ -3, /* (550) column_reference ::= table_name NK_DOT column_name */
+ -1, /* (551) column_reference ::= NK_ALIAS */
+ -3, /* (552) column_reference ::= table_name NK_DOT NK_ALIAS */
+ -1, /* (553) pseudo_column ::= ROWTS */
+ -1, /* (554) pseudo_column ::= TBNAME */
+ -3, /* (555) pseudo_column ::= table_name NK_DOT TBNAME */
+ -1, /* (556) pseudo_column ::= QSTART */
+ -1, /* (557) pseudo_column ::= QEND */
+ -1, /* (558) pseudo_column ::= QDURATION */
+ -1, /* (559) pseudo_column ::= WSTART */
+ -1, /* (560) pseudo_column ::= WEND */
+ -1, /* (561) pseudo_column ::= WDURATION */
+ -1, /* (562) pseudo_column ::= IROWTS */
+ -1, /* (563) pseudo_column ::= ISFILLED */
+ -1, /* (564) pseudo_column ::= QTAGS */
+ -4, /* (565) function_expression ::= function_name NK_LP expression_list NK_RP */
+ -4, /* (566) function_expression ::= star_func NK_LP star_func_para_list NK_RP */
+ -6, /* (567) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */
+ -6, /* (568) function_expression ::= CAST NK_LP expr_or_subquery AS type_name_default_len NK_RP */
+ -6, /* (569) function_expression ::= POSITION NK_LP expr_or_subquery IN expr_or_subquery NK_RP */
+ -4, /* (570) function_expression ::= TRIM NK_LP expr_or_subquery NK_RP */
+ -6, /* (571) function_expression ::= TRIM NK_LP trim_specification_type FROM expr_or_subquery NK_RP */
+ -7, /* (572) function_expression ::= TRIM NK_LP trim_specification_type expr_or_subquery FROM expr_or_subquery NK_RP */
+ -4, /* (573) function_expression ::= substr_func NK_LP expression_list NK_RP */
+ -6, /* (574) function_expression ::= substr_func NK_LP expr_or_subquery FROM expr_or_subquery NK_RP */
+ -8, /* (575) function_expression ::= substr_func NK_LP expr_or_subquery FROM expr_or_subquery FOR expr_or_subquery NK_RP */
+ -4, /* (576) function_expression ::= REPLACE NK_LP expression_list NK_RP */
+ -1, /* (577) function_expression ::= literal_func */
+ -3, /* (578) literal_func ::= noarg_func NK_LP NK_RP */
+ -1, /* (579) literal_func ::= NOW */
+ -1, /* (580) literal_func ::= TODAY */
+ -1, /* (581) substr_func ::= SUBSTR */
+ -1, /* (582) substr_func ::= SUBSTRING */
+ 0, /* (583) trim_specification_type ::= */
+ -1, /* (584) trim_specification_type ::= BOTH */
+ -1, /* (585) trim_specification_type ::= TRAILING */
+ -1, /* (586) trim_specification_type ::= LEADING */
+ -1, /* (587) noarg_func ::= NOW */
+ -1, /* (588) noarg_func ::= TODAY */
+ -1, /* (589) noarg_func ::= TIMEZONE */
+ -1, /* (590) noarg_func ::= DATABASE */
+ -1, /* (591) noarg_func ::= CLIENT_VERSION */
+ -1, /* (592) noarg_func ::= SERVER_VERSION */
+ -1, /* (593) noarg_func ::= SERVER_STATUS */
+ -1, /* (594) noarg_func ::= CURRENT_USER */
+ -1, /* (595) noarg_func ::= USER */
+ -1, /* (596) noarg_func ::= PI */
+ -1, /* (597) star_func ::= COUNT */
+ -1, /* (598) star_func ::= FIRST */
+ -1, /* (599) star_func ::= LAST */
+ -1, /* (600) star_func ::= LAST_ROW */
+ -1, /* (601) star_func_para_list ::= NK_STAR */
+ -1, /* (602) star_func_para_list ::= other_para_list */
+ -1, /* (603) other_para_list ::= star_func_para */
+ -3, /* (604) other_para_list ::= other_para_list NK_COMMA star_func_para */
+ -1, /* (605) star_func_para ::= expr_or_subquery */
+ -3, /* (606) star_func_para ::= table_name NK_DOT NK_STAR */
+ -4, /* (607) case_when_expression ::= CASE when_then_list case_when_else_opt END */
+ -5, /* (608) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */
+ -1, /* (609) when_then_list ::= when_then_expr */
+ -2, /* (610) when_then_list ::= when_then_list when_then_expr */
+ -4, /* (611) when_then_expr ::= WHEN common_expression THEN common_expression */
+ 0, /* (612) case_when_else_opt ::= */
+ -2, /* (613) case_when_else_opt ::= ELSE common_expression */
+ -3, /* (614) predicate ::= expr_or_subquery compare_op expr_or_subquery */
+ -5, /* (615) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */
+ -6, /* (616) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */
+ -3, /* (617) predicate ::= expr_or_subquery IS NULL */
+ -4, /* (618) predicate ::= expr_or_subquery IS NOT NULL */
+ -3, /* (619) predicate ::= expr_or_subquery in_op in_predicate_value */
+ -1, /* (620) compare_op ::= NK_LT */
+ -1, /* (621) compare_op ::= NK_GT */
+ -1, /* (622) compare_op ::= NK_LE */
+ -1, /* (623) compare_op ::= NK_GE */
+ -1, /* (624) compare_op ::= NK_NE */
+ -1, /* (625) compare_op ::= NK_EQ */
+ -1, /* (626) compare_op ::= LIKE */
+ -2, /* (627) compare_op ::= NOT LIKE */
+ -1, /* (628) compare_op ::= MATCH */
+ -1, /* (629) compare_op ::= NMATCH */
+ -1, /* (630) compare_op ::= CONTAINS */
+ -1, /* (631) in_op ::= IN */
+ -2, /* (632) in_op ::= NOT IN */
+ -3, /* (633) in_predicate_value ::= NK_LP literal_list NK_RP */
+ -1, /* (634) boolean_value_expression ::= boolean_primary */
+ -2, /* (635) boolean_value_expression ::= NOT boolean_primary */
+ -3, /* (636) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */
+ -3, /* (637) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */
+ -1, /* (638) boolean_primary ::= predicate */
+ -3, /* (639) boolean_primary ::= NK_LP boolean_value_expression NK_RP */
+ -1, /* (640) common_expression ::= expr_or_subquery */
+ -1, /* (641) common_expression ::= boolean_value_expression */
+ 0, /* (642) from_clause_opt ::= */
+ -2, /* (643) from_clause_opt ::= FROM table_reference_list */
+ -1, /* (644) table_reference_list ::= table_reference */
+ -3, /* (645) table_reference_list ::= table_reference_list NK_COMMA table_reference */
+ -1, /* (646) table_reference ::= table_primary */
+ -1, /* (647) table_reference ::= joined_table */
+ -2, /* (648) table_primary ::= table_name alias_opt */
+ -4, /* (649) table_primary ::= db_name NK_DOT table_name alias_opt */
+ -2, /* (650) table_primary ::= subquery alias_opt */
+ -1, /* (651) table_primary ::= parenthesized_joined_table */
+ 0, /* (652) alias_opt ::= */
+ -1, /* (653) alias_opt ::= table_alias */
+ -2, /* (654) alias_opt ::= AS table_alias */
+ -3, /* (655) parenthesized_joined_table ::= NK_LP joined_table NK_RP */
+ -3, /* (656) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */
+ -8, /* (657) joined_table ::= table_reference join_type join_subtype JOIN table_reference join_on_clause_opt window_offset_clause_opt jlimit_clause_opt */
+ 0, /* (658) join_type ::= */
+ -1, /* (659) join_type ::= INNER */
+ -1, /* (660) join_type ::= LEFT */
+ -1, /* (661) join_type ::= RIGHT */
+ -1, /* (662) join_type ::= FULL */
+ 0, /* (663) join_subtype ::= */
+ -1, /* (664) join_subtype ::= OUTER */
+ -1, /* (665) join_subtype ::= SEMI */
+ -1, /* (666) join_subtype ::= ANTI */
+ -1, /* (667) join_subtype ::= ASOF */
+ -1, /* (668) join_subtype ::= WINDOW */
+ 0, /* (669) join_on_clause_opt ::= */
+ -2, /* (670) join_on_clause_opt ::= ON search_condition */
+ 0, /* (671) window_offset_clause_opt ::= */
+ -6, /* (672) window_offset_clause_opt ::= WINDOW_OFFSET NK_LP window_offset_literal NK_COMMA window_offset_literal NK_RP */
+ -1, /* (673) window_offset_literal ::= NK_VARIABLE */
+ -2, /* (674) window_offset_literal ::= NK_MINUS NK_VARIABLE */
+ 0, /* (675) jlimit_clause_opt ::= */
+ -2, /* (676) jlimit_clause_opt ::= JLIMIT NK_INTEGER */
+ -14, /* (677) query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */
+ 0, /* (678) hint_list ::= */
+ -1, /* (679) hint_list ::= NK_HINT */
+ 0, /* (680) tag_mode_opt ::= */
+ -1, /* (681) tag_mode_opt ::= TAGS */
+ 0, /* (682) set_quantifier_opt ::= */
+ -1, /* (683) set_quantifier_opt ::= DISTINCT */
+ -1, /* (684) set_quantifier_opt ::= ALL */
+ -1, /* (685) select_list ::= select_item */
+ -3, /* (686) select_list ::= select_list NK_COMMA select_item */
+ -1, /* (687) select_item ::= NK_STAR */
+ -1, /* (688) select_item ::= common_expression */
+ -2, /* (689) select_item ::= common_expression column_alias */
+ -3, /* (690) select_item ::= common_expression AS column_alias */
+ -3, /* (691) select_item ::= table_name NK_DOT NK_STAR */
+ 0, /* (692) where_clause_opt ::= */
+ -2, /* (693) where_clause_opt ::= WHERE search_condition */
+ 0, /* (694) partition_by_clause_opt ::= */
+ -3, /* (695) partition_by_clause_opt ::= PARTITION BY partition_list */
+ -1, /* (696) partition_list ::= partition_item */
+ -3, /* (697) partition_list ::= partition_list NK_COMMA partition_item */
+ -1, /* (698) partition_item ::= expr_or_subquery */
+ -2, /* (699) partition_item ::= expr_or_subquery column_alias */
+ -3, /* (700) partition_item ::= expr_or_subquery AS column_alias */
+ 0, /* (701) twindow_clause_opt ::= */
+ -6, /* (702) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */
+ -4, /* (703) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */
+ -6, /* (704) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */
+ -8, /* (705) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt */
+ -7, /* (706) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */
+ -4, /* (707) twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_RP */
+ -6, /* (708) twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */
+ 0, /* (709) sliding_opt ::= */
+ -4, /* (710) sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */
+ -1, /* (711) interval_sliding_duration_literal ::= NK_VARIABLE */
+ -1, /* (712) interval_sliding_duration_literal ::= NK_STRING */
+ -1, /* (713) interval_sliding_duration_literal ::= NK_INTEGER */
+ 0, /* (714) fill_opt ::= */
+ -4, /* (715) fill_opt ::= FILL NK_LP fill_mode NK_RP */
+ -6, /* (716) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */
+ -6, /* (717) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */
+ -1, /* (718) fill_mode ::= NONE */
+ -1, /* (719) fill_mode ::= PREV */
+ -1, /* (720) fill_mode ::= NULL */
+ -1, /* (721) fill_mode ::= NULL_F */
+ -1, /* (722) fill_mode ::= LINEAR */
+ -1, /* (723) fill_mode ::= NEXT */
+ 0, /* (724) group_by_clause_opt ::= */
+ -3, /* (725) group_by_clause_opt ::= GROUP BY group_by_list */
+ -1, /* (726) group_by_list ::= expr_or_subquery */
+ -3, /* (727) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */
+ 0, /* (728) having_clause_opt ::= */
+ -2, /* (729) having_clause_opt ::= HAVING search_condition */
+ 0, /* (730) range_opt ::= */
+ -6, /* (731) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */
+ -4, /* (732) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */
+ 0, /* (733) every_opt ::= */
+ -4, /* (734) every_opt ::= EVERY NK_LP duration_literal NK_RP */
+ -4, /* (735) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */
+ -1, /* (736) query_simple ::= query_specification */
+ -1, /* (737) query_simple ::= union_query_expression */
+ -4, /* (738) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */
+ -3, /* (739) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */
+ -1, /* (740) query_simple_or_subquery ::= query_simple */
+ -1, /* (741) query_simple_or_subquery ::= subquery */
+ -1, /* (742) query_or_subquery ::= query_expression */
+ -1, /* (743) query_or_subquery ::= subquery */
+ 0, /* (744) order_by_clause_opt ::= */
+ -3, /* (745) order_by_clause_opt ::= ORDER BY sort_specification_list */
+ 0, /* (746) slimit_clause_opt ::= */
+ -2, /* (747) slimit_clause_opt ::= SLIMIT NK_INTEGER */
+ -4, /* (748) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */
+ -4, /* (749) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */
+ 0, /* (750) limit_clause_opt ::= */
+ -2, /* (751) limit_clause_opt ::= LIMIT NK_INTEGER */
+ -4, /* (752) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */
+ -4, /* (753) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */
+ -3, /* (754) subquery ::= NK_LP query_expression NK_RP */
+ -3, /* (755) subquery ::= NK_LP subquery NK_RP */
+ -1, /* (756) search_condition ::= common_expression */
+ -1, /* (757) sort_specification_list ::= sort_specification */
+ -3, /* (758) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */
+ -3, /* (759) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */
+ 0, /* (760) ordering_specification_opt ::= */
+ -1, /* (761) ordering_specification_opt ::= ASC */
+ -1, /* (762) ordering_specification_opt ::= DESC */
+ 0, /* (763) null_ordering_opt ::= */
+ -2, /* (764) null_ordering_opt ::= NULLS FIRST */
+ -2, /* (765) null_ordering_opt ::= NULLS LAST */
+ 0, /* (766) column_options ::= */
+ -3, /* (767) column_options ::= column_options PRIMARY KEY */
+ -3, /* (768) column_options ::= column_options ENCODE NK_STRING */
+ -3, /* (769) column_options ::= column_options COMPRESS NK_STRING */
+ -3, /* (770) column_options ::= column_options LEVEL NK_STRING */
};
static void yy_accept(yyParser*); /* Forward Declaration */
@@ -5570,23 +5823,23 @@ static void yy_accept(yyParser*); /* Forward Declaration */
** means that the extra parameters have no performance impact.
*/
static YYACTIONTYPE yy_reduce(
- yyParser *yypParser, /* The parser */
- unsigned int yyruleno, /* Number of the rule by which to reduce */
- int yyLookahead, /* Lookahead token, or YYNOCODE if none */
- ParseTOKENTYPE yyLookaheadToken /* Value of the lookahead token */
- ParseCTX_PDECL /* %extra_context */
+ yyParser *yypParser, /* The parser */
+ unsigned int yyruleno, /* Number of the rule by which to reduce */
+ int yyLookahead, /* Lookahead token, or YYNOCODE if none */
+ ParseTOKENTYPE yyLookaheadToken /* Value of the lookahead token */
+ ParseCTX_PDECL /* %extra_context */
){
int yygoto; /* The next state */
YYACTIONTYPE yyact; /* The next action */
yyStackEntry *yymsp; /* The top of the parser's stack */
int yysize; /* Amount to pop the stack */
ParseARG_FETCH
- (void)yyLookahead;
+ (void)yyLookahead;
(void)yyLookaheadToken;
yymsp = yypParser->yytos;
switch( yyruleno ){
- /* Beginning here are the reduction cases. A typical example
+ /* Beginning here are the reduction cases. A typical example
** follows:
** case 0:
** #line
@@ -5597,21 +5850,15 @@ static YYACTIONTYPE yy_reduce(
/********** Begin reduce actions **********************************************/
YYMINORTYPE yylhsminor;
case 0: /* cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */
-#line 50 "sql.y"
{ pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); }
-#line 5567 "sql.c"
- yy_destructor(yypParser,379,&yymsp[0].minor);
+ yy_destructor(yypParser,387,&yymsp[0].minor);
break;
case 1: /* cmd ::= ALTER ACCOUNT NK_ID alter_account_options */
-#line 51 "sql.y"
{ pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); }
-#line 5573 "sql.c"
- yy_destructor(yypParser,380,&yymsp[0].minor);
+ yy_destructor(yypParser,388,&yymsp[0].minor);
break;
case 2: /* account_options ::= */
-#line 55 "sql.y"
{ }
-#line 5579 "sql.c"
break;
case 3: /* account_options ::= account_options PPS literal */
case 4: /* account_options ::= account_options TSERIES literal */ yytestcase(yyruleno==4);
@@ -5622,26 +5869,20 @@ static YYACTIONTYPE yy_reduce(
case 9: /* account_options ::= account_options USERS literal */ yytestcase(yyruleno==9);
case 10: /* account_options ::= account_options CONNS literal */ yytestcase(yyruleno==10);
case 11: /* account_options ::= account_options STATE literal */ yytestcase(yyruleno==11);
-{ yy_destructor(yypParser,379,&yymsp[-2].minor);
-#line 56 "sql.y"
+{ yy_destructor(yypParser,387,&yymsp[-2].minor);
{ }
-#line 5593 "sql.c"
- yy_destructor(yypParser,381,&yymsp[0].minor);
+ yy_destructor(yypParser,389,&yymsp[0].minor);
}
break;
case 12: /* alter_account_options ::= alter_account_option */
-{ yy_destructor(yypParser,382,&yymsp[0].minor);
-#line 68 "sql.y"
+{ yy_destructor(yypParser,390,&yymsp[0].minor);
{ }
-#line 5601 "sql.c"
}
break;
case 13: /* alter_account_options ::= alter_account_options alter_account_option */
-{ yy_destructor(yypParser,380,&yymsp[-1].minor);
-#line 69 "sql.y"
+{ yy_destructor(yypParser,388,&yymsp[-1].minor);
{ }
-#line 5608 "sql.c"
- yy_destructor(yypParser,382,&yymsp[0].minor);
+ yy_destructor(yypParser,390,&yymsp[0].minor);
}
break;
case 14: /* alter_account_option ::= PASS literal */
@@ -5654,27 +5895,19 @@ static YYACTIONTYPE yy_reduce(
case 21: /* alter_account_option ::= USERS literal */ yytestcase(yyruleno==21);
case 22: /* alter_account_option ::= CONNS literal */ yytestcase(yyruleno==22);
case 23: /* alter_account_option ::= STATE literal */ yytestcase(yyruleno==23);
-#line 73 "sql.y"
{ }
-#line 5624 "sql.c"
- yy_destructor(yypParser,381,&yymsp[0].minor);
+ yy_destructor(yypParser,389,&yymsp[0].minor);
break;
case 24: /* ip_range_list ::= NK_STRING */
-#line 86 "sql.y"
-{ yylhsminor.yy316 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); }
-#line 5630 "sql.c"
- yymsp[0].minor.yy316 = yylhsminor.yy316;
+{ yylhsminor.yy456 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); }
+ yymsp[0].minor.yy456 = yylhsminor.yy456;
break;
case 25: /* ip_range_list ::= ip_range_list NK_COMMA NK_STRING */
-#line 87 "sql.y"
-{ yylhsminor.yy316 = addNodeToList(pCxt, yymsp[-2].minor.yy316, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); }
-#line 5636 "sql.c"
- yymsp[-2].minor.yy316 = yylhsminor.yy316;
+{ yylhsminor.yy456 = addNodeToList(pCxt, yymsp[-2].minor.yy456, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); }
+ yymsp[-2].minor.yy456 = yylhsminor.yy456;
break;
case 26: /* white_list ::= HOST ip_range_list */
-#line 91 "sql.y"
-{ yymsp[-1].minor.yy316 = yymsp[0].minor.yy316; }
-#line 5642 "sql.c"
+{ yymsp[-1].minor.yy456 = yymsp[0].minor.yy456; }
break;
case 27: /* white_list_opt ::= */
case 206: /* specific_cols_opt ::= */ yytestcase(yyruleno==206);
@@ -5682,246 +5915,166 @@ static YYACTIONTYPE yy_reduce(
case 335: /* tag_list_opt ::= */ yytestcase(yyruleno==335);
case 408: /* col_list_opt ::= */ yytestcase(yyruleno==408);
case 415: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==415);
- case 678: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==678);
- case 708: /* group_by_clause_opt ::= */ yytestcase(yyruleno==708);
- case 728: /* order_by_clause_opt ::= */ yytestcase(yyruleno==728);
-#line 95 "sql.y"
-{ yymsp[1].minor.yy316 = NULL; }
-#line 5655 "sql.c"
+ case 694: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==694);
+ case 724: /* group_by_clause_opt ::= */ yytestcase(yyruleno==724);
+ case 744: /* order_by_clause_opt ::= */ yytestcase(yyruleno==744);
+{ yymsp[1].minor.yy456 = NULL; }
break;
case 28: /* white_list_opt ::= white_list */
case 245: /* tags_def_opt ::= tags_def */ yytestcase(yyruleno==245);
case 416: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==416);
- case 586: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==586);
-#line 96 "sql.y"
-{ yylhsminor.yy316 = yymsp[0].minor.yy316; }
-#line 5663 "sql.c"
- yymsp[0].minor.yy316 = yylhsminor.yy316;
+ case 602: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==602);
+{ yylhsminor.yy456 = yymsp[0].minor.yy456; }
+ yymsp[0].minor.yy456 = yylhsminor.yy456;
break;
case 29: /* is_import_opt ::= */
case 31: /* is_createdb_opt ::= */ yytestcase(yyruleno==31);
-#line 100 "sql.y"
-{ yymsp[1].minor.yy1043 = 0; }
-#line 5670 "sql.c"
+{ yymsp[1].minor.yy343 = 0; }
break;
case 30: /* is_import_opt ::= IS_IMPORT NK_INTEGER */
case 32: /* is_createdb_opt ::= CREATEDB NK_INTEGER */ yytestcase(yyruleno==32);
case 42: /* sysinfo_opt ::= SYSINFO NK_INTEGER */ yytestcase(yyruleno==42);
-#line 101 "sql.y"
-{ yymsp[-1].minor.yy1043 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); }
-#line 5677 "sql.c"
+{ yymsp[-1].minor.yy343 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); }
break;
case 33: /* cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt is_createdb_opt is_import_opt white_list_opt */
-#line 109 "sql.y"
{
- pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-6].minor.yy1109, &yymsp[-4].minor.yy0, yymsp[-3].minor.yy1043, yymsp[-1].minor.yy1043, yymsp[-2].minor.yy1043);
- pCxt->pRootNode = addCreateUserStmtWhiteList(pCxt, pCxt->pRootNode, yymsp[0].minor.yy316);
+ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-6].minor.yy209, &yymsp[-4].minor.yy0, yymsp[-3].minor.yy343, yymsp[-1].minor.yy343, yymsp[-2].minor.yy343);
+ pCxt->pRootNode = addCreateUserStmtWhiteList(pCxt, pCxt->pRootNode, yymsp[0].minor.yy456);
}
-#line 5685 "sql.c"
break;
case 34: /* cmd ::= ALTER USER user_name PASS NK_STRING */
-#line 113 "sql.y"
-{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy1109, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); }
-#line 5690 "sql.c"
+{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy209, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); }
break;
case 35: /* cmd ::= ALTER USER user_name ENABLE NK_INTEGER */
-#line 114 "sql.y"
-{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy1109, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); }
-#line 5695 "sql.c"
+{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy209, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); }
break;
case 36: /* cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */
-#line 115 "sql.y"
-{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy1109, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); }
-#line 5700 "sql.c"
+{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy209, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); }
break;
case 37: /* cmd ::= ALTER USER user_name CREATEDB NK_INTEGER */
-#line 116 "sql.y"
-{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy1109, TSDB_ALTER_USER_CREATEDB, &yymsp[0].minor.yy0); }
-#line 5705 "sql.c"
+{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy209, TSDB_ALTER_USER_CREATEDB, &yymsp[0].minor.yy0); }
break;
case 38: /* cmd ::= ALTER USER user_name ADD white_list */
-#line 117 "sql.y"
-{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy1109, TSDB_ALTER_USER_ADD_WHITE_LIST, yymsp[0].minor.yy316); }
-#line 5710 "sql.c"
+{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy209, TSDB_ALTER_USER_ADD_WHITE_LIST, yymsp[0].minor.yy456); }
break;
case 39: /* cmd ::= ALTER USER user_name DROP white_list */
-#line 118 "sql.y"
-{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy1109, TSDB_ALTER_USER_DROP_WHITE_LIST, yymsp[0].minor.yy316); }
-#line 5715 "sql.c"
+{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy209, TSDB_ALTER_USER_DROP_WHITE_LIST, yymsp[0].minor.yy456); }
break;
case 40: /* cmd ::= DROP USER user_name */
-#line 119 "sql.y"
-{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy1109); }
-#line 5720 "sql.c"
+{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy209); }
break;
case 41: /* sysinfo_opt ::= */
-#line 123 "sql.y"
-{ yymsp[1].minor.yy1043 = 1; }
-#line 5725 "sql.c"
+{ yymsp[1].minor.yy343 = 1; }
break;
case 43: /* cmd ::= GRANT privileges ON priv_level with_opt TO user_name */
-#line 127 "sql.y"
-{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-5].minor.yy1089, &yymsp[-3].minor.yy849, &yymsp[0].minor.yy1109, yymsp[-2].minor.yy416); }
-#line 5730 "sql.c"
+{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-5].minor.yy637, &yymsp[-3].minor.yy1065, &yymsp[0].minor.yy209, yymsp[-2].minor.yy840); }
break;
case 44: /* cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */
-#line 128 "sql.y"
-{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-5].minor.yy1089, &yymsp[-3].minor.yy849, &yymsp[0].minor.yy1109, yymsp[-2].minor.yy416); }
-#line 5735 "sql.c"
+{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-5].minor.yy637, &yymsp[-3].minor.yy1065, &yymsp[0].minor.yy209, yymsp[-2].minor.yy840); }
break;
case 45: /* privileges ::= ALL */
-#line 132 "sql.y"
-{ yymsp[0].minor.yy1089 = PRIVILEGE_TYPE_ALL; }
-#line 5740 "sql.c"
+{ yymsp[0].minor.yy637 = PRIVILEGE_TYPE_ALL; }
break;
case 46: /* privileges ::= priv_type_list */
case 48: /* priv_type_list ::= priv_type */ yytestcase(yyruleno==48);
-#line 133 "sql.y"
-{ yylhsminor.yy1089 = yymsp[0].minor.yy1089; }
-#line 5746 "sql.c"
- yymsp[0].minor.yy1089 = yylhsminor.yy1089;
+{ yylhsminor.yy637 = yymsp[0].minor.yy637; }
+ yymsp[0].minor.yy637 = yylhsminor.yy637;
break;
case 47: /* privileges ::= SUBSCRIBE */
-#line 134 "sql.y"
-{ yymsp[0].minor.yy1089 = PRIVILEGE_TYPE_SUBSCRIBE; }
-#line 5752 "sql.c"
+{ yymsp[0].minor.yy637 = PRIVILEGE_TYPE_SUBSCRIBE; }
break;
case 49: /* priv_type_list ::= priv_type_list NK_COMMA priv_type */
-#line 139 "sql.y"
-{ yylhsminor.yy1089 = yymsp[-2].minor.yy1089 | yymsp[0].minor.yy1089; }
-#line 5757 "sql.c"
- yymsp[-2].minor.yy1089 = yylhsminor.yy1089;
+{ yylhsminor.yy637 = yymsp[-2].minor.yy637 | yymsp[0].minor.yy637; }
+ yymsp[-2].minor.yy637 = yylhsminor.yy637;
break;
case 50: /* priv_type ::= READ */
-#line 143 "sql.y"
-{ yymsp[0].minor.yy1089 = PRIVILEGE_TYPE_READ; }
-#line 5763 "sql.c"
+{ yymsp[0].minor.yy637 = PRIVILEGE_TYPE_READ; }
break;
case 51: /* priv_type ::= WRITE */
-#line 144 "sql.y"
-{ yymsp[0].minor.yy1089 = PRIVILEGE_TYPE_WRITE; }
-#line 5768 "sql.c"
+{ yymsp[0].minor.yy637 = PRIVILEGE_TYPE_WRITE; }
break;
case 52: /* priv_type ::= ALTER */
-#line 145 "sql.y"
-{ yymsp[0].minor.yy1089 = PRIVILEGE_TYPE_ALTER; }
-#line 5773 "sql.c"
+{ yymsp[0].minor.yy637 = PRIVILEGE_TYPE_ALTER; }
break;
case 53: /* priv_level ::= NK_STAR NK_DOT NK_STAR */
-#line 149 "sql.y"
-{ yylhsminor.yy849.first = yymsp[-2].minor.yy0; yylhsminor.yy849.second = yymsp[0].minor.yy0; }
-#line 5778 "sql.c"
- yymsp[-2].minor.yy849 = yylhsminor.yy849;
+{ yylhsminor.yy1065.first = yymsp[-2].minor.yy0; yylhsminor.yy1065.second = yymsp[0].minor.yy0; }
+ yymsp[-2].minor.yy1065 = yylhsminor.yy1065;
break;
case 54: /* priv_level ::= db_name NK_DOT NK_STAR */
-#line 150 "sql.y"
-{ yylhsminor.yy849.first = yymsp[-2].minor.yy1109; yylhsminor.yy849.second = yymsp[0].minor.yy0; }
-#line 5784 "sql.c"
- yymsp[-2].minor.yy849 = yylhsminor.yy849;
+{ yylhsminor.yy1065.first = yymsp[-2].minor.yy209; yylhsminor.yy1065.second = yymsp[0].minor.yy0; }
+ yymsp[-2].minor.yy1065 = yylhsminor.yy1065;
break;
case 55: /* priv_level ::= db_name NK_DOT table_name */
-#line 151 "sql.y"
-{ yylhsminor.yy849.first = yymsp[-2].minor.yy1109; yylhsminor.yy849.second = yymsp[0].minor.yy1109; }
-#line 5790 "sql.c"
- yymsp[-2].minor.yy849 = yylhsminor.yy849;
+{ yylhsminor.yy1065.first = yymsp[-2].minor.yy209; yylhsminor.yy1065.second = yymsp[0].minor.yy209; }
+ yymsp[-2].minor.yy1065 = yylhsminor.yy1065;
break;
case 56: /* priv_level ::= topic_name */
-#line 152 "sql.y"
-{ yylhsminor.yy849.first = yymsp[0].minor.yy1109; yylhsminor.yy849.second = nil_token; }
-#line 5796 "sql.c"
- yymsp[0].minor.yy849 = yylhsminor.yy849;
+{ yylhsminor.yy1065.first = yymsp[0].minor.yy209; yylhsminor.yy1065.second = nil_token; }
+ yymsp[0].minor.yy1065 = yylhsminor.yy1065;
break;
case 57: /* with_opt ::= */
case 173: /* start_opt ::= */ yytestcase(yyruleno==173);
case 177: /* end_opt ::= */ yytestcase(yyruleno==177);
case 330: /* like_pattern_opt ::= */ yytestcase(yyruleno==330);
- case 427: /* subtable_opt ::= */ yytestcase(yyruleno==427);
- case 596: /* case_when_else_opt ::= */ yytestcase(yyruleno==596);
- case 626: /* from_clause_opt ::= */ yytestcase(yyruleno==626);
- case 653: /* join_on_clause_opt ::= */ yytestcase(yyruleno==653);
- case 655: /* window_offset_clause_opt ::= */ yytestcase(yyruleno==655);
- case 659: /* jlimit_clause_opt ::= */ yytestcase(yyruleno==659);
- case 676: /* where_clause_opt ::= */ yytestcase(yyruleno==676);
- case 685: /* twindow_clause_opt ::= */ yytestcase(yyruleno==685);
- case 693: /* sliding_opt ::= */ yytestcase(yyruleno==693);
- case 698: /* fill_opt ::= */ yytestcase(yyruleno==698);
- case 712: /* having_clause_opt ::= */ yytestcase(yyruleno==712);
- case 714: /* range_opt ::= */ yytestcase(yyruleno==714);
- case 717: /* every_opt ::= */ yytestcase(yyruleno==717);
- case 730: /* slimit_clause_opt ::= */ yytestcase(yyruleno==730);
- case 734: /* limit_clause_opt ::= */ yytestcase(yyruleno==734);
-#line 154 "sql.y"
-{ yymsp[1].minor.yy416 = NULL; }
-#line 5820 "sql.c"
+ case 428: /* subtable_opt ::= */ yytestcase(yyruleno==428);
+ case 612: /* case_when_else_opt ::= */ yytestcase(yyruleno==612);
+ case 642: /* from_clause_opt ::= */ yytestcase(yyruleno==642);
+ case 669: /* join_on_clause_opt ::= */ yytestcase(yyruleno==669);
+ case 671: /* window_offset_clause_opt ::= */ yytestcase(yyruleno==671);
+ case 675: /* jlimit_clause_opt ::= */ yytestcase(yyruleno==675);
+ case 692: /* where_clause_opt ::= */ yytestcase(yyruleno==692);
+ case 701: /* twindow_clause_opt ::= */ yytestcase(yyruleno==701);
+ case 709: /* sliding_opt ::= */ yytestcase(yyruleno==709);
+ case 714: /* fill_opt ::= */ yytestcase(yyruleno==714);
+ case 728: /* having_clause_opt ::= */ yytestcase(yyruleno==728);
+ case 730: /* range_opt ::= */ yytestcase(yyruleno==730);
+ case 733: /* every_opt ::= */ yytestcase(yyruleno==733);
+ case 746: /* slimit_clause_opt ::= */ yytestcase(yyruleno==746);
+ case 750: /* limit_clause_opt ::= */ yytestcase(yyruleno==750);
+{ yymsp[1].minor.yy840 = NULL; }
break;
case 58: /* with_opt ::= WITH search_condition */
- case 627: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==627);
- case 654: /* join_on_clause_opt ::= ON search_condition */ yytestcase(yyruleno==654);
- case 677: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==677);
- case 713: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==713);
-#line 155 "sql.y"
-{ yymsp[-1].minor.yy416 = yymsp[0].minor.yy416; }
-#line 5829 "sql.c"
+ case 643: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==643);
+ case 670: /* join_on_clause_opt ::= ON search_condition */ yytestcase(yyruleno==670);
+ case 693: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==693);
+ case 729: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==729);
+{ yymsp[-1].minor.yy840 = yymsp[0].minor.yy840; }
break;
case 59: /* cmd ::= CREATE ENCRYPT_KEY NK_STRING */
-#line 158 "sql.y"
{ pCxt->pRootNode = createEncryptKeyStmt(pCxt, &yymsp[0].minor.yy0); }
-#line 5834 "sql.c"
break;
case 60: /* cmd ::= CREATE DNODE dnode_endpoint */
-#line 161 "sql.y"
-{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy1109, NULL); }
-#line 5839 "sql.c"
+{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy209, NULL); }
break;
case 61: /* cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */
-#line 162 "sql.y"
-{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy1109, &yymsp[0].minor.yy0); }
-#line 5844 "sql.c"
+{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy209, &yymsp[0].minor.yy0); }
break;
case 62: /* cmd ::= DROP DNODE NK_INTEGER force_opt */
-#line 163 "sql.y"
-{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy209, false); }
-#line 5849 "sql.c"
+{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy9, false); }
break;
case 63: /* cmd ::= DROP DNODE dnode_endpoint force_opt */
-#line 164 "sql.y"
-{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy1109, yymsp[0].minor.yy209, false); }
-#line 5854 "sql.c"
+{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy209, yymsp[0].minor.yy9, false); }
break;
case 64: /* cmd ::= DROP DNODE NK_INTEGER unsafe_opt */
-#line 165 "sql.y"
-{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, false, yymsp[0].minor.yy209); }
-#line 5859 "sql.c"
+{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, false, yymsp[0].minor.yy9); }
break;
case 65: /* cmd ::= DROP DNODE dnode_endpoint unsafe_opt */
-#line 166 "sql.y"
-{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy1109, false, yymsp[0].minor.yy209); }
-#line 5864 "sql.c"
+{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy209, false, yymsp[0].minor.yy9); }
break;
case 66: /* cmd ::= ALTER DNODE NK_INTEGER NK_STRING */
-#line 167 "sql.y"
{ pCxt->pRootNode = createAlterDnodeStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, NULL); }
-#line 5869 "sql.c"
break;
case 67: /* cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */
-#line 168 "sql.y"
{ pCxt->pRootNode = createAlterDnodeStmt(pCxt, &yymsp[-2].minor.yy0, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); }
-#line 5874 "sql.c"
break;
case 68: /* cmd ::= ALTER ALL DNODES NK_STRING */
-#line 169 "sql.y"
{ pCxt->pRootNode = createAlterDnodeStmt(pCxt, NULL, &yymsp[0].minor.yy0, NULL); }
-#line 5879 "sql.c"
break;
case 69: /* cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */
-#line 170 "sql.y"
{ pCxt->pRootNode = createAlterDnodeStmt(pCxt, NULL, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); }
-#line 5884 "sql.c"
break;
case 70: /* cmd ::= RESTORE DNODE NK_INTEGER */
-#line 171 "sql.y"
{ pCxt->pRootNode = createRestoreComponentNodeStmt(pCxt, QUERY_NODE_RESTORE_DNODE_STMT, &yymsp[0].minor.yy0); }
-#line 5889 "sql.c"
break;
case 71: /* dnode_endpoint ::= NK_STRING */
case 72: /* dnode_endpoint ::= NK_ID */ yytestcase(yyruleno==72);
@@ -5930,37 +6083,38 @@ static YYACTIONTYPE yy_reduce(
case 365: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==365);
case 366: /* sma_func_name ::= LAST */ yytestcase(yyruleno==366);
case 367: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==367);
- case 515: /* db_name ::= NK_ID */ yytestcase(yyruleno==515);
- case 516: /* table_name ::= NK_ID */ yytestcase(yyruleno==516);
- case 517: /* column_name ::= NK_ID */ yytestcase(yyruleno==517);
- case 518: /* function_name ::= NK_ID */ yytestcase(yyruleno==518);
- case 519: /* view_name ::= NK_ID */ yytestcase(yyruleno==519);
- case 520: /* table_alias ::= NK_ID */ yytestcase(yyruleno==520);
- case 521: /* column_alias ::= NK_ID */ yytestcase(yyruleno==521);
- case 522: /* column_alias ::= NK_ALIAS */ yytestcase(yyruleno==522);
- case 523: /* user_name ::= NK_ID */ yytestcase(yyruleno==523);
- case 524: /* topic_name ::= NK_ID */ yytestcase(yyruleno==524);
- case 525: /* stream_name ::= NK_ID */ yytestcase(yyruleno==525);
- case 526: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==526);
- case 527: /* index_name ::= NK_ID */ yytestcase(yyruleno==527);
- case 528: /* tsma_name ::= NK_ID */ yytestcase(yyruleno==528);
- case 572: /* noarg_func ::= NOW */ yytestcase(yyruleno==572);
- case 573: /* noarg_func ::= TODAY */ yytestcase(yyruleno==573);
- case 574: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==574);
- case 575: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==575);
- case 576: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==576);
- case 577: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==577);
- case 578: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==578);
- case 579: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==579);
- case 580: /* noarg_func ::= USER */ yytestcase(yyruleno==580);
- case 581: /* star_func ::= COUNT */ yytestcase(yyruleno==581);
- case 582: /* star_func ::= FIRST */ yytestcase(yyruleno==582);
- case 583: /* star_func ::= LAST */ yytestcase(yyruleno==583);
- case 584: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==584);
-#line 175 "sql.y"
-{ yylhsminor.yy1109 = yymsp[0].minor.yy0; }
-#line 5927 "sql.c"
- yymsp[0].minor.yy1109 = yylhsminor.yy1109;
+ case 516: /* db_name ::= NK_ID */ yytestcase(yyruleno==516);
+ case 517: /* table_name ::= NK_ID */ yytestcase(yyruleno==517);
+ case 518: /* column_name ::= NK_ID */ yytestcase(yyruleno==518);
+ case 519: /* function_name ::= NK_ID */ yytestcase(yyruleno==519);
+ case 520: /* view_name ::= NK_ID */ yytestcase(yyruleno==520);
+ case 521: /* table_alias ::= NK_ID */ yytestcase(yyruleno==521);
+ case 522: /* column_alias ::= NK_ID */ yytestcase(yyruleno==522);
+ case 523: /* column_alias ::= NK_ALIAS */ yytestcase(yyruleno==523);
+ case 524: /* user_name ::= NK_ID */ yytestcase(yyruleno==524);
+ case 525: /* topic_name ::= NK_ID */ yytestcase(yyruleno==525);
+ case 526: /* stream_name ::= NK_ID */ yytestcase(yyruleno==526);
+ case 527: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==527);
+ case 528: /* index_name ::= NK_ID */ yytestcase(yyruleno==528);
+ case 529: /* tsma_name ::= NK_ID */ yytestcase(yyruleno==529);
+ case 581: /* substr_func ::= SUBSTR */ yytestcase(yyruleno==581);
+ case 582: /* substr_func ::= SUBSTRING */ yytestcase(yyruleno==582);
+ case 587: /* noarg_func ::= NOW */ yytestcase(yyruleno==587);
+ case 588: /* noarg_func ::= TODAY */ yytestcase(yyruleno==588);
+ case 589: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==589);
+ case 590: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==590);
+ case 591: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==591);
+ case 592: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==592);
+ case 593: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==593);
+ case 594: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==594);
+ case 595: /* noarg_func ::= USER */ yytestcase(yyruleno==595);
+ case 596: /* noarg_func ::= PI */ yytestcase(yyruleno==596);
+ case 597: /* star_func ::= COUNT */ yytestcase(yyruleno==597);
+ case 598: /* star_func ::= FIRST */ yytestcase(yyruleno==598);
+ case 599: /* star_func ::= LAST */ yytestcase(yyruleno==599);
+ case 600: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==600);
+{ yylhsminor.yy209 = yymsp[0].minor.yy0; }
+ yymsp[0].minor.yy209 = yylhsminor.yy209;
break;
case 74: /* force_opt ::= */
case 101: /* not_exists_opt ::= */ yytestcase(yyruleno==101);
@@ -5968,500 +6122,330 @@ static YYACTIONTYPE yy_reduce(
case 385: /* analyze_opt ::= */ yytestcase(yyruleno==385);
case 392: /* agg_func_opt ::= */ yytestcase(yyruleno==392);
case 398: /* or_replace_opt ::= */ yytestcase(yyruleno==398);
- case 429: /* ignore_opt ::= */ yytestcase(yyruleno==429);
- case 664: /* tag_mode_opt ::= */ yytestcase(yyruleno==664);
- case 666: /* set_quantifier_opt ::= */ yytestcase(yyruleno==666);
-#line 181 "sql.y"
-{ yymsp[1].minor.yy209 = false; }
-#line 5941 "sql.c"
+ case 430: /* ignore_opt ::= */ yytestcase(yyruleno==430);
+ case 680: /* tag_mode_opt ::= */ yytestcase(yyruleno==680);
+ case 682: /* set_quantifier_opt ::= */ yytestcase(yyruleno==682);
+{ yymsp[1].minor.yy9 = false; }
break;
case 75: /* force_opt ::= FORCE */
case 76: /* unsafe_opt ::= UNSAFE */ yytestcase(yyruleno==76);
case 386: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==386);
case 393: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==393);
- case 665: /* tag_mode_opt ::= TAGS */ yytestcase(yyruleno==665);
- case 667: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==667);
-#line 182 "sql.y"
-{ yymsp[0].minor.yy209 = true; }
-#line 5951 "sql.c"
+ case 681: /* tag_mode_opt ::= TAGS */ yytestcase(yyruleno==681);
+ case 683: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==683);
+{ yymsp[0].minor.yy9 = true; }
break;
case 77: /* cmd ::= ALTER CLUSTER NK_STRING */
-#line 189 "sql.y"
{ pCxt->pRootNode = createAlterClusterStmt(pCxt, &yymsp[0].minor.yy0, NULL); }
-#line 5956 "sql.c"
break;
case 78: /* cmd ::= ALTER CLUSTER NK_STRING NK_STRING */
-#line 190 "sql.y"
{ pCxt->pRootNode = createAlterClusterStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); }
-#line 5961 "sql.c"
break;
case 79: /* cmd ::= ALTER LOCAL NK_STRING */
-#line 193 "sql.y"
{ pCxt->pRootNode = createAlterLocalStmt(pCxt, &yymsp[0].minor.yy0, NULL); }
-#line 5966 "sql.c"
break;
case 80: /* cmd ::= ALTER LOCAL NK_STRING NK_STRING */
-#line 194 "sql.y"
{ pCxt->pRootNode = createAlterLocalStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); }
-#line 5971 "sql.c"
break;
case 81: /* cmd ::= CREATE QNODE ON DNODE NK_INTEGER */
-#line 197 "sql.y"
{ pCxt->pRootNode = createCreateComponentNodeStmt(pCxt, QUERY_NODE_CREATE_QNODE_STMT, &yymsp[0].minor.yy0); }
-#line 5976 "sql.c"
break;
case 82: /* cmd ::= DROP QNODE ON DNODE NK_INTEGER */
-#line 198 "sql.y"
{ pCxt->pRootNode = createDropComponentNodeStmt(pCxt, QUERY_NODE_DROP_QNODE_STMT, &yymsp[0].minor.yy0); }
-#line 5981 "sql.c"
break;
case 83: /* cmd ::= RESTORE QNODE ON DNODE NK_INTEGER */
-#line 199 "sql.y"
{ pCxt->pRootNode = createRestoreComponentNodeStmt(pCxt, QUERY_NODE_RESTORE_QNODE_STMT, &yymsp[0].minor.yy0); }
-#line 5986 "sql.c"
break;
case 84: /* cmd ::= CREATE BNODE ON DNODE NK_INTEGER */
-#line 202 "sql.y"
{ pCxt->pRootNode = createCreateComponentNodeStmt(pCxt, QUERY_NODE_CREATE_BNODE_STMT, &yymsp[0].minor.yy0); }
-#line 5991 "sql.c"
break;
case 85: /* cmd ::= DROP BNODE ON DNODE NK_INTEGER */
-#line 203 "sql.y"
{ pCxt->pRootNode = createDropComponentNodeStmt(pCxt, QUERY_NODE_DROP_BNODE_STMT, &yymsp[0].minor.yy0); }
-#line 5996 "sql.c"
break;
case 86: /* cmd ::= CREATE SNODE ON DNODE NK_INTEGER */
-#line 206 "sql.y"
{ pCxt->pRootNode = createCreateComponentNodeStmt(pCxt, QUERY_NODE_CREATE_SNODE_STMT, &yymsp[0].minor.yy0); }
-#line 6001 "sql.c"
break;
case 87: /* cmd ::= DROP SNODE ON DNODE NK_INTEGER */
-#line 207 "sql.y"
{ pCxt->pRootNode = createDropComponentNodeStmt(pCxt, QUERY_NODE_DROP_SNODE_STMT, &yymsp[0].minor.yy0); }
-#line 6006 "sql.c"
break;
case 88: /* cmd ::= CREATE MNODE ON DNODE NK_INTEGER */
-#line 210 "sql.y"
{ pCxt->pRootNode = createCreateComponentNodeStmt(pCxt, QUERY_NODE_CREATE_MNODE_STMT, &yymsp[0].minor.yy0); }
-#line 6011 "sql.c"
break;
case 89: /* cmd ::= DROP MNODE ON DNODE NK_INTEGER */
-#line 211 "sql.y"
{ pCxt->pRootNode = createDropComponentNodeStmt(pCxt, QUERY_NODE_DROP_MNODE_STMT, &yymsp[0].minor.yy0); }
-#line 6016 "sql.c"
break;
case 90: /* cmd ::= RESTORE MNODE ON DNODE NK_INTEGER */
-#line 212 "sql.y"
{ pCxt->pRootNode = createRestoreComponentNodeStmt(pCxt, QUERY_NODE_RESTORE_MNODE_STMT, &yymsp[0].minor.yy0); }
-#line 6021 "sql.c"
break;
case 91: /* cmd ::= RESTORE VNODE ON DNODE NK_INTEGER */
-#line 215 "sql.y"
{ pCxt->pRootNode = createRestoreComponentNodeStmt(pCxt, QUERY_NODE_RESTORE_VNODE_STMT, &yymsp[0].minor.yy0); }
-#line 6026 "sql.c"
break;
case 92: /* cmd ::= CREATE DATABASE not_exists_opt db_name db_options */
-#line 218 "sql.y"
-{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy209, &yymsp[-1].minor.yy1109, yymsp[0].minor.yy416); }
-#line 6031 "sql.c"
+{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy9, &yymsp[-1].minor.yy209, yymsp[0].minor.yy840); }
break;
case 93: /* cmd ::= DROP DATABASE exists_opt db_name */
-#line 219 "sql.y"
-{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy209, &yymsp[0].minor.yy1109); }
-#line 6036 "sql.c"
+{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy9, &yymsp[0].minor.yy209); }
break;
case 94: /* cmd ::= USE db_name */
-#line 220 "sql.y"
-{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy1109); }
-#line 6041 "sql.c"
+{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy209); }
break;
case 95: /* cmd ::= ALTER DATABASE db_name alter_db_options */
-#line 221 "sql.y"
-{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy1109, yymsp[0].minor.yy416); }
-#line 6046 "sql.c"
+{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy209, yymsp[0].minor.yy840); }
break;
case 96: /* cmd ::= FLUSH DATABASE db_name */
-#line 222 "sql.y"
-{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy1109); }
-#line 6051 "sql.c"
+{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy209); }
break;
case 97: /* cmd ::= TRIM DATABASE db_name speed_opt */
-#line 223 "sql.y"
-{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy1109, yymsp[0].minor.yy820); }
-#line 6056 "sql.c"
+{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy209, yymsp[0].minor.yy516); }
break;
case 98: /* cmd ::= S3MIGRATE DATABASE db_name */
-#line 224 "sql.y"
-{ pCxt->pRootNode = createS3MigrateDatabaseStmt(pCxt, &yymsp[0].minor.yy1109); }
-#line 6061 "sql.c"
+{ pCxt->pRootNode = createS3MigrateDatabaseStmt(pCxt, &yymsp[0].minor.yy209); }
break;
case 99: /* cmd ::= COMPACT DATABASE db_name start_opt end_opt */
-#line 225 "sql.y"
-{ pCxt->pRootNode = createCompactStmt(pCxt, &yymsp[-2].minor.yy1109, yymsp[-1].minor.yy416, yymsp[0].minor.yy416); }
-#line 6066 "sql.c"
+{ pCxt->pRootNode = createCompactStmt(pCxt, &yymsp[-2].minor.yy209, yymsp[-1].minor.yy840, yymsp[0].minor.yy840); }
break;
case 100: /* not_exists_opt ::= IF NOT EXISTS */
-#line 229 "sql.y"
-{ yymsp[-2].minor.yy209 = true; }
-#line 6071 "sql.c"
+{ yymsp[-2].minor.yy9 = true; }
break;
case 102: /* exists_opt ::= IF EXISTS */
case 399: /* or_replace_opt ::= OR REPLACE */ yytestcase(yyruleno==399);
- case 430: /* ignore_opt ::= IGNORE UNTREATED */ yytestcase(yyruleno==430);
-#line 234 "sql.y"
-{ yymsp[-1].minor.yy209 = true; }
-#line 6078 "sql.c"
+ case 431: /* ignore_opt ::= IGNORE UNTREATED */ yytestcase(yyruleno==431);
+{ yymsp[-1].minor.yy9 = true; }
break;
case 104: /* db_options ::= */
-#line 237 "sql.y"
-{ yymsp[1].minor.yy416 = createDefaultDatabaseOptions(pCxt); }
-#line 6083 "sql.c"
+{ yymsp[1].minor.yy840 = createDefaultDatabaseOptions(pCxt); }
break;
case 105: /* db_options ::= db_options BUFFER NK_INTEGER */
-#line 238 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); }
-#line 6088 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 106: /* db_options ::= db_options CACHEMODEL NK_STRING */
-#line 239 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); }
-#line 6094 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 107: /* db_options ::= db_options CACHESIZE NK_INTEGER */
-#line 240 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); }
-#line 6100 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 108: /* db_options ::= db_options COMP NK_INTEGER */
-#line 241 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_COMP, &yymsp[0].minor.yy0); }
-#line 6106 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_COMP, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 109: /* db_options ::= db_options DURATION NK_INTEGER */
case 110: /* db_options ::= db_options DURATION NK_VARIABLE */ yytestcase(yyruleno==110);
-#line 242 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_DAYS, &yymsp[0].minor.yy0); }
-#line 6113 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_DAYS, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 111: /* db_options ::= db_options MAXROWS NK_INTEGER */
-#line 244 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); }
-#line 6119 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 112: /* db_options ::= db_options MINROWS NK_INTEGER */
-#line 245 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); }
-#line 6125 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 113: /* db_options ::= db_options KEEP integer_list */
case 114: /* db_options ::= db_options KEEP variable_list */ yytestcase(yyruleno==114);
-#line 246 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_KEEP, yymsp[0].minor.yy316); }
-#line 6132 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_KEEP, yymsp[0].minor.yy456); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 115: /* db_options ::= db_options PAGES NK_INTEGER */
-#line 248 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_PAGES, &yymsp[0].minor.yy0); }
-#line 6138 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_PAGES, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 116: /* db_options ::= db_options PAGESIZE NK_INTEGER */
-#line 249 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); }
-#line 6144 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 117: /* db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */
-#line 250 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); }
-#line 6150 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 118: /* db_options ::= db_options PRECISION NK_STRING */
-#line 251 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); }
-#line 6156 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 119: /* db_options ::= db_options REPLICA NK_INTEGER */
-#line 252 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); }
-#line 6162 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 120: /* db_options ::= db_options VGROUPS NK_INTEGER */
-#line 254 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); }
-#line 6168 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 121: /* db_options ::= db_options SINGLE_STABLE NK_INTEGER */
-#line 255 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); }
-#line 6174 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 122: /* db_options ::= db_options RETENTIONS retention_list */
-#line 256 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_RETENTIONS, yymsp[0].minor.yy316); }
-#line 6180 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_RETENTIONS, yymsp[0].minor.yy456); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 123: /* db_options ::= db_options SCHEMALESS NK_INTEGER */
-#line 257 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); }
-#line 6186 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 124: /* db_options ::= db_options WAL_LEVEL NK_INTEGER */
-#line 258 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_WAL, &yymsp[0].minor.yy0); }
-#line 6192 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_WAL, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 125: /* db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */
-#line 259 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); }
-#line 6198 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 126: /* db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */
-#line 260 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); }
-#line 6204 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 127: /* db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */
-#line 261 "sql.y"
{
SToken t = yymsp[-1].minor.yy0;
t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z;
- yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-3].minor.yy416, DB_OPTION_WAL_RETENTION_PERIOD, &t);
+ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-3].minor.yy840, DB_OPTION_WAL_RETENTION_PERIOD, &t);
}
-#line 6214 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
case 128: /* db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */
-#line 266 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); }
-#line 6220 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 129: /* db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */
-#line 267 "sql.y"
{
SToken t = yymsp[-1].minor.yy0;
t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z;
- yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-3].minor.yy416, DB_OPTION_WAL_RETENTION_SIZE, &t);
+ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-3].minor.yy840, DB_OPTION_WAL_RETENTION_SIZE, &t);
}
-#line 6230 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
case 130: /* db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */
-#line 272 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); }
-#line 6236 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 131: /* db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */
-#line 273 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); }
-#line 6242 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 132: /* db_options ::= db_options STT_TRIGGER NK_INTEGER */
-#line 274 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); }
-#line 6248 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 133: /* db_options ::= db_options TABLE_PREFIX signed */
-#line 275 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_TABLE_PREFIX, yymsp[0].minor.yy416); }
-#line 6254 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_TABLE_PREFIX, yymsp[0].minor.yy840); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 134: /* db_options ::= db_options TABLE_SUFFIX signed */
-#line 276 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_TABLE_SUFFIX, yymsp[0].minor.yy416); }
-#line 6260 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_TABLE_SUFFIX, yymsp[0].minor.yy840); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 135: /* db_options ::= db_options S3_CHUNKSIZE NK_INTEGER */
-#line 277 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_S3_CHUNKSIZE, &yymsp[0].minor.yy0); }
-#line 6266 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_S3_CHUNKSIZE, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 136: /* db_options ::= db_options S3_KEEPLOCAL NK_INTEGER */
case 137: /* db_options ::= db_options S3_KEEPLOCAL NK_VARIABLE */ yytestcase(yyruleno==137);
-#line 278 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_S3_KEEPLOCAL, &yymsp[0].minor.yy0); }
-#line 6273 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_S3_KEEPLOCAL, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 138: /* db_options ::= db_options S3_COMPACT NK_INTEGER */
-#line 280 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_S3_COMPACT, &yymsp[0].minor.yy0); }
-#line 6279 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_S3_COMPACT, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 139: /* db_options ::= db_options KEEP_TIME_OFFSET NK_INTEGER */
-#line 281 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_KEEP_TIME_OFFSET, &yymsp[0].minor.yy0); }
-#line 6285 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_KEEP_TIME_OFFSET, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 140: /* db_options ::= db_options ENCRYPT_ALGORITHM NK_STRING */
-#line 282 "sql.y"
-{ yylhsminor.yy416 = setDatabaseOption(pCxt, yymsp[-2].minor.yy416, DB_OPTION_ENCRYPT_ALGORITHM, &yymsp[0].minor.yy0); }
-#line 6291 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_ENCRYPT_ALGORITHM, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 141: /* alter_db_options ::= alter_db_option */
-#line 284 "sql.y"
-{ yylhsminor.yy416 = createAlterDatabaseOptions(pCxt); yylhsminor.yy416 = setAlterDatabaseOption(pCxt, yylhsminor.yy416, &yymsp[0].minor.yy101); }
-#line 6297 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createAlterDatabaseOptions(pCxt); yylhsminor.yy840 = setAlterDatabaseOption(pCxt, yylhsminor.yy840, &yymsp[0].minor.yy573); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
case 142: /* alter_db_options ::= alter_db_options alter_db_option */
-#line 285 "sql.y"
-{ yylhsminor.yy416 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy416, &yymsp[0].minor.yy101); }
-#line 6303 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy840, &yymsp[0].minor.yy573); }
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
case 143: /* alter_db_option ::= BUFFER NK_INTEGER */
-#line 289 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6309 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 144: /* alter_db_option ::= CACHEMODEL NK_STRING */
-#line 290 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6314 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 145: /* alter_db_option ::= CACHESIZE NK_INTEGER */
-#line 291 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6319 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 146: /* alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */
-#line 292 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6324 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 147: /* alter_db_option ::= KEEP integer_list */
case 148: /* alter_db_option ::= KEEP variable_list */ yytestcase(yyruleno==148);
-#line 293 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_KEEP; yymsp[-1].minor.yy101.pList = yymsp[0].minor.yy316; }
-#line 6330 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_KEEP; yymsp[-1].minor.yy573.pList = yymsp[0].minor.yy456; }
break;
case 149: /* alter_db_option ::= PAGES NK_INTEGER */
-#line 295 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_PAGES; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6335 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_PAGES; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 150: /* alter_db_option ::= REPLICA NK_INTEGER */
-#line 296 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6340 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 151: /* alter_db_option ::= WAL_LEVEL NK_INTEGER */
-#line 298 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_WAL; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6345 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_WAL; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 152: /* alter_db_option ::= STT_TRIGGER NK_INTEGER */
-#line 299 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6350 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 153: /* alter_db_option ::= MINROWS NK_INTEGER */
-#line 300 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6355 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 154: /* alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */
-#line 301 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6360 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 155: /* alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */
-#line 302 "sql.y"
{
SToken t = yymsp[-1].minor.yy0;
t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z;
- yymsp[-2].minor.yy101.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-2].minor.yy101.val = t;
+ yymsp[-2].minor.yy573.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-2].minor.yy573.val = t;
}
-#line 6369 "sql.c"
break;
case 156: /* alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */
-#line 307 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6374 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 157: /* alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */
-#line 308 "sql.y"
{
SToken t = yymsp[-1].minor.yy0;
t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z;
- yymsp[-2].minor.yy101.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-2].minor.yy101.val = t;
+ yymsp[-2].minor.yy573.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-2].minor.yy573.val = t;
}
-#line 6383 "sql.c"
break;
case 158: /* alter_db_option ::= S3_KEEPLOCAL NK_INTEGER */
case 159: /* alter_db_option ::= S3_KEEPLOCAL NK_VARIABLE */ yytestcase(yyruleno==159);
-#line 313 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_S3_KEEPLOCAL; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6389 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_S3_KEEPLOCAL; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 160: /* alter_db_option ::= S3_COMPACT NK_INTEGER */
-#line 315 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_S3_COMPACT, yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6394 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_S3_COMPACT, yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 161: /* alter_db_option ::= KEEP_TIME_OFFSET NK_INTEGER */
-#line 316 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_KEEP_TIME_OFFSET; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6399 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_KEEP_TIME_OFFSET; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 162: /* alter_db_option ::= ENCRYPT_ALGORITHM NK_STRING */
-#line 317 "sql.y"
-{ yymsp[-1].minor.yy101.type = DB_OPTION_ENCRYPT_ALGORITHM; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6404 "sql.c"
+{ yymsp[-1].minor.yy573.type = DB_OPTION_ENCRYPT_ALGORITHM; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 163: /* integer_list ::= NK_INTEGER */
-#line 321 "sql.y"
-{ yylhsminor.yy316 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); }
-#line 6409 "sql.c"
- yymsp[0].minor.yy316 = yylhsminor.yy316;
+{ yylhsminor.yy456 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); }
+ yymsp[0].minor.yy456 = yylhsminor.yy456;
break;
case 164: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */
- case 444: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==444);
-#line 322 "sql.y"
-{ yylhsminor.yy316 = addNodeToList(pCxt, yymsp[-2].minor.yy316, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); }
-#line 6416 "sql.c"
- yymsp[-2].minor.yy316 = yylhsminor.yy316;
+ case 445: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==445);
+{ yylhsminor.yy456 = addNodeToList(pCxt, yymsp[-2].minor.yy456, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); }
+ yymsp[-2].minor.yy456 = yylhsminor.yy456;
break;
case 165: /* variable_list ::= NK_VARIABLE */
-#line 326 "sql.y"
-{ yylhsminor.yy316 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); }
-#line 6422 "sql.c"
- yymsp[0].minor.yy316 = yylhsminor.yy316;
+{ yylhsminor.yy456 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); }
+ yymsp[0].minor.yy456 = yylhsminor.yy456;
break;
case 166: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */
-#line 327 "sql.y"
-{ yylhsminor.yy316 = addNodeToList(pCxt, yymsp[-2].minor.yy316, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); }
-#line 6428 "sql.c"
- yymsp[-2].minor.yy316 = yylhsminor.yy316;
+{ yylhsminor.yy456 = addNodeToList(pCxt, yymsp[-2].minor.yy456, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); }
+ yymsp[-2].minor.yy456 = yylhsminor.yy456;
break;
case 167: /* retention_list ::= retention */
case 200: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==200);
@@ -6473,17 +6457,15 @@ static YYACTIONTYPE yy_reduce(
case 336: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==336);
case 360: /* func_list ::= func */ yytestcase(yyruleno==360);
case 410: /* column_stream_def_list ::= column_stream_def */ yytestcase(yyruleno==410);
- case 488: /* tags_literal_list ::= tags_literal */ yytestcase(yyruleno==488);
- case 513: /* literal_list ::= signed_literal */ yytestcase(yyruleno==513);
- case 587: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==587);
- case 593: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==593);
- case 669: /* select_list ::= select_item */ yytestcase(yyruleno==669);
- case 680: /* partition_list ::= partition_item */ yytestcase(yyruleno==680);
- case 741: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==741);
-#line 331 "sql.y"
-{ yylhsminor.yy316 = createNodeList(pCxt, yymsp[0].minor.yy416); }
-#line 6450 "sql.c"
- yymsp[0].minor.yy316 = yylhsminor.yy316;
+ case 489: /* tags_literal_list ::= tags_literal */ yytestcase(yyruleno==489);
+ case 514: /* literal_list ::= signed_literal */ yytestcase(yyruleno==514);
+ case 603: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==603);
+ case 609: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==609);
+ case 685: /* select_list ::= select_item */ yytestcase(yyruleno==685);
+ case 696: /* partition_list ::= partition_item */ yytestcase(yyruleno==696);
+ case 757: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==757);
+{ yylhsminor.yy456 = createNodeList(pCxt, yymsp[0].minor.yy840); }
+ yymsp[0].minor.yy456 = yylhsminor.yy456;
break;
case 168: /* retention_list ::= retention_list NK_COMMA retention */
case 204: /* multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ yytestcase(yyruleno==204);
@@ -6494,2214 +6476,1530 @@ static YYACTIONTYPE yy_reduce(
case 337: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==337);
case 361: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==361);
case 411: /* column_stream_def_list ::= column_stream_def_list NK_COMMA column_stream_def */ yytestcase(yyruleno==411);
- case 489: /* tags_literal_list ::= tags_literal_list NK_COMMA tags_literal */ yytestcase(yyruleno==489);
- case 514: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==514);
- case 588: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==588);
- case 670: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==670);
- case 681: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==681);
- case 742: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==742);
-#line 332 "sql.y"
-{ yylhsminor.yy316 = addNodeToList(pCxt, yymsp[-2].minor.yy316, yymsp[0].minor.yy416); }
-#line 6470 "sql.c"
- yymsp[-2].minor.yy316 = yylhsminor.yy316;
+ case 490: /* tags_literal_list ::= tags_literal_list NK_COMMA tags_literal */ yytestcase(yyruleno==490);
+ case 515: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==515);
+ case 604: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==604);
+ case 686: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==686);
+ case 697: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==697);
+ case 758: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==758);
+{ yylhsminor.yy456 = addNodeToList(pCxt, yymsp[-2].minor.yy456, yymsp[0].minor.yy840); }
+ yymsp[-2].minor.yy456 = yylhsminor.yy456;
break;
case 169: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */
case 170: /* retention ::= NK_MINUS NK_COLON NK_VARIABLE */ yytestcase(yyruleno==170);
-#line 334 "sql.y"
-{ yylhsminor.yy416 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); }
-#line 6477 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 171: /* speed_opt ::= */
case 394: /* bufsize_opt ::= */ yytestcase(yyruleno==394);
-#line 339 "sql.y"
-{ yymsp[1].minor.yy820 = 0; }
-#line 6484 "sql.c"
+{ yymsp[1].minor.yy516 = 0; }
break;
case 172: /* speed_opt ::= BWLIMIT NK_INTEGER */
case 395: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==395);
-#line 340 "sql.y"
-{ yymsp[-1].minor.yy820 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); }
-#line 6490 "sql.c"
+{ yymsp[-1].minor.yy516 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); }
break;
case 174: /* start_opt ::= START WITH NK_INTEGER */
case 178: /* end_opt ::= END WITH NK_INTEGER */ yytestcase(yyruleno==178);
-#line 343 "sql.y"
-{ yymsp[-2].minor.yy416 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); }
-#line 6496 "sql.c"
+{ yymsp[-2].minor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); }
break;
case 175: /* start_opt ::= START WITH NK_STRING */
case 179: /* end_opt ::= END WITH NK_STRING */ yytestcase(yyruleno==179);
-#line 344 "sql.y"
-{ yymsp[-2].minor.yy416 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); }
-#line 6502 "sql.c"
+{ yymsp[-2].minor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); }
break;
case 176: /* start_opt ::= START WITH TIMESTAMP NK_STRING */
case 180: /* end_opt ::= END WITH TIMESTAMP NK_STRING */ yytestcase(yyruleno==180);
-#line 345 "sql.y"
-{ yymsp[-3].minor.yy416 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); }
-#line 6508 "sql.c"
+{ yymsp[-3].minor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); }
break;
case 181: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */
case 184: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==184);
-#line 354 "sql.y"
-{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy209, yymsp[-5].minor.yy416, yymsp[-3].minor.yy316, yymsp[-1].minor.yy316, yymsp[0].minor.yy416); }
-#line 6514 "sql.c"
+{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy9, yymsp[-5].minor.yy840, yymsp[-3].minor.yy456, yymsp[-1].minor.yy456, yymsp[0].minor.yy840); }
break;
case 182: /* cmd ::= CREATE TABLE multi_create_clause */
-#line 355 "sql.y"
-{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy316); }
-#line 6519 "sql.c"
+{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy456); }
break;
case 183: /* cmd ::= CREATE TABLE not_exists_opt USING full_table_name NK_LP tag_list_opt NK_RP FILE NK_STRING */
-#line 357 "sql.y"
-{ pCxt->pRootNode = createCreateSubTableFromFileClause(pCxt, yymsp[-7].minor.yy209, yymsp[-5].minor.yy416, yymsp[-3].minor.yy316, &yymsp[0].minor.yy0); }
-#line 6524 "sql.c"
+{ pCxt->pRootNode = createCreateSubTableFromFileClause(pCxt, yymsp[-7].minor.yy9, yymsp[-5].minor.yy840, yymsp[-3].minor.yy456, &yymsp[0].minor.yy0); }
break;
case 185: /* cmd ::= DROP TABLE multi_drop_clause */
-#line 360 "sql.y"
-{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy316); }
-#line 6529 "sql.c"
+{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy456); }
break;
case 186: /* cmd ::= DROP STABLE exists_opt full_table_name */
-#line 361 "sql.y"
-{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy209, yymsp[0].minor.yy416); }
-#line 6534 "sql.c"
+{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy9, yymsp[0].minor.yy840); }
break;
case 187: /* cmd ::= ALTER TABLE alter_table_clause */
- case 446: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==446);
- case 447: /* cmd ::= insert_query */ yytestcase(yyruleno==447);
-#line 363 "sql.y"
-{ pCxt->pRootNode = yymsp[0].minor.yy416; }
-#line 6541 "sql.c"
+ case 447: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==447);
+ case 448: /* cmd ::= insert_query */ yytestcase(yyruleno==448);
+{ pCxt->pRootNode = yymsp[0].minor.yy840; }
break;
case 188: /* cmd ::= ALTER STABLE alter_table_clause */
-#line 364 "sql.y"
-{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy416); }
-#line 6546 "sql.c"
+{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy840); }
break;
case 189: /* alter_table_clause ::= full_table_name alter_table_options */
-#line 366 "sql.y"
-{ yylhsminor.yy416 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy416, yymsp[0].minor.yy416); }
-#line 6551 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy840, yymsp[0].minor.yy840); }
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
case 190: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name column_options */
-#line 368 "sql.y"
-{ yylhsminor.yy416 = createAlterTableAddModifyColOptions2(pCxt, yymsp[-5].minor.yy416, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-2].minor.yy1109, yymsp[-1].minor.yy952, yymsp[0].minor.yy416); }
-#line 6557 "sql.c"
- yymsp[-5].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createAlterTableAddModifyColOptions2(pCxt, yymsp[-5].minor.yy840, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-2].minor.yy209, yymsp[-1].minor.yy48, yymsp[0].minor.yy840); }
+ yymsp[-5].minor.yy840 = yylhsminor.yy840;
break;
case 191: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */
-#line 369 "sql.y"
-{ yylhsminor.yy416 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy416, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy1109); }
-#line 6563 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy840, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy209); }
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
case 192: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */
-#line 371 "sql.y"
-{ yylhsminor.yy416 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy416, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy1109, yymsp[0].minor.yy952); }
-#line 6569 "sql.c"
- yymsp[-4].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy840, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy209, yymsp[0].minor.yy48); }
+ yymsp[-4].minor.yy840 = yylhsminor.yy840;
break;
case 193: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name column_options */
-#line 373 "sql.y"
-{ yylhsminor.yy416 = createAlterTableAddModifyColOptions(pCxt, yymsp[-4].minor.yy416, TSDB_ALTER_TABLE_UPDATE_COLUMN_COMPRESS, &yymsp[-1].minor.yy1109, yymsp[0].minor.yy416); }
-#line 6575 "sql.c"
- yymsp[-4].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createAlterTableAddModifyColOptions(pCxt, yymsp[-4].minor.yy840, TSDB_ALTER_TABLE_UPDATE_COLUMN_COMPRESS, &yymsp[-1].minor.yy209, yymsp[0].minor.yy840); }
+ yymsp[-4].minor.yy840 = yylhsminor.yy840;
break;
case 194: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */
-#line 375 "sql.y"
-{ yylhsminor.yy416 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy416, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy1109, &yymsp[0].minor.yy1109); }
-#line 6581 "sql.c"
- yymsp[-4].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy840, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy209, &yymsp[0].minor.yy209); }
+ yymsp[-4].minor.yy840 = yylhsminor.yy840;
break;
case 195: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */
-#line 377 "sql.y"
-{ yylhsminor.yy416 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy416, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy1109, yymsp[0].minor.yy952); }
-#line 6587 "sql.c"
- yymsp[-4].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy840, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy209, yymsp[0].minor.yy48); }
+ yymsp[-4].minor.yy840 = yylhsminor.yy840;
break;
case 196: /* alter_table_clause ::= full_table_name DROP TAG column_name */
-#line 378 "sql.y"
-{ yylhsminor.yy416 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy416, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy1109); }
-#line 6593 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy840, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy209); }
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
case 197: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */
-#line 380 "sql.y"
-{ yylhsminor.yy416 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy416, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy1109, yymsp[0].minor.yy952); }
-#line 6599 "sql.c"
- yymsp[-4].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy840, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy209, yymsp[0].minor.yy48); }
+ yymsp[-4].minor.yy840 = yylhsminor.yy840;
break;
case 198: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */
-#line 382 "sql.y"
-{ yylhsminor.yy416 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy416, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy1109, &yymsp[0].minor.yy1109); }
-#line 6605 "sql.c"
- yymsp[-4].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy840, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy209, &yymsp[0].minor.yy209); }
+ yymsp[-4].minor.yy840 = yylhsminor.yy840;
break;
case 199: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ tags_literal */
-#line 384 "sql.y"
-{ yylhsminor.yy416 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy416, &yymsp[-2].minor.yy1109, yymsp[0].minor.yy416); }
-#line 6611 "sql.c"
- yymsp[-5].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy840, &yymsp[-2].minor.yy209, yymsp[0].minor.yy840); }
+ yymsp[-5].minor.yy840 = yylhsminor.yy840;
break;
case 201: /* multi_create_clause ::= multi_create_clause create_subtable_clause */
- case 594: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==594);
-#line 389 "sql.y"
-{ yylhsminor.yy316 = addNodeToList(pCxt, yymsp[-1].minor.yy316, yymsp[0].minor.yy416); }
-#line 6618 "sql.c"
- yymsp[-1].minor.yy316 = yylhsminor.yy316;
+ case 610: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==610);
+{ yylhsminor.yy456 = addNodeToList(pCxt, yymsp[-1].minor.yy456, yymsp[0].minor.yy840); }
+ yymsp[-1].minor.yy456 = yylhsminor.yy456;
break;
case 202: /* create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP tags_literal_list NK_RP table_options */
-#line 393 "sql.y"
-{ yylhsminor.yy416 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy209, yymsp[-8].minor.yy416, yymsp[-6].minor.yy416, yymsp[-5].minor.yy316, yymsp[-2].minor.yy316, yymsp[0].minor.yy416); }
-#line 6624 "sql.c"
- yymsp[-9].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy9, yymsp[-8].minor.yy840, yymsp[-6].minor.yy840, yymsp[-5].minor.yy456, yymsp[-2].minor.yy456, yymsp[0].minor.yy840); }
+ yymsp[-9].minor.yy840 = yylhsminor.yy840;
break;
case 205: /* drop_table_clause ::= exists_opt full_table_name */
-#line 400 "sql.y"
-{ yylhsminor.yy416 = createDropTableClause(pCxt, yymsp[-1].minor.yy209, yymsp[0].minor.yy416); }
-#line 6630 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createDropTableClause(pCxt, yymsp[-1].minor.yy9, yymsp[0].minor.yy840); }
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
case 207: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */
case 409: /* col_list_opt ::= NK_LP column_stream_def_list NK_RP */ yytestcase(yyruleno==409);
-#line 405 "sql.y"
-{ yymsp[-2].minor.yy316 = yymsp[-1].minor.yy316; }
-#line 6637 "sql.c"
+{ yymsp[-2].minor.yy456 = yymsp[-1].minor.yy456; }
break;
case 208: /* full_table_name ::= table_name */
case 350: /* full_tsma_name ::= tsma_name */ yytestcase(yyruleno==350);
-#line 407 "sql.y"
-{ yylhsminor.yy416 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy1109, NULL); }
-#line 6643 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy209, NULL); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
case 209: /* full_table_name ::= db_name NK_DOT table_name */
case 351: /* full_tsma_name ::= db_name NK_DOT tsma_name */ yytestcase(yyruleno==351);
-#line 408 "sql.y"
-{ yylhsminor.yy416 = createRealTableNode(pCxt, &yymsp[-2].minor.yy1109, &yymsp[0].minor.yy1109, NULL); }
-#line 6650 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createRealTableNode(pCxt, &yymsp[-2].minor.yy209, &yymsp[0].minor.yy209, NULL); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 212: /* tag_def ::= column_name type_name */
-#line 414 "sql.y"
-{ yylhsminor.yy416 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy1109, yymsp[0].minor.yy952, NULL); }
-#line 6656 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy209, yymsp[0].minor.yy48, NULL); }
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
case 215: /* column_def ::= column_name type_name column_options */
-#line 422 "sql.y"
-{ yylhsminor.yy416 = createColumnDefNode(pCxt, &yymsp[-2].minor.yy1109, yymsp[-1].minor.yy952, yymsp[0].minor.yy416); }
-#line 6662 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createColumnDefNode(pCxt, &yymsp[-2].minor.yy209, yymsp[-1].minor.yy48, yymsp[0].minor.yy840); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 216: /* type_name ::= BOOL */
-#line 426 "sql.y"
-{ yymsp[0].minor.yy952 = createDataType(TSDB_DATA_TYPE_BOOL); }
-#line 6668 "sql.c"
+{ yymsp[0].minor.yy48 = createDataType(TSDB_DATA_TYPE_BOOL); }
break;
case 217: /* type_name ::= TINYINT */
-#line 427 "sql.y"
-{ yymsp[0].minor.yy952 = createDataType(TSDB_DATA_TYPE_TINYINT); }
-#line 6673 "sql.c"
+{ yymsp[0].minor.yy48 = createDataType(TSDB_DATA_TYPE_TINYINT); }
break;
case 218: /* type_name ::= SMALLINT */
-#line 428 "sql.y"
-{ yymsp[0].minor.yy952 = createDataType(TSDB_DATA_TYPE_SMALLINT); }
-#line 6678 "sql.c"
+{ yymsp[0].minor.yy48 = createDataType(TSDB_DATA_TYPE_SMALLINT); }
break;
case 219: /* type_name ::= INT */
case 220: /* type_name ::= INTEGER */ yytestcase(yyruleno==220);
-#line 429 "sql.y"
-{ yymsp[0].minor.yy952 = createDataType(TSDB_DATA_TYPE_INT); }
-#line 6684 "sql.c"
+{ yymsp[0].minor.yy48 = createDataType(TSDB_DATA_TYPE_INT); }
break;
case 221: /* type_name ::= BIGINT */
-#line 431 "sql.y"
-{ yymsp[0].minor.yy952 = createDataType(TSDB_DATA_TYPE_BIGINT); }
-#line 6689 "sql.c"
+{ yymsp[0].minor.yy48 = createDataType(TSDB_DATA_TYPE_BIGINT); }
break;
case 222: /* type_name ::= FLOAT */
-#line 432 "sql.y"
-{ yymsp[0].minor.yy952 = createDataType(TSDB_DATA_TYPE_FLOAT); }
-#line 6694 "sql.c"
+{ yymsp[0].minor.yy48 = createDataType(TSDB_DATA_TYPE_FLOAT); }
break;
case 223: /* type_name ::= DOUBLE */
-#line 433 "sql.y"
-{ yymsp[0].minor.yy952 = createDataType(TSDB_DATA_TYPE_DOUBLE); }
-#line 6699 "sql.c"
+{ yymsp[0].minor.yy48 = createDataType(TSDB_DATA_TYPE_DOUBLE); }
break;
case 224: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */
-#line 434 "sql.y"
-{ yymsp[-3].minor.yy952 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); }
-#line 6704 "sql.c"
+{ yymsp[-3].minor.yy48 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); }
break;
case 225: /* type_name ::= TIMESTAMP */
-#line 435 "sql.y"
-{ yymsp[0].minor.yy952 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); }
-#line 6709 "sql.c"
+{ yymsp[0].minor.yy48 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); }
break;
case 226: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */
-#line 436 "sql.y"
-{ yymsp[-3].minor.yy952 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); }
-#line 6714 "sql.c"
+{ yymsp[-3].minor.yy48 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); }
break;
case 227: /* type_name ::= TINYINT UNSIGNED */
-#line 437 "sql.y"
-{ yymsp[-1].minor.yy952 = createDataType(TSDB_DATA_TYPE_UTINYINT); }
-#line 6719 "sql.c"
+{ yymsp[-1].minor.yy48 = createDataType(TSDB_DATA_TYPE_UTINYINT); }
break;
case 228: /* type_name ::= SMALLINT UNSIGNED */
-#line 438 "sql.y"
-{ yymsp[-1].minor.yy952 = createDataType(TSDB_DATA_TYPE_USMALLINT); }
-#line 6724 "sql.c"
+{ yymsp[-1].minor.yy48 = createDataType(TSDB_DATA_TYPE_USMALLINT); }
break;
case 229: /* type_name ::= INT UNSIGNED */
-#line 439 "sql.y"
-{ yymsp[-1].minor.yy952 = createDataType(TSDB_DATA_TYPE_UINT); }
-#line 6729 "sql.c"
+{ yymsp[-1].minor.yy48 = createDataType(TSDB_DATA_TYPE_UINT); }
break;
case 230: /* type_name ::= BIGINT UNSIGNED */
-#line 440 "sql.y"
-{ yymsp[-1].minor.yy952 = createDataType(TSDB_DATA_TYPE_UBIGINT); }
-#line 6734 "sql.c"
+{ yymsp[-1].minor.yy48 = createDataType(TSDB_DATA_TYPE_UBIGINT); }
break;
case 231: /* type_name ::= JSON */
-#line 441 "sql.y"
-{ yymsp[0].minor.yy952 = createDataType(TSDB_DATA_TYPE_JSON); }
-#line 6739 "sql.c"
+{ yymsp[0].minor.yy48 = createDataType(TSDB_DATA_TYPE_JSON); }
break;
case 232: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */
-#line 442 "sql.y"
-{ yymsp[-3].minor.yy952 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); }
-#line 6744 "sql.c"
+{ yymsp[-3].minor.yy48 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); }
break;
case 233: /* type_name ::= MEDIUMBLOB */
-#line 443 "sql.y"
-{ yymsp[0].minor.yy952 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); }
-#line 6749 "sql.c"
+{ yymsp[0].minor.yy48 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); }
break;
case 234: /* type_name ::= BLOB */
-#line 444 "sql.y"
-{ yymsp[0].minor.yy952 = createDataType(TSDB_DATA_TYPE_BLOB); }
-#line 6754 "sql.c"
+{ yymsp[0].minor.yy48 = createDataType(TSDB_DATA_TYPE_BLOB); }
break;
case 235: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */
-#line 445 "sql.y"
-{ yymsp[-3].minor.yy952 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); }
-#line 6759 "sql.c"
+{ yymsp[-3].minor.yy48 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); }
break;
case 236: /* type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */
-#line 446 "sql.y"
-{ yymsp[-3].minor.yy952 = createVarLenDataType(TSDB_DATA_TYPE_GEOMETRY, &yymsp[-1].minor.yy0); }
-#line 6764 "sql.c"
+{ yymsp[-3].minor.yy48 = createVarLenDataType(TSDB_DATA_TYPE_GEOMETRY, &yymsp[-1].minor.yy0); }
break;
case 237: /* type_name ::= DECIMAL */
-#line 447 "sql.y"
-{ yymsp[0].minor.yy952 = createDataType(TSDB_DATA_TYPE_DECIMAL); }
-#line 6769 "sql.c"
+{ yymsp[0].minor.yy48 = createDataType(TSDB_DATA_TYPE_DECIMAL); }
break;
case 238: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */
-#line 448 "sql.y"
-{ yymsp[-3].minor.yy952 = createDataType(TSDB_DATA_TYPE_DECIMAL); }
-#line 6774 "sql.c"
+{ yymsp[-3].minor.yy48 = createDataType(TSDB_DATA_TYPE_DECIMAL); }
break;
case 239: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */
-#line 449 "sql.y"
-{ yymsp[-5].minor.yy952 = createDataType(TSDB_DATA_TYPE_DECIMAL); }
-#line 6779 "sql.c"
+{ yymsp[-5].minor.yy48 = createDataType(TSDB_DATA_TYPE_DECIMAL); }
break;
case 240: /* type_name_default_len ::= BINARY */
-#line 453 "sql.y"
-{ yymsp[0].minor.yy952 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, NULL); }
-#line 6784 "sql.c"
+{ yymsp[0].minor.yy48 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, NULL); }
break;
case 241: /* type_name_default_len ::= NCHAR */
-#line 454 "sql.y"
-{ yymsp[0].minor.yy952 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, NULL); }
-#line 6789 "sql.c"
+{ yymsp[0].minor.yy48 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, NULL); }
break;
case 242: /* type_name_default_len ::= VARCHAR */
-#line 455 "sql.y"
-{ yymsp[0].minor.yy952 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, NULL); }
-#line 6794 "sql.c"
+{ yymsp[0].minor.yy48 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, NULL); }
break;
case 243: /* type_name_default_len ::= VARBINARY */
-#line 456 "sql.y"
-{ yymsp[0].minor.yy952 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, NULL); }
-#line 6799 "sql.c"
+{ yymsp[0].minor.yy48 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, NULL); }
break;
case 246: /* tags_def ::= TAGS NK_LP tag_def_list NK_RP */
case 417: /* tag_def_or_ref_opt ::= TAGS NK_LP column_stream_def_list NK_RP */ yytestcase(yyruleno==417);
-#line 465 "sql.y"
-{ yymsp[-3].minor.yy316 = yymsp[-1].minor.yy316; }
-#line 6805 "sql.c"
+{ yymsp[-3].minor.yy456 = yymsp[-1].minor.yy456; }
break;
case 247: /* table_options ::= */
-#line 467 "sql.y"
-{ yymsp[1].minor.yy416 = createDefaultTableOptions(pCxt); }
-#line 6810 "sql.c"
+{ yymsp[1].minor.yy840 = createDefaultTableOptions(pCxt); }
break;
case 248: /* table_options ::= table_options COMMENT NK_STRING */
-#line 468 "sql.y"
-{ yylhsminor.yy416 = setTableOption(pCxt, yymsp[-2].minor.yy416, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); }
-#line 6815 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-2].minor.yy840, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 249: /* table_options ::= table_options MAX_DELAY duration_list */
-#line 469 "sql.y"
-{ yylhsminor.yy416 = setTableOption(pCxt, yymsp[-2].minor.yy416, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy316); }
-#line 6821 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-2].minor.yy840, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy456); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 250: /* table_options ::= table_options WATERMARK duration_list */
-#line 470 "sql.y"
-{ yylhsminor.yy416 = setTableOption(pCxt, yymsp[-2].minor.yy416, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy316); }
-#line 6827 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-2].minor.yy840, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy456); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 251: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */
-#line 471 "sql.y"
-{ yylhsminor.yy416 = setTableOption(pCxt, yymsp[-4].minor.yy416, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy316); }
-#line 6833 "sql.c"
- yymsp[-4].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-4].minor.yy840, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy456); }
+ yymsp[-4].minor.yy840 = yylhsminor.yy840;
break;
case 252: /* table_options ::= table_options TTL NK_INTEGER */
-#line 472 "sql.y"
-{ yylhsminor.yy416 = setTableOption(pCxt, yymsp[-2].minor.yy416, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); }
-#line 6839 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-2].minor.yy840, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 253: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */
-#line 473 "sql.y"
-{ yylhsminor.yy416 = setTableOption(pCxt, yymsp[-4].minor.yy416, TABLE_OPTION_SMA, yymsp[-1].minor.yy316); }
-#line 6845 "sql.c"
- yymsp[-4].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-4].minor.yy840, TABLE_OPTION_SMA, yymsp[-1].minor.yy456); }
+ yymsp[-4].minor.yy840 = yylhsminor.yy840;
break;
case 254: /* table_options ::= table_options DELETE_MARK duration_list */
-#line 474 "sql.y"
-{ yylhsminor.yy416 = setTableOption(pCxt, yymsp[-2].minor.yy416, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy316); }
-#line 6851 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-2].minor.yy840, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy456); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 255: /* alter_table_options ::= alter_table_option */
-#line 476 "sql.y"
-{ yylhsminor.yy416 = createAlterTableOptions(pCxt); yylhsminor.yy416 = setTableOption(pCxt, yylhsminor.yy416, yymsp[0].minor.yy101.type, &yymsp[0].minor.yy101.val); }
-#line 6857 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createAlterTableOptions(pCxt); yylhsminor.yy840 = setTableOption(pCxt, yylhsminor.yy840, yymsp[0].minor.yy573.type, &yymsp[0].minor.yy573.val); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
case 256: /* alter_table_options ::= alter_table_options alter_table_option */
-#line 477 "sql.y"
-{ yylhsminor.yy416 = setTableOption(pCxt, yymsp[-1].minor.yy416, yymsp[0].minor.yy101.type, &yymsp[0].minor.yy101.val); }
-#line 6863 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-1].minor.yy840, yymsp[0].minor.yy573.type, &yymsp[0].minor.yy573.val); }
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
case 257: /* alter_table_option ::= COMMENT NK_STRING */
-#line 481 "sql.y"
-{ yymsp[-1].minor.yy101.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6869 "sql.c"
+{ yymsp[-1].minor.yy573.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 258: /* alter_table_option ::= TTL NK_INTEGER */
-#line 482 "sql.y"
-{ yymsp[-1].minor.yy101.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy101.val = yymsp[0].minor.yy0; }
-#line 6874 "sql.c"
+{ yymsp[-1].minor.yy573.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy573.val = yymsp[0].minor.yy0; }
break;
case 259: /* duration_list ::= duration_literal */
- case 546: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==546);
-#line 486 "sql.y"
-{ yylhsminor.yy316 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy416)); }
-#line 6880 "sql.c"
- yymsp[0].minor.yy316 = yylhsminor.yy316;
+ case 547: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==547);
+{ yylhsminor.yy456 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy840)); }
+ yymsp[0].minor.yy456 = yylhsminor.yy456;
break;
case 260: /* duration_list ::= duration_list NK_COMMA duration_literal */
- case 547: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==547);
-#line 487 "sql.y"
-{ yylhsminor.yy316 = addNodeToList(pCxt, yymsp[-2].minor.yy316, releaseRawExprNode(pCxt, yymsp[0].minor.yy416)); }
-#line 6887 "sql.c"
- yymsp[-2].minor.yy316 = yylhsminor.yy316;
+ case 548: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==548);
+{ yylhsminor.yy456 = addNodeToList(pCxt, yymsp[-2].minor.yy456, releaseRawExprNode(pCxt, yymsp[0].minor.yy840)); }
+ yymsp[-2].minor.yy456 = yylhsminor.yy456;
break;
case 263: /* rollup_func_name ::= function_name */
-#line 494 "sql.y"
-{ yylhsminor.yy416 = createFunctionNode(pCxt, &yymsp[0].minor.yy1109, NULL); }
-#line 6893 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createFunctionNode(pCxt, &yymsp[0].minor.yy209, NULL); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
case 264: /* rollup_func_name ::= FIRST */
case 265: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==265);
case 339: /* tag_item ::= QTAGS */ yytestcase(yyruleno==339);
-#line 495 "sql.y"
-{ yylhsminor.yy416 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); }
-#line 6901 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
case 268: /* col_name ::= column_name */
case 340: /* tag_item ::= column_name */ yytestcase(yyruleno==340);
-#line 503 "sql.y"
-{ yylhsminor.yy416 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy1109); }
-#line 6908 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy209); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
case 269: /* cmd ::= SHOW DNODES */
-#line 506 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DNODES_STMT); }
-#line 6914 "sql.c"
break;
case 270: /* cmd ::= SHOW USERS */
-#line 507 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_USERS_STMT); }
-#line 6919 "sql.c"
break;
case 271: /* cmd ::= SHOW USERS FULL */
-#line 508 "sql.y"
{ pCxt->pRootNode = createShowStmtWithFull(pCxt, QUERY_NODE_SHOW_USERS_FULL_STMT); }
-#line 6924 "sql.c"
break;
case 272: /* cmd ::= SHOW USER PRIVILEGES */
-#line 509 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_USER_PRIVILEGES_STMT); }
-#line 6929 "sql.c"
break;
case 273: /* cmd ::= SHOW db_kind_opt DATABASES */
-#line 510 "sql.y"
{
pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DATABASES_STMT);
- setShowKind(pCxt, pCxt->pRootNode, yymsp[-1].minor.yy681);
+ (void)setShowKind(pCxt, pCxt->pRootNode, yymsp[-1].minor.yy881);
}
-#line 6937 "sql.c"
break;
case 274: /* cmd ::= SHOW table_kind_db_name_cond_opt TABLES like_pattern_opt */
-#line 514 "sql.y"
{
- pCxt->pRootNode = createShowTablesStmt(pCxt, yymsp[-2].minor.yy925, yymsp[0].minor.yy416, OP_TYPE_LIKE);
+ pCxt->pRootNode = createShowTablesStmt(pCxt, yymsp[-2].minor.yy13, yymsp[0].minor.yy840, OP_TYPE_LIKE);
}
-#line 6944 "sql.c"
break;
case 275: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */
-#line 517 "sql.y"
-{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy416, yymsp[0].minor.yy416, OP_TYPE_LIKE); }
-#line 6949 "sql.c"
+{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy840, yymsp[0].minor.yy840, OP_TYPE_LIKE); }
break;
case 276: /* cmd ::= SHOW db_name_cond_opt VGROUPS */
-#line 518 "sql.y"
-{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy416, NULL, OP_TYPE_LIKE); }
-#line 6954 "sql.c"
+{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy840, NULL, OP_TYPE_LIKE); }
break;
case 277: /* cmd ::= SHOW MNODES */
-#line 519 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MNODES_STMT); }
-#line 6959 "sql.c"
break;
case 278: /* cmd ::= SHOW QNODES */
-#line 521 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QNODES_STMT); }
-#line 6964 "sql.c"
break;
case 279: /* cmd ::= SHOW ARBGROUPS */
-#line 522 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_ARBGROUPS_STMT); }
-#line 6969 "sql.c"
break;
case 280: /* cmd ::= SHOW FUNCTIONS */
-#line 523 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_FUNCTIONS_STMT); }
-#line 6974 "sql.c"
break;
case 281: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */
-#line 524 "sql.y"
-{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy416, yymsp[-1].minor.yy416, OP_TYPE_EQUAL); }
-#line 6979 "sql.c"
+{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy840, yymsp[-1].minor.yy840, OP_TYPE_EQUAL); }
break;
case 282: /* cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */
-#line 525 "sql.y"
-{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy1109), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy1109), OP_TYPE_EQUAL); }
-#line 6984 "sql.c"
+{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy209), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy209), OP_TYPE_EQUAL); }
break;
case 283: /* cmd ::= SHOW STREAMS */
-#line 526 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); }
-#line 6989 "sql.c"
break;
case 284: /* cmd ::= SHOW ACCOUNTS */
-#line 527 "sql.y"
{ pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); }
-#line 6994 "sql.c"
break;
case 285: /* cmd ::= SHOW APPS */
-#line 528 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_APPS_STMT); }
-#line 6999 "sql.c"
break;
case 286: /* cmd ::= SHOW CONNECTIONS */
-#line 529 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONNECTIONS_STMT); }
-#line 7004 "sql.c"
break;
case 287: /* cmd ::= SHOW LICENCES */
case 288: /* cmd ::= SHOW GRANTS */ yytestcase(yyruleno==288);
-#line 530 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCES_STMT); }
-#line 7010 "sql.c"
break;
case 289: /* cmd ::= SHOW GRANTS FULL */
-#line 532 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_GRANTS_FULL_STMT); }
-#line 7015 "sql.c"
break;
case 290: /* cmd ::= SHOW GRANTS LOGS */
-#line 533 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_GRANTS_LOGS_STMT); }
-#line 7020 "sql.c"
break;
case 291: /* cmd ::= SHOW CLUSTER MACHINES */
-#line 534 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CLUSTER_MACHINES_STMT); }
-#line 7025 "sql.c"
break;
case 292: /* cmd ::= SHOW CREATE DATABASE db_name */
-#line 535 "sql.y"
-{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy1109); }
-#line 7030 "sql.c"
+{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy209); }
break;
case 293: /* cmd ::= SHOW CREATE TABLE full_table_name */
-#line 536 "sql.y"
-{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy416); }
-#line 7035 "sql.c"
+{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy840); }
break;
case 294: /* cmd ::= SHOW CREATE STABLE full_table_name */
-#line 537 "sql.y"
{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT,
-yymsp[0].minor.yy416); }
-#line 7041 "sql.c"
+yymsp[0].minor.yy840); }
break;
case 295: /* cmd ::= SHOW ENCRYPTIONS */
-#line 539 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_ENCRYPTIONS_STMT); }
-#line 7046 "sql.c"
break;
case 296: /* cmd ::= SHOW QUERIES */
-#line 540 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); }
-#line 7051 "sql.c"
break;
case 297: /* cmd ::= SHOW SCORES */
-#line 541 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SCORES_STMT); }
-#line 7056 "sql.c"
break;
case 298: /* cmd ::= SHOW TOPICS */
-#line 542 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TOPICS_STMT); }
-#line 7061 "sql.c"
break;
case 299: /* cmd ::= SHOW VARIABLES */
case 300: /* cmd ::= SHOW CLUSTER VARIABLES */ yytestcase(yyruleno==300);
-#line 543 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_VARIABLES_STMT); }
-#line 7067 "sql.c"
break;
case 301: /* cmd ::= SHOW LOCAL VARIABLES */
-#line 545 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LOCAL_VARIABLES_STMT); }
-#line 7072 "sql.c"
break;
case 302: /* cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */
-#line 546 "sql.y"
-{ pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-2].minor.yy0), yymsp[0].minor.yy416); }
-#line 7077 "sql.c"
+{ pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-2].minor.yy0), yymsp[0].minor.yy840); }
break;
case 303: /* cmd ::= SHOW BNODES */
-#line 547 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_BNODES_STMT); }
-#line 7082 "sql.c"
break;
case 304: /* cmd ::= SHOW SNODES */
-#line 548 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SNODES_STMT); }
-#line 7087 "sql.c"
break;
case 305: /* cmd ::= SHOW CLUSTER */
-#line 549 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CLUSTER_STMT); }
-#line 7092 "sql.c"
break;
case 306: /* cmd ::= SHOW TRANSACTIONS */
-#line 550 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); }
-#line 7097 "sql.c"
break;
case 307: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */
-#line 551 "sql.y"
-{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy416); }
-#line 7102 "sql.c"
+{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy840); }
break;
case 308: /* cmd ::= SHOW CONSUMERS */
-#line 552 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); }
-#line 7107 "sql.c"
break;
case 309: /* cmd ::= SHOW SUBSCRIPTIONS */
-#line 553 "sql.y"
{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); }
-#line 7112 "sql.c"
break;
case 310: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */
-#line 554 "sql.y"
-{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy416, yymsp[-1].minor.yy416, OP_TYPE_EQUAL); }
-#line 7117 "sql.c"
+{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy840, yymsp[-1].minor.yy840, OP_TYPE_EQUAL); }
break;
case 311: /* cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */
-#line 555 "sql.y"
-{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy1109), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy1109), OP_TYPE_EQUAL); }
-#line 7122 "sql.c"
+{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy209), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy209), OP_TYPE_EQUAL); }
break;
case 312: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */
-#line 556 "sql.y"
-{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy416, yymsp[0].minor.yy416, yymsp[-3].minor.yy316); }
-#line 7127 "sql.c"
+{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy840, yymsp[0].minor.yy840, yymsp[-3].minor.yy456); }
break;
case 313: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */
-#line 557 "sql.y"
-{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, createIdentifierValueNode(pCxt, &yymsp[0].minor.yy1109), createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy1109), yymsp[-4].minor.yy316); }
-#line 7132 "sql.c"
+{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, createIdentifierValueNode(pCxt, &yymsp[0].minor.yy209), createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy209), yymsp[-4].minor.yy456); }
break;
case 314: /* cmd ::= SHOW VNODES ON DNODE NK_INTEGER */
-#line 558 "sql.y"
{ pCxt->pRootNode = createShowVnodesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0), NULL); }
-#line 7137 "sql.c"
break;
case 315: /* cmd ::= SHOW VNODES */
-#line 559 "sql.y"
{ pCxt->pRootNode = createShowVnodesStmt(pCxt, NULL, NULL); }
-#line 7142 "sql.c"
break;
case 316: /* cmd ::= SHOW db_name_cond_opt ALIVE */
-#line 561 "sql.y"
-{ pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy416, QUERY_NODE_SHOW_DB_ALIVE_STMT); }
-#line 7147 "sql.c"
+{ pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy840, QUERY_NODE_SHOW_DB_ALIVE_STMT); }
break;
case 317: /* cmd ::= SHOW CLUSTER ALIVE */
-#line 562 "sql.y"
{ pCxt->pRootNode = createShowAliveStmt(pCxt, NULL, QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT); }
-#line 7152 "sql.c"
break;
case 318: /* cmd ::= SHOW db_name_cond_opt VIEWS like_pattern_opt */
-#line 563 "sql.y"
-{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VIEWS_STMT, yymsp[-2].minor.yy416, yymsp[0].minor.yy416, OP_TYPE_LIKE); }
-#line 7157 "sql.c"
+{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VIEWS_STMT, yymsp[-2].minor.yy840, yymsp[0].minor.yy840, OP_TYPE_LIKE); }
break;
case 319: /* cmd ::= SHOW CREATE VIEW full_table_name */
-#line 564 "sql.y"
-{ pCxt->pRootNode = createShowCreateViewStmt(pCxt, QUERY_NODE_SHOW_CREATE_VIEW_STMT, yymsp[0].minor.yy416); }
-#line 7162 "sql.c"
+{ pCxt->pRootNode = createShowCreateViewStmt(pCxt, QUERY_NODE_SHOW_CREATE_VIEW_STMT, yymsp[0].minor.yy840); }
break;
case 320: /* cmd ::= SHOW COMPACTS */
-#line 565 "sql.y"
{ pCxt->pRootNode = createShowCompactsStmt(pCxt, QUERY_NODE_SHOW_COMPACTS_STMT); }
-#line 7167 "sql.c"
break;
case 321: /* cmd ::= SHOW COMPACT NK_INTEGER */
-#line 566 "sql.y"
{ pCxt->pRootNode = createShowCompactDetailsStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); }
-#line 7172 "sql.c"
break;
case 322: /* table_kind_db_name_cond_opt ::= */
-#line 570 "sql.y"
-{ yymsp[1].minor.yy925.kind = SHOW_KIND_ALL; yymsp[1].minor.yy925.dbName = nil_token; }
-#line 7177 "sql.c"
+{ yymsp[1].minor.yy13.kind = SHOW_KIND_ALL; yymsp[1].minor.yy13.dbName = nil_token; }
break;
case 323: /* table_kind_db_name_cond_opt ::= table_kind */
-#line 571 "sql.y"
-{ yylhsminor.yy925.kind = yymsp[0].minor.yy681; yylhsminor.yy925.dbName = nil_token; }
-#line 7182 "sql.c"
- yymsp[0].minor.yy925 = yylhsminor.yy925;
+{ yylhsminor.yy13.kind = yymsp[0].minor.yy881; yylhsminor.yy13.dbName = nil_token; }
+ yymsp[0].minor.yy13 = yylhsminor.yy13;
break;
case 324: /* table_kind_db_name_cond_opt ::= db_name NK_DOT */
-#line 572 "sql.y"
-{ yylhsminor.yy925.kind = SHOW_KIND_ALL; yylhsminor.yy925.dbName = yymsp[-1].minor.yy1109; }
-#line 7188 "sql.c"
- yymsp[-1].minor.yy925 = yylhsminor.yy925;
+{ yylhsminor.yy13.kind = SHOW_KIND_ALL; yylhsminor.yy13.dbName = yymsp[-1].minor.yy209; }
+ yymsp[-1].minor.yy13 = yylhsminor.yy13;
break;
case 325: /* table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT */
-#line 573 "sql.y"
-{ yylhsminor.yy925.kind = yymsp[-2].minor.yy681; yylhsminor.yy925.dbName = yymsp[-1].minor.yy1109; }
-#line 7194 "sql.c"
- yymsp[-2].minor.yy925 = yylhsminor.yy925;
+{ yylhsminor.yy13.kind = yymsp[-2].minor.yy881; yylhsminor.yy13.dbName = yymsp[-1].minor.yy209; }
+ yymsp[-2].minor.yy13 = yylhsminor.yy13;
break;
case 326: /* table_kind ::= NORMAL */
-#line 577 "sql.y"
-{ yymsp[0].minor.yy681 = SHOW_KIND_TABLES_NORMAL; }
-#line 7200 "sql.c"
+{ yymsp[0].minor.yy881 = SHOW_KIND_TABLES_NORMAL; }
break;
case 327: /* table_kind ::= CHILD */
-#line 578 "sql.y"
-{ yymsp[0].minor.yy681 = SHOW_KIND_TABLES_CHILD; }
-#line 7205 "sql.c"
+{ yymsp[0].minor.yy881 = SHOW_KIND_TABLES_CHILD; }
break;
case 328: /* db_name_cond_opt ::= */
case 333: /* from_db_opt ::= */ yytestcase(yyruleno==333);
-#line 580 "sql.y"
-{ yymsp[1].minor.yy416 = createDefaultDatabaseCondValue(pCxt); }
-#line 7211 "sql.c"
+{ yymsp[1].minor.yy840 = createDefaultDatabaseCondValue(pCxt); }
break;
case 329: /* db_name_cond_opt ::= db_name NK_DOT */
-#line 581 "sql.y"
-{ yylhsminor.yy416 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy1109); }
-#line 7216 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy209); }
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
case 331: /* like_pattern_opt ::= LIKE NK_STRING */
-#line 584 "sql.y"
-{ yymsp[-1].minor.yy416 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); }
-#line 7222 "sql.c"
+{ yymsp[-1].minor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); }
break;
case 332: /* table_name_cond ::= table_name */
-#line 586 "sql.y"
-{ yylhsminor.yy416 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy1109); }
-#line 7227 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy209); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
case 334: /* from_db_opt ::= FROM db_name */
-#line 589 "sql.y"
-{ yymsp[-1].minor.yy416 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy1109); }
-#line 7233 "sql.c"
+{ yymsp[-1].minor.yy840 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy209); }
break;
case 338: /* tag_item ::= TBNAME */
-#line 597 "sql.y"
-{ yylhsminor.yy416 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); }
-#line 7238 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
case 341: /* tag_item ::= column_name column_alias */
-#line 600 "sql.y"
-{ yylhsminor.yy416 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy1109), &yymsp[0].minor.yy1109); }
-#line 7244 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy209), &yymsp[0].minor.yy209); }
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
case 342: /* tag_item ::= column_name AS column_alias */
-#line 601 "sql.y"
-{ yylhsminor.yy416 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy1109), &yymsp[0].minor.yy1109); }
-#line 7250 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy209), &yymsp[0].minor.yy209); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 343: /* db_kind_opt ::= */
-#line 605 "sql.y"
-{ yymsp[1].minor.yy681 = SHOW_KIND_ALL; }
-#line 7256 "sql.c"
+{ yymsp[1].minor.yy881 = SHOW_KIND_ALL; }
break;
case 344: /* db_kind_opt ::= USER */
-#line 606 "sql.y"
-{ yymsp[0].minor.yy681 = SHOW_KIND_DATABASES_USER; }
-#line 7261 "sql.c"
+{ yymsp[0].minor.yy881 = SHOW_KIND_DATABASES_USER; }
break;
case 345: /* db_kind_opt ::= SYSTEM */
-#line 607 "sql.y"
-{ yymsp[0].minor.yy681 = SHOW_KIND_DATABASES_SYSTEM; }
-#line 7266 "sql.c"
+{ yymsp[0].minor.yy881 = SHOW_KIND_DATABASES_SYSTEM; }
break;
case 346: /* cmd ::= CREATE TSMA not_exists_opt tsma_name ON full_table_name tsma_func_list INTERVAL NK_LP duration_literal NK_RP */
-#line 613 "sql.y"
-{ pCxt->pRootNode = createCreateTSMAStmt(pCxt, yymsp[-8].minor.yy209, &yymsp[-7].minor.yy1109, yymsp[-4].minor.yy416, yymsp[-5].minor.yy416, releaseRawExprNode(pCxt, yymsp[-1].minor.yy416)); }
-#line 7271 "sql.c"
+{ pCxt->pRootNode = createCreateTSMAStmt(pCxt, yymsp[-8].minor.yy9, &yymsp[-7].minor.yy209, yymsp[-4].minor.yy840, yymsp[-5].minor.yy840, releaseRawExprNode(pCxt, yymsp[-1].minor.yy840)); }
break;
case 347: /* cmd ::= CREATE RECURSIVE TSMA not_exists_opt tsma_name ON full_table_name INTERVAL NK_LP duration_literal NK_RP */
-#line 615 "sql.y"
-{ pCxt->pRootNode = createCreateTSMAStmt(pCxt, yymsp[-7].minor.yy209, &yymsp[-6].minor.yy1109, NULL, yymsp[-4].minor.yy416, releaseRawExprNode(pCxt, yymsp[-1].minor.yy416)); }
-#line 7276 "sql.c"
+{ pCxt->pRootNode = createCreateTSMAStmt(pCxt, yymsp[-7].minor.yy9, &yymsp[-6].minor.yy209, NULL, yymsp[-4].minor.yy840, releaseRawExprNode(pCxt, yymsp[-1].minor.yy840)); }
break;
case 348: /* cmd ::= DROP TSMA exists_opt full_tsma_name */
-#line 616 "sql.y"
-{ pCxt->pRootNode = createDropTSMAStmt(pCxt, yymsp[-1].minor.yy209, yymsp[0].minor.yy416); }
-#line 7281 "sql.c"
+{ pCxt->pRootNode = createDropTSMAStmt(pCxt, yymsp[-1].minor.yy9, yymsp[0].minor.yy840); }
break;
case 349: /* cmd ::= SHOW db_name_cond_opt TSMAS */
-#line 617 "sql.y"
-{ pCxt->pRootNode = createShowTSMASStmt(pCxt, yymsp[-1].minor.yy416); }
-#line 7286 "sql.c"
+{ pCxt->pRootNode = createShowTSMASStmt(pCxt, yymsp[-1].minor.yy840); }
break;
case 352: /* tsma_func_list ::= FUNCTION NK_LP func_list NK_RP */
-#line 624 "sql.y"
-{ yymsp[-3].minor.yy416 = createTSMAOptions(pCxt, yymsp[-1].minor.yy316); }
-#line 7291 "sql.c"
+{ yymsp[-3].minor.yy840 = createTSMAOptions(pCxt, yymsp[-1].minor.yy456); }
break;
case 353: /* cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */
-#line 628 "sql.y"
-{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy209, yymsp[-3].minor.yy416, yymsp[-1].minor.yy416, NULL, yymsp[0].minor.yy416); }
-#line 7296 "sql.c"
+{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy9, yymsp[-3].minor.yy840, yymsp[-1].minor.yy840, NULL, yymsp[0].minor.yy840); }
break;
case 354: /* cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */
-#line 630 "sql.y"
-{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy209, yymsp[-5].minor.yy416, yymsp[-3].minor.yy416, yymsp[-1].minor.yy316, NULL); }
-#line 7301 "sql.c"
+{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy9, yymsp[-5].minor.yy840, yymsp[-3].minor.yy840, yymsp[-1].minor.yy456, NULL); }
break;
case 355: /* cmd ::= DROP INDEX exists_opt full_index_name */
-#line 631 "sql.y"
-{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy209, yymsp[0].minor.yy416); }
-#line 7306 "sql.c"
+{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy9, yymsp[0].minor.yy840); }
break;
case 356: /* full_index_name ::= index_name */
-#line 633 "sql.y"
-{ yylhsminor.yy416 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy1109); }
-#line 7311 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy209); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
case 357: /* full_index_name ::= db_name NK_DOT index_name */
-#line 634 "sql.y"
-{ yylhsminor.yy416 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy1109, &yymsp[0].minor.yy1109); }
-#line 7317 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy209, &yymsp[0].minor.yy209); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 358: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */
-#line 637 "sql.y"
-{ yymsp[-9].minor.yy416 = createIndexOption(pCxt, yymsp[-7].minor.yy316, releaseRawExprNode(pCxt, yymsp[-3].minor.yy416), NULL, yymsp[-1].minor.yy416, yymsp[0].minor.yy416); }
-#line 7323 "sql.c"
+{ yymsp[-9].minor.yy840 = createIndexOption(pCxt, yymsp[-7].minor.yy456, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), NULL, yymsp[-1].minor.yy840, yymsp[0].minor.yy840); }
break;
case 359: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */
-#line 640 "sql.y"
-{ yymsp[-11].minor.yy416 = createIndexOption(pCxt, yymsp[-9].minor.yy316, releaseRawExprNode(pCxt, yymsp[-5].minor.yy416), releaseRawExprNode(pCxt, yymsp[-3].minor.yy416), yymsp[-1].minor.yy416, yymsp[0].minor.yy416); }
-#line 7328 "sql.c"
+{ yymsp[-11].minor.yy840 = createIndexOption(pCxt, yymsp[-9].minor.yy456, releaseRawExprNode(pCxt, yymsp[-5].minor.yy840), releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), yymsp[-1].minor.yy840, yymsp[0].minor.yy840); }
break;
case 362: /* func ::= sma_func_name NK_LP expression_list NK_RP */
-#line 647 "sql.y"
-{ yylhsminor.yy416 = createFunctionNode(pCxt, &yymsp[-3].minor.yy1109, yymsp[-1].minor.yy316); }
-#line 7333 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createFunctionNode(pCxt, &yymsp[-3].minor.yy209, yymsp[-1].minor.yy456); }
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
case 363: /* sma_func_name ::= function_name */
- case 637: /* alias_opt ::= table_alias */ yytestcase(yyruleno==637);
-#line 651 "sql.y"
-{ yylhsminor.yy1109 = yymsp[0].minor.yy1109; }
-#line 7340 "sql.c"
- yymsp[0].minor.yy1109 = yylhsminor.yy1109;
+ case 653: /* alias_opt ::= table_alias */ yytestcase(yyruleno==653);
+{ yylhsminor.yy209 = yymsp[0].minor.yy209; }
+ yymsp[0].minor.yy209 = yylhsminor.yy209;
break;
case 368: /* sma_stream_opt ::= */
case 418: /* stream_options ::= */ yytestcase(yyruleno==418);
-#line 657 "sql.y"
-{ yymsp[1].minor.yy416 = createStreamOptions(pCxt); }
-#line 7347 "sql.c"
+{ yymsp[1].minor.yy840 = createStreamOptions(pCxt); }
break;
case 369: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */
-#line 658 "sql.y"
-{ ((SStreamOptions*)yymsp[-2].minor.yy416)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy416); yylhsminor.yy416 = yymsp[-2].minor.yy416; }
-#line 7352 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ ((SStreamOptions*)yymsp[-2].minor.yy840)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy840); yylhsminor.yy840 = yymsp[-2].minor.yy840; }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 370: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */
-#line 659 "sql.y"
-{ ((SStreamOptions*)yymsp[-2].minor.yy416)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy416); yylhsminor.yy416 = yymsp[-2].minor.yy416; }
-#line 7358 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ ((SStreamOptions*)yymsp[-2].minor.yy840)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy840); yylhsminor.yy840 = yymsp[-2].minor.yy840; }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 371: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */
-#line 660 "sql.y"
-{ ((SStreamOptions*)yymsp[-2].minor.yy416)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy416); yylhsminor.yy416 = yymsp[-2].minor.yy416; }
-#line 7364 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ ((SStreamOptions*)yymsp[-2].minor.yy840)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy840); yylhsminor.yy840 = yymsp[-2].minor.yy840; }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 372: /* with_meta ::= AS */
-#line 665 "sql.y"
-{ yymsp[0].minor.yy820 = 0; }
-#line 7370 "sql.c"
+{ yymsp[0].minor.yy516 = 0; }
break;
case 373: /* with_meta ::= WITH META AS */
-#line 666 "sql.y"
-{ yymsp[-2].minor.yy820 = 1; }
-#line 7375 "sql.c"
+{ yymsp[-2].minor.yy516 = 1; }
break;
case 374: /* with_meta ::= ONLY META AS */
-#line 667 "sql.y"
-{ yymsp[-2].minor.yy820 = 2; }
-#line 7380 "sql.c"
+{ yymsp[-2].minor.yy516 = 2; }
break;
case 375: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */
-#line 669 "sql.y"
-{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy209, &yymsp[-2].minor.yy1109, yymsp[0].minor.yy416); }
-#line 7385 "sql.c"
+{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy9, &yymsp[-2].minor.yy209, yymsp[0].minor.yy840); }
break;
case 376: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */
-#line 671 "sql.y"
-{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy209, &yymsp[-3].minor.yy1109, &yymsp[0].minor.yy1109, yymsp[-2].minor.yy820); }
-#line 7390 "sql.c"
+{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy9, &yymsp[-3].minor.yy209, &yymsp[0].minor.yy209, yymsp[-2].minor.yy516); }
break;
case 377: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */
-#line 673 "sql.y"
-{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-5].minor.yy209, &yymsp[-4].minor.yy1109, yymsp[-1].minor.yy416, yymsp[-3].minor.yy820, yymsp[0].minor.yy416); }
-#line 7395 "sql.c"
+{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-5].minor.yy9, &yymsp[-4].minor.yy209, yymsp[-1].minor.yy840, yymsp[-3].minor.yy516, yymsp[0].minor.yy840); }
break;
case 378: /* cmd ::= DROP TOPIC exists_opt topic_name */
-#line 675 "sql.y"
-{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy209, &yymsp[0].minor.yy1109); }
-#line 7400 "sql.c"
+{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy9, &yymsp[0].minor.yy209); }
break;
case 379: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */
-#line 676 "sql.y"
-{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy209, &yymsp[-2].minor.yy1109, &yymsp[0].minor.yy1109); }
-#line 7405 "sql.c"
+{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy9, &yymsp[-2].minor.yy209, &yymsp[0].minor.yy209); }
break;
case 380: /* cmd ::= DESC full_table_name */
case 381: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==381);
-#line 679 "sql.y"
-{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy416); }
-#line 7411 "sql.c"
+{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy840); }
break;
case 382: /* cmd ::= RESET QUERY CACHE */
-#line 683 "sql.y"
{ pCxt->pRootNode = createResetQueryCacheStmt(pCxt); }
-#line 7416 "sql.c"
break;
case 383: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */
case 384: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==384);
-#line 686 "sql.y"
-{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy209, yymsp[-1].minor.yy416, yymsp[0].minor.yy416); }
-#line 7422 "sql.c"
+{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy9, yymsp[-1].minor.yy840, yymsp[0].minor.yy840); }
break;
case 387: /* explain_options ::= */
-#line 694 "sql.y"
-{ yymsp[1].minor.yy416 = createDefaultExplainOptions(pCxt); }
-#line 7427 "sql.c"
+{ yymsp[1].minor.yy840 = createDefaultExplainOptions(pCxt); }
break;
case 388: /* explain_options ::= explain_options VERBOSE NK_BOOL */
-#line 695 "sql.y"
-{ yylhsminor.yy416 = setExplainVerbose(pCxt, yymsp[-2].minor.yy416, &yymsp[0].minor.yy0); }
-#line 7432 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setExplainVerbose(pCxt, yymsp[-2].minor.yy840, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 389: /* explain_options ::= explain_options RATIO NK_FLOAT */
-#line 696 "sql.y"
-{ yylhsminor.yy416 = setExplainRatio(pCxt, yymsp[-2].minor.yy416, &yymsp[0].minor.yy0); }
-#line 7438 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = setExplainRatio(pCxt, yymsp[-2].minor.yy840, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 390: /* cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */
-#line 701 "sql.y"
-{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-7].minor.yy209, yymsp[-9].minor.yy209, &yymsp[-6].minor.yy1109, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy952, yymsp[-1].minor.yy820, &yymsp[0].minor.yy1109, yymsp[-10].minor.yy209); }
-#line 7444 "sql.c"
+{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-7].minor.yy9, yymsp[-9].minor.yy9, &yymsp[-6].minor.yy209, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy48, yymsp[-1].minor.yy516, &yymsp[0].minor.yy209, yymsp[-10].minor.yy9); }
break;
case 391: /* cmd ::= DROP FUNCTION exists_opt function_name */
-#line 702 "sql.y"
-{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy209, &yymsp[0].minor.yy1109); }
-#line 7449 "sql.c"
+{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy9, &yymsp[0].minor.yy209); }
break;
case 396: /* language_opt ::= */
- case 441: /* on_vgroup_id ::= */ yytestcase(yyruleno==441);
-#line 716 "sql.y"
-{ yymsp[1].minor.yy1109 = nil_token; }
-#line 7455 "sql.c"
+ case 442: /* on_vgroup_id ::= */ yytestcase(yyruleno==442);
+{ yymsp[1].minor.yy209 = nil_token; }
break;
case 397: /* language_opt ::= LANGUAGE NK_STRING */
- case 442: /* on_vgroup_id ::= ON NK_INTEGER */ yytestcase(yyruleno==442);
-#line 717 "sql.y"
-{ yymsp[-1].minor.yy1109 = yymsp[0].minor.yy0; }
-#line 7461 "sql.c"
+ case 443: /* on_vgroup_id ::= ON NK_INTEGER */ yytestcase(yyruleno==443);
+{ yymsp[-1].minor.yy209 = yymsp[0].minor.yy0; }
break;
case 400: /* cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */
-#line 726 "sql.y"
-{ pCxt->pRootNode = createCreateViewStmt(pCxt, yymsp[-4].minor.yy209, yymsp[-2].minor.yy416, &yymsp[-1].minor.yy0, yymsp[0].minor.yy416); }
-#line 7466 "sql.c"
+{ pCxt->pRootNode = createCreateViewStmt(pCxt, yymsp[-4].minor.yy9, yymsp[-2].minor.yy840, &yymsp[-1].minor.yy0, yymsp[0].minor.yy840); }
break;
case 401: /* cmd ::= DROP VIEW exists_opt full_view_name */
-#line 727 "sql.y"
-{ pCxt->pRootNode = createDropViewStmt(pCxt, yymsp[-1].minor.yy209, yymsp[0].minor.yy416); }
-#line 7471 "sql.c"
+{ pCxt->pRootNode = createDropViewStmt(pCxt, yymsp[-1].minor.yy9, yymsp[0].minor.yy840); }
break;
case 402: /* full_view_name ::= view_name */
-#line 729 "sql.y"
-{ yylhsminor.yy416 = createViewNode(pCxt, NULL, &yymsp[0].minor.yy1109); }
-#line 7476 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createViewNode(pCxt, NULL, &yymsp[0].minor.yy209); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
case 403: /* full_view_name ::= db_name NK_DOT view_name */
-#line 730 "sql.y"
-{ yylhsminor.yy416 = createViewNode(pCxt, &yymsp[-2].minor.yy1109, &yymsp[0].minor.yy1109); }
-#line 7482 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createViewNode(pCxt, &yymsp[-2].minor.yy209, &yymsp[0].minor.yy209); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 404: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */
-#line 735 "sql.y"
-{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-9].minor.yy209, &yymsp[-8].minor.yy1109, yymsp[-5].minor.yy416, yymsp[-7].minor.yy416, yymsp[-3].minor.yy316, yymsp[-2].minor.yy416, yymsp[0].minor.yy416, yymsp[-4].minor.yy316); }
-#line 7488 "sql.c"
+{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-9].minor.yy9, &yymsp[-8].minor.yy209, yymsp[-5].minor.yy840, yymsp[-7].minor.yy840, yymsp[-3].minor.yy456, yymsp[-2].minor.yy840, yymsp[0].minor.yy840, yymsp[-4].minor.yy456); }
break;
case 405: /* cmd ::= DROP STREAM exists_opt stream_name */
-#line 736 "sql.y"
-{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy209, &yymsp[0].minor.yy1109); }
-#line 7493 "sql.c"
+{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy9, &yymsp[0].minor.yy209); }
break;
case 406: /* cmd ::= PAUSE STREAM exists_opt stream_name */
-#line 737 "sql.y"
-{ pCxt->pRootNode = createPauseStreamStmt(pCxt, yymsp[-1].minor.yy209, &yymsp[0].minor.yy1109); }
-#line 7498 "sql.c"
+{ pCxt->pRootNode = createPauseStreamStmt(pCxt, yymsp[-1].minor.yy9, &yymsp[0].minor.yy209); }
break;
case 407: /* cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */
-#line 738 "sql.y"
-{ pCxt->pRootNode = createResumeStreamStmt(pCxt, yymsp[-2].minor.yy209, yymsp[-1].minor.yy209, &yymsp[0].minor.yy1109); }
-#line 7503 "sql.c"
+{ pCxt->pRootNode = createResumeStreamStmt(pCxt, yymsp[-2].minor.yy9, yymsp[-1].minor.yy9, &yymsp[0].minor.yy209); }
break;
case 412: /* column_stream_def ::= column_name stream_col_options */
-#line 751 "sql.y"
-{ yylhsminor.yy416 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy1109, createDataType(TSDB_DATA_TYPE_NULL), yymsp[0].minor.yy416); }
-#line 7508 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+{ yylhsminor.yy840 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy209, createDataType(TSDB_DATA_TYPE_NULL), yymsp[0].minor.yy840); }
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
case 413: /* stream_col_options ::= */
- case 750: /* column_options ::= */ yytestcase(yyruleno==750);
-#line 752 "sql.y"
-{ yymsp[1].minor.yy416 = createDefaultColumnOptions(pCxt); }
-#line 7515 "sql.c"
+ case 766: /* column_options ::= */ yytestcase(yyruleno==766);
+{ yymsp[1].minor.yy840 = createDefaultColumnOptions(pCxt); }
break;
case 414: /* stream_col_options ::= stream_col_options PRIMARY KEY */
- case 751: /* column_options ::= column_options PRIMARY KEY */ yytestcase(yyruleno==751);
-#line 753 "sql.y"
-{ yylhsminor.yy416 = setColumnOptions(pCxt, yymsp[-2].minor.yy416, COLUMN_OPTION_PRIMARYKEY, NULL); }
-#line 7521 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 767: /* column_options ::= column_options PRIMARY KEY */ yytestcase(yyruleno==767);
+{ yylhsminor.yy840 = setColumnOptions(pCxt, yymsp[-2].minor.yy840, COLUMN_OPTION_PRIMARYKEY, NULL); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
case 419: /* stream_options ::= stream_options TRIGGER AT_ONCE */
case 420: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==420);
-#line 763 "sql.y"
-{ yylhsminor.yy416 = setStreamOptions(pCxt, yymsp[-2].minor.yy416, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); }
-#line 7528 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 421: /* stream_options ::= stream_options TRIGGER FORCE_WINDOW_CLOSE */ yytestcase(yyruleno==421);
+{ yylhsminor.yy840 = setStreamOptions(pCxt, yymsp[-2].minor.yy840, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 421: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */
-#line 765 "sql.y"
-{ yylhsminor.yy416 = setStreamOptions(pCxt, yymsp[-3].minor.yy416, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy416)); }
-#line 7534 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+ case 422: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */
+{ yylhsminor.yy840 = setStreamOptions(pCxt, yymsp[-3].minor.yy840, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy840)); }
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
- case 422: /* stream_options ::= stream_options WATERMARK duration_literal */
-#line 766 "sql.y"
-{ yylhsminor.yy416 = setStreamOptions(pCxt, yymsp[-2].minor.yy416, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy416)); }
-#line 7540 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 423: /* stream_options ::= stream_options WATERMARK duration_literal */
+{ yylhsminor.yy840 = setStreamOptions(pCxt, yymsp[-2].minor.yy840, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy840)); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 423: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */
-#line 767 "sql.y"
-{ yylhsminor.yy416 = setStreamOptions(pCxt, yymsp[-3].minor.yy416, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); }
-#line 7546 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+ case 424: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */
+{ yylhsminor.yy840 = setStreamOptions(pCxt, yymsp[-3].minor.yy840, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); }
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
- case 424: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */
-#line 768 "sql.y"
-{ yylhsminor.yy416 = setStreamOptions(pCxt, yymsp[-2].minor.yy416, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); }
-#line 7552 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 425: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */
+{ yylhsminor.yy840 = setStreamOptions(pCxt, yymsp[-2].minor.yy840, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 425: /* stream_options ::= stream_options DELETE_MARK duration_literal */
-#line 769 "sql.y"
-{ yylhsminor.yy416 = setStreamOptions(pCxt, yymsp[-2].minor.yy416, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy416)); }
-#line 7558 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 426: /* stream_options ::= stream_options DELETE_MARK duration_literal */
+{ yylhsminor.yy840 = setStreamOptions(pCxt, yymsp[-2].minor.yy840, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy840)); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 426: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */
-#line 770 "sql.y"
-{ yylhsminor.yy416 = setStreamOptions(pCxt, yymsp[-3].minor.yy416, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); }
-#line 7564 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+ case 427: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */
+{ yylhsminor.yy840 = setStreamOptions(pCxt, yymsp[-3].minor.yy840, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); }
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
- case 428: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */
- case 694: /* sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */ yytestcase(yyruleno==694);
- case 718: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==718);
-#line 773 "sql.y"
-{ yymsp[-3].minor.yy416 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy416); }
-#line 7572 "sql.c"
+ case 429: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */
+ case 710: /* sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */ yytestcase(yyruleno==710);
+ case 734: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==734);
+{ yymsp[-3].minor.yy840 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy840); }
break;
- case 431: /* cmd ::= KILL CONNECTION NK_INTEGER */
-#line 781 "sql.y"
+ case 432: /* cmd ::= KILL CONNECTION NK_INTEGER */
{ pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); }
-#line 7577 "sql.c"
break;
- case 432: /* cmd ::= KILL QUERY NK_STRING */
-#line 782 "sql.y"
+ case 433: /* cmd ::= KILL QUERY NK_STRING */
{ pCxt->pRootNode = createKillQueryStmt(pCxt, &yymsp[0].minor.yy0); }
-#line 7582 "sql.c"
break;
- case 433: /* cmd ::= KILL TRANSACTION NK_INTEGER */
-#line 783 "sql.y"
+ case 434: /* cmd ::= KILL TRANSACTION NK_INTEGER */
{ pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_TRANSACTION_STMT, &yymsp[0].minor.yy0); }
-#line 7587 "sql.c"
break;
- case 434: /* cmd ::= KILL COMPACT NK_INTEGER */
-#line 784 "sql.y"
+ case 435: /* cmd ::= KILL COMPACT NK_INTEGER */
{ pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_COMPACT_STMT, &yymsp[0].minor.yy0); }
-#line 7592 "sql.c"
break;
- case 435: /* cmd ::= BALANCE VGROUP */
-#line 787 "sql.y"
+ case 436: /* cmd ::= BALANCE VGROUP */
{ pCxt->pRootNode = createBalanceVgroupStmt(pCxt); }
-#line 7597 "sql.c"
break;
- case 436: /* cmd ::= BALANCE VGROUP LEADER on_vgroup_id */
-#line 788 "sql.y"
-{ pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt, &yymsp[0].minor.yy1109); }
-#line 7602 "sql.c"
+ case 437: /* cmd ::= BALANCE VGROUP LEADER on_vgroup_id */
+{ pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt, &yymsp[0].minor.yy209); }
break;
- case 437: /* cmd ::= BALANCE VGROUP LEADER DATABASE db_name */
-#line 789 "sql.y"
-{ pCxt->pRootNode = createBalanceVgroupLeaderDBNameStmt(pCxt, &yymsp[0].minor.yy1109); }
-#line 7607 "sql.c"
+ case 438: /* cmd ::= BALANCE VGROUP LEADER DATABASE db_name */
+{ pCxt->pRootNode = createBalanceVgroupLeaderDBNameStmt(pCxt, &yymsp[0].minor.yy209); }
break;
- case 438: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */
-#line 790 "sql.y"
+ case 439: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */
{ pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); }
-#line 7612 "sql.c"
break;
- case 439: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */
-#line 791 "sql.y"
-{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy316); }
-#line 7617 "sql.c"
+ case 440: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */
+{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy456); }
break;
- case 440: /* cmd ::= SPLIT VGROUP NK_INTEGER */
-#line 792 "sql.y"
+ case 441: /* cmd ::= SPLIT VGROUP NK_INTEGER */
{ pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); }
-#line 7622 "sql.c"
break;
- case 443: /* dnode_list ::= DNODE NK_INTEGER */
-#line 801 "sql.y"
-{ yymsp[-1].minor.yy316 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); }
-#line 7627 "sql.c"
+ case 444: /* dnode_list ::= DNODE NK_INTEGER */
+{ yymsp[-1].minor.yy456 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); }
break;
- case 445: /* cmd ::= DELETE FROM full_table_name where_clause_opt */
-#line 808 "sql.y"
-{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy416, yymsp[0].minor.yy416); }
-#line 7632 "sql.c"
+ case 446: /* cmd ::= DELETE FROM full_table_name where_clause_opt */
+{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy840, yymsp[0].minor.yy840); }
break;
- case 448: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */
-#line 817 "sql.y"
-{ yymsp[-6].minor.yy416 = createInsertStmt(pCxt, yymsp[-4].minor.yy416, yymsp[-2].minor.yy316, yymsp[0].minor.yy416); }
-#line 7637 "sql.c"
+ case 449: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */
+{ yymsp[-6].minor.yy840 = createInsertStmt(pCxt, yymsp[-4].minor.yy840, yymsp[-2].minor.yy456, yymsp[0].minor.yy840); }
break;
- case 449: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */
-#line 818 "sql.y"
-{ yymsp[-3].minor.yy416 = createInsertStmt(pCxt, yymsp[-1].minor.yy416, NULL, yymsp[0].minor.yy416); }
-#line 7642 "sql.c"
+ case 450: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */
+{ yymsp[-3].minor.yy840 = createInsertStmt(pCxt, yymsp[-1].minor.yy840, NULL, yymsp[0].minor.yy840); }
break;
- case 450: /* tags_literal ::= NK_INTEGER */
- case 462: /* tags_literal ::= NK_BIN */ yytestcase(yyruleno==462);
- case 471: /* tags_literal ::= NK_HEX */ yytestcase(yyruleno==471);
-#line 821 "sql.y"
-{ yylhsminor.yy416 = createRawValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0, NULL); }
-#line 7649 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 451: /* tags_literal ::= NK_INTEGER */
+ case 463: /* tags_literal ::= NK_BIN */ yytestcase(yyruleno==463);
+ case 472: /* tags_literal ::= NK_HEX */ yytestcase(yyruleno==472);
+{ yylhsminor.yy840 = createRawValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0, NULL); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 451: /* tags_literal ::= NK_INTEGER NK_PLUS duration_literal */
- case 452: /* tags_literal ::= NK_INTEGER NK_MINUS duration_literal */ yytestcase(yyruleno==452);
- case 463: /* tags_literal ::= NK_BIN NK_PLUS duration_literal */ yytestcase(yyruleno==463);
- case 464: /* tags_literal ::= NK_BIN NK_MINUS duration_literal */ yytestcase(yyruleno==464);
- case 472: /* tags_literal ::= NK_HEX NK_PLUS duration_literal */ yytestcase(yyruleno==472);
- case 473: /* tags_literal ::= NK_HEX NK_MINUS duration_literal */ yytestcase(yyruleno==473);
- case 481: /* tags_literal ::= NK_STRING NK_PLUS duration_literal */ yytestcase(yyruleno==481);
- case 482: /* tags_literal ::= NK_STRING NK_MINUS duration_literal */ yytestcase(yyruleno==482);
-#line 822 "sql.y"
+ case 452: /* tags_literal ::= NK_INTEGER NK_PLUS duration_literal */
+ case 453: /* tags_literal ::= NK_INTEGER NK_MINUS duration_literal */ yytestcase(yyruleno==453);
+ case 464: /* tags_literal ::= NK_BIN NK_PLUS duration_literal */ yytestcase(yyruleno==464);
+ case 465: /* tags_literal ::= NK_BIN NK_MINUS duration_literal */ yytestcase(yyruleno==465);
+ case 473: /* tags_literal ::= NK_HEX NK_PLUS duration_literal */ yytestcase(yyruleno==473);
+ case 474: /* tags_literal ::= NK_HEX NK_MINUS duration_literal */ yytestcase(yyruleno==474);
+ case 482: /* tags_literal ::= NK_STRING NK_PLUS duration_literal */ yytestcase(yyruleno==482);
+ case 483: /* tags_literal ::= NK_STRING NK_MINUS duration_literal */ yytestcase(yyruleno==483);
{
SToken l = yymsp[-2].minor.yy0;
- SToken r = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
+ SToken r = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
l.n = (r.z + r.n) - l.z;
- yylhsminor.yy416 = createRawValueNodeExt(pCxt, TSDB_DATA_TYPE_BINARY, &l, NULL, yymsp[0].minor.yy416);
+ yylhsminor.yy840 = createRawValueNodeExt(pCxt, TSDB_DATA_TYPE_BINARY, &l, NULL, yymsp[0].minor.yy840);
}
-#line 7667 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 453: /* tags_literal ::= NK_PLUS NK_INTEGER */
- case 456: /* tags_literal ::= NK_MINUS NK_INTEGER */ yytestcase(yyruleno==456);
- case 465: /* tags_literal ::= NK_PLUS NK_BIN */ yytestcase(yyruleno==465);
- case 468: /* tags_literal ::= NK_MINUS NK_BIN */ yytestcase(yyruleno==468);
- case 474: /* tags_literal ::= NK_PLUS NK_HEX */ yytestcase(yyruleno==474);
- case 477: /* tags_literal ::= NK_MINUS NK_HEX */ yytestcase(yyruleno==477);
-#line 834 "sql.y"
+ case 454: /* tags_literal ::= NK_PLUS NK_INTEGER */
+ case 457: /* tags_literal ::= NK_MINUS NK_INTEGER */ yytestcase(yyruleno==457);
+ case 466: /* tags_literal ::= NK_PLUS NK_BIN */ yytestcase(yyruleno==466);
+ case 469: /* tags_literal ::= NK_MINUS NK_BIN */ yytestcase(yyruleno==469);
+ case 475: /* tags_literal ::= NK_PLUS NK_HEX */ yytestcase(yyruleno==475);
+ case 478: /* tags_literal ::= NK_MINUS NK_HEX */ yytestcase(yyruleno==478);
{
SToken t = yymsp[-1].minor.yy0;
t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z;
- yylhsminor.yy416 = createRawValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &t, NULL);
+ yylhsminor.yy840 = createRawValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &t, NULL);
}
-#line 7682 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
- case 454: /* tags_literal ::= NK_PLUS NK_INTEGER NK_PLUS duration_literal */
- case 455: /* tags_literal ::= NK_PLUS NK_INTEGER NK_MINUS duration_literal */ yytestcase(yyruleno==455);
- case 457: /* tags_literal ::= NK_MINUS NK_INTEGER NK_PLUS duration_literal */ yytestcase(yyruleno==457);
- case 458: /* tags_literal ::= NK_MINUS NK_INTEGER NK_MINUS duration_literal */ yytestcase(yyruleno==458);
- case 466: /* tags_literal ::= NK_PLUS NK_BIN NK_PLUS duration_literal */ yytestcase(yyruleno==466);
- case 467: /* tags_literal ::= NK_PLUS NK_BIN NK_MINUS duration_literal */ yytestcase(yyruleno==467);
- case 469: /* tags_literal ::= NK_MINUS NK_BIN NK_PLUS duration_literal */ yytestcase(yyruleno==469);
- case 470: /* tags_literal ::= NK_MINUS NK_BIN NK_MINUS duration_literal */ yytestcase(yyruleno==470);
- case 475: /* tags_literal ::= NK_PLUS NK_HEX NK_PLUS duration_literal */ yytestcase(yyruleno==475);
- case 476: /* tags_literal ::= NK_PLUS NK_HEX NK_MINUS duration_literal */ yytestcase(yyruleno==476);
- case 478: /* tags_literal ::= NK_MINUS NK_HEX NK_PLUS duration_literal */ yytestcase(yyruleno==478);
- case 479: /* tags_literal ::= NK_MINUS NK_HEX NK_MINUS duration_literal */ yytestcase(yyruleno==479);
-#line 839 "sql.y"
+ case 455: /* tags_literal ::= NK_PLUS NK_INTEGER NK_PLUS duration_literal */
+ case 456: /* tags_literal ::= NK_PLUS NK_INTEGER NK_MINUS duration_literal */ yytestcase(yyruleno==456);
+ case 458: /* tags_literal ::= NK_MINUS NK_INTEGER NK_PLUS duration_literal */ yytestcase(yyruleno==458);
+ case 459: /* tags_literal ::= NK_MINUS NK_INTEGER NK_MINUS duration_literal */ yytestcase(yyruleno==459);
+ case 467: /* tags_literal ::= NK_PLUS NK_BIN NK_PLUS duration_literal */ yytestcase(yyruleno==467);
+ case 468: /* tags_literal ::= NK_PLUS NK_BIN NK_MINUS duration_literal */ yytestcase(yyruleno==468);
+ case 470: /* tags_literal ::= NK_MINUS NK_BIN NK_PLUS duration_literal */ yytestcase(yyruleno==470);
+ case 471: /* tags_literal ::= NK_MINUS NK_BIN NK_MINUS duration_literal */ yytestcase(yyruleno==471);
+ case 476: /* tags_literal ::= NK_PLUS NK_HEX NK_PLUS duration_literal */ yytestcase(yyruleno==476);
+ case 477: /* tags_literal ::= NK_PLUS NK_HEX NK_MINUS duration_literal */ yytestcase(yyruleno==477);
+ case 479: /* tags_literal ::= NK_MINUS NK_HEX NK_PLUS duration_literal */ yytestcase(yyruleno==479);
+ case 480: /* tags_literal ::= NK_MINUS NK_HEX NK_MINUS duration_literal */ yytestcase(yyruleno==480);
{
SToken l = yymsp[-3].minor.yy0;
- SToken r = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
+ SToken r = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
l.n = (r.z + r.n) - l.z;
- yylhsminor.yy416 = createRawValueNodeExt(pCxt, TSDB_DATA_TYPE_BINARY, &l, NULL, yymsp[0].minor.yy416);
+ yylhsminor.yy840 = createRawValueNodeExt(pCxt, TSDB_DATA_TYPE_BINARY, &l, NULL, yymsp[0].minor.yy840);
}
-#line 7704 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
- case 459: /* tags_literal ::= NK_FLOAT */
-#line 868 "sql.y"
-{ yylhsminor.yy416 = createRawValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0, NULL); }
-#line 7710 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 460: /* tags_literal ::= NK_FLOAT */
+{ yylhsminor.yy840 = createRawValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0, NULL); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 460: /* tags_literal ::= NK_PLUS NK_FLOAT */
- case 461: /* tags_literal ::= NK_MINUS NK_FLOAT */ yytestcase(yyruleno==461);
-#line 869 "sql.y"
+ case 461: /* tags_literal ::= NK_PLUS NK_FLOAT */
+ case 462: /* tags_literal ::= NK_MINUS NK_FLOAT */ yytestcase(yyruleno==462);
{
SToken t = yymsp[-1].minor.yy0;
t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z;
- yylhsminor.yy416 = createRawValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t, NULL);
+ yylhsminor.yy840 = createRawValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t, NULL);
}
-#line 7721 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
- case 480: /* tags_literal ::= NK_STRING */
-#line 975 "sql.y"
-{ yylhsminor.yy416 = createRawValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0, NULL); }
-#line 7727 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 481: /* tags_literal ::= NK_STRING */
+{ yylhsminor.yy840 = createRawValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0, NULL); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 483: /* tags_literal ::= NK_BOOL */
-#line 988 "sql.y"
-{ yylhsminor.yy416 = createRawValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0, NULL); }
-#line 7733 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 484: /* tags_literal ::= NK_BOOL */
+{ yylhsminor.yy840 = createRawValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0, NULL); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 484: /* tags_literal ::= NULL */
-#line 989 "sql.y"
-{ yylhsminor.yy416 = createRawValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0, NULL); }
-#line 7739 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 485: /* tags_literal ::= NULL */
+{ yylhsminor.yy840 = createRawValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0, NULL); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 485: /* tags_literal ::= literal_func */
-#line 991 "sql.y"
-{ yylhsminor.yy416 = createRawValueNode(pCxt, TSDB_DATA_TYPE_BINARY, NULL, yymsp[0].minor.yy416); }
-#line 7745 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 486: /* tags_literal ::= literal_func */
+{ yylhsminor.yy840 = createRawValueNode(pCxt, TSDB_DATA_TYPE_BINARY, NULL, yymsp[0].minor.yy840); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 486: /* tags_literal ::= literal_func NK_PLUS duration_literal */
- case 487: /* tags_literal ::= literal_func NK_MINUS duration_literal */ yytestcase(yyruleno==487);
-#line 992 "sql.y"
+ case 487: /* tags_literal ::= literal_func NK_PLUS duration_literal */
+ case 488: /* tags_literal ::= literal_func NK_MINUS duration_literal */ yytestcase(yyruleno==488);
{
- SToken l = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy416);
- SToken r = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
+ SToken l = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840);
+ SToken r = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
l.n = (r.z + r.n) - l.z;
- yylhsminor.yy416 = createRawValueNodeExt(pCxt, TSDB_DATA_TYPE_BINARY, &l, yymsp[-2].minor.yy416, yymsp[0].minor.yy416);
+ yylhsminor.yy840 = createRawValueNodeExt(pCxt, TSDB_DATA_TYPE_BINARY, &l, yymsp[-2].minor.yy840, yymsp[0].minor.yy840);
}
-#line 7757 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 490: /* literal ::= NK_INTEGER */
-#line 1011 "sql.y"
-{ yylhsminor.yy416 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); }
-#line 7763 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 491: /* literal ::= NK_INTEGER */
+{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 491: /* literal ::= NK_FLOAT */
-#line 1012 "sql.y"
-{ yylhsminor.yy416 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); }
-#line 7769 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 492: /* literal ::= NK_FLOAT */
+{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 492: /* literal ::= NK_STRING */
-#line 1013 "sql.y"
-{ yylhsminor.yy416 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); }
-#line 7775 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 493: /* literal ::= NK_STRING */
+{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 493: /* literal ::= NK_BOOL */
-#line 1014 "sql.y"
-{ yylhsminor.yy416 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); }
-#line 7781 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 494: /* literal ::= NK_BOOL */
+{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 494: /* literal ::= TIMESTAMP NK_STRING */
-#line 1015 "sql.y"
-{ yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); }
-#line 7787 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+ case 495: /* literal ::= TIMESTAMP NK_STRING */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); }
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
- case 495: /* literal ::= duration_literal */
- case 505: /* signed_literal ::= signed */ yytestcase(yyruleno==505);
- case 529: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==529);
- case 530: /* expression ::= literal */ yytestcase(yyruleno==530);
- case 532: /* expression ::= column_reference */ yytestcase(yyruleno==532);
- case 533: /* expression ::= function_expression */ yytestcase(yyruleno==533);
- case 534: /* expression ::= case_when_expression */ yytestcase(yyruleno==534);
- case 568: /* function_expression ::= literal_func */ yytestcase(yyruleno==568);
- case 618: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==618);
- case 622: /* boolean_primary ::= predicate */ yytestcase(yyruleno==622);
- case 624: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==624);
- case 625: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==625);
- case 628: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==628);
- case 630: /* table_reference ::= table_primary */ yytestcase(yyruleno==630);
- case 631: /* table_reference ::= joined_table */ yytestcase(yyruleno==631);
- case 635: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==635);
- case 720: /* query_simple ::= query_specification */ yytestcase(yyruleno==720);
- case 721: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==721);
- case 724: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==724);
- case 726: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==726);
-#line 1016 "sql.y"
-{ yylhsminor.yy416 = yymsp[0].minor.yy416; }
-#line 7812 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 496: /* literal ::= duration_literal */
+ case 506: /* signed_literal ::= signed */ yytestcase(yyruleno==506);
+ case 530: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==530);
+ case 531: /* expression ::= literal */ yytestcase(yyruleno==531);
+ case 533: /* expression ::= column_reference */ yytestcase(yyruleno==533);
+ case 534: /* expression ::= function_expression */ yytestcase(yyruleno==534);
+ case 535: /* expression ::= case_when_expression */ yytestcase(yyruleno==535);
+ case 577: /* function_expression ::= literal_func */ yytestcase(yyruleno==577);
+ case 634: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==634);
+ case 638: /* boolean_primary ::= predicate */ yytestcase(yyruleno==638);
+ case 640: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==640);
+ case 641: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==641);
+ case 644: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==644);
+ case 646: /* table_reference ::= table_primary */ yytestcase(yyruleno==646);
+ case 647: /* table_reference ::= joined_table */ yytestcase(yyruleno==647);
+ case 651: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==651);
+ case 736: /* query_simple ::= query_specification */ yytestcase(yyruleno==736);
+ case 737: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==737);
+ case 740: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==740);
+ case 742: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==742);
+{ yylhsminor.yy840 = yymsp[0].minor.yy840; }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 496: /* literal ::= NULL */
-#line 1017 "sql.y"
-{ yylhsminor.yy416 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); }
-#line 7818 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 497: /* literal ::= NULL */
+{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 497: /* literal ::= NK_QUESTION */
-#line 1018 "sql.y"
-{ yylhsminor.yy416 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); }
-#line 7824 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 498: /* literal ::= NK_QUESTION */
+{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 498: /* duration_literal ::= NK_VARIABLE */
- case 695: /* interval_sliding_duration_literal ::= NK_VARIABLE */ yytestcase(yyruleno==695);
- case 696: /* interval_sliding_duration_literal ::= NK_STRING */ yytestcase(yyruleno==696);
- case 697: /* interval_sliding_duration_literal ::= NK_INTEGER */ yytestcase(yyruleno==697);
-#line 1020 "sql.y"
-{ yylhsminor.yy416 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); }
-#line 7833 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 499: /* duration_literal ::= NK_VARIABLE */
+ case 711: /* interval_sliding_duration_literal ::= NK_VARIABLE */ yytestcase(yyruleno==711);
+ case 712: /* interval_sliding_duration_literal ::= NK_STRING */ yytestcase(yyruleno==712);
+ case 713: /* interval_sliding_duration_literal ::= NK_INTEGER */ yytestcase(yyruleno==713);
+{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 499: /* signed ::= NK_INTEGER */
-#line 1022 "sql.y"
-{ yylhsminor.yy416 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); }
-#line 7839 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 500: /* signed ::= NK_INTEGER */
+{ yylhsminor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 500: /* signed ::= NK_PLUS NK_INTEGER */
-#line 1023 "sql.y"
-{ yymsp[-1].minor.yy416 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); }
-#line 7845 "sql.c"
+ case 501: /* signed ::= NK_PLUS NK_INTEGER */
+{ yymsp[-1].minor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); }
break;
- case 501: /* signed ::= NK_MINUS NK_INTEGER */
-#line 1024 "sql.y"
+ case 502: /* signed ::= NK_MINUS NK_INTEGER */
{
SToken t = yymsp[-1].minor.yy0;
t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z;
- yylhsminor.yy416 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t);
+ yylhsminor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t);
}
-#line 7854 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
- case 502: /* signed ::= NK_FLOAT */
-#line 1029 "sql.y"
-{ yylhsminor.yy416 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); }
-#line 7860 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 503: /* signed ::= NK_FLOAT */
+{ yylhsminor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 503: /* signed ::= NK_PLUS NK_FLOAT */
-#line 1030 "sql.y"
-{ yymsp[-1].minor.yy416 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); }
-#line 7866 "sql.c"
+ case 504: /* signed ::= NK_PLUS NK_FLOAT */
+{ yymsp[-1].minor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); }
break;
- case 504: /* signed ::= NK_MINUS NK_FLOAT */
-#line 1031 "sql.y"
+ case 505: /* signed ::= NK_MINUS NK_FLOAT */
{
SToken t = yymsp[-1].minor.yy0;
t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z;
- yylhsminor.yy416 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t);
+ yylhsminor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t);
}
-#line 7875 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
- case 506: /* signed_literal ::= NK_STRING */
-#line 1038 "sql.y"
-{ yylhsminor.yy416 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); }
-#line 7881 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 507: /* signed_literal ::= NK_STRING */
+{ yylhsminor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 507: /* signed_literal ::= NK_BOOL */
-#line 1039 "sql.y"
-{ yylhsminor.yy416 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); }
-#line 7887 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 508: /* signed_literal ::= NK_BOOL */
+{ yylhsminor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 508: /* signed_literal ::= TIMESTAMP NK_STRING */
-#line 1040 "sql.y"
-{ yymsp[-1].minor.yy416 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); }
-#line 7893 "sql.c"
+ case 509: /* signed_literal ::= TIMESTAMP NK_STRING */
+{ yymsp[-1].minor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); }
break;
- case 509: /* signed_literal ::= duration_literal */
- case 511: /* signed_literal ::= literal_func */ yytestcase(yyruleno==511);
- case 589: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==589);
- case 672: /* select_item ::= common_expression */ yytestcase(yyruleno==672);
- case 682: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==682);
- case 725: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==725);
- case 727: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==727);
- case 740: /* search_condition ::= common_expression */ yytestcase(yyruleno==740);
-#line 1041 "sql.y"
-{ yylhsminor.yy416 = releaseRawExprNode(pCxt, yymsp[0].minor.yy416); }
-#line 7905 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 510: /* signed_literal ::= duration_literal */
+ case 512: /* signed_literal ::= literal_func */ yytestcase(yyruleno==512);
+ case 605: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==605);
+ case 688: /* select_item ::= common_expression */ yytestcase(yyruleno==688);
+ case 698: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==698);
+ case 741: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==741);
+ case 743: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==743);
+ case 756: /* search_condition ::= common_expression */ yytestcase(yyruleno==756);
+{ yylhsminor.yy840 = releaseRawExprNode(pCxt, yymsp[0].minor.yy840); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 510: /* signed_literal ::= NULL */
-#line 1042 "sql.y"
-{ yylhsminor.yy416 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); }
-#line 7911 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 511: /* signed_literal ::= NULL */
+{ yylhsminor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 512: /* signed_literal ::= NK_QUESTION */
-#line 1044 "sql.y"
-{ yylhsminor.yy416 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); }
-#line 7917 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 513: /* signed_literal ::= NK_QUESTION */
+{ yylhsminor.yy840 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 531: /* expression ::= pseudo_column */
-#line 1110 "sql.y"
-{ yylhsminor.yy416 = yymsp[0].minor.yy416; setRawExprNodeIsPseudoColumn(pCxt, yylhsminor.yy416, true); }
-#line 7923 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 532: /* expression ::= pseudo_column */
+{ yylhsminor.yy840 = yymsp[0].minor.yy840; (void)setRawExprNodeIsPseudoColumn(pCxt, yylhsminor.yy840, true); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 535: /* expression ::= NK_LP expression NK_RP */
- case 623: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==623);
- case 739: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==739);
-#line 1114 "sql.y"
-{ yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy416)); }
-#line 7931 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 536: /* expression ::= NK_LP expression NK_RP */
+ case 639: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==639);
+ case 755: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==755);
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy840)); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 536: /* expression ::= NK_PLUS expr_or_subquery */
-#line 1115 "sql.y"
+ case 537: /* expression ::= NK_PLUS expr_or_subquery */
{
- SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy416));
+ SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy840));
}
-#line 7940 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
- case 537: /* expression ::= NK_MINUS expr_or_subquery */
-#line 1119 "sql.y"
+ case 538: /* expression ::= NK_MINUS expr_or_subquery */
{
- SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy416), NULL));
+ SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy840), NULL));
}
-#line 7949 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
- case 538: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */
-#line 1123 "sql.y"
+ case 539: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy416);
- SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), releaseRawExprNode(pCxt, yymsp[0].minor.yy416)));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840);
+ SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840)));
}
-#line 7959 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 539: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */
-#line 1128 "sql.y"
+ case 540: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy416);
- SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), releaseRawExprNode(pCxt, yymsp[0].minor.yy416)));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840);
+ SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840)));
}
-#line 7969 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 540: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */
-#line 1133 "sql.y"
+ case 541: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy416);
- SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), releaseRawExprNode(pCxt, yymsp[0].minor.yy416)));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840);
+ SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840)));
}
-#line 7979 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 541: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */
-#line 1138 "sql.y"
+ case 542: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy416);
- SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), releaseRawExprNode(pCxt, yymsp[0].minor.yy416)));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840);
+ SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840)));
}
-#line 7989 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 542: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */
-#line 1143 "sql.y"
+ case 543: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy416);
- SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), releaseRawExprNode(pCxt, yymsp[0].minor.yy416)));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840);
+ SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840)));
}
-#line 7999 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 543: /* expression ::= column_reference NK_ARROW NK_STRING */
-#line 1148 "sql.y"
+ case 544: /* expression ::= column_reference NK_ARROW NK_STRING */
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)));
}
-#line 8008 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 544: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */
-#line 1152 "sql.y"
+ case 545: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy416);
- SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), releaseRawExprNode(pCxt, yymsp[0].minor.yy416)));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840);
+ SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840)));
}
-#line 8018 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 545: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */
-#line 1157 "sql.y"
+ case 546: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy416);
- SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), releaseRawExprNode(pCxt, yymsp[0].minor.yy416)));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840);
+ SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840)));
}
-#line 8028 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 548: /* column_reference ::= column_name */
-#line 1168 "sql.y"
-{ yylhsminor.yy416 = createRawExprNode(pCxt, &yymsp[0].minor.yy1109, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy1109)); }
-#line 8034 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 549: /* column_reference ::= column_name */
+{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy209, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy209)); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 549: /* column_reference ::= table_name NK_DOT column_name */
-#line 1169 "sql.y"
-{ yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy1109, &yymsp[0].minor.yy1109, createColumnNode(pCxt, &yymsp[-2].minor.yy1109, &yymsp[0].minor.yy1109)); }
-#line 8040 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 550: /* column_reference ::= table_name NK_DOT column_name */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy209, &yymsp[0].minor.yy209, createColumnNode(pCxt, &yymsp[-2].minor.yy209, &yymsp[0].minor.yy209)); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 550: /* column_reference ::= NK_ALIAS */
-#line 1170 "sql.y"
-{ yylhsminor.yy416 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); }
-#line 8046 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 551: /* column_reference ::= NK_ALIAS */
+{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 551: /* column_reference ::= table_name NK_DOT NK_ALIAS */
-#line 1171 "sql.y"
-{ yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy1109, &yymsp[0].minor.yy0, createColumnNode(pCxt, &yymsp[-2].minor.yy1109, &yymsp[0].minor.yy0)); }
-#line 8052 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 552: /* column_reference ::= table_name NK_DOT NK_ALIAS */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy209, &yymsp[0].minor.yy0, createColumnNode(pCxt, &yymsp[-2].minor.yy209, &yymsp[0].minor.yy0)); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 552: /* pseudo_column ::= ROWTS */
- case 553: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==553);
- case 555: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==555);
- case 556: /* pseudo_column ::= QEND */ yytestcase(yyruleno==556);
- case 557: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==557);
- case 558: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==558);
- case 559: /* pseudo_column ::= WEND */ yytestcase(yyruleno==559);
- case 560: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==560);
- case 561: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==561);
- case 562: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==562);
- case 563: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==563);
- case 570: /* literal_func ::= NOW */ yytestcase(yyruleno==570);
- case 571: /* literal_func ::= TODAY */ yytestcase(yyruleno==571);
-#line 1173 "sql.y"
-{ yylhsminor.yy416 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); }
-#line 8070 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 553: /* pseudo_column ::= ROWTS */
+ case 554: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==554);
+ case 556: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==556);
+ case 557: /* pseudo_column ::= QEND */ yytestcase(yyruleno==557);
+ case 558: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==558);
+ case 559: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==559);
+ case 560: /* pseudo_column ::= WEND */ yytestcase(yyruleno==560);
+ case 561: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==561);
+ case 562: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==562);
+ case 563: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==563);
+ case 564: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==564);
+ case 579: /* literal_func ::= NOW */ yytestcase(yyruleno==579);
+ case 580: /* literal_func ::= TODAY */ yytestcase(yyruleno==580);
+{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 554: /* pseudo_column ::= table_name NK_DOT TBNAME */
-#line 1175 "sql.y"
-{ yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy1109, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy1109)))); }
-#line 8076 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 555: /* pseudo_column ::= table_name NK_DOT TBNAME */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy209, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy209)))); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 564: /* function_expression ::= function_name NK_LP expression_list NK_RP */
- case 565: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==565);
-#line 1186 "sql.y"
-{ yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy1109, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy1109, yymsp[-1].minor.yy316)); }
-#line 8083 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+ case 565: /* function_expression ::= function_name NK_LP expression_list NK_RP */
+ case 566: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==566);
+ case 573: /* function_expression ::= substr_func NK_LP expression_list NK_RP */ yytestcase(yyruleno==573);
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy209, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy209, yymsp[-1].minor.yy456)); }
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
- case 566: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */
- case 567: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name_default_len NK_RP */ yytestcase(yyruleno==567);
-#line 1189 "sql.y"
-{ yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy416), yymsp[-1].minor.yy952)); }
-#line 8090 "sql.c"
- yymsp[-5].minor.yy416 = yylhsminor.yy416;
+ case 567: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */
+ case 568: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name_default_len NK_RP */ yytestcase(yyruleno==568);
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), yymsp[-1].minor.yy48)); }
+ yymsp[-5].minor.yy840 = yylhsminor.yy840;
break;
- case 569: /* literal_func ::= noarg_func NK_LP NK_RP */
-#line 1195 "sql.y"
-{ yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy1109, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy1109, NULL)); }
-#line 8096 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 569: /* function_expression ::= POSITION NK_LP expr_or_subquery IN expr_or_subquery NK_RP */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createPositionFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), releaseRawExprNode(pCxt, yymsp[-1].minor.yy840))); }
+ yymsp[-5].minor.yy840 = yylhsminor.yy840;
break;
- case 585: /* star_func_para_list ::= NK_STAR */
-#line 1220 "sql.y"
-{ yylhsminor.yy316 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); }
-#line 8102 "sql.c"
- yymsp[0].minor.yy316 = yylhsminor.yy316;
+ case 570: /* function_expression ::= TRIM NK_LP expr_or_subquery NK_RP */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createTrimFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy840), TRIM_TYPE_BOTH)); }
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
- case 590: /* star_func_para ::= table_name NK_DOT NK_STAR */
- case 675: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==675);
-#line 1229 "sql.y"
-{ yylhsminor.yy416 = createColumnNode(pCxt, &yymsp[-2].minor.yy1109, &yymsp[0].minor.yy0); }
-#line 8109 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 571: /* function_expression ::= TRIM NK_LP trim_specification_type FROM expr_or_subquery NK_RP */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createTrimFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy840), yymsp[-3].minor.yy512)); }
+ yymsp[-5].minor.yy840 = yylhsminor.yy840;
break;
- case 591: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */
-#line 1232 "sql.y"
-{ yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy316, yymsp[-1].minor.yy416)); }
-#line 8115 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+ case 572: /* function_expression ::= TRIM NK_LP trim_specification_type expr_or_subquery FROM expr_or_subquery NK_RP */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-6].minor.yy0, &yymsp[0].minor.yy0, createTrimFunctionNodeExt(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), releaseRawExprNode(pCxt, yymsp[-1].minor.yy840), yymsp[-4].minor.yy512)); }
+ yymsp[-6].minor.yy840 = yylhsminor.yy840;
break;
- case 592: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */
-#line 1234 "sql.y"
-{ yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy416), yymsp[-2].minor.yy316, yymsp[-1].minor.yy416)); }
-#line 8121 "sql.c"
- yymsp[-4].minor.yy416 = yylhsminor.yy416;
+ case 574: /* function_expression ::= substr_func NK_LP expr_or_subquery FROM expr_or_subquery NK_RP */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy209, &yymsp[0].minor.yy0, createSubstrFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), releaseRawExprNode(pCxt, yymsp[-1].minor.yy840))); }
+ yymsp[-5].minor.yy840 = yylhsminor.yy840;
break;
- case 595: /* when_then_expr ::= WHEN common_expression THEN common_expression */
-#line 1241 "sql.y"
-{ yymsp[-3].minor.yy416 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), releaseRawExprNode(pCxt, yymsp[0].minor.yy416)); }
-#line 8127 "sql.c"
+ case 575: /* function_expression ::= substr_func NK_LP expr_or_subquery FROM expr_or_subquery FOR expr_or_subquery NK_RP */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-7].minor.yy209, &yymsp[0].minor.yy0, createSubstrFunctionNodeExt(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy840), releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), releaseRawExprNode(pCxt, yymsp[-1].minor.yy840))); }
+ yymsp[-7].minor.yy840 = yylhsminor.yy840;
break;
- case 597: /* case_when_else_opt ::= ELSE common_expression */
-#line 1244 "sql.y"
-{ yymsp[-1].minor.yy416 = releaseRawExprNode(pCxt, yymsp[0].minor.yy416); }
-#line 8132 "sql.c"
+ case 576: /* function_expression ::= REPLACE NK_LP expression_list NK_RP */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy0, yymsp[-1].minor.yy456)); }
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
- case 598: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */
- case 603: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==603);
-#line 1247 "sql.y"
+ case 578: /* literal_func ::= noarg_func NK_LP NK_RP */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy209, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy209, NULL)); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
+ break;
+ case 583: /* trim_specification_type ::= */
+{ yymsp[1].minor.yy512 = TRIM_TYPE_BOTH; }
+ break;
+ case 584: /* trim_specification_type ::= BOTH */
+{ yymsp[0].minor.yy512 = TRIM_TYPE_BOTH; }
+ break;
+ case 585: /* trim_specification_type ::= TRAILING */
+{ yymsp[0].minor.yy512 = TRIM_TYPE_TRAILING; }
+ break;
+ case 586: /* trim_specification_type ::= LEADING */
+{ yymsp[0].minor.yy512 = TRIM_TYPE_LEADING; }
+ break;
+ case 601: /* star_func_para_list ::= NK_STAR */
+{ yylhsminor.yy456 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); }
+ yymsp[0].minor.yy456 = yylhsminor.yy456;
+ break;
+ case 606: /* star_func_para ::= table_name NK_DOT NK_STAR */
+ case 691: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==691);
+{ yylhsminor.yy840 = createColumnNode(pCxt, &yymsp[-2].minor.yy209, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
+ break;
+ case 607: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy456, yymsp[-1].minor.yy840)); }
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
+ break;
+ case 608: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), yymsp[-2].minor.yy456, yymsp[-1].minor.yy840)); }
+ yymsp[-4].minor.yy840 = yylhsminor.yy840;
+ break;
+ case 611: /* when_then_expr ::= WHEN common_expression THEN common_expression */
+{ yymsp[-3].minor.yy840 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840)); }
+ break;
+ case 613: /* case_when_else_opt ::= ELSE common_expression */
+{ yymsp[-1].minor.yy840 = releaseRawExprNode(pCxt, yymsp[0].minor.yy840); }
+ break;
+ case 614: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */
+ case 619: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==619);
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy416);
- SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy848, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), releaseRawExprNode(pCxt, yymsp[0].minor.yy416)));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840);
+ SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy108, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840)));
}
-#line 8142 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 599: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */
-#line 1254 "sql.y"
+ case 615: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy416);
- SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy416), releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), releaseRawExprNode(pCxt, yymsp[0].minor.yy416)));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy840);
+ SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy840), releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840)));
}
-#line 8152 "sql.c"
- yymsp[-4].minor.yy416 = yylhsminor.yy416;
+ yymsp[-4].minor.yy840 = yylhsminor.yy840;
break;
- case 600: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */
-#line 1260 "sql.y"
+ case 616: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy416);
- SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy416), releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), releaseRawExprNode(pCxt, yymsp[0].minor.yy416)));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy840);
+ SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy840), releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840)));
}
-#line 8162 "sql.c"
- yymsp[-5].minor.yy416 = yylhsminor.yy416;
+ yymsp[-5].minor.yy840 = yylhsminor.yy840;
break;
- case 601: /* predicate ::= expr_or_subquery IS NULL */
-#line 1265 "sql.y"
+ case 617: /* predicate ::= expr_or_subquery IS NULL */
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), NULL));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), NULL));
}
-#line 8171 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 602: /* predicate ::= expr_or_subquery IS NOT NULL */
-#line 1269 "sql.y"
+ case 618: /* predicate ::= expr_or_subquery IS NOT NULL */
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy416), NULL));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), NULL));
}
-#line 8180 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
- case 604: /* compare_op ::= NK_LT */
-#line 1281 "sql.y"
-{ yymsp[0].minor.yy848 = OP_TYPE_LOWER_THAN; }
-#line 8186 "sql.c"
+ case 620: /* compare_op ::= NK_LT */
+{ yymsp[0].minor.yy108 = OP_TYPE_LOWER_THAN; }
break;
- case 605: /* compare_op ::= NK_GT */
-#line 1282 "sql.y"
-{ yymsp[0].minor.yy848 = OP_TYPE_GREATER_THAN; }
-#line 8191 "sql.c"
+ case 621: /* compare_op ::= NK_GT */
+{ yymsp[0].minor.yy108 = OP_TYPE_GREATER_THAN; }
break;
- case 606: /* compare_op ::= NK_LE */
-#line 1283 "sql.y"
-{ yymsp[0].minor.yy848 = OP_TYPE_LOWER_EQUAL; }
-#line 8196 "sql.c"
+ case 622: /* compare_op ::= NK_LE */
+{ yymsp[0].minor.yy108 = OP_TYPE_LOWER_EQUAL; }
break;
- case 607: /* compare_op ::= NK_GE */
-#line 1284 "sql.y"
-{ yymsp[0].minor.yy848 = OP_TYPE_GREATER_EQUAL; }
-#line 8201 "sql.c"
+ case 623: /* compare_op ::= NK_GE */
+{ yymsp[0].minor.yy108 = OP_TYPE_GREATER_EQUAL; }
break;
- case 608: /* compare_op ::= NK_NE */
-#line 1285 "sql.y"
-{ yymsp[0].minor.yy848 = OP_TYPE_NOT_EQUAL; }
-#line 8206 "sql.c"
+ case 624: /* compare_op ::= NK_NE */
+{ yymsp[0].minor.yy108 = OP_TYPE_NOT_EQUAL; }
break;
- case 609: /* compare_op ::= NK_EQ */
-#line 1286 "sql.y"
-{ yymsp[0].minor.yy848 = OP_TYPE_EQUAL; }
-#line 8211 "sql.c"
+ case 625: /* compare_op ::= NK_EQ */
+{ yymsp[0].minor.yy108 = OP_TYPE_EQUAL; }
break;
- case 610: /* compare_op ::= LIKE */
-#line 1287 "sql.y"
-{ yymsp[0].minor.yy848 = OP_TYPE_LIKE; }
-#line 8216 "sql.c"
+ case 626: /* compare_op ::= LIKE */
+{ yymsp[0].minor.yy108 = OP_TYPE_LIKE; }
break;
- case 611: /* compare_op ::= NOT LIKE */
-#line 1288 "sql.y"
-{ yymsp[-1].minor.yy848 = OP_TYPE_NOT_LIKE; }
-#line 8221 "sql.c"
+ case 627: /* compare_op ::= NOT LIKE */
+{ yymsp[-1].minor.yy108 = OP_TYPE_NOT_LIKE; }
break;
- case 612: /* compare_op ::= MATCH */
-#line 1289 "sql.y"
-{ yymsp[0].minor.yy848 = OP_TYPE_MATCH; }
-#line 8226 "sql.c"
+ case 628: /* compare_op ::= MATCH */
+{ yymsp[0].minor.yy108 = OP_TYPE_MATCH; }
break;
- case 613: /* compare_op ::= NMATCH */
-#line 1290 "sql.y"
-{ yymsp[0].minor.yy848 = OP_TYPE_NMATCH; }
-#line 8231 "sql.c"
+ case 629: /* compare_op ::= NMATCH */
+{ yymsp[0].minor.yy108 = OP_TYPE_NMATCH; }
break;
- case 614: /* compare_op ::= CONTAINS */
-#line 1291 "sql.y"
-{ yymsp[0].minor.yy848 = OP_TYPE_JSON_CONTAINS; }
-#line 8236 "sql.c"
+ case 630: /* compare_op ::= CONTAINS */
+{ yymsp[0].minor.yy108 = OP_TYPE_JSON_CONTAINS; }
break;
- case 615: /* in_op ::= IN */
-#line 1295 "sql.y"
-{ yymsp[0].minor.yy848 = OP_TYPE_IN; }
-#line 8241 "sql.c"
+ case 631: /* in_op ::= IN */
+{ yymsp[0].minor.yy108 = OP_TYPE_IN; }
break;
- case 616: /* in_op ::= NOT IN */
-#line 1296 "sql.y"
-{ yymsp[-1].minor.yy848 = OP_TYPE_NOT_IN; }
-#line 8246 "sql.c"
+ case 632: /* in_op ::= NOT IN */
+{ yymsp[-1].minor.yy108 = OP_TYPE_NOT_IN; }
break;
- case 617: /* in_predicate_value ::= NK_LP literal_list NK_RP */
-#line 1298 "sql.y"
-{ yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy316)); }
-#line 8251 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 633: /* in_predicate_value ::= NK_LP literal_list NK_RP */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy456)); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 619: /* boolean_value_expression ::= NOT boolean_primary */
-#line 1302 "sql.y"
+ case 635: /* boolean_value_expression ::= NOT boolean_primary */
{
- SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy416), NULL));
+ SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy840), NULL));
}
-#line 8260 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
- case 620: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */
-#line 1307 "sql.y"
+ case 636: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy416);
- SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), releaseRawExprNode(pCxt, yymsp[0].minor.yy416)));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840);
+ SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840)));
}
-#line 8270 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 621: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */
-#line 1313 "sql.y"
+ case 637: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */
{
- SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy416);
- SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy416);
- yylhsminor.yy416 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), releaseRawExprNode(pCxt, yymsp[0].minor.yy416)));
+ SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840);
+ SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840);
+ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840)));
}
-#line 8280 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 629: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */
-#line 1331 "sql.y"
-{ yylhsminor.yy416 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, JOIN_STYPE_NONE, yymsp[-2].minor.yy416, yymsp[0].minor.yy416, NULL); }
-#line 8286 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 645: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */
+{ yylhsminor.yy840 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, JOIN_STYPE_NONE, yymsp[-2].minor.yy840, yymsp[0].minor.yy840, NULL); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 632: /* table_primary ::= table_name alias_opt */
-#line 1337 "sql.y"
-{ yylhsminor.yy416 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy1109, &yymsp[0].minor.yy1109); }
-#line 8292 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+ case 648: /* table_primary ::= table_name alias_opt */
+{ yylhsminor.yy840 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy209, &yymsp[0].minor.yy209); }
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
- case 633: /* table_primary ::= db_name NK_DOT table_name alias_opt */
-#line 1338 "sql.y"
-{ yylhsminor.yy416 = createRealTableNode(pCxt, &yymsp[-3].minor.yy1109, &yymsp[-1].minor.yy1109, &yymsp[0].minor.yy1109); }
-#line 8298 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+ case 649: /* table_primary ::= db_name NK_DOT table_name alias_opt */
+{ yylhsminor.yy840 = createRealTableNode(pCxt, &yymsp[-3].minor.yy209, &yymsp[-1].minor.yy209, &yymsp[0].minor.yy209); }
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
- case 634: /* table_primary ::= subquery alias_opt */
-#line 1339 "sql.y"
-{ yylhsminor.yy416 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy416), &yymsp[0].minor.yy1109); }
-#line 8304 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+ case 650: /* table_primary ::= subquery alias_opt */
+{ yylhsminor.yy840 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy840), &yymsp[0].minor.yy209); }
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
- case 636: /* alias_opt ::= */
-#line 1344 "sql.y"
-{ yymsp[1].minor.yy1109 = nil_token; }
-#line 8310 "sql.c"
+ case 652: /* alias_opt ::= */
+{ yymsp[1].minor.yy209 = nil_token; }
break;
- case 638: /* alias_opt ::= AS table_alias */
-#line 1346 "sql.y"
-{ yymsp[-1].minor.yy1109 = yymsp[0].minor.yy1109; }
-#line 8315 "sql.c"
+ case 654: /* alias_opt ::= AS table_alias */
+{ yymsp[-1].minor.yy209 = yymsp[0].minor.yy209; }
break;
- case 639: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */
- case 640: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==640);
-#line 1348 "sql.y"
-{ yymsp[-2].minor.yy416 = yymsp[-1].minor.yy416; }
-#line 8321 "sql.c"
+ case 655: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */
+ case 656: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==656);
+{ yymsp[-2].minor.yy840 = yymsp[-1].minor.yy840; }
break;
- case 641: /* joined_table ::= table_reference join_type join_subtype JOIN table_reference join_on_clause_opt window_offset_clause_opt jlimit_clause_opt */
-#line 1354 "sql.y"
+ case 657: /* joined_table ::= table_reference join_type join_subtype JOIN table_reference join_on_clause_opt window_offset_clause_opt jlimit_clause_opt */
{
- yylhsminor.yy416 = createJoinTableNode(pCxt, yymsp[-6].minor.yy972, yymsp[-5].minor.yy630, yymsp[-7].minor.yy416, yymsp[-3].minor.yy416, yymsp[-2].minor.yy416);
- yylhsminor.yy416 = addWindowOffsetClause(pCxt, yylhsminor.yy416, yymsp[-1].minor.yy416);
- yylhsminor.yy416 = addJLimitClause(pCxt, yylhsminor.yy416, yymsp[0].minor.yy416);
+ yylhsminor.yy840 = createJoinTableNode(pCxt, yymsp[-6].minor.yy724, yymsp[-5].minor.yy278, yymsp[-7].minor.yy840, yymsp[-3].minor.yy840, yymsp[-2].minor.yy840);
+ yylhsminor.yy840 = addWindowOffsetClause(pCxt, yylhsminor.yy840, yymsp[-1].minor.yy840);
+ yylhsminor.yy840 = addJLimitClause(pCxt, yylhsminor.yy840, yymsp[0].minor.yy840);
}
-#line 8330 "sql.c"
- yymsp[-7].minor.yy416 = yylhsminor.yy416;
+ yymsp[-7].minor.yy840 = yylhsminor.yy840;
break;
- case 642: /* join_type ::= */
-#line 1362 "sql.y"
-{ yymsp[1].minor.yy972 = JOIN_TYPE_INNER; }
-#line 8336 "sql.c"
+ case 658: /* join_type ::= */
+{ yymsp[1].minor.yy724 = JOIN_TYPE_INNER; }
break;
- case 643: /* join_type ::= INNER */
-#line 1363 "sql.y"
-{ yymsp[0].minor.yy972 = JOIN_TYPE_INNER; }
-#line 8341 "sql.c"
+ case 659: /* join_type ::= INNER */
+{ yymsp[0].minor.yy724 = JOIN_TYPE_INNER; }
break;
- case 644: /* join_type ::= LEFT */
-#line 1364 "sql.y"
-{ yymsp[0].minor.yy972 = JOIN_TYPE_LEFT; }
-#line 8346 "sql.c"
+ case 660: /* join_type ::= LEFT */
+{ yymsp[0].minor.yy724 = JOIN_TYPE_LEFT; }
break;
- case 645: /* join_type ::= RIGHT */
-#line 1365 "sql.y"
-{ yymsp[0].minor.yy972 = JOIN_TYPE_RIGHT; }
-#line 8351 "sql.c"
+ case 661: /* join_type ::= RIGHT */
+{ yymsp[0].minor.yy724 = JOIN_TYPE_RIGHT; }
break;
- case 646: /* join_type ::= FULL */
-#line 1366 "sql.y"
-{ yymsp[0].minor.yy972 = JOIN_TYPE_FULL; }
-#line 8356 "sql.c"
+ case 662: /* join_type ::= FULL */
+{ yymsp[0].minor.yy724 = JOIN_TYPE_FULL; }
break;
- case 647: /* join_subtype ::= */
-#line 1370 "sql.y"
-{ yymsp[1].minor.yy630 = JOIN_STYPE_NONE; }
-#line 8361 "sql.c"
+ case 663: /* join_subtype ::= */
+{ yymsp[1].minor.yy278 = JOIN_STYPE_NONE; }
break;
- case 648: /* join_subtype ::= OUTER */
-#line 1371 "sql.y"
-{ yymsp[0].minor.yy630 = JOIN_STYPE_OUTER; }
-#line 8366 "sql.c"
+ case 664: /* join_subtype ::= OUTER */
+{ yymsp[0].minor.yy278 = JOIN_STYPE_OUTER; }
break;
- case 649: /* join_subtype ::= SEMI */
-#line 1372 "sql.y"
-{ yymsp[0].minor.yy630 = JOIN_STYPE_SEMI; }
-#line 8371 "sql.c"
+ case 665: /* join_subtype ::= SEMI */
+{ yymsp[0].minor.yy278 = JOIN_STYPE_SEMI; }
break;
- case 650: /* join_subtype ::= ANTI */
-#line 1373 "sql.y"
-{ yymsp[0].minor.yy630 = JOIN_STYPE_ANTI; }
-#line 8376 "sql.c"
+ case 666: /* join_subtype ::= ANTI */
+{ yymsp[0].minor.yy278 = JOIN_STYPE_ANTI; }
break;
- case 651: /* join_subtype ::= ASOF */
-#line 1374 "sql.y"
-{ yymsp[0].minor.yy630 = JOIN_STYPE_ASOF; }
-#line 8381 "sql.c"
+ case 667: /* join_subtype ::= ASOF */
+{ yymsp[0].minor.yy278 = JOIN_STYPE_ASOF; }
break;
- case 652: /* join_subtype ::= WINDOW */
-#line 1375 "sql.y"
-{ yymsp[0].minor.yy630 = JOIN_STYPE_WIN; }
-#line 8386 "sql.c"
+ case 668: /* join_subtype ::= WINDOW */
+{ yymsp[0].minor.yy278 = JOIN_STYPE_WIN; }
break;
- case 656: /* window_offset_clause_opt ::= WINDOW_OFFSET NK_LP window_offset_literal NK_COMMA window_offset_literal NK_RP */
-#line 1382 "sql.y"
-{ yymsp[-5].minor.yy416 = createWindowOffsetNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy416), releaseRawExprNode(pCxt, yymsp[-1].minor.yy416)); }
-#line 8391 "sql.c"
+ case 672: /* window_offset_clause_opt ::= WINDOW_OFFSET NK_LP window_offset_literal NK_COMMA window_offset_literal NK_RP */
+{ yymsp[-5].minor.yy840 = createWindowOffsetNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), releaseRawExprNode(pCxt, yymsp[-1].minor.yy840)); }
break;
- case 657: /* window_offset_literal ::= NK_VARIABLE */
-#line 1384 "sql.y"
-{ yylhsminor.yy416 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createTimeOffsetValueNode(pCxt, &yymsp[0].minor.yy0)); }
-#line 8396 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 673: /* window_offset_literal ::= NK_VARIABLE */
+{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createTimeOffsetValueNode(pCxt, &yymsp[0].minor.yy0)); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 658: /* window_offset_literal ::= NK_MINUS NK_VARIABLE */
-#line 1385 "sql.y"
+ case 674: /* window_offset_literal ::= NK_MINUS NK_VARIABLE */
{
SToken t = yymsp[-1].minor.yy0;
t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z;
- yylhsminor.yy416 = createRawExprNode(pCxt, &t, createTimeOffsetValueNode(pCxt, &t));
+ yylhsminor.yy840 = createRawExprNode(pCxt, &t, createTimeOffsetValueNode(pCxt, &t));
}
-#line 8406 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
- case 660: /* jlimit_clause_opt ::= JLIMIT NK_INTEGER */
- case 731: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ yytestcase(yyruleno==731);
- case 735: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==735);
-#line 1392 "sql.y"
-{ yymsp[-1].minor.yy416 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); }
-#line 8414 "sql.c"
+ case 676: /* jlimit_clause_opt ::= JLIMIT NK_INTEGER */
+ case 747: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ yytestcase(yyruleno==747);
+ case 751: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==751);
+{ yymsp[-1].minor.yy840 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); }
break;
- case 661: /* query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */
-#line 1398 "sql.y"
+ case 677: /* query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */
{
- yymsp[-13].minor.yy416 = createSelectStmt(pCxt, yymsp[-11].minor.yy209, yymsp[-9].minor.yy316, yymsp[-8].minor.yy416, yymsp[-12].minor.yy316);
- yymsp[-13].minor.yy416 = setSelectStmtTagMode(pCxt, yymsp[-13].minor.yy416, yymsp[-10].minor.yy209);
- yymsp[-13].minor.yy416 = addWhereClause(pCxt, yymsp[-13].minor.yy416, yymsp[-7].minor.yy416);
- yymsp[-13].minor.yy416 = addPartitionByClause(pCxt, yymsp[-13].minor.yy416, yymsp[-6].minor.yy316);
- yymsp[-13].minor.yy416 = addWindowClauseClause(pCxt, yymsp[-13].minor.yy416, yymsp[-2].minor.yy416);
- yymsp[-13].minor.yy416 = addGroupByClause(pCxt, yymsp[-13].minor.yy416, yymsp[-1].minor.yy316);
- yymsp[-13].minor.yy416 = addHavingClause(pCxt, yymsp[-13].minor.yy416, yymsp[0].minor.yy416);
- yymsp[-13].minor.yy416 = addRangeClause(pCxt, yymsp[-13].minor.yy416, yymsp[-5].minor.yy416);
- yymsp[-13].minor.yy416 = addEveryClause(pCxt, yymsp[-13].minor.yy416, yymsp[-4].minor.yy416);
- yymsp[-13].minor.yy416 = addFillClause(pCxt, yymsp[-13].minor.yy416, yymsp[-3].minor.yy416);
+ yymsp[-13].minor.yy840 = createSelectStmt(pCxt, yymsp[-11].minor.yy9, yymsp[-9].minor.yy456, yymsp[-8].minor.yy840, yymsp[-12].minor.yy456);
+ yymsp[-13].minor.yy840 = setSelectStmtTagMode(pCxt, yymsp[-13].minor.yy840, yymsp[-10].minor.yy9);
+ yymsp[-13].minor.yy840 = addWhereClause(pCxt, yymsp[-13].minor.yy840, yymsp[-7].minor.yy840);
+ yymsp[-13].minor.yy840 = addPartitionByClause(pCxt, yymsp[-13].minor.yy840, yymsp[-6].minor.yy456);
+ yymsp[-13].minor.yy840 = addWindowClauseClause(pCxt, yymsp[-13].minor.yy840, yymsp[-2].minor.yy840);
+ yymsp[-13].minor.yy840 = addGroupByClause(pCxt, yymsp[-13].minor.yy840, yymsp[-1].minor.yy456);
+ yymsp[-13].minor.yy840 = addHavingClause(pCxt, yymsp[-13].minor.yy840, yymsp[0].minor.yy840);
+ yymsp[-13].minor.yy840 = addRangeClause(pCxt, yymsp[-13].minor.yy840, yymsp[-5].minor.yy840);
+ yymsp[-13].minor.yy840 = addEveryClause(pCxt, yymsp[-13].minor.yy840, yymsp[-4].minor.yy840);
+ yymsp[-13].minor.yy840 = addFillClause(pCxt, yymsp[-13].minor.yy840, yymsp[-3].minor.yy840);
}
-#line 8430 "sql.c"
break;
- case 662: /* hint_list ::= */
-#line 1413 "sql.y"
-{ yymsp[1].minor.yy316 = createHintNodeList(pCxt, NULL); }
-#line 8435 "sql.c"
+ case 678: /* hint_list ::= */
+{ yymsp[1].minor.yy456 = createHintNodeList(pCxt, NULL); }
break;
- case 663: /* hint_list ::= NK_HINT */
-#line 1414 "sql.y"
-{ yylhsminor.yy316 = createHintNodeList(pCxt, &yymsp[0].minor.yy0); }
-#line 8440 "sql.c"
- yymsp[0].minor.yy316 = yylhsminor.yy316;
+ case 679: /* hint_list ::= NK_HINT */
+{ yylhsminor.yy456 = createHintNodeList(pCxt, &yymsp[0].minor.yy0); }
+ yymsp[0].minor.yy456 = yylhsminor.yy456;
break;
- case 668: /* set_quantifier_opt ::= ALL */
-#line 1425 "sql.y"
-{ yymsp[0].minor.yy209 = false; }
-#line 8446 "sql.c"
+ case 684: /* set_quantifier_opt ::= ALL */
+{ yymsp[0].minor.yy9 = false; }
break;
- case 671: /* select_item ::= NK_STAR */
-#line 1432 "sql.y"
-{ yylhsminor.yy416 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); }
-#line 8451 "sql.c"
- yymsp[0].minor.yy416 = yylhsminor.yy416;
+ case 687: /* select_item ::= NK_STAR */
+{ yylhsminor.yy840 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); }
+ yymsp[0].minor.yy840 = yylhsminor.yy840;
break;
- case 673: /* select_item ::= common_expression column_alias */
- case 683: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==683);
-#line 1434 "sql.y"
-{ yylhsminor.yy416 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy416), &yymsp[0].minor.yy1109); }
-#line 8458 "sql.c"
- yymsp[-1].minor.yy416 = yylhsminor.yy416;
+ case 689: /* select_item ::= common_expression column_alias */
+ case 699: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==699);
+{ yylhsminor.yy840 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy840), &yymsp[0].minor.yy209); }
+ yymsp[-1].minor.yy840 = yylhsminor.yy840;
break;
- case 674: /* select_item ::= common_expression AS column_alias */
- case 684: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==684);
-#line 1435 "sql.y"
-{ yylhsminor.yy416 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), &yymsp[0].minor.yy1109); }
-#line 8465 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 690: /* select_item ::= common_expression AS column_alias */
+ case 700: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==700);
+{ yylhsminor.yy840 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), &yymsp[0].minor.yy209); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 679: /* partition_by_clause_opt ::= PARTITION BY partition_list */
- case 709: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==709);
- case 729: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==729);
-#line 1444 "sql.y"
-{ yymsp[-2].minor.yy316 = yymsp[0].minor.yy316; }
-#line 8473 "sql.c"
+ case 695: /* partition_by_clause_opt ::= PARTITION BY partition_list */
+ case 725: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==725);
+ case 745: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==745);
+{ yymsp[-2].minor.yy456 = yymsp[0].minor.yy456; }
break;
- case 686: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */
-#line 1457 "sql.y"
-{ yymsp[-5].minor.yy416 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy416), releaseRawExprNode(pCxt, yymsp[-1].minor.yy416)); }
-#line 8478 "sql.c"
+ case 702: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */
+{ yymsp[-5].minor.yy840 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), releaseRawExprNode(pCxt, yymsp[-1].minor.yy840)); }
break;
- case 687: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */
-#line 1458 "sql.y"
-{ yymsp[-3].minor.yy416 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy416)); }
-#line 8483 "sql.c"
+ case 703: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */
+{ yymsp[-3].minor.yy840 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy840)); }
break;
- case 688: /* twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */
-#line 1460 "sql.y"
-{ yymsp[-5].minor.yy416 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy416), NULL, yymsp[-1].minor.yy416, yymsp[0].minor.yy416); }
-#line 8488 "sql.c"
+ case 704: /* twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */
+{ yymsp[-5].minor.yy840 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), NULL, yymsp[-1].minor.yy840, yymsp[0].minor.yy840); }
break;
- case 689: /* twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt */
-#line 1464 "sql.y"
-{ yymsp[-7].minor.yy416 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy416), releaseRawExprNode(pCxt, yymsp[-3].minor.yy416), yymsp[-1].minor.yy416, yymsp[0].minor.yy416); }
-#line 8493 "sql.c"
+ case 705: /* twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt */
+{ yymsp[-7].minor.yy840 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy840), releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), yymsp[-1].minor.yy840, yymsp[0].minor.yy840); }
break;
- case 690: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */
-#line 1466 "sql.y"
-{ yymsp[-6].minor.yy416 = createEventWindowNode(pCxt, yymsp[-3].minor.yy416, yymsp[0].minor.yy416); }
-#line 8498 "sql.c"
+ case 706: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */
+{ yymsp[-6].minor.yy840 = createEventWindowNode(pCxt, yymsp[-3].minor.yy840, yymsp[0].minor.yy840); }
break;
- case 691: /* twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_RP */
-#line 1468 "sql.y"
-{ yymsp[-3].minor.yy416 = createCountWindowNode(pCxt, &yymsp[-1].minor.yy0, &yymsp[-1].minor.yy0); }
-#line 8503 "sql.c"
+ case 707: /* twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_RP */
+{ yymsp[-3].minor.yy840 = createCountWindowNode(pCxt, &yymsp[-1].minor.yy0, &yymsp[-1].minor.yy0); }
break;
- case 692: /* twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */
-#line 1470 "sql.y"
-{ yymsp[-5].minor.yy416 = createCountWindowNode(pCxt, &yymsp[-3].minor.yy0, &yymsp[-1].minor.yy0); }
-#line 8508 "sql.c"
+ case 708: /* twindow_clause_opt ::= COUNT_WINDOW NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */
+{ yymsp[-5].minor.yy840 = createCountWindowNode(pCxt, &yymsp[-3].minor.yy0, &yymsp[-1].minor.yy0); }
break;
- case 699: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */
-#line 1480 "sql.y"
-{ yymsp[-3].minor.yy416 = createFillNode(pCxt, yymsp[-1].minor.yy882, NULL); }
-#line 8513 "sql.c"
+ case 715: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */
+{ yymsp[-3].minor.yy840 = createFillNode(pCxt, yymsp[-1].minor.yy470, NULL); }
break;
- case 700: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */
-#line 1481 "sql.y"
-{ yymsp[-5].minor.yy416 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy316)); }
-#line 8518 "sql.c"
+ case 716: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */
+{ yymsp[-5].minor.yy840 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy456)); }
break;
- case 701: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */
-#line 1482 "sql.y"
-{ yymsp[-5].minor.yy416 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy316)); }
-#line 8523 "sql.c"
+ case 717: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */
+{ yymsp[-5].minor.yy840 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy456)); }
break;
- case 702: /* fill_mode ::= NONE */
-#line 1486 "sql.y"
-{ yymsp[0].minor.yy882 = FILL_MODE_NONE; }
-#line 8528 "sql.c"
+ case 718: /* fill_mode ::= NONE */
+{ yymsp[0].minor.yy470 = FILL_MODE_NONE; }
break;
- case 703: /* fill_mode ::= PREV */
-#line 1487 "sql.y"
-{ yymsp[0].minor.yy882 = FILL_MODE_PREV; }
-#line 8533 "sql.c"
+ case 719: /* fill_mode ::= PREV */
+{ yymsp[0].minor.yy470 = FILL_MODE_PREV; }
break;
- case 704: /* fill_mode ::= NULL */
-#line 1488 "sql.y"
-{ yymsp[0].minor.yy882 = FILL_MODE_NULL; }
-#line 8538 "sql.c"
+ case 720: /* fill_mode ::= NULL */
+{ yymsp[0].minor.yy470 = FILL_MODE_NULL; }
break;
- case 705: /* fill_mode ::= NULL_F */
-#line 1489 "sql.y"
-{ yymsp[0].minor.yy882 = FILL_MODE_NULL_F; }
-#line 8543 "sql.c"
+ case 721: /* fill_mode ::= NULL_F */
+{ yymsp[0].minor.yy470 = FILL_MODE_NULL_F; }
break;
- case 706: /* fill_mode ::= LINEAR */
-#line 1490 "sql.y"
-{ yymsp[0].minor.yy882 = FILL_MODE_LINEAR; }
-#line 8548 "sql.c"
+ case 722: /* fill_mode ::= LINEAR */
+{ yymsp[0].minor.yy470 = FILL_MODE_LINEAR; }
break;
- case 707: /* fill_mode ::= NEXT */
-#line 1491 "sql.y"
-{ yymsp[0].minor.yy882 = FILL_MODE_NEXT; }
-#line 8553 "sql.c"
+ case 723: /* fill_mode ::= NEXT */
+{ yymsp[0].minor.yy470 = FILL_MODE_NEXT; }
break;
- case 710: /* group_by_list ::= expr_or_subquery */
-#line 1500 "sql.y"
-{ yylhsminor.yy316 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy416))); }
-#line 8558 "sql.c"
- yymsp[0].minor.yy316 = yylhsminor.yy316;
+ case 726: /* group_by_list ::= expr_or_subquery */
+{ yylhsminor.yy456 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); }
+ yymsp[0].minor.yy456 = yylhsminor.yy456;
break;
- case 711: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */
-#line 1501 "sql.y"
-{ yylhsminor.yy316 = addNodeToList(pCxt, yymsp[-2].minor.yy316, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy416))); }
-#line 8564 "sql.c"
- yymsp[-2].minor.yy316 = yylhsminor.yy316;
+ case 727: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */
+{ yylhsminor.yy456 = addNodeToList(pCxt, yymsp[-2].minor.yy456, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); }
+ yymsp[-2].minor.yy456 = yylhsminor.yy456;
break;
- case 715: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */
-#line 1508 "sql.y"
-{ yymsp[-5].minor.yy416 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy416), releaseRawExprNode(pCxt, yymsp[-1].minor.yy416)); }
-#line 8570 "sql.c"
+ case 731: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */
+{ yymsp[-5].minor.yy840 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), releaseRawExprNode(pCxt, yymsp[-1].minor.yy840)); }
break;
- case 716: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */
-#line 1510 "sql.y"
-{ yymsp[-3].minor.yy416 = createInterpTimePoint(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy416)); }
-#line 8575 "sql.c"
+ case 732: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */
+{ yymsp[-3].minor.yy840 = createInterpTimePoint(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy840)); }
break;
- case 719: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */
-#line 1517 "sql.y"
+ case 735: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */
{
- yylhsminor.yy416 = addOrderByClause(pCxt, yymsp[-3].minor.yy416, yymsp[-2].minor.yy316);
- yylhsminor.yy416 = addSlimitClause(pCxt, yylhsminor.yy416, yymsp[-1].minor.yy416);
- yylhsminor.yy416 = addLimitClause(pCxt, yylhsminor.yy416, yymsp[0].minor.yy416);
+ yylhsminor.yy840 = addOrderByClause(pCxt, yymsp[-3].minor.yy840, yymsp[-2].minor.yy456);
+ yylhsminor.yy840 = addSlimitClause(pCxt, yylhsminor.yy840, yymsp[-1].minor.yy840);
+ yylhsminor.yy840 = addLimitClause(pCxt, yylhsminor.yy840, yymsp[0].minor.yy840);
}
-#line 8584 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
- case 722: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */
-#line 1527 "sql.y"
-{ yylhsminor.yy416 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy416, yymsp[0].minor.yy416); }
-#line 8590 "sql.c"
- yymsp[-3].minor.yy416 = yylhsminor.yy416;
+ case 738: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */
+{ yylhsminor.yy840 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy840, yymsp[0].minor.yy840); }
+ yymsp[-3].minor.yy840 = yylhsminor.yy840;
break;
- case 723: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */
-#line 1529 "sql.y"
-{ yylhsminor.yy416 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy416, yymsp[0].minor.yy416); }
-#line 8596 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 739: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */
+{ yylhsminor.yy840 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy840, yymsp[0].minor.yy840); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 732: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */
- case 736: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==736);
-#line 1544 "sql.y"
-{ yymsp[-3].minor.yy416 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); }
-#line 8603 "sql.c"
+ case 748: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */
+ case 752: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==752);
+{ yymsp[-3].minor.yy840 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); }
break;
- case 733: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */
- case 737: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==737);
-#line 1545 "sql.y"
-{ yymsp[-3].minor.yy416 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); }
-#line 8609 "sql.c"
+ case 749: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */
+ case 753: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==753);
+{ yymsp[-3].minor.yy840 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); }
break;
- case 738: /* subquery ::= NK_LP query_expression NK_RP */
-#line 1553 "sql.y"
-{ yylhsminor.yy416 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy416); }
-#line 8614 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 754: /* subquery ::= NK_LP query_expression NK_RP */
+{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy840); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 743: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */
-#line 1567 "sql.y"
-{ yylhsminor.yy416 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy416), yymsp[-1].minor.yy506, yymsp[0].minor.yy1045); }
-#line 8620 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 759: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */
+{ yylhsminor.yy840 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), yymsp[-1].minor.yy818, yymsp[0].minor.yy777); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 744: /* ordering_specification_opt ::= */
-#line 1571 "sql.y"
-{ yymsp[1].minor.yy506 = ORDER_ASC; }
-#line 8626 "sql.c"
+ case 760: /* ordering_specification_opt ::= */
+{ yymsp[1].minor.yy818 = ORDER_ASC; }
break;
- case 745: /* ordering_specification_opt ::= ASC */
-#line 1572 "sql.y"
-{ yymsp[0].minor.yy506 = ORDER_ASC; }
-#line 8631 "sql.c"
+ case 761: /* ordering_specification_opt ::= ASC */
+{ yymsp[0].minor.yy818 = ORDER_ASC; }
break;
- case 746: /* ordering_specification_opt ::= DESC */
-#line 1573 "sql.y"
-{ yymsp[0].minor.yy506 = ORDER_DESC; }
-#line 8636 "sql.c"
+ case 762: /* ordering_specification_opt ::= DESC */
+{ yymsp[0].minor.yy818 = ORDER_DESC; }
break;
- case 747: /* null_ordering_opt ::= */
-#line 1577 "sql.y"
-{ yymsp[1].minor.yy1045 = NULL_ORDER_DEFAULT; }
-#line 8641 "sql.c"
+ case 763: /* null_ordering_opt ::= */
+{ yymsp[1].minor.yy777 = NULL_ORDER_DEFAULT; }
break;
- case 748: /* null_ordering_opt ::= NULLS FIRST */
-#line 1578 "sql.y"
-{ yymsp[-1].minor.yy1045 = NULL_ORDER_FIRST; }
-#line 8646 "sql.c"
+ case 764: /* null_ordering_opt ::= NULLS FIRST */
+{ yymsp[-1].minor.yy777 = NULL_ORDER_FIRST; }
break;
- case 749: /* null_ordering_opt ::= NULLS LAST */
-#line 1579 "sql.y"
-{ yymsp[-1].minor.yy1045 = NULL_ORDER_LAST; }
-#line 8651 "sql.c"
+ case 765: /* null_ordering_opt ::= NULLS LAST */
+{ yymsp[-1].minor.yy777 = NULL_ORDER_LAST; }
break;
- case 752: /* column_options ::= column_options ENCODE NK_STRING */
-#line 1587 "sql.y"
-{ yylhsminor.yy416 = setColumnOptions(pCxt, yymsp[-2].minor.yy416, COLUMN_OPTION_ENCODE, &yymsp[0].minor.yy0); }
-#line 8656 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 768: /* column_options ::= column_options ENCODE NK_STRING */
+{ yylhsminor.yy840 = setColumnOptions(pCxt, yymsp[-2].minor.yy840, COLUMN_OPTION_ENCODE, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 753: /* column_options ::= column_options COMPRESS NK_STRING */
-#line 1588 "sql.y"
-{ yylhsminor.yy416 = setColumnOptions(pCxt, yymsp[-2].minor.yy416, COLUMN_OPTION_COMPRESS, &yymsp[0].minor.yy0); }
-#line 8662 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 769: /* column_options ::= column_options COMPRESS NK_STRING */
+{ yylhsminor.yy840 = setColumnOptions(pCxt, yymsp[-2].minor.yy840, COLUMN_OPTION_COMPRESS, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
- case 754: /* column_options ::= column_options LEVEL NK_STRING */
-#line 1589 "sql.y"
-{ yylhsminor.yy416 = setColumnOptions(pCxt, yymsp[-2].minor.yy416, COLUMN_OPTION_LEVEL, &yymsp[0].minor.yy0); }
-#line 8668 "sql.c"
- yymsp[-2].minor.yy416 = yylhsminor.yy416;
+ case 770: /* column_options ::= column_options LEVEL NK_STRING */
+{ yylhsminor.yy840 = setColumnOptions(pCxt, yymsp[-2].minor.yy840, COLUMN_OPTION_LEVEL, &yymsp[0].minor.yy0); }
+ yymsp[-2].minor.yy840 = yylhsminor.yy840;
break;
default:
break;
@@ -8732,22 +8030,22 @@ yymsp[0].minor.yy416); }
*/
#ifndef YYNOERRORRECOVERY
static void yy_parse_failed(
- yyParser *yypParser /* The parser */
+ yyParser *yypParser /* The parser */
){
ParseARG_FETCH
- ParseCTX_FETCH
+ ParseCTX_FETCH
#ifndef NDEBUG
- if( yyTraceFILE ){
+ if( yyTraceFILE ){
fprintf(yyTraceFILE,"%sFail!\n",yyTracePrompt);
}
#endif
while( yypParser->yytos>yypParser->yystack ) yy_pop_parser_stack(yypParser);
/* Here code is inserted which will be executed whenever the
** parser fails */
- /************ Begin %parse_failure code ***************************************/
- /************ End %parse_failure code *****************************************/
+/************ Begin %parse_failure code ***************************************/
+/************ End %parse_failure code *****************************************/
ParseARG_STORE /* Suppress warning about unused %extra_argument variable */
- ParseCTX_STORE
+ ParseCTX_STORE
}
#endif /* YYNOERRORRECOVERY */
@@ -8755,17 +8053,16 @@ static void yy_parse_failed(
** The following code executes when a syntax error first occurs.
*/
static void yy_syntax_error(
- yyParser *yypParser, /* The parser */
- int yymajor, /* The major type of the error token */
- ParseTOKENTYPE yyminor /* The minor type of the error token */
+ yyParser *yypParser, /* The parser */
+ int yymajor, /* The major type of the error token */
+ ParseTOKENTYPE yyminor /* The minor type of the error token */
){
ParseARG_FETCH
- ParseCTX_FETCH
+ ParseCTX_FETCH
#define TOKEN yyminor
/************ Begin %syntax_error code ****************************************/
-#line 29 "sql.y"
- if (TSDB_CODE_SUCCESS == pCxt->errCode) {
+ if (TSDB_CODE_SUCCESS == pCxt->errCode) {
if(TOKEN.z) {
pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_SYNTAX_ERROR, TOKEN.z);
} else {
@@ -8774,22 +8071,21 @@ static void yy_syntax_error(
} else if (TSDB_CODE_PAR_DB_NOT_SPECIFIED == pCxt->errCode && TK_NK_FLOAT == TOKEN.type) {
pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_SYNTAX_ERROR, TOKEN.z);
}
-#line 8742 "sql.c"
/************ End %syntax_error code ******************************************/
ParseARG_STORE /* Suppress warning about unused %extra_argument variable */
- ParseCTX_STORE
+ ParseCTX_STORE
}
/*
** The following is executed when the parser accepts
*/
static void yy_accept(
- yyParser *yypParser /* The parser */
+ yyParser *yypParser /* The parser */
){
ParseARG_FETCH
- ParseCTX_FETCH
+ ParseCTX_FETCH
#ifndef NDEBUG
- if( yyTraceFILE ){
+ if( yyTraceFILE ){
fprintf(yyTraceFILE,"%sAccept!\n",yyTracePrompt);
}
#endif
@@ -8799,10 +8095,10 @@ static void yy_accept(
assert( yypParser->yytos==yypParser->yystack );
/* Here code is inserted which will be executed whenever the
** parser accepts */
- /*********** Begin %parse_accept code *****************************************/
- /*********** End %parse_accept code *******************************************/
+/*********** Begin %parse_accept code *****************************************/
+/*********** End %parse_accept code *******************************************/
ParseARG_STORE /* Suppress warning about unused %extra_argument variable */
- ParseCTX_STORE
+ ParseCTX_STORE
}
/* The main parser program.
@@ -8825,10 +8121,10 @@ static void yy_accept(
** None.
*/
void Parse(
- void *yyp, /* The parser */
- int yymajor, /* The major token code number */
- ParseTOKENTYPE yyminor /* The value for the token */
- ParseARG_PDECL /* Optional %extra_argument parameter */
+ void *yyp, /* The parser */
+ int yymajor, /* The major token code number */
+ ParseTOKENTYPE yyminor /* The value for the token */
+ ParseARG_PDECL /* Optional %extra_argument parameter */
){
YYMINORTYPE yyminorunion;
YYACTIONTYPE yyact; /* The parser action. */
@@ -8840,9 +8136,9 @@ void Parse(
#endif
yyParser *yypParser = (yyParser*)yyp; /* The parser */
ParseCTX_FETCH
- ParseARG_STORE
+ ParseARG_STORE
- assert( yypParser->yytos!=0 );
+ assert( yypParser->yytos!=0 );
#if !defined(YYERRORSYMBOL) && !defined(YYNOERRORRECOVERY)
yyendofinput = (yymajor==0);
#endif
@@ -8872,14 +8168,14 @@ void Parse(
int yysize = yyRuleInfoNRhs[yyruleno];
if( yysize ){
fprintf(yyTraceFILE, "%sReduce %d [%s]%s, pop back to state %d.\n",
- yyTracePrompt,
- yyruleno, yyRuleName[yyruleno],
- yyrulenoyytos[yysize].stateno);
+ yyTracePrompt,
+ yyruleno, yyRuleName[yyruleno],
+ yyrulenoyytos[yysize].stateno);
}else{
fprintf(yyTraceFILE, "%sReduce %d [%s]%s.\n",
- yyTracePrompt, yyruleno, yyRuleName[yyruleno],
- yyrulenoyytos - yypParser->yystack)>yypParser->yyhwm ){
yypParser->yyhwm++;
assert( yypParser->yyhwm ==
- (int)(yypParser->yytos - yypParser->yystack));
+ (int)(yypParser->yytos - yypParser->yystack));
}
#endif
+#if YYSTACKDEPTH>0
if( yypParser->yytos>=yypParser->yystackEnd ){
+ yyStackOverflow(yypParser);
+ break;
+ }
+#else
+ if( yypParser->yytos>=&yypParser->yystack[yypParser->yystksz-1] ){
if( yyGrowStack(yypParser) ){
yyStackOverflow(yypParser);
break;
}
}
+#endif
}
yyact = yy_reduce(yypParser,yyruleno,yymajor,yyminor ParseCTX_PARAM);
}else if( yyact <= YY_MAX_SHIFTREDUCE ){
@@ -8927,7 +8230,7 @@ void Parse(
#ifdef YYERRORSYMBOL
/* A syntax error has occurred.
** The response to an error depends upon whether or not the
- ** grammar defines an error token "ERROR".
+ ** grammar defines an error token "ERROR".
**
** This is what we do if the grammar does define ERROR:
**
@@ -8952,7 +8255,7 @@ void Parse(
#ifndef NDEBUG
if( yyTraceFILE ){
fprintf(yyTraceFILE,"%sDiscard input token %s\n",
- yyTracePrompt,yyTokenName[yymajor]);
+ yyTracePrompt,yyTokenName[yymajor]);
}
#endif
yy_destructor(yypParser, (YYCODETYPE)yymajor, &yyminorunion);