diff --git a/include/common/ttokendef.h b/include/common/ttokendef.h index bd73e047465d40275e2e3c1449686e5f73ba76a7..1bc2d23df917827895dc0effede86bfca363aff7 100644 --- a/include/common/ttokendef.h +++ b/include/common/ttokendef.h @@ -73,200 +73,201 @@ #define TK_MNODE 55 #define TK_DATABASE 56 #define TK_USE 57 -#define TK_IF 58 -#define TK_NOT 59 -#define TK_EXISTS 60 -#define TK_BUFFER 61 -#define TK_CACHELAST 62 -#define TK_COMP 63 -#define TK_DURATION 64 -#define TK_NK_VARIABLE 65 -#define TK_FSYNC 66 -#define TK_MAXROWS 67 -#define TK_MINROWS 68 -#define TK_KEEP 69 -#define TK_PAGES 70 -#define TK_PAGESIZE 71 -#define TK_PRECISION 72 -#define TK_REPLICA 73 -#define TK_STRICT 74 -#define TK_WAL 75 -#define TK_VGROUPS 76 -#define TK_SINGLE_STABLE 77 -#define TK_RETENTIONS 78 -#define TK_SCHEMALESS 79 -#define TK_NK_COLON 80 -#define TK_TABLE 81 -#define TK_NK_LP 82 -#define TK_NK_RP 83 -#define TK_STABLE 84 -#define TK_ADD 85 -#define TK_COLUMN 86 -#define TK_MODIFY 87 -#define TK_RENAME 88 -#define TK_TAG 89 -#define TK_SET 90 -#define TK_NK_EQ 91 -#define TK_USING 92 -#define TK_TAGS 93 -#define TK_COMMENT 94 -#define TK_BOOL 95 -#define TK_TINYINT 96 -#define TK_SMALLINT 97 -#define TK_INT 98 -#define TK_INTEGER 99 -#define TK_BIGINT 100 -#define TK_FLOAT 101 -#define TK_DOUBLE 102 -#define TK_BINARY 103 -#define TK_TIMESTAMP 104 -#define TK_NCHAR 105 -#define TK_UNSIGNED 106 -#define TK_JSON 107 -#define TK_VARCHAR 108 -#define TK_MEDIUMBLOB 109 -#define TK_BLOB 110 -#define TK_VARBINARY 111 -#define TK_DECIMAL 112 -#define TK_MAX_DELAY 113 -#define TK_WATERMARK 114 -#define TK_ROLLUP 115 -#define TK_TTL 116 -#define TK_SMA 117 -#define TK_FIRST 118 -#define TK_LAST 119 -#define TK_SHOW 120 -#define TK_DATABASES 121 -#define TK_TABLES 122 -#define TK_STABLES 123 -#define TK_MNODES 124 -#define TK_MODULES 125 -#define TK_QNODES 126 -#define TK_FUNCTIONS 127 -#define TK_INDEXES 128 -#define TK_ACCOUNTS 129 -#define TK_APPS 130 -#define TK_CONNECTIONS 131 -#define TK_LICENCE 132 -#define TK_GRANTS 133 -#define TK_QUERIES 134 -#define TK_SCORES 135 -#define TK_TOPICS 136 -#define TK_VARIABLES 137 -#define TK_BNODES 138 -#define TK_SNODES 139 -#define TK_CLUSTER 140 -#define TK_TRANSACTIONS 141 -#define TK_DISTRIBUTED 142 -#define TK_CONSUMERS 143 -#define TK_SUBSCRIPTIONS 144 -#define TK_LIKE 145 -#define TK_INDEX 146 -#define TK_FUNCTION 147 -#define TK_INTERVAL 148 -#define TK_TOPIC 149 -#define TK_AS 150 -#define TK_WITH 151 -#define TK_META 152 -#define TK_CONSUMER 153 -#define TK_GROUP 154 -#define TK_DESC 155 -#define TK_DESCRIBE 156 -#define TK_RESET 157 -#define TK_QUERY 158 -#define TK_CACHE 159 -#define TK_EXPLAIN 160 -#define TK_ANALYZE 161 -#define TK_VERBOSE 162 -#define TK_NK_BOOL 163 -#define TK_RATIO 164 -#define TK_NK_FLOAT 165 -#define TK_COMPACT 166 -#define TK_VNODES 167 -#define TK_IN 168 -#define TK_OUTPUTTYPE 169 -#define TK_AGGREGATE 170 -#define TK_BUFSIZE 171 -#define TK_STREAM 172 -#define TK_INTO 173 -#define TK_TRIGGER 174 -#define TK_AT_ONCE 175 -#define TK_WINDOW_CLOSE 176 -#define TK_IGNORE 177 -#define TK_EXPIRED 178 -#define TK_KILL 179 -#define TK_CONNECTION 180 -#define TK_TRANSACTION 181 -#define TK_BALANCE 182 -#define TK_VGROUP 183 -#define TK_MERGE 184 -#define TK_REDISTRIBUTE 185 -#define TK_SPLIT 186 -#define TK_SYNCDB 187 -#define TK_DELETE 188 -#define TK_NULL 189 -#define TK_NK_QUESTION 190 -#define TK_NK_ARROW 191 -#define TK_ROWTS 192 -#define TK_TBNAME 193 -#define TK_QSTARTTS 194 -#define TK_QENDTS 195 -#define TK_WSTARTTS 196 -#define TK_WENDTS 197 -#define TK_WDURATION 198 -#define TK_CAST 199 -#define TK_NOW 200 -#define TK_TODAY 201 -#define TK_TIMEZONE 202 -#define TK_CLIENT_VERSION 203 -#define TK_SERVER_VERSION 204 -#define TK_SERVER_STATUS 205 -#define TK_CURRENT_USER 206 -#define TK_COUNT 207 -#define TK_LAST_ROW 208 -#define TK_BETWEEN 209 -#define TK_IS 210 -#define TK_NK_LT 211 -#define TK_NK_GT 212 -#define TK_NK_LE 213 -#define TK_NK_GE 214 -#define TK_NK_NE 215 -#define TK_MATCH 216 -#define TK_NMATCH 217 -#define TK_CONTAINS 218 -#define TK_JOIN 219 -#define TK_INNER 220 -#define TK_SELECT 221 -#define TK_DISTINCT 222 -#define TK_WHERE 223 -#define TK_PARTITION 224 -#define TK_BY 225 -#define TK_SESSION 226 -#define TK_STATE_WINDOW 227 -#define TK_SLIDING 228 -#define TK_FILL 229 -#define TK_VALUE 230 -#define TK_NONE 231 -#define TK_PREV 232 -#define TK_LINEAR 233 -#define TK_NEXT 234 -#define TK_HAVING 235 -#define TK_RANGE 236 -#define TK_EVERY 237 -#define TK_ORDER 238 -#define TK_SLIMIT 239 -#define TK_SOFFSET 240 -#define TK_LIMIT 241 -#define TK_OFFSET 242 -#define TK_ASC 243 -#define TK_NULLS 244 -#define TK_ID 245 -#define TK_NK_BITNOT 246 -#define TK_INSERT 247 -#define TK_VALUES 248 -#define TK_IMPORT 249 -#define TK_NK_SEMI 250 -#define TK_FILE 251 +#define TK_FLUSH 58 +#define TK_IF 59 +#define TK_NOT 60 +#define TK_EXISTS 61 +#define TK_BUFFER 62 +#define TK_CACHELAST 63 +#define TK_COMP 64 +#define TK_DURATION 65 +#define TK_NK_VARIABLE 66 +#define TK_FSYNC 67 +#define TK_MAXROWS 68 +#define TK_MINROWS 69 +#define TK_KEEP 70 +#define TK_PAGES 71 +#define TK_PAGESIZE 72 +#define TK_PRECISION 73 +#define TK_REPLICA 74 +#define TK_STRICT 75 +#define TK_WAL 76 +#define TK_VGROUPS 77 +#define TK_SINGLE_STABLE 78 +#define TK_RETENTIONS 79 +#define TK_SCHEMALESS 80 +#define TK_NK_COLON 81 +#define TK_TABLE 82 +#define TK_NK_LP 83 +#define TK_NK_RP 84 +#define TK_STABLE 85 +#define TK_ADD 86 +#define TK_COLUMN 87 +#define TK_MODIFY 88 +#define TK_RENAME 89 +#define TK_TAG 90 +#define TK_SET 91 +#define TK_NK_EQ 92 +#define TK_USING 93 +#define TK_TAGS 94 +#define TK_COMMENT 95 +#define TK_BOOL 96 +#define TK_TINYINT 97 +#define TK_SMALLINT 98 +#define TK_INT 99 +#define TK_INTEGER 100 +#define TK_BIGINT 101 +#define TK_FLOAT 102 +#define TK_DOUBLE 103 +#define TK_BINARY 104 +#define TK_TIMESTAMP 105 +#define TK_NCHAR 106 +#define TK_UNSIGNED 107 +#define TK_JSON 108 +#define TK_VARCHAR 109 +#define TK_MEDIUMBLOB 110 +#define TK_BLOB 111 +#define TK_VARBINARY 112 +#define TK_DECIMAL 113 +#define TK_MAX_DELAY 114 +#define TK_WATERMARK 115 +#define TK_ROLLUP 116 +#define TK_TTL 117 +#define TK_SMA 118 +#define TK_FIRST 119 +#define TK_LAST 120 +#define TK_SHOW 121 +#define TK_DATABASES 122 +#define TK_TABLES 123 +#define TK_STABLES 124 +#define TK_MNODES 125 +#define TK_MODULES 126 +#define TK_QNODES 127 +#define TK_FUNCTIONS 128 +#define TK_INDEXES 129 +#define TK_ACCOUNTS 130 +#define TK_APPS 131 +#define TK_CONNECTIONS 132 +#define TK_LICENCE 133 +#define TK_GRANTS 134 +#define TK_QUERIES 135 +#define TK_SCORES 136 +#define TK_TOPICS 137 +#define TK_VARIABLES 138 +#define TK_BNODES 139 +#define TK_SNODES 140 +#define TK_CLUSTER 141 +#define TK_TRANSACTIONS 142 +#define TK_DISTRIBUTED 143 +#define TK_CONSUMERS 144 +#define TK_SUBSCRIPTIONS 145 +#define TK_LIKE 146 +#define TK_INDEX 147 +#define TK_FUNCTION 148 +#define TK_INTERVAL 149 +#define TK_TOPIC 150 +#define TK_AS 151 +#define TK_WITH 152 +#define TK_META 153 +#define TK_CONSUMER 154 +#define TK_GROUP 155 +#define TK_DESC 156 +#define TK_DESCRIBE 157 +#define TK_RESET 158 +#define TK_QUERY 159 +#define TK_CACHE 160 +#define TK_EXPLAIN 161 +#define TK_ANALYZE 162 +#define TK_VERBOSE 163 +#define TK_NK_BOOL 164 +#define TK_RATIO 165 +#define TK_NK_FLOAT 166 +#define TK_COMPACT 167 +#define TK_VNODES 168 +#define TK_IN 169 +#define TK_OUTPUTTYPE 170 +#define TK_AGGREGATE 171 +#define TK_BUFSIZE 172 +#define TK_STREAM 173 +#define TK_INTO 174 +#define TK_TRIGGER 175 +#define TK_AT_ONCE 176 +#define TK_WINDOW_CLOSE 177 +#define TK_IGNORE 178 +#define TK_EXPIRED 179 +#define TK_KILL 180 +#define TK_CONNECTION 181 +#define TK_TRANSACTION 182 +#define TK_BALANCE 183 +#define TK_VGROUP 184 +#define TK_MERGE 185 +#define TK_REDISTRIBUTE 186 +#define TK_SPLIT 187 +#define TK_SYNCDB 188 +#define TK_DELETE 189 +#define TK_NULL 190 +#define TK_NK_QUESTION 191 +#define TK_NK_ARROW 192 +#define TK_ROWTS 193 +#define TK_TBNAME 194 +#define TK_QSTARTTS 195 +#define TK_QENDTS 196 +#define TK_WSTARTTS 197 +#define TK_WENDTS 198 +#define TK_WDURATION 199 +#define TK_CAST 200 +#define TK_NOW 201 +#define TK_TODAY 202 +#define TK_TIMEZONE 203 +#define TK_CLIENT_VERSION 204 +#define TK_SERVER_VERSION 205 +#define TK_SERVER_STATUS 206 +#define TK_CURRENT_USER 207 +#define TK_COUNT 208 +#define TK_LAST_ROW 209 +#define TK_BETWEEN 210 +#define TK_IS 211 +#define TK_NK_LT 212 +#define TK_NK_GT 213 +#define TK_NK_LE 214 +#define TK_NK_GE 215 +#define TK_NK_NE 216 +#define TK_MATCH 217 +#define TK_NMATCH 218 +#define TK_CONTAINS 219 +#define TK_JOIN 220 +#define TK_INNER 221 +#define TK_SELECT 222 +#define TK_DISTINCT 223 +#define TK_WHERE 224 +#define TK_PARTITION 225 +#define TK_BY 226 +#define TK_SESSION 227 +#define TK_STATE_WINDOW 228 +#define TK_SLIDING 229 +#define TK_FILL 230 +#define TK_VALUE 231 +#define TK_NONE 232 +#define TK_PREV 233 +#define TK_LINEAR 234 +#define TK_NEXT 235 +#define TK_HAVING 236 +#define TK_RANGE 237 +#define TK_EVERY 238 +#define TK_ORDER 239 +#define TK_SLIMIT 240 +#define TK_SOFFSET 241 +#define TK_LIMIT 242 +#define TK_OFFSET 243 +#define TK_ASC 244 +#define TK_NULLS 245 +#define TK_ID 246 +#define TK_NK_BITNOT 247 +#define TK_INSERT 248 +#define TK_VALUES 249 +#define TK_IMPORT 250 +#define TK_NK_SEMI 251 +#define TK_FILE 252 #define TK_NK_SPACE 300 #define TK_NK_COMMENT 301 diff --git a/source/libs/parser/src/sql.c b/source/libs/parser/src/sql.c index 6f4b3d68fd258a1ddf22f83a2155c3aa5c821c35..b50a26e8292b6230bf8d31f162fd40cb154f856b 100644 --- a/source/libs/parser/src/sql.c +++ b/source/libs/parser/src/sql.c @@ -104,47 +104,26 @@ #endif /************* Begin control #defines *****************************************/ #define YYCODETYPE unsigned short int -<<<<<<< HEAD -#define YYNOCODE 371 -======= -#define YYNOCODE 375 ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 +#define YYNOCODE 376 #define YYACTIONTYPE unsigned short int #define ParseTOKENTYPE SToken typedef union { int yyinit; ParseTOKENTYPE yy0; -<<<<<<< HEAD - SAlterOption yy81; - int64_t yy179; - ENullOrder yy193; - bool yy215; - EFillMode yy256; - EOrder yy372; - int8_t yy439; - SDataType yy490; - int32_t yy550; - EJoinType yy568; - SNodeList* yy656; - EOperatorType yy688; - SNode* yy714; - SToken yy729; -======= - SDataType yy34; - EJoinType yy162; - EOrder yy188; - SNode* yy212; - SAlterOption yy245; - EOperatorType yy290; - EFillMode yy294; - SToken yy329; - SNodeList* yy424; - ENullOrder yy607; - int64_t yy609; - int32_t yy610; - int8_t yy653; - bool yy737; ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + EJoinType yy52; + bool yy89; + SDataType yy224; + int32_t yy228; + SNode* yy248; + SAlterOption yy301; + ENullOrder yy345; + SToken yy401; + EOrder yy482; + int64_t yy525; + SNodeList* yy552; + EFillMode yy582; + int8_t yy695; + EOperatorType yy716; } YYMINORTYPE; #ifndef YYSTACKDEPTH #define YYSTACKDEPTH 100 @@ -160,31 +139,17 @@ typedef union { #define ParseCTX_FETCH #define ParseCTX_STORE #define YYFALLBACK 1 -<<<<<<< HEAD #define YYNSTATE 656 -#define YYNRULE 478 -#define YYNTOKEN 247 +#define YYNRULE 484 +#define YYNTOKEN 253 #define YY_MAX_SHIFT 655 -#define YY_MIN_SHIFTREDUCE 950 -#define YY_MAX_SHIFTREDUCE 1427 -#define YY_ERROR_ACTION 1428 -#define YY_ACCEPT_ACTION 1429 -#define YY_NO_ACTION 1430 -#define YY_MIN_REDUCE 1431 -#define YY_MAX_REDUCE 1908 -======= -#define YYNSTATE 653 -#define YYNRULE 483 -#define YYNTOKEN 252 -#define YY_MAX_SHIFT 652 -#define YY_MIN_SHIFTREDUCE 954 -#define YY_MAX_SHIFTREDUCE 1436 -#define YY_ERROR_ACTION 1437 -#define YY_ACCEPT_ACTION 1438 -#define YY_NO_ACTION 1439 -#define YY_MIN_REDUCE 1440 -#define YY_MAX_REDUCE 1922 ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 +#define YY_MIN_SHIFTREDUCE 957 +#define YY_MAX_SHIFTREDUCE 1440 +#define YY_ERROR_ACTION 1441 +#define YY_ACCEPT_ACTION 1442 +#define YY_NO_ACTION 1443 +#define YY_MIN_REDUCE 1444 +#define YY_MAX_REDUCE 1927 /************* End control #defines *******************************************/ #define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) @@ -251,1348 +216,706 @@ typedef union { ** yy_default[] Default action for each state. ** *********** Begin parsing tables **********************************************/ -<<<<<<< HEAD -#define YY_ACTTAB_COUNT (2427) +#define YY_ACTTAB_COUNT (2612) static const YYACTIONTYPE yy_action[] = { - /* 0 */ 425, 1886, 426, 1466, 433, 570, 426, 1466, 140, 331, - /* 10 */ 1443, 380, 39, 37, 1555, 1885, 111, 138, 1735, 1883, - /* 20 */ 327, 318, 1234, 463, 569, 1735, 1568, 529, 335, 1732, - /* 30 */ 36, 35, 34, 1566, 101, 1232, 1732, 100, 99, 98, - /* 40 */ 97, 96, 95, 94, 93, 92, 33, 32, 297, 1748, - /* 50 */ 40, 38, 36, 35, 34, 119, 1728, 1734, 1666, 374, - /* 60 */ 14, 30, 241, 1728, 1734, 1748, 1240, 573, 40, 38, - /* 70 */ 36, 35, 34, 1000, 573, 999, 430, 1766, 442, 39, - /* 80 */ 37, 1364, 1256, 1, 523, 553, 60, 327, 461, 1234, - /* 90 */ 1718, 569, 552, 1766, 141, 117, 1259, 60, 1523, 1886, - /* 100 */ 569, 550, 1232, 1001, 570, 652, 1718, 533, 552, 531, - /* 110 */ 153, 1827, 1828, 156, 1832, 161, 1258, 1883, 1779, 1305, - /* 120 */ 1306, 87, 1749, 555, 1751, 1752, 551, 14, 573, 983, - /* 130 */ 1454, 1819, 1566, 1240, 1779, 299, 1815, 288, 1749, 555, - /* 140 */ 1751, 1752, 551, 549, 573, 546, 1791, 1886, 655, 166, - /* 150 */ 2, 33, 32, 1738, 43, 40, 38, 36, 35, 34, - /* 160 */ 1766, 158, 263, 42, 1235, 1883, 1233, 61, 522, 987, - /* 170 */ 988, 1718, 652, 58, 311, 67, 149, 373, 66, 372, - /* 180 */ 1453, 645, 641, 637, 633, 261, 1305, 1306, 1238, 1239, - /* 190 */ 1740, 1287, 1288, 1290, 1291, 1292, 1293, 1294, 548, 571, - /* 200 */ 1302, 1303, 1304, 1307, 1557, 1259, 521, 529, 296, 339, - /* 210 */ 1256, 85, 1611, 1613, 255, 1732, 159, 406, 1371, 159, - /* 220 */ 418, 1718, 1886, 312, 1258, 310, 309, 1398, 465, 605, - /* 230 */ 159, 1235, 467, 1233, 1656, 119, 157, 391, 203, 419, - /* 240 */ 1883, 393, 1728, 1734, 210, 168, 60, 566, 129, 128, - /* 250 */ 602, 601, 600, 573, 466, 1238, 1239, 607, 1287, 1288, - /* 260 */ 1290, 1291, 1292, 1293, 1294, 548, 571, 1302, 1303, 1304, - /* 270 */ 1307, 60, 384, 73, 1257, 117, 33, 32, 570, 212, - /* 280 */ 40, 38, 36, 35, 34, 39, 37, 1496, 69, 378, - /* 290 */ 154, 1827, 1828, 327, 1832, 1234, 159, 71, 305, 1240, - /* 300 */ 1208, 115, 205, 1736, 1133, 1134, 1566, 611, 1232, 1538, - /* 310 */ 1561, 599, 417, 610, 1732, 412, 411, 410, 409, 408, - /* 320 */ 405, 404, 403, 402, 401, 397, 396, 395, 394, 388, - /* 330 */ 387, 386, 385, 14, 382, 381, 39, 37, 1234, 1240, - /* 340 */ 1748, 1728, 1734, 1363, 327, 69, 1234, 1388, 1618, 477, - /* 350 */ 476, 1232, 573, 1551, 475, 332, 2, 116, 472, 1232, - /* 360 */ 518, 471, 470, 469, 1616, 33, 32, 1562, 1766, 40, - /* 370 */ 38, 36, 35, 34, 11, 10, 553, 1886, 652, 159, - /* 380 */ 138, 1718, 1240, 552, 515, 1386, 1387, 1389, 1390, 1569, - /* 390 */ 1240, 1884, 1305, 1306, 556, 1883, 1289, 570, 533, 1452, - /* 400 */ 22, 1544, 330, 535, 159, 1663, 1451, 8, 379, 1779, - /* 410 */ 1612, 1613, 87, 1749, 555, 1751, 1752, 551, 1450, 573, - /* 420 */ 570, 652, 1819, 570, 1424, 1566, 299, 1815, 337, 652, - /* 430 */ 1260, 383, 524, 519, 398, 245, 138, 1235, 1886, 1233, - /* 440 */ 1718, 477, 476, 1305, 1306, 1568, 475, 1718, 1566, 116, - /* 450 */ 472, 1566, 156, 471, 470, 469, 1883, 1339, 1053, 1718, - /* 460 */ 442, 1238, 1239, 365, 1287, 1288, 1290, 1291, 1292, 1293, - /* 470 */ 1294, 548, 571, 1302, 1303, 1304, 1307, 39, 37, 1308, - /* 480 */ 1235, 570, 1233, 367, 363, 327, 1618, 1234, 1235, 1055, - /* 490 */ 1233, 340, 399, 338, 1449, 1313, 556, 1216, 1217, 138, - /* 500 */ 1232, 1258, 1616, 1553, 1238, 1239, 1423, 1664, 1568, 1566, - /* 510 */ 1327, 1549, 1238, 1239, 1748, 1287, 1288, 1290, 1291, 1292, - /* 520 */ 1293, 1294, 548, 571, 1302, 1303, 1304, 1307, 39, 37, - /* 530 */ 1000, 1240, 999, 1332, 424, 1718, 327, 428, 1234, 206, - /* 540 */ 159, 547, 1766, 529, 39, 37, 246, 247, 9, 1431, - /* 550 */ 532, 1232, 327, 1448, 1234, 1718, 1362, 552, 33, 32, - /* 560 */ 1001, 232, 40, 38, 36, 35, 34, 1232, 27, 1748, - /* 570 */ 652, 119, 1447, 110, 109, 108, 107, 106, 105, 104, - /* 580 */ 103, 102, 1240, 1779, 1305, 1306, 88, 1749, 555, 1751, - /* 590 */ 1752, 551, 570, 573, 1718, 84, 1819, 1766, 1240, 9, - /* 600 */ 320, 1815, 152, 441, 491, 553, 598, 305, 120, 1446, - /* 610 */ 1718, 117, 552, 1718, 233, 2, 1558, 489, 1261, 487, - /* 620 */ 1566, 652, 508, 1847, 474, 473, 155, 1827, 1828, 1235, - /* 630 */ 1832, 1233, 623, 621, 1378, 1305, 1306, 652, 1779, 507, - /* 640 */ 1542, 142, 1749, 555, 1751, 1752, 551, 1543, 573, 500, - /* 650 */ 1718, 1305, 1306, 1238, 1239, 413, 1287, 1288, 1290, 1291, - /* 660 */ 1292, 1293, 1294, 548, 571, 1302, 1303, 1304, 1307, 1444, - /* 670 */ 33, 32, 570, 1289, 40, 38, 36, 35, 34, 1886, - /* 680 */ 1235, 236, 1233, 1563, 33, 32, 534, 1900, 40, 38, - /* 690 */ 36, 35, 34, 156, 1839, 1359, 1235, 1883, 1233, 607, - /* 700 */ 1566, 170, 169, 432, 1238, 1239, 428, 1287, 1288, 1290, - /* 710 */ 1291, 1292, 1293, 1294, 548, 571, 1302, 1303, 1304, 1307, - /* 720 */ 1238, 1239, 7, 1287, 1288, 1290, 1291, 1292, 1293, 1294, - /* 730 */ 548, 571, 1302, 1303, 1304, 1307, 139, 151, 493, 33, - /* 740 */ 32, 274, 605, 40, 38, 36, 35, 34, 1834, 213, - /* 750 */ 1605, 603, 1445, 1442, 1609, 272, 57, 1493, 1432, 56, - /* 760 */ 1272, 129, 128, 602, 601, 600, 1524, 1441, 1440, 1748, - /* 770 */ 1439, 1834, 1831, 1438, 1834, 172, 421, 1437, 1886, 101, - /* 780 */ 1258, 78, 100, 99, 98, 97, 96, 95, 94, 93, - /* 790 */ 92, 300, 156, 1718, 1718, 1830, 1883, 1766, 1829, 1243, - /* 800 */ 1662, 60, 1559, 306, 1661, 532, 1436, 306, 1718, 1718, - /* 810 */ 1718, 1718, 552, 137, 1718, 1272, 1706, 1435, 1718, 629, - /* 820 */ 628, 627, 342, 1325, 626, 625, 624, 121, 619, 618, - /* 830 */ 617, 616, 615, 614, 613, 612, 131, 608, 1779, 86, - /* 840 */ 1434, 88, 1749, 555, 1751, 1752, 551, 1718, 573, 604, - /* 850 */ 545, 1819, 1609, 1618, 26, 320, 1815, 152, 1718, 268, - /* 860 */ 33, 32, 1596, 353, 40, 38, 36, 35, 34, 1617, - /* 870 */ 1429, 987, 988, 467, 64, 63, 377, 1326, 1848, 165, - /* 880 */ 28, 1718, 1748, 52, 504, 371, 33, 32, 622, 1483, - /* 890 */ 40, 38, 36, 35, 34, 466, 295, 516, 1359, 361, - /* 900 */ 1331, 359, 355, 351, 162, 346, 1478, 537, 33, 32, - /* 910 */ 1766, 478, 40, 38, 36, 35, 34, 194, 553, 1242, - /* 920 */ 192, 570, 570, 1718, 196, 552, 1476, 195, 480, 368, - /* 930 */ 1246, 344, 1695, 501, 159, 29, 325, 1320, 1321, 1322, - /* 940 */ 1323, 1324, 1328, 1329, 1330, 1541, 50, 1748, 483, 1566, - /* 950 */ 1566, 1779, 1289, 460, 88, 1749, 555, 1751, 1752, 551, - /* 960 */ 300, 573, 198, 570, 1819, 197, 11, 10, 320, 1815, - /* 970 */ 1899, 1886, 494, 200, 111, 1766, 199, 217, 1317, 1854, - /* 980 */ 224, 468, 540, 553, 209, 156, 41, 1385, 1718, 1883, - /* 990 */ 552, 1566, 1325, 1091, 596, 595, 594, 1095, 593, 1097, - /* 1000 */ 1098, 592, 1100, 589, 570, 1106, 586, 1108, 1109, 583, - /* 1010 */ 580, 1426, 1427, 72, 570, 505, 1779, 570, 219, 88, - /* 1020 */ 1749, 555, 1751, 1752, 551, 567, 573, 1333, 568, 1819, - /* 1030 */ 1767, 41, 1566, 320, 1815, 1899, 41, 243, 123, 83, - /* 1040 */ 605, 126, 1566, 570, 1877, 1566, 1326, 570, 1748, 80, - /* 1050 */ 1245, 482, 127, 1472, 257, 50, 578, 1025, 341, 129, - /* 1060 */ 128, 602, 601, 600, 343, 1467, 492, 1606, 1850, 1331, - /* 1070 */ 530, 1566, 1295, 126, 235, 1566, 1766, 1184, 248, 562, - /* 1080 */ 202, 5, 254, 238, 553, 240, 3, 529, 1026, 1718, - /* 1090 */ 1748, 552, 345, 1084, 485, 1256, 267, 1112, 479, 538, - /* 1100 */ 127, 647, 112, 201, 29, 325, 1320, 1321, 1322, 1323, - /* 1110 */ 1324, 1328, 1329, 1330, 1116, 119, 126, 1779, 1766, 348, - /* 1120 */ 88, 1749, 555, 1751, 1752, 551, 553, 573, 352, 55, - /* 1130 */ 1819, 1718, 54, 552, 320, 1815, 1899, 533, 307, 1053, - /* 1140 */ 308, 1123, 1200, 1121, 264, 1838, 400, 167, 533, 1658, - /* 1150 */ 415, 1748, 407, 414, 416, 117, 420, 130, 1262, 1779, - /* 1160 */ 422, 423, 281, 1749, 555, 1751, 1752, 551, 529, 573, - /* 1170 */ 230, 1827, 528, 431, 527, 1265, 541, 1886, 175, 1766, - /* 1180 */ 434, 177, 1264, 435, 436, 1266, 180, 553, 1886, 437, - /* 1190 */ 439, 158, 1718, 182, 552, 1883, 119, 1263, 440, 184, - /* 1200 */ 68, 462, 158, 187, 443, 1748, 1883, 464, 1556, 533, - /* 1210 */ 191, 1552, 298, 193, 132, 495, 91, 496, 533, 265, - /* 1220 */ 1779, 204, 133, 281, 1749, 555, 1751, 1752, 551, 1554, - /* 1230 */ 573, 1550, 134, 1766, 207, 135, 117, 502, 1700, 506, - /* 1240 */ 1261, 553, 211, 499, 1851, 517, 1718, 1748, 552, 1886, - /* 1250 */ 512, 230, 1827, 528, 559, 527, 6, 514, 1886, 317, - /* 1260 */ 319, 1861, 1860, 156, 215, 218, 520, 1883, 1841, 526, - /* 1270 */ 1748, 223, 156, 513, 1779, 1766, 1883, 89, 1749, 555, - /* 1280 */ 1751, 1752, 551, 553, 573, 511, 510, 1819, 1718, 228, - /* 1290 */ 552, 1818, 1815, 1359, 146, 225, 118, 1260, 1766, 44, - /* 1300 */ 226, 542, 539, 1835, 18, 321, 553, 229, 124, 557, - /* 1310 */ 558, 1718, 563, 552, 1699, 227, 1779, 125, 1668, 89, - /* 1320 */ 1749, 555, 1751, 1752, 551, 1800, 573, 1748, 560, 1819, - /* 1330 */ 329, 250, 1882, 544, 1815, 234, 564, 565, 536, 1779, - /* 1340 */ 1902, 237, 89, 1749, 555, 1751, 1752, 551, 239, 573, - /* 1350 */ 543, 252, 1819, 266, 77, 1766, 1567, 1816, 79, 269, - /* 1360 */ 1610, 1539, 576, 553, 648, 649, 260, 651, 1718, 1748, - /* 1370 */ 552, 51, 290, 273, 292, 291, 1712, 145, 271, 1711, - /* 1380 */ 62, 1748, 509, 1710, 347, 1707, 349, 350, 1227, 1228, - /* 1390 */ 163, 354, 1705, 356, 357, 358, 1779, 1766, 1704, 289, - /* 1400 */ 1749, 555, 1751, 1752, 551, 553, 573, 360, 1703, 1766, - /* 1410 */ 1718, 364, 552, 362, 1702, 1701, 366, 553, 1685, 164, - /* 1420 */ 369, 370, 1718, 1679, 552, 1203, 1202, 1678, 375, 376, - /* 1430 */ 1677, 1676, 1172, 1651, 1650, 1649, 65, 1648, 1779, 1647, - /* 1440 */ 1646, 284, 1749, 555, 1751, 1752, 551, 1645, 573, 1644, - /* 1450 */ 1779, 389, 390, 142, 1749, 555, 1751, 1752, 551, 1643, - /* 1460 */ 573, 392, 1642, 1641, 1640, 1639, 1638, 1637, 1636, 1635, - /* 1470 */ 1634, 1633, 1632, 1631, 1748, 1174, 1622, 1621, 122, 1628, - /* 1480 */ 525, 1630, 1629, 1627, 1626, 1625, 1624, 1623, 1620, 1619, - /* 1490 */ 1497, 1495, 1748, 1463, 171, 113, 173, 427, 150, 1901, - /* 1500 */ 1462, 1693, 1766, 429, 1687, 1675, 990, 181, 989, 1674, - /* 1510 */ 553, 1660, 1545, 1019, 174, 1718, 1494, 552, 1492, 114, - /* 1520 */ 1766, 1490, 1488, 1486, 1475, 445, 1474, 1459, 550, 324, - /* 1530 */ 444, 448, 1547, 1718, 1748, 552, 179, 446, 450, 1546, - /* 1540 */ 49, 452, 454, 1779, 53, 456, 289, 1749, 555, 1751, - /* 1550 */ 1752, 551, 1126, 573, 449, 453, 458, 1748, 620, 1484, - /* 1560 */ 457, 1779, 1766, 1127, 288, 1749, 555, 1751, 1752, 551, - /* 1570 */ 553, 573, 1052, 1792, 622, 1718, 1051, 552, 1050, 1049, - /* 1580 */ 313, 1046, 1045, 1044, 1479, 1766, 314, 481, 1477, 326, - /* 1590 */ 484, 315, 190, 553, 1458, 486, 1457, 488, 1718, 1456, - /* 1600 */ 552, 189, 490, 1779, 1692, 90, 289, 1749, 555, 1751, - /* 1610 */ 1752, 551, 328, 573, 1210, 144, 1686, 497, 1673, 1748, - /* 1620 */ 459, 455, 451, 447, 188, 1671, 1779, 1672, 136, 289, - /* 1630 */ 1749, 555, 1751, 1752, 551, 1670, 573, 1669, 1400, 15, - /* 1640 */ 4, 41, 16, 47, 23, 221, 214, 1766, 25, 216, - /* 1650 */ 70, 1384, 222, 186, 1377, 553, 143, 220, 24, 74, - /* 1660 */ 1718, 1748, 552, 1738, 45, 498, 1356, 208, 231, 46, - /* 1670 */ 1355, 316, 17, 1417, 147, 1406, 1412, 1411, 503, 322, - /* 1680 */ 13, 1416, 1415, 323, 10, 1297, 19, 1296, 1779, 1766, - /* 1690 */ 31, 275, 1749, 555, 1751, 1752, 551, 553, 573, 148, - /* 1700 */ 160, 1280, 1718, 12, 552, 242, 20, 21, 1667, 1659, - /* 1710 */ 251, 1748, 80, 253, 1382, 185, 178, 244, 183, 249, - /* 1720 */ 1737, 1318, 438, 75, 554, 1748, 561, 256, 76, 1250, - /* 1730 */ 1779, 577, 1782, 276, 1749, 555, 1751, 1752, 551, 1766, - /* 1740 */ 573, 176, 1299, 572, 48, 575, 1113, 553, 336, 579, - /* 1750 */ 581, 1110, 1718, 1766, 552, 582, 584, 1107, 585, 587, - /* 1760 */ 1101, 553, 1099, 588, 590, 1090, 1718, 591, 552, 81, - /* 1770 */ 1105, 1104, 1103, 82, 1122, 1102, 258, 59, 597, 1748, - /* 1780 */ 1779, 1118, 606, 277, 1749, 555, 1751, 1752, 551, 1017, - /* 1790 */ 573, 1041, 1059, 259, 1779, 609, 1039, 283, 1749, 555, - /* 1800 */ 1751, 1752, 551, 1038, 573, 1037, 1036, 1766, 1035, 1034, - /* 1810 */ 1033, 1032, 1056, 1054, 1029, 553, 1028, 1027, 1024, 1023, - /* 1820 */ 1718, 1748, 552, 1022, 1491, 630, 1489, 631, 632, 634, - /* 1830 */ 636, 1487, 635, 638, 640, 1485, 642, 1473, 644, 639, - /* 1840 */ 1748, 646, 980, 643, 1455, 262, 650, 654, 1779, 1766, - /* 1850 */ 1236, 285, 1749, 555, 1751, 1752, 551, 553, 573, 1430, - /* 1860 */ 270, 653, 1718, 1748, 552, 1430, 1430, 1430, 1766, 1430, - /* 1870 */ 1430, 1430, 1430, 1430, 1430, 1430, 553, 1430, 1430, 1430, - /* 1880 */ 1430, 1718, 1748, 552, 1430, 1430, 1430, 1430, 1430, 1430, - /* 1890 */ 1779, 1766, 1430, 278, 1749, 555, 1751, 1752, 551, 553, - /* 1900 */ 573, 1430, 1430, 1430, 1718, 1430, 552, 1430, 1430, 1779, - /* 1910 */ 1766, 1430, 286, 1749, 555, 1751, 1752, 551, 553, 573, - /* 1920 */ 1430, 1430, 1430, 1718, 1430, 552, 1430, 1430, 1430, 1430, - /* 1930 */ 1430, 1430, 1779, 1430, 1430, 279, 1749, 555, 1751, 1752, - /* 1940 */ 551, 1430, 573, 1748, 1430, 1430, 1430, 1430, 1430, 1430, - /* 1950 */ 1430, 1779, 1430, 1430, 287, 1749, 555, 1751, 1752, 551, - /* 1960 */ 1430, 573, 1748, 1430, 1430, 1430, 1430, 1430, 1430, 1430, - /* 1970 */ 1430, 1766, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 553, - /* 1980 */ 1430, 1430, 1430, 1430, 1718, 1748, 552, 1430, 1430, 1430, - /* 1990 */ 1766, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 553, 1430, - /* 2000 */ 1430, 1430, 1430, 1718, 1748, 552, 1430, 1430, 1430, 1430, - /* 2010 */ 1430, 1430, 1779, 1766, 1430, 280, 1749, 555, 1751, 1752, - /* 2020 */ 551, 553, 573, 1430, 1430, 1430, 1718, 1430, 552, 1430, - /* 2030 */ 1430, 1779, 1766, 1430, 293, 1749, 555, 1751, 1752, 551, - /* 2040 */ 553, 573, 1430, 1430, 1430, 1718, 1430, 552, 1430, 1430, - /* 2050 */ 1430, 1430, 1430, 1430, 1779, 1430, 1430, 294, 1749, 555, - /* 2060 */ 1751, 1752, 551, 1430, 573, 1430, 1748, 1430, 1430, 1430, - /* 2070 */ 1430, 1430, 1430, 1779, 1430, 1430, 1760, 1749, 555, 1751, - /* 2080 */ 1752, 551, 1430, 573, 1430, 1430, 1430, 1430, 1430, 1430, - /* 2090 */ 1430, 1748, 1430, 1430, 1766, 1430, 1430, 1430, 1430, 1430, - /* 2100 */ 1430, 1430, 553, 1430, 1430, 1430, 1430, 1718, 1748, 552, - /* 2110 */ 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1766, - /* 2120 */ 1430, 1430, 1430, 1430, 1430, 1430, 1430, 553, 1430, 1430, - /* 2130 */ 1430, 1430, 1718, 1748, 552, 1779, 1766, 1430, 1759, 1749, - /* 2140 */ 555, 1751, 1752, 551, 553, 573, 1430, 1430, 1430, 1718, - /* 2150 */ 1748, 552, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, - /* 2160 */ 1779, 1766, 1430, 1758, 1749, 555, 1751, 1752, 551, 553, - /* 2170 */ 573, 1430, 1430, 1430, 1718, 1430, 552, 1779, 1766, 1430, - /* 2180 */ 303, 1749, 555, 1751, 1752, 551, 553, 573, 1430, 1430, - /* 2190 */ 1430, 1718, 1430, 552, 1430, 1430, 1430, 1430, 1430, 1430, - /* 2200 */ 1430, 1430, 1779, 1430, 1430, 302, 1749, 555, 1751, 1752, - /* 2210 */ 551, 1430, 573, 1748, 1430, 1430, 1430, 1430, 1430, 1779, - /* 2220 */ 1430, 1430, 304, 1749, 555, 1751, 1752, 551, 1430, 573, - /* 2230 */ 1748, 1430, 1430, 1430, 1430, 1430, 1430, 334, 333, 1430, - /* 2240 */ 1430, 1766, 1430, 1430, 1430, 1430, 1430, 1248, 1430, 553, - /* 2250 */ 1430, 1430, 1430, 1430, 1718, 1430, 552, 1430, 1766, 1430, - /* 2260 */ 1241, 1430, 1430, 1430, 1430, 1430, 553, 1430, 1430, 1430, - /* 2270 */ 1430, 1718, 1430, 552, 1430, 1430, 1430, 1430, 1430, 1430, - /* 2280 */ 1430, 1430, 1779, 1430, 1430, 301, 1749, 555, 1751, 1752, - /* 2290 */ 551, 1240, 573, 1430, 1430, 1430, 1430, 1430, 1430, 1779, - /* 2300 */ 1430, 1430, 282, 1749, 555, 1751, 1752, 551, 1430, 573, - /* 2310 */ 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, - /* 2320 */ 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, - /* 2330 */ 574, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, - /* 2340 */ 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, - /* 2350 */ 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, - /* 2360 */ 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, - /* 2370 */ 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, - /* 2380 */ 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1249, - /* 2390 */ 1430, 1244, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, - /* 2400 */ 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, - /* 2410 */ 1430, 1430, 1430, 1252, 1430, 1430, 1430, 1430, 1430, 1430, - /* 2420 */ 1430, 1430, 1430, 1430, 571, 1302, 1303, + /* 0 */ 425, 69, 426, 1479, 433, 1679, 426, 1479, 1749, 1780, + /* 10 */ 1570, 318, 39, 37, 115, 1749, 555, 521, 335, 1746, + /* 20 */ 327, 1746, 1242, 1574, 330, 374, 1746, 1676, 40, 38, + /* 30 */ 36, 35, 34, 1317, 101, 1240, 1568, 100, 99, 98, + /* 40 */ 97, 96, 95, 94, 93, 92, 1742, 1748, 1742, 1748, + /* 50 */ 1625, 1626, 1762, 1742, 1748, 520, 1312, 573, 61, 573, + /* 60 */ 14, 1007, 151, 1006, 573, 1905, 1248, 569, 990, 39, + /* 70 */ 37, 1380, 1444, 1750, 491, 1618, 461, 327, 157, 1242, + /* 80 */ 1780, 1509, 1902, 1, 1746, 569, 528, 489, 552, 487, + /* 90 */ 1317, 1008, 1240, 1732, 84, 551, 110, 109, 108, 107, + /* 100 */ 106, 105, 104, 103, 102, 652, 211, 120, 994, 995, + /* 110 */ 532, 1742, 1748, 1312, 119, 1571, 569, 14, 442, 1319, + /* 120 */ 1320, 1793, 573, 1248, 87, 1763, 554, 1765, 1766, 550, + /* 130 */ 42, 573, 507, 60, 1839, 73, 1905, 60, 300, 1835, + /* 140 */ 2, 522, 339, 477, 476, 1624, 1626, 655, 475, 1904, + /* 150 */ 1905, 116, 472, 1902, 117, 471, 470, 469, 528, 1384, + /* 160 */ 58, 263, 652, 159, 1243, 1266, 1241, 1902, 530, 153, + /* 170 */ 1847, 1848, 1905, 1852, 493, 149, 1319, 1320, 1556, 43, + /* 180 */ 645, 641, 637, 633, 261, 157, 119, 1720, 1442, 1902, + /* 190 */ 1246, 1247, 517, 1295, 1296, 1298, 1299, 1300, 1301, 1302, + /* 200 */ 547, 571, 1310, 1311, 1313, 1314, 1315, 1316, 1318, 1321, + /* 210 */ 85, 33, 32, 255, 1905, 40, 38, 36, 35, 34, + /* 220 */ 204, 1243, 160, 1241, 11, 10, 117, 157, 1631, 30, + /* 230 */ 241, 1902, 33, 32, 353, 332, 40, 38, 36, 35, + /* 240 */ 34, 154, 1847, 1848, 1629, 1852, 566, 1246, 1247, 344, + /* 250 */ 1295, 1296, 1298, 1299, 1300, 1301, 1302, 547, 571, 1310, + /* 260 */ 1311, 1313, 1314, 1315, 1316, 1318, 1321, 39, 37, 160, + /* 270 */ 523, 518, 160, 605, 331, 327, 160, 1242, 213, 71, + /* 280 */ 306, 1267, 138, 559, 301, 1557, 570, 1411, 1317, 1905, + /* 290 */ 1240, 1581, 129, 128, 602, 601, 600, 111, 570, 1215, + /* 300 */ 424, 206, 157, 428, 463, 1905, 1902, 1353, 1280, 162, + /* 310 */ 1905, 1312, 246, 247, 1579, 14, 1339, 140, 158, 1456, + /* 320 */ 570, 1248, 1902, 1903, 39, 37, 1579, 1902, 477, 476, + /* 330 */ 380, 567, 327, 475, 1242, 1506, 116, 472, 2, 1297, + /* 340 */ 471, 470, 469, 1267, 442, 1317, 60, 1240, 1579, 1098, + /* 350 */ 596, 595, 594, 1102, 593, 1104, 1105, 592, 1107, 589, + /* 360 */ 652, 1113, 586, 1115, 1116, 583, 580, 298, 1312, 337, + /* 370 */ 1340, 1669, 69, 306, 1319, 1320, 559, 138, 1248, 1467, + /* 380 */ 1140, 1141, 169, 33, 32, 1631, 1581, 40, 38, 36, + /* 390 */ 35, 34, 338, 1345, 1575, 8, 534, 629, 628, 627, + /* 400 */ 342, 1629, 626, 625, 624, 121, 619, 618, 617, 616, + /* 410 */ 615, 614, 613, 612, 131, 608, 340, 652, 22, 1243, + /* 420 */ 1732, 1241, 33, 32, 138, 1266, 40, 38, 36, 35, + /* 430 */ 34, 1319, 1320, 1581, 29, 325, 1334, 1335, 1336, 1337, + /* 440 */ 1338, 1342, 1343, 1344, 432, 1246, 1247, 428, 1295, 1296, + /* 450 */ 1298, 1299, 1300, 1301, 1302, 547, 571, 1310, 1311, 1313, + /* 460 */ 1314, 1315, 1316, 1318, 1321, 33, 32, 607, 570, 40, + /* 470 */ 38, 36, 35, 34, 1327, 1265, 1243, 78, 1241, 111, + /* 480 */ 1266, 36, 35, 34, 1242, 160, 468, 33, 32, 474, + /* 490 */ 473, 40, 38, 36, 35, 34, 1579, 1240, 1572, 1466, + /* 500 */ 141, 528, 1246, 1247, 1536, 1295, 1296, 1298, 1299, 1300, + /* 510 */ 1301, 1302, 547, 571, 1310, 1311, 1313, 1314, 1315, 1316, + /* 520 */ 1318, 1321, 39, 37, 1322, 60, 413, 605, 1248, 119, + /* 530 */ 327, 1445, 1242, 1465, 160, 1007, 1464, 1006, 430, 301, + /* 540 */ 1732, 1391, 1555, 1317, 1264, 1240, 129, 128, 602, 601, + /* 550 */ 600, 532, 101, 528, 1401, 100, 99, 98, 97, 96, + /* 560 */ 95, 94, 93, 92, 570, 1008, 1312, 652, 1268, 117, + /* 570 */ 1437, 1339, 171, 170, 1732, 378, 1248, 1732, 599, 39, + /* 580 */ 37, 119, 1266, 570, 231, 1847, 527, 327, 526, 1242, + /* 590 */ 1854, 1905, 1579, 9, 379, 514, 1399, 1400, 1402, 1403, + /* 600 */ 1317, 607, 1240, 532, 159, 373, 1762, 372, 1902, 365, + /* 610 */ 1463, 1579, 33, 32, 1851, 652, 40, 38, 36, 35, + /* 620 */ 34, 117, 1752, 1312, 1675, 1340, 1243, 295, 1241, 1319, + /* 630 */ 1320, 367, 363, 1248, 1780, 570, 231, 1847, 527, 1248, + /* 640 */ 526, 1631, 552, 1905, 167, 610, 383, 1732, 1345, 551, + /* 650 */ 9, 1732, 1246, 1247, 1297, 26, 157, 1630, 1436, 1754, + /* 660 */ 1902, 33, 32, 1579, 160, 40, 38, 36, 35, 34, + /* 670 */ 67, 1060, 652, 66, 1243, 1793, 1241, 7, 142, 1763, + /* 680 */ 554, 1765, 1766, 550, 1485, 573, 1319, 1320, 1554, 29, + /* 690 */ 325, 1334, 1335, 1336, 1337, 1338, 1342, 1343, 1344, 233, + /* 700 */ 1246, 1247, 1062, 1295, 1296, 1298, 1299, 1300, 1301, 1302, + /* 710 */ 547, 571, 1310, 1311, 1313, 1314, 1315, 1316, 1318, 1321, + /* 720 */ 33, 32, 533, 1919, 40, 38, 36, 35, 34, 1854, + /* 730 */ 1854, 1243, 647, 1241, 28, 623, 621, 536, 555, 1674, + /* 740 */ 33, 32, 295, 311, 40, 38, 36, 35, 34, 1677, + /* 750 */ 138, 1269, 528, 1850, 1849, 137, 1297, 1246, 1247, 1582, + /* 760 */ 1295, 1296, 1298, 1299, 1300, 1301, 1302, 547, 571, 1310, + /* 770 */ 1311, 1313, 1314, 1315, 1316, 1318, 1321, 39, 37, 297, + /* 780 */ 119, 1264, 1564, 605, 611, 327, 1551, 1242, 406, 1762, + /* 790 */ 1341, 418, 312, 1462, 310, 309, 1280, 465, 1317, 1377, + /* 800 */ 1240, 467, 129, 128, 602, 601, 600, 1566, 391, 500, + /* 810 */ 419, 603, 393, 1346, 1622, 1461, 570, 1780, 245, 1460, + /* 820 */ 117, 1312, 1537, 466, 1562, 552, 482, 398, 207, 570, + /* 830 */ 1732, 1248, 551, 1459, 1732, 155, 1847, 1848, 1458, 1852, + /* 840 */ 399, 492, 546, 384, 1579, 33, 32, 1457, 2, 40, + /* 850 */ 38, 36, 35, 34, 27, 203, 1732, 1579, 1793, 1373, + /* 860 */ 1732, 89, 1763, 554, 1765, 1766, 550, 1455, 573, 485, + /* 870 */ 652, 1839, 598, 479, 1732, 1838, 1835, 539, 202, 1732, + /* 880 */ 1223, 1224, 214, 417, 1319, 1320, 412, 411, 410, 409, + /* 890 */ 408, 405, 404, 403, 402, 401, 397, 396, 395, 394, + /* 900 */ 388, 387, 386, 385, 55, 382, 381, 54, 1732, 236, + /* 910 */ 1454, 570, 570, 139, 570, 570, 604, 460, 274, 1622, + /* 920 */ 994, 995, 441, 1576, 544, 1708, 501, 195, 467, 1243, + /* 930 */ 193, 1241, 272, 57, 268, 537, 56, 1609, 197, 1579, + /* 940 */ 1579, 196, 1579, 1579, 1859, 1373, 1453, 494, 1762, 515, + /* 950 */ 466, 1732, 173, 421, 1452, 1246, 1247, 1451, 1295, 1296, + /* 960 */ 1298, 1299, 1300, 1301, 1302, 547, 571, 1310, 1311, 1313, + /* 970 */ 1314, 1315, 1316, 1318, 1321, 570, 1780, 570, 60, 570, + /* 980 */ 1251, 570, 44, 4, 552, 1450, 505, 1732, 568, 1732, + /* 990 */ 257, 551, 341, 1496, 1250, 1732, 622, 1449, 1732, 199, + /* 1000 */ 1448, 1447, 198, 1579, 50, 1579, 532, 1579, 201, 1579, + /* 1010 */ 1491, 200, 52, 504, 210, 478, 86, 1793, 1376, 218, + /* 1020 */ 87, 1763, 554, 1765, 1766, 550, 1732, 573, 1489, 41, + /* 1030 */ 1839, 41, 480, 1762, 300, 1835, 225, 368, 1732, 11, + /* 1040 */ 10, 1732, 1732, 72, 41, 1398, 1905, 1439, 1440, 243, + /* 1050 */ 483, 64, 63, 377, 1331, 123, 166, 126, 127, 157, + /* 1060 */ 220, 1780, 371, 1902, 1032, 1781, 343, 1480, 1619, 531, + /* 1070 */ 1347, 529, 1303, 50, 1732, 296, 551, 540, 361, 1869, + /* 1080 */ 359, 355, 351, 163, 346, 1191, 578, 126, 1762, 127, + /* 1090 */ 248, 112, 230, 126, 83, 1033, 562, 3, 254, 1091, + /* 1100 */ 1264, 235, 1793, 238, 80, 88, 1763, 554, 1765, 1766, + /* 1110 */ 550, 1254, 573, 5, 267, 1839, 1780, 160, 240, 320, + /* 1120 */ 1835, 152, 345, 348, 531, 1253, 352, 1119, 1123, 1732, + /* 1130 */ 1130, 551, 1128, 156, 130, 307, 1060, 308, 400, 1207, + /* 1140 */ 264, 1865, 1671, 1762, 168, 407, 415, 414, 416, 420, + /* 1150 */ 422, 1270, 423, 1273, 431, 434, 176, 1793, 178, 435, + /* 1160 */ 88, 1763, 554, 1765, 1766, 550, 1272, 573, 436, 1274, + /* 1170 */ 1839, 1780, 437, 181, 320, 1835, 152, 183, 439, 552, + /* 1180 */ 1271, 185, 440, 68, 1732, 188, 551, 443, 462, 91, + /* 1190 */ 464, 1569, 192, 299, 1565, 194, 1866, 1713, 132, 265, + /* 1200 */ 133, 496, 1567, 1563, 134, 1762, 135, 205, 495, 208, + /* 1210 */ 502, 506, 1793, 1269, 317, 88, 1763, 554, 1765, 1766, + /* 1220 */ 550, 212, 573, 499, 1870, 1839, 511, 516, 1880, 320, + /* 1230 */ 1835, 1918, 558, 1780, 216, 513, 319, 525, 6, 219, + /* 1240 */ 1873, 552, 334, 333, 1879, 519, 1732, 512, 551, 509, + /* 1250 */ 510, 226, 1256, 1373, 1861, 224, 229, 227, 146, 228, + /* 1260 */ 118, 1268, 1855, 1317, 541, 1249, 538, 18, 321, 556, + /* 1270 */ 124, 557, 234, 1762, 1793, 1712, 1681, 88, 1763, 554, + /* 1280 */ 1765, 1766, 550, 125, 573, 563, 1312, 1839, 560, 329, + /* 1290 */ 564, 320, 1835, 1918, 565, 1820, 1248, 1901, 266, 250, + /* 1300 */ 252, 1780, 1896, 77, 535, 79, 237, 1921, 1580, 552, + /* 1310 */ 648, 269, 542, 239, 1732, 576, 551, 1623, 260, 1552, + /* 1320 */ 649, 651, 51, 271, 273, 1726, 1725, 290, 62, 292, + /* 1330 */ 1724, 145, 291, 347, 1721, 574, 349, 350, 1235, 1236, + /* 1340 */ 1762, 164, 1793, 190, 1719, 88, 1763, 554, 1765, 1766, + /* 1350 */ 550, 354, 573, 356, 357, 1839, 358, 144, 1718, 320, + /* 1360 */ 1835, 1918, 459, 455, 451, 447, 189, 360, 1780, 1717, + /* 1370 */ 1858, 362, 1716, 364, 1715, 366, 552, 1698, 165, 369, + /* 1380 */ 370, 1732, 1692, 551, 1210, 1209, 1691, 375, 376, 1690, + /* 1390 */ 1689, 1179, 70, 1664, 1257, 187, 1252, 65, 532, 1663, + /* 1400 */ 1662, 1661, 1660, 1659, 1658, 1657, 389, 1656, 390, 1793, + /* 1410 */ 392, 1655, 281, 1763, 554, 1765, 1766, 550, 1762, 573, + /* 1420 */ 1260, 1654, 1653, 1652, 1651, 1650, 1649, 1648, 1647, 1646, + /* 1430 */ 1645, 571, 1310, 1311, 1313, 1314, 1315, 1316, 1905, 1644, + /* 1440 */ 1643, 1642, 1641, 1640, 1639, 1638, 1780, 1637, 122, 1636, + /* 1450 */ 1635, 159, 1634, 1181, 552, 1902, 1633, 186, 179, 1732, + /* 1460 */ 184, 551, 1632, 1510, 438, 172, 1508, 1476, 997, 996, + /* 1470 */ 1475, 1706, 1762, 113, 174, 1700, 532, 175, 150, 427, + /* 1480 */ 1688, 1687, 429, 177, 182, 114, 1673, 1793, 1558, 1507, + /* 1490 */ 281, 1763, 554, 1765, 1766, 550, 180, 573, 1505, 1762, + /* 1500 */ 1780, 1503, 1501, 444, 446, 445, 449, 448, 552, 1026, + /* 1510 */ 1499, 452, 450, 1732, 456, 551, 1905, 454, 1488, 1487, + /* 1520 */ 1472, 453, 1560, 458, 1559, 1134, 1133, 1780, 191, 157, + /* 1530 */ 457, 1059, 1058, 1902, 1057, 549, 1497, 620, 1056, 1492, + /* 1540 */ 1732, 1793, 551, 49, 89, 1763, 554, 1765, 1766, 550, + /* 1550 */ 622, 573, 1053, 1762, 1839, 313, 1052, 314, 543, 1835, + /* 1560 */ 1051, 481, 1490, 315, 484, 1471, 486, 1470, 1793, 488, + /* 1570 */ 1469, 288, 1763, 554, 1765, 1766, 550, 548, 573, 545, + /* 1580 */ 1811, 1780, 490, 90, 1705, 1217, 1699, 136, 497, 552, + /* 1590 */ 1686, 1684, 1685, 1683, 1732, 1682, 551, 41, 23, 47, + /* 1600 */ 1413, 15, 16, 1762, 53, 45, 215, 222, 10, 209, + /* 1610 */ 217, 498, 1397, 143, 223, 316, 1390, 1752, 25, 232, + /* 1620 */ 221, 24, 1793, 74, 46, 89, 1763, 554, 1765, 1766, + /* 1630 */ 550, 1780, 573, 1370, 147, 1839, 1369, 1430, 503, 552, + /* 1640 */ 1836, 17, 13, 1425, 1732, 1419, 551, 1424, 322, 1429, + /* 1650 */ 1428, 323, 19, 1762, 1288, 1680, 1305, 31, 508, 1332, + /* 1660 */ 1304, 12, 20, 148, 161, 21, 1227, 242, 244, 1762, + /* 1670 */ 1672, 1395, 1793, 251, 553, 289, 1763, 554, 1765, 1766, + /* 1680 */ 550, 1780, 573, 249, 75, 76, 1796, 80, 1751, 552, + /* 1690 */ 256, 561, 253, 572, 1732, 1307, 551, 1780, 1258, 575, + /* 1700 */ 577, 336, 48, 581, 1120, 552, 1117, 579, 582, 584, + /* 1710 */ 1732, 1114, 551, 585, 587, 1108, 588, 1097, 590, 1106, + /* 1720 */ 591, 597, 1793, 1129, 81, 284, 1763, 554, 1765, 1766, + /* 1730 */ 550, 82, 573, 1762, 59, 1112, 1111, 258, 1793, 1125, + /* 1740 */ 606, 142, 1763, 554, 1765, 1766, 550, 1024, 573, 1762, + /* 1750 */ 1110, 1048, 1109, 1066, 609, 259, 1046, 1045, 1044, 1043, + /* 1760 */ 1042, 1780, 1041, 524, 1040, 1039, 1063, 1061, 1036, 552, + /* 1770 */ 1035, 1034, 1031, 1030, 1732, 1504, 551, 1780, 1029, 630, + /* 1780 */ 632, 631, 1502, 634, 636, 549, 1920, 1500, 324, 635, + /* 1790 */ 1732, 638, 551, 639, 640, 1498, 642, 643, 644, 1762, + /* 1800 */ 1486, 646, 1793, 987, 1468, 289, 1763, 554, 1765, 1766, + /* 1810 */ 550, 262, 573, 650, 653, 1762, 1244, 1443, 1793, 270, + /* 1820 */ 1443, 288, 1763, 554, 1765, 1766, 550, 1780, 573, 654, + /* 1830 */ 1812, 1443, 1443, 1443, 1443, 552, 1443, 1443, 1443, 1443, + /* 1840 */ 1732, 1443, 551, 1780, 1443, 1443, 1443, 1443, 1443, 1443, + /* 1850 */ 1443, 552, 1443, 1443, 326, 1443, 1732, 1443, 551, 1443, + /* 1860 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1793, 1443, + /* 1870 */ 328, 289, 1763, 554, 1765, 1766, 550, 1443, 573, 1762, + /* 1880 */ 1443, 1443, 1443, 1443, 1793, 1443, 1443, 289, 1763, 554, + /* 1890 */ 1765, 1766, 550, 1443, 573, 1443, 1762, 1443, 1443, 1443, + /* 1900 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1780, 1443, 1443, + /* 1910 */ 1443, 1443, 1443, 1443, 1443, 552, 1443, 1443, 1443, 1443, + /* 1920 */ 1732, 1443, 551, 1443, 1780, 1443, 1443, 1443, 1443, 1443, + /* 1930 */ 1443, 1443, 552, 1443, 1443, 1443, 1443, 1732, 1762, 551, + /* 1940 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1793, 1443, + /* 1950 */ 1443, 275, 1763, 554, 1765, 1766, 550, 1443, 573, 1443, + /* 1960 */ 1443, 1443, 1762, 1443, 1443, 1793, 1780, 1443, 276, 1763, + /* 1970 */ 554, 1765, 1766, 550, 552, 573, 1443, 1443, 1443, 1732, + /* 1980 */ 1443, 551, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, + /* 1990 */ 1780, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 552, 1443, + /* 2000 */ 1443, 1443, 1443, 1732, 1443, 551, 1443, 1793, 1443, 1443, + /* 2010 */ 277, 1763, 554, 1765, 1766, 550, 1443, 573, 1762, 1443, + /* 2020 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, + /* 2030 */ 1443, 1793, 1443, 1443, 283, 1763, 554, 1765, 1766, 550, + /* 2040 */ 1443, 573, 1762, 1443, 1443, 1443, 1780, 1443, 1443, 1443, + /* 2050 */ 1443, 1443, 1443, 1443, 552, 1443, 1443, 1443, 1443, 1732, + /* 2060 */ 1443, 551, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, + /* 2070 */ 1780, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 552, 1443, + /* 2080 */ 1443, 1443, 1443, 1732, 1762, 551, 1443, 1793, 1443, 1443, + /* 2090 */ 285, 1763, 554, 1765, 1766, 550, 1443, 573, 1443, 1443, + /* 2100 */ 1762, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, + /* 2110 */ 1443, 1793, 1780, 1443, 278, 1763, 554, 1765, 1766, 550, + /* 2120 */ 552, 573, 1443, 1443, 1443, 1732, 1443, 551, 1780, 1443, + /* 2130 */ 1443, 1443, 1443, 1443, 1443, 1443, 552, 1443, 1443, 1443, + /* 2140 */ 1443, 1732, 1443, 551, 1443, 1443, 1443, 1443, 1443, 1443, + /* 2150 */ 1443, 1443, 1443, 1793, 1443, 1443, 286, 1763, 554, 1765, + /* 2160 */ 1766, 550, 1443, 573, 1762, 1443, 1443, 1443, 1443, 1793, + /* 2170 */ 1443, 1443, 279, 1763, 554, 1765, 1766, 550, 1443, 573, + /* 2180 */ 1443, 1762, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, + /* 2190 */ 1443, 1443, 1780, 1443, 1443, 1443, 1443, 1443, 1443, 1443, + /* 2200 */ 552, 1443, 1443, 1443, 1443, 1732, 1443, 551, 1443, 1780, + /* 2210 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 552, 1443, 1443, + /* 2220 */ 1443, 1443, 1732, 1762, 551, 1443, 1443, 1443, 1443, 1443, + /* 2230 */ 1443, 1443, 1443, 1793, 1443, 1443, 287, 1763, 554, 1765, + /* 2240 */ 1766, 550, 1443, 573, 1443, 1443, 1443, 1762, 1443, 1443, + /* 2250 */ 1793, 1780, 1443, 280, 1763, 554, 1765, 1766, 550, 552, + /* 2260 */ 573, 1443, 1443, 1443, 1732, 1443, 551, 1443, 1443, 1443, + /* 2270 */ 1443, 1443, 1443, 1443, 1443, 1780, 1443, 1443, 1443, 1443, + /* 2280 */ 1443, 1443, 1443, 552, 1443, 1443, 1443, 1443, 1732, 1443, + /* 2290 */ 551, 1443, 1793, 1443, 1443, 293, 1763, 554, 1765, 1766, + /* 2300 */ 550, 1443, 573, 1762, 1443, 1443, 1443, 1443, 1443, 1443, + /* 2310 */ 1443, 1443, 1443, 1443, 1443, 1443, 1793, 1443, 1443, 294, + /* 2320 */ 1763, 554, 1765, 1766, 550, 1443, 573, 1762, 1443, 1443, + /* 2330 */ 1443, 1780, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 552, + /* 2340 */ 1443, 1443, 1443, 1443, 1732, 1443, 551, 1443, 1443, 1443, + /* 2350 */ 1443, 1443, 1443, 1443, 1443, 1780, 1443, 1443, 1443, 1443, + /* 2360 */ 1443, 1443, 1443, 552, 1443, 1443, 1443, 1443, 1732, 1762, + /* 2370 */ 551, 1443, 1793, 1443, 1443, 1774, 1763, 554, 1765, 1766, + /* 2380 */ 550, 1443, 573, 1443, 1443, 1762, 1443, 1443, 1443, 1443, + /* 2390 */ 1443, 1443, 1443, 1443, 1443, 1443, 1793, 1780, 1443, 1773, + /* 2400 */ 1763, 554, 1765, 1766, 550, 552, 573, 1443, 1443, 1443, + /* 2410 */ 1732, 1443, 551, 1780, 1443, 1443, 1443, 1443, 1443, 1443, + /* 2420 */ 1443, 552, 1443, 1443, 1443, 1443, 1732, 1443, 551, 1443, + /* 2430 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1793, 1443, + /* 2440 */ 1443, 1772, 1763, 554, 1765, 1766, 550, 1443, 573, 1762, + /* 2450 */ 1443, 1443, 1443, 1443, 1793, 1443, 1443, 304, 1763, 554, + /* 2460 */ 1765, 1766, 550, 1443, 573, 1443, 1762, 1443, 1443, 1443, + /* 2470 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1780, 1443, 1443, + /* 2480 */ 1443, 1443, 1443, 1443, 1443, 552, 1443, 1443, 1443, 1443, + /* 2490 */ 1732, 1443, 551, 1443, 1780, 1443, 1443, 1443, 1443, 1443, + /* 2500 */ 1443, 1443, 552, 1443, 1443, 1443, 1443, 1732, 1762, 551, + /* 2510 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1793, 1443, + /* 2520 */ 1443, 303, 1763, 554, 1765, 1766, 550, 1443, 573, 1443, + /* 2530 */ 1443, 1443, 1762, 1443, 1443, 1793, 1780, 1443, 305, 1763, + /* 2540 */ 554, 1765, 1766, 550, 552, 573, 1443, 1443, 1443, 1732, + /* 2550 */ 1443, 551, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, + /* 2560 */ 1780, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 552, 1443, + /* 2570 */ 1443, 1443, 1443, 1732, 1443, 551, 1443, 1793, 1443, 1443, + /* 2580 */ 302, 1763, 554, 1765, 1766, 550, 1443, 573, 1443, 1443, + /* 2590 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, + /* 2600 */ 1443, 1793, 1443, 1443, 282, 1763, 554, 1765, 1766, 550, + /* 2610 */ 1443, 573, }; static const YYCODETYPE yy_lookahead[] = { - /* 0 */ 254, 348, 256, 257, 254, 258, 256, 257, 249, 270, - /* 10 */ 251, 258, 12, 13, 279, 362, 269, 278, 280, 366, - /* 20 */ 20, 283, 22, 276, 20, 280, 287, 258, 283, 291, - /* 30 */ 14, 15, 16, 286, 21, 35, 291, 24, 25, 26, - /* 40 */ 27, 28, 29, 30, 31, 32, 8, 9, 295, 250, - /* 50 */ 12, 13, 14, 15, 16, 286, 318, 319, 0, 308, - /* 60 */ 60, 333, 334, 318, 319, 250, 66, 329, 12, 13, - /* 70 */ 14, 15, 16, 20, 329, 22, 14, 278, 59, 12, - /* 80 */ 13, 14, 20, 83, 20, 286, 83, 20, 35, 22, - /* 90 */ 291, 20, 293, 278, 263, 326, 20, 83, 267, 348, - /* 100 */ 20, 286, 35, 50, 258, 105, 291, 308, 293, 340, - /* 110 */ 341, 342, 343, 362, 345, 269, 20, 366, 319, 119, - /* 120 */ 120, 322, 323, 324, 325, 326, 327, 60, 329, 4, - /* 130 */ 250, 332, 286, 66, 319, 336, 337, 322, 323, 324, - /* 140 */ 325, 326, 327, 328, 329, 330, 331, 348, 19, 56, - /* 150 */ 83, 8, 9, 46, 83, 12, 13, 14, 15, 16, - /* 160 */ 278, 362, 33, 83, 164, 366, 166, 4, 286, 44, - /* 170 */ 45, 291, 105, 3, 37, 82, 47, 163, 85, 165, - /* 180 */ 250, 52, 53, 54, 55, 56, 119, 120, 188, 189, - /* 190 */ 83, 191, 192, 193, 194, 195, 196, 197, 198, 199, - /* 200 */ 200, 201, 202, 203, 280, 20, 324, 258, 18, 289, - /* 210 */ 20, 82, 292, 293, 85, 291, 216, 27, 14, 216, - /* 220 */ 30, 291, 348, 86, 20, 88, 89, 84, 91, 95, - /* 230 */ 216, 164, 95, 166, 286, 286, 362, 47, 115, 49, - /* 240 */ 366, 51, 318, 319, 56, 297, 83, 118, 114, 115, - /* 250 */ 116, 117, 118, 329, 117, 188, 189, 59, 191, 192, - /* 260 */ 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, - /* 270 */ 203, 83, 82, 85, 20, 326, 8, 9, 258, 150, - /* 280 */ 12, 13, 14, 15, 16, 12, 13, 0, 262, 269, - /* 290 */ 341, 342, 343, 20, 345, 22, 216, 174, 175, 66, - /* 300 */ 171, 275, 173, 280, 119, 120, 286, 266, 35, 268, - /* 310 */ 284, 94, 122, 66, 291, 125, 126, 127, 128, 129, - /* 320 */ 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, - /* 330 */ 140, 141, 142, 60, 144, 145, 12, 13, 22, 66, - /* 340 */ 250, 318, 319, 4, 20, 262, 22, 188, 278, 62, - /* 350 */ 63, 35, 329, 279, 67, 285, 83, 70, 71, 35, - /* 360 */ 149, 74, 75, 76, 294, 8, 9, 284, 278, 12, - /* 370 */ 13, 14, 15, 16, 1, 2, 286, 348, 105, 216, - /* 380 */ 278, 291, 66, 293, 225, 226, 227, 228, 229, 287, - /* 390 */ 66, 362, 119, 120, 293, 366, 192, 258, 308, 250, - /* 400 */ 43, 0, 301, 233, 216, 304, 250, 83, 269, 319, - /* 410 */ 292, 293, 322, 323, 324, 325, 326, 327, 250, 329, - /* 420 */ 258, 105, 332, 258, 156, 286, 336, 337, 270, 105, - /* 430 */ 20, 269, 221, 222, 269, 114, 278, 164, 348, 166, - /* 440 */ 291, 62, 63, 119, 120, 287, 67, 291, 286, 70, - /* 450 */ 71, 286, 362, 74, 75, 76, 366, 84, 35, 291, - /* 460 */ 59, 188, 189, 159, 191, 192, 193, 194, 195, 196, - /* 470 */ 197, 198, 199, 200, 201, 202, 203, 12, 13, 14, - /* 480 */ 164, 258, 166, 179, 180, 20, 278, 22, 164, 66, - /* 490 */ 166, 270, 269, 285, 250, 14, 293, 176, 177, 278, - /* 500 */ 35, 20, 294, 279, 188, 189, 238, 304, 287, 286, - /* 510 */ 146, 279, 188, 189, 250, 191, 192, 193, 194, 195, - /* 520 */ 196, 197, 198, 199, 200, 201, 202, 203, 12, 13, - /* 530 */ 20, 66, 22, 169, 255, 291, 20, 258, 22, 279, - /* 540 */ 216, 279, 278, 258, 12, 13, 114, 115, 83, 0, - /* 550 */ 286, 35, 20, 250, 22, 291, 217, 293, 8, 9, - /* 560 */ 50, 151, 12, 13, 14, 15, 16, 35, 204, 250, - /* 570 */ 105, 286, 250, 24, 25, 26, 27, 28, 29, 30, - /* 580 */ 31, 32, 66, 319, 119, 120, 322, 323, 324, 325, - /* 590 */ 326, 327, 258, 329, 291, 260, 332, 278, 66, 83, - /* 600 */ 336, 337, 338, 269, 21, 286, 279, 175, 273, 250, - /* 610 */ 291, 326, 293, 291, 350, 83, 281, 34, 20, 36, - /* 620 */ 286, 105, 358, 359, 264, 265, 341, 342, 343, 164, - /* 630 */ 345, 166, 264, 265, 84, 119, 120, 105, 319, 308, - /* 640 */ 0, 322, 323, 324, 325, 326, 327, 0, 329, 312, - /* 650 */ 291, 119, 120, 188, 189, 77, 191, 192, 193, 194, - /* 660 */ 195, 196, 197, 198, 199, 200, 201, 202, 203, 251, - /* 670 */ 8, 9, 258, 192, 12, 13, 14, 15, 16, 348, - /* 680 */ 164, 369, 166, 269, 8, 9, 367, 368, 12, 13, - /* 690 */ 14, 15, 16, 362, 214, 215, 164, 366, 166, 59, - /* 700 */ 286, 123, 124, 255, 188, 189, 258, 191, 192, 193, - /* 710 */ 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, - /* 720 */ 188, 189, 39, 191, 192, 193, 194, 195, 196, 197, - /* 730 */ 198, 199, 200, 201, 202, 203, 18, 277, 308, 8, - /* 740 */ 9, 23, 95, 12, 13, 14, 15, 16, 320, 151, - /* 750 */ 290, 288, 250, 250, 291, 37, 38, 0, 0, 41, - /* 760 */ 84, 114, 115, 116, 117, 118, 267, 250, 250, 250, - /* 770 */ 250, 320, 344, 250, 320, 57, 58, 250, 348, 21, - /* 780 */ 20, 260, 24, 25, 26, 27, 28, 29, 30, 31, - /* 790 */ 32, 60, 362, 291, 291, 344, 366, 278, 344, 35, - /* 800 */ 303, 83, 281, 306, 303, 286, 250, 306, 291, 291, - /* 810 */ 291, 291, 293, 151, 291, 84, 0, 250, 291, 62, - /* 820 */ 63, 64, 65, 92, 67, 68, 69, 70, 71, 72, - /* 830 */ 73, 74, 75, 76, 77, 78, 79, 80, 319, 121, - /* 840 */ 250, 322, 323, 324, 325, 326, 327, 291, 329, 288, - /* 850 */ 60, 332, 291, 278, 2, 336, 337, 338, 291, 271, - /* 860 */ 8, 9, 274, 47, 12, 13, 14, 15, 16, 294, - /* 870 */ 247, 44, 45, 95, 156, 157, 158, 146, 359, 161, - /* 880 */ 2, 291, 250, 151, 152, 167, 8, 9, 43, 0, - /* 890 */ 12, 13, 14, 15, 16, 117, 178, 360, 215, 181, - /* 900 */ 169, 183, 184, 185, 186, 187, 0, 43, 8, 9, - /* 910 */ 278, 22, 12, 13, 14, 15, 16, 87, 286, 35, - /* 920 */ 90, 258, 258, 291, 87, 293, 0, 90, 22, 84, - /* 930 */ 166, 308, 269, 269, 216, 204, 205, 206, 207, 208, - /* 940 */ 209, 210, 211, 212, 213, 0, 43, 250, 22, 286, - /* 950 */ 286, 319, 192, 259, 322, 323, 324, 325, 326, 327, - /* 960 */ 60, 329, 87, 258, 332, 90, 1, 2, 336, 337, - /* 970 */ 338, 348, 315, 87, 269, 278, 90, 43, 188, 347, - /* 980 */ 355, 276, 43, 286, 56, 362, 43, 84, 291, 366, - /* 990 */ 293, 286, 92, 96, 97, 98, 99, 100, 101, 102, - /* 1000 */ 103, 104, 105, 106, 258, 108, 109, 110, 111, 112, - /* 1010 */ 113, 119, 120, 85, 258, 269, 319, 258, 84, 322, - /* 1020 */ 323, 324, 325, 326, 327, 269, 329, 84, 269, 332, - /* 1030 */ 278, 43, 286, 336, 337, 338, 43, 43, 43, 83, - /* 1040 */ 95, 43, 286, 258, 347, 286, 146, 258, 250, 93, - /* 1050 */ 166, 4, 43, 0, 269, 43, 43, 35, 269, 114, - /* 1060 */ 115, 116, 117, 118, 259, 257, 19, 290, 321, 169, - /* 1070 */ 346, 286, 84, 43, 363, 286, 278, 84, 84, 84, - /* 1080 */ 33, 218, 84, 363, 286, 363, 349, 258, 66, 291, - /* 1090 */ 250, 293, 317, 84, 47, 20, 84, 84, 51, 235, - /* 1100 */ 43, 48, 43, 56, 204, 205, 206, 207, 208, 209, - /* 1110 */ 210, 211, 212, 213, 84, 286, 43, 319, 278, 258, - /* 1120 */ 322, 323, 324, 325, 326, 327, 286, 329, 47, 82, - /* 1130 */ 332, 291, 85, 293, 336, 337, 338, 308, 316, 35, - /* 1140 */ 264, 84, 162, 84, 310, 347, 258, 42, 308, 258, - /* 1150 */ 146, 250, 298, 296, 296, 326, 258, 84, 20, 319, - /* 1160 */ 258, 252, 322, 323, 324, 325, 326, 327, 258, 329, - /* 1170 */ 341, 342, 343, 252, 345, 20, 237, 348, 262, 278, - /* 1180 */ 314, 262, 20, 293, 307, 20, 262, 286, 348, 309, - /* 1190 */ 307, 362, 291, 262, 293, 366, 286, 20, 299, 262, - /* 1200 */ 262, 252, 362, 262, 258, 250, 366, 278, 278, 308, - /* 1210 */ 278, 278, 252, 278, 278, 172, 258, 313, 308, 314, - /* 1220 */ 319, 260, 278, 322, 323, 324, 325, 326, 327, 278, - /* 1230 */ 329, 278, 278, 278, 260, 278, 326, 258, 291, 258, - /* 1240 */ 20, 286, 260, 293, 321, 224, 291, 250, 293, 348, - /* 1250 */ 291, 341, 342, 343, 223, 345, 230, 291, 348, 307, - /* 1260 */ 291, 354, 354, 362, 302, 302, 291, 366, 357, 155, - /* 1270 */ 250, 356, 362, 232, 319, 278, 366, 322, 323, 324, - /* 1280 */ 325, 326, 327, 286, 329, 231, 219, 332, 291, 317, - /* 1290 */ 293, 336, 337, 215, 354, 353, 286, 20, 278, 42, - /* 1300 */ 352, 236, 234, 320, 83, 239, 286, 339, 302, 291, - /* 1310 */ 291, 291, 148, 293, 291, 351, 319, 302, 291, 322, - /* 1320 */ 323, 324, 325, 326, 327, 335, 329, 250, 291, 332, - /* 1330 */ 291, 286, 365, 336, 337, 364, 300, 299, 365, 319, - /* 1340 */ 370, 364, 322, 323, 324, 325, 326, 327, 364, 329, - /* 1350 */ 365, 260, 332, 274, 260, 278, 286, 337, 83, 258, - /* 1360 */ 291, 268, 282, 286, 36, 253, 260, 252, 291, 250, - /* 1370 */ 293, 311, 272, 248, 272, 272, 0, 306, 261, 0, - /* 1380 */ 42, 250, 305, 0, 74, 0, 35, 182, 35, 35, - /* 1390 */ 35, 182, 0, 35, 35, 182, 319, 278, 0, 322, - /* 1400 */ 323, 324, 325, 326, 327, 286, 329, 182, 0, 278, - /* 1410 */ 291, 22, 293, 35, 0, 0, 35, 286, 0, 83, - /* 1420 */ 169, 168, 291, 0, 293, 166, 164, 0, 160, 159, - /* 1430 */ 0, 0, 46, 0, 0, 0, 143, 0, 319, 0, - /* 1440 */ 0, 322, 323, 324, 325, 326, 327, 0, 329, 0, - /* 1450 */ 319, 138, 35, 322, 323, 324, 325, 326, 327, 0, - /* 1460 */ 329, 138, 0, 0, 0, 0, 0, 0, 0, 0, - /* 1470 */ 0, 0, 0, 0, 250, 22, 0, 0, 42, 0, - /* 1480 */ 361, 0, 0, 0, 0, 0, 0, 0, 0, 0, - /* 1490 */ 0, 0, 250, 0, 56, 39, 42, 46, 43, 368, - /* 1500 */ 0, 0, 278, 46, 0, 0, 14, 155, 14, 0, - /* 1510 */ 286, 0, 0, 61, 40, 291, 0, 293, 0, 39, - /* 1520 */ 278, 0, 0, 0, 0, 47, 0, 0, 286, 305, - /* 1530 */ 35, 35, 0, 291, 250, 293, 39, 39, 39, 0, - /* 1540 */ 92, 35, 39, 319, 151, 35, 322, 323, 324, 325, - /* 1550 */ 326, 327, 22, 329, 47, 47, 39, 250, 43, 0, - /* 1560 */ 47, 319, 278, 35, 322, 323, 324, 325, 326, 327, - /* 1570 */ 286, 329, 35, 331, 43, 291, 35, 293, 35, 35, - /* 1580 */ 22, 35, 35, 35, 0, 278, 22, 49, 0, 305, - /* 1590 */ 35, 22, 90, 286, 0, 35, 0, 35, 291, 0, - /* 1600 */ 293, 33, 22, 319, 0, 20, 322, 323, 324, 325, - /* 1610 */ 326, 327, 305, 329, 35, 47, 0, 22, 0, 250, - /* 1620 */ 52, 53, 54, 55, 56, 0, 319, 0, 170, 322, - /* 1630 */ 323, 324, 325, 326, 327, 0, 329, 0, 84, 220, - /* 1640 */ 43, 43, 220, 43, 83, 43, 83, 278, 43, 84, - /* 1650 */ 82, 84, 46, 85, 84, 286, 83, 83, 83, 83, - /* 1660 */ 291, 250, 293, 46, 214, 151, 84, 148, 46, 43, - /* 1670 */ 84, 151, 43, 84, 46, 84, 35, 35, 153, 35, - /* 1680 */ 220, 35, 35, 35, 2, 84, 43, 84, 319, 278, - /* 1690 */ 83, 322, 323, 324, 325, 326, 327, 286, 329, 46, - /* 1700 */ 46, 22, 291, 83, 293, 84, 83, 83, 0, 0, - /* 1710 */ 39, 250, 93, 147, 84, 147, 148, 83, 150, 83, - /* 1720 */ 46, 188, 154, 83, 190, 250, 149, 46, 83, 22, - /* 1730 */ 319, 35, 83, 322, 323, 324, 325, 326, 327, 278, - /* 1740 */ 329, 173, 84, 83, 83, 94, 84, 286, 35, 83, - /* 1750 */ 35, 84, 291, 278, 293, 83, 35, 84, 83, 35, - /* 1760 */ 84, 286, 84, 83, 35, 22, 291, 83, 293, 83, - /* 1770 */ 107, 107, 107, 83, 35, 107, 43, 83, 95, 250, - /* 1780 */ 319, 22, 60, 322, 323, 324, 325, 326, 327, 61, - /* 1790 */ 329, 35, 66, 43, 319, 81, 35, 322, 323, 324, - /* 1800 */ 325, 326, 327, 35, 329, 35, 35, 278, 35, 22, - /* 1810 */ 35, 35, 66, 35, 35, 286, 35, 35, 35, 35, - /* 1820 */ 291, 250, 293, 35, 0, 35, 0, 47, 39, 35, - /* 1830 */ 39, 0, 47, 35, 39, 0, 35, 0, 39, 47, - /* 1840 */ 250, 35, 35, 47, 0, 22, 21, 20, 319, 278, - /* 1850 */ 22, 322, 323, 324, 325, 326, 327, 286, 329, 371, - /* 1860 */ 22, 21, 291, 250, 293, 371, 371, 371, 278, 371, - /* 1870 */ 371, 371, 371, 371, 371, 371, 286, 371, 371, 371, - /* 1880 */ 371, 291, 250, 293, 371, 371, 371, 371, 371, 371, - /* 1890 */ 319, 278, 371, 322, 323, 324, 325, 326, 327, 286, - /* 1900 */ 329, 371, 371, 371, 291, 371, 293, 371, 371, 319, - /* 1910 */ 278, 371, 322, 323, 324, 325, 326, 327, 286, 329, - /* 1920 */ 371, 371, 371, 291, 371, 293, 371, 371, 371, 371, - /* 1930 */ 371, 371, 319, 371, 371, 322, 323, 324, 325, 326, - /* 1940 */ 327, 371, 329, 250, 371, 371, 371, 371, 371, 371, - /* 1950 */ 371, 319, 371, 371, 322, 323, 324, 325, 326, 327, - /* 1960 */ 371, 329, 250, 371, 371, 371, 371, 371, 371, 371, - /* 1970 */ 371, 278, 371, 371, 371, 371, 371, 371, 371, 286, - /* 1980 */ 371, 371, 371, 371, 291, 250, 293, 371, 371, 371, - /* 1990 */ 278, 371, 371, 371, 371, 371, 371, 371, 286, 371, - /* 2000 */ 371, 371, 371, 291, 250, 293, 371, 371, 371, 371, - /* 2010 */ 371, 371, 319, 278, 371, 322, 323, 324, 325, 326, - /* 2020 */ 327, 286, 329, 371, 371, 371, 291, 371, 293, 371, - /* 2030 */ 371, 319, 278, 371, 322, 323, 324, 325, 326, 327, - /* 2040 */ 286, 329, 371, 371, 371, 291, 371, 293, 371, 371, - /* 2050 */ 371, 371, 371, 371, 319, 371, 371, 322, 323, 324, - /* 2060 */ 325, 326, 327, 371, 329, 371, 250, 371, 371, 371, - /* 2070 */ 371, 371, 371, 319, 371, 371, 322, 323, 324, 325, - /* 2080 */ 326, 327, 371, 329, 371, 371, 371, 371, 371, 371, - /* 2090 */ 371, 250, 371, 371, 278, 371, 371, 371, 371, 371, - /* 2100 */ 371, 371, 286, 371, 371, 371, 371, 291, 250, 293, - /* 2110 */ 371, 371, 371, 371, 371, 371, 371, 371, 371, 278, - /* 2120 */ 371, 371, 371, 371, 371, 371, 371, 286, 371, 371, - /* 2130 */ 371, 371, 291, 250, 293, 319, 278, 371, 322, 323, - /* 2140 */ 324, 325, 326, 327, 286, 329, 371, 371, 371, 291, - /* 2150 */ 250, 293, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2160 */ 319, 278, 371, 322, 323, 324, 325, 326, 327, 286, - /* 2170 */ 329, 371, 371, 371, 291, 371, 293, 319, 278, 371, - /* 2180 */ 322, 323, 324, 325, 326, 327, 286, 329, 371, 371, - /* 2190 */ 371, 291, 371, 293, 371, 371, 371, 371, 371, 371, - /* 2200 */ 371, 371, 319, 371, 371, 322, 323, 324, 325, 326, - /* 2210 */ 327, 371, 329, 250, 371, 371, 371, 371, 371, 319, - /* 2220 */ 371, 371, 322, 323, 324, 325, 326, 327, 371, 329, - /* 2230 */ 250, 371, 371, 371, 371, 371, 371, 12, 13, 371, - /* 2240 */ 371, 278, 371, 371, 371, 371, 371, 22, 371, 286, - /* 2250 */ 371, 371, 371, 371, 291, 371, 293, 371, 278, 371, - /* 2260 */ 35, 371, 371, 371, 371, 371, 286, 371, 371, 371, - /* 2270 */ 371, 291, 371, 293, 371, 371, 371, 371, 371, 371, - /* 2280 */ 371, 371, 319, 371, 371, 322, 323, 324, 325, 326, - /* 2290 */ 327, 66, 329, 371, 371, 371, 371, 371, 371, 319, - /* 2300 */ 371, 371, 322, 323, 324, 325, 326, 327, 371, 329, - /* 2310 */ 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2320 */ 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2330 */ 105, 371, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2340 */ 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2350 */ 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2360 */ 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2370 */ 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2380 */ 371, 371, 371, 371, 371, 371, 371, 371, 371, 164, - /* 2390 */ 371, 166, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2400 */ 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2410 */ 371, 371, 371, 188, 371, 371, 371, 371, 371, 371, - /* 2420 */ 371, 371, 371, 371, 199, 200, 201, 371, 371, 371, - /* 2430 */ 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2440 */ 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2450 */ 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2460 */ 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2470 */ 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, - /* 2480 */ 371, 371, 371, 371, 371, -======= -#define YY_ACTTAB_COUNT (2471) -static const YYACTIONTYPE yy_action[] = { - /* 0 */ 422, 1670, 423, 1475, 294, 1744, 1438, 430, 317, 423, - /* 10 */ 1475, 1563, 39, 37, 1505, 338, 1741, 69, 1619, 1621, - /* 20 */ 326, 1441, 1238, 1744, 1900, 1565, 334, 525, 373, 379, - /* 30 */ 115, 1674, 1775, 1313, 1741, 1236, 1741, 1899, 1552, 1569, - /* 40 */ 518, 1897, 101, 1737, 1743, 100, 99, 98, 97, 96, - /* 50 */ 95, 94, 93, 92, 570, 119, 1308, 987, 1757, 14, - /* 60 */ 61, 1737, 1743, 1737, 1743, 1244, 297, 343, 1900, 39, - /* 70 */ 37, 1376, 570, 439, 570, 474, 473, 326, 517, 1238, - /* 80 */ 472, 157, 1, 116, 469, 1897, 1775, 468, 467, 466, - /* 90 */ 1313, 1004, 1236, 1003, 528, 117, 439, 991, 992, 1727, - /* 100 */ 479, 548, 1380, 310, 649, 566, 458, 1900, 1262, 527, - /* 110 */ 153, 1842, 1843, 1308, 1847, 489, 14, 552, 1315, 1316, - /* 120 */ 157, 1005, 1244, 1550, 1897, 329, 412, 1788, 1671, 202, - /* 130 */ 88, 1758, 551, 1760, 1761, 547, 60, 570, 60, 2, - /* 140 */ 1834, 525, 210, 482, 319, 1830, 152, 476, 30, 240, - /* 150 */ 652, 311, 201, 309, 308, 140, 462, 1452, 156, 421, - /* 160 */ 464, 649, 425, 1239, 262, 1237, 1860, 43, 60, 119, - /* 170 */ 73, 330, 171, 170, 566, 1315, 1316, 55, 149, 138, - /* 180 */ 54, 604, 463, 642, 638, 634, 630, 260, 1576, 1242, - /* 190 */ 1243, 519, 1291, 1292, 1294, 1295, 1296, 1297, 1298, 544, - /* 200 */ 568, 1306, 1307, 1309, 1310, 1311, 1312, 1314, 1317, 117, - /* 210 */ 1263, 1669, 85, 1323, 294, 254, 372, 167, 371, 1262, - /* 220 */ 1239, 160, 1237, 427, 154, 1842, 1843, 1900, 1847, 1260, - /* 230 */ 1745, 33, 32, 504, 1263, 40, 38, 36, 35, 34, - /* 240 */ 158, 1741, 67, 525, 1897, 66, 1242, 1243, 563, 1291, - /* 250 */ 1292, 1294, 1295, 1296, 1297, 1298, 544, 568, 1306, 1307, - /* 260 */ 1309, 1310, 1311, 1312, 1314, 1317, 39, 37, 1737, 1743, - /* 270 */ 488, 119, 490, 1900, 326, 160, 1238, 160, 69, 570, - /* 280 */ 212, 1293, 300, 486, 60, 484, 157, 1313, 101, 1236, - /* 290 */ 1897, 100, 99, 98, 97, 96, 95, 94, 93, 92, - /* 300 */ 1570, 1211, 151, 205, 1900, 552, 1276, 160, 1136, 1137, - /* 310 */ 1308, 117, 1900, 14, 1335, 1613, 1672, 1898, 1262, 1244, - /* 320 */ 602, 1897, 566, 39, 37, 157, 155, 1842, 1843, 1897, - /* 330 */ 1847, 326, 604, 1238, 1502, 1004, 2, 1003, 1261, 129, - /* 340 */ 128, 599, 598, 597, 1313, 78, 1236, 1094, 593, 592, - /* 350 */ 591, 1098, 590, 1100, 1101, 589, 1103, 586, 649, 1109, - /* 360 */ 583, 1111, 1112, 580, 577, 1005, 1567, 1308, 1336, 36, - /* 370 */ 35, 34, 1315, 1316, 1664, 1463, 1244, 40, 38, 36, - /* 380 */ 35, 34, 33, 32, 42, 169, 40, 38, 36, 35, - /* 390 */ 34, 1341, 1293, 8, 541, 626, 625, 624, 341, 596, - /* 400 */ 623, 622, 621, 121, 616, 615, 614, 613, 612, 611, - /* 410 */ 610, 609, 131, 605, 141, 649, 1727, 1239, 1531, 1237, - /* 420 */ 33, 32, 1397, 160, 40, 38, 36, 35, 34, 1315, - /* 430 */ 1316, 1551, 29, 324, 1330, 1331, 1332, 1333, 1334, 1338, - /* 440 */ 1339, 1340, 600, 1242, 1243, 1617, 1291, 1292, 1294, 1295, - /* 450 */ 1296, 1297, 1298, 544, 568, 1306, 1307, 1309, 1310, 1311, - /* 460 */ 1312, 1314, 1317, 511, 1395, 1396, 1398, 1399, 1056, 567, - /* 470 */ 474, 473, 138, 1337, 1239, 472, 1237, 1264, 116, 469, - /* 480 */ 111, 1577, 468, 467, 466, 33, 32, 460, 1244, 40, - /* 490 */ 38, 36, 35, 34, 607, 1407, 1342, 1574, 1058, 1462, - /* 500 */ 1242, 1243, 203, 1291, 1292, 1294, 1295, 1296, 1297, 1298, - /* 510 */ 544, 568, 1306, 1307, 1309, 1310, 1311, 1312, 1314, 1317, - /* 520 */ 39, 37, 1318, 160, 1327, 602, 1620, 1621, 326, 1433, - /* 530 */ 1238, 567, 160, 471, 470, 189, 300, 27, 245, 246, - /* 540 */ 1727, 1313, 162, 1236, 129, 128, 599, 598, 597, 144, - /* 550 */ 1559, 525, 567, 1626, 456, 452, 448, 444, 188, 1574, - /* 560 */ 331, 71, 305, 111, 1308, 556, 1265, 336, 1335, 1624, - /* 570 */ 465, 11, 10, 1244, 339, 138, 497, 39, 37, 119, - /* 580 */ 1574, 1561, 138, 70, 1576, 326, 186, 1238, 33, 32, - /* 590 */ 9, 1576, 40, 38, 36, 35, 34, 84, 1313, 305, - /* 600 */ 1236, 529, 556, 1757, 567, 567, 464, 232, 1626, 1461, - /* 610 */ 120, 1460, 649, 1626, 567, 377, 378, 1432, 1566, 117, - /* 620 */ 337, 1308, 1336, 22, 1625, 382, 1315, 1316, 463, 1624, - /* 630 */ 1244, 1775, 1574, 1574, 230, 1842, 524, 1262, 523, 549, - /* 640 */ 1459, 1900, 1574, 364, 1727, 1341, 548, 9, 185, 178, - /* 650 */ 1727, 183, 1727, 1349, 159, 435, 33, 32, 1897, 514, - /* 660 */ 40, 38, 36, 35, 34, 366, 362, 429, 58, 649, - /* 670 */ 425, 1239, 1788, 1237, 176, 142, 1758, 551, 1760, 1761, - /* 680 */ 547, 1727, 570, 1315, 1316, 1549, 29, 324, 1330, 1331, - /* 690 */ 1332, 1333, 1334, 1338, 1339, 1340, 213, 1242, 1243, 1458, - /* 700 */ 1291, 1292, 1294, 1295, 1296, 1297, 1298, 544, 568, 1306, - /* 710 */ 1307, 1309, 1310, 1311, 1312, 1314, 1317, 1440, 267, 530, - /* 720 */ 1914, 1604, 567, 567, 567, 620, 618, 1557, 1239, 601, - /* 730 */ 1237, 1387, 1617, 397, 398, 438, 206, 520, 515, 1715, - /* 740 */ 1727, 110, 109, 108, 107, 106, 105, 104, 103, 102, - /* 750 */ 1574, 1574, 1574, 525, 1242, 1243, 543, 1291, 1292, 1294, - /* 760 */ 1295, 1296, 1297, 1298, 544, 568, 1306, 1307, 1309, 1310, - /* 770 */ 1311, 1312, 1314, 1317, 39, 37, 296, 1238, 1260, 602, - /* 780 */ 567, 119, 326, 567, 1238, 405, 352, 1457, 417, 1849, - /* 790 */ 1236, 1571, 1849, 595, 1703, 1313, 1373, 1236, 129, 128, - /* 800 */ 599, 598, 597, 529, 1456, 390, 567, 418, 1574, 392, - /* 810 */ 1293, 1574, 244, 1846, 991, 992, 1845, 498, 1308, 1453, - /* 820 */ 1244, 117, 567, 7, 1455, 1849, 1532, 1244, 1727, 1854, - /* 830 */ 1369, 1454, 194, 502, 1574, 192, 230, 1842, 524, 383, - /* 840 */ 523, 26, 235, 1900, 2, 1727, 533, 33, 32, 1844, - /* 850 */ 1574, 40, 38, 36, 35, 34, 157, 28, 512, 649, - /* 860 */ 1897, 44, 4, 33, 32, 1727, 649, 40, 38, 36, - /* 870 */ 35, 34, 1727, 457, 1219, 1220, 1451, 52, 501, 416, - /* 880 */ 1315, 1316, 411, 410, 409, 408, 407, 404, 403, 402, - /* 890 */ 401, 400, 396, 395, 394, 393, 387, 386, 385, 384, - /* 900 */ 1492, 381, 380, 531, 196, 567, 1450, 195, 567, 139, - /* 910 */ 536, 608, 1449, 1546, 273, 491, 564, 1727, 1239, 565, - /* 920 */ 1237, 198, 475, 200, 197, 1239, 199, 1237, 271, 57, - /* 930 */ 11, 10, 56, 1574, 33, 32, 1574, 1448, 40, 38, - /* 940 */ 36, 35, 34, 1757, 1242, 1243, 1447, 1727, 172, 1446, - /* 950 */ 1445, 1242, 1243, 1727, 1291, 1292, 1294, 1295, 1296, 1297, - /* 960 */ 1298, 544, 568, 1306, 1307, 1309, 1310, 1311, 1312, 1314, - /* 970 */ 1317, 1775, 567, 60, 567, 1435, 1436, 209, 1727, 549, - /* 980 */ 1444, 1487, 224, 256, 1727, 340, 548, 1727, 33, 32, - /* 990 */ 1727, 1727, 40, 38, 36, 35, 34, 1443, 1776, 619, - /* 1000 */ 1574, 529, 1574, 477, 1369, 72, 1747, 1247, 1246, 1276, - /* 1010 */ 50, 86, 1788, 217, 1372, 87, 1758, 551, 1760, 1761, - /* 1020 */ 547, 1727, 570, 1485, 1757, 1834, 1476, 33, 32, 299, - /* 1030 */ 1830, 40, 38, 36, 35, 34, 1481, 342, 1727, 367, - /* 1040 */ 1614, 1900, 1749, 534, 1757, 480, 64, 63, 376, 41, - /* 1050 */ 1394, 166, 1775, 219, 159, 41, 83, 370, 1897, 1864, - /* 1060 */ 549, 1028, 229, 526, 41, 1727, 80, 548, 242, 234, - /* 1070 */ 295, 237, 1775, 360, 123, 358, 354, 350, 163, 345, - /* 1080 */ 528, 239, 529, 3, 644, 1727, 5, 548, 126, 1343, - /* 1090 */ 344, 1029, 1260, 1788, 127, 1299, 87, 1758, 551, 1760, - /* 1100 */ 1761, 547, 50, 570, 1187, 347, 1834, 351, 247, 537, - /* 1110 */ 299, 1830, 160, 1788, 559, 306, 88, 1758, 551, 1760, - /* 1120 */ 1761, 547, 1900, 570, 1056, 307, 1834, 1203, 253, 263, - /* 1130 */ 319, 1830, 152, 575, 1087, 157, 1757, 1250, 1249, 1897, - /* 1140 */ 126, 127, 266, 112, 126, 399, 1666, 168, 406, 414, - /* 1150 */ 413, 415, 1861, 419, 1266, 420, 428, 1269, 432, 431, - /* 1160 */ 175, 177, 1268, 433, 1775, 1270, 434, 1267, 180, 137, - /* 1170 */ 436, 182, 549, 1115, 437, 184, 68, 1727, 440, 548, - /* 1180 */ 1119, 1126, 459, 1124, 130, 187, 461, 91, 1564, 191, - /* 1190 */ 1560, 298, 1708, 193, 132, 133, 1562, 1558, 264, 1757, - /* 1200 */ 134, 204, 135, 492, 493, 1788, 207, 316, 88, 1758, - /* 1210 */ 551, 1760, 1761, 547, 496, 570, 499, 503, 1834, 1265, - /* 1220 */ 211, 513, 319, 1830, 1913, 1875, 1757, 1775, 1865, 508, - /* 1230 */ 555, 510, 1874, 1868, 215, 549, 333, 332, 218, 318, - /* 1240 */ 1727, 516, 548, 6, 509, 522, 1252, 1856, 223, 507, - /* 1250 */ 228, 146, 506, 1369, 1775, 225, 118, 1313, 1264, 1245, - /* 1260 */ 320, 538, 549, 1850, 18, 124, 535, 1727, 1788, 548, - /* 1270 */ 125, 88, 1758, 551, 1760, 1761, 547, 226, 570, 227, - /* 1280 */ 1308, 1834, 553, 554, 1707, 319, 1830, 1913, 1815, 1244, - /* 1290 */ 1676, 1896, 557, 328, 561, 1788, 1891, 1757, 88, 1758, - /* 1300 */ 551, 1760, 1761, 547, 1916, 570, 532, 233, 1834, 539, - /* 1310 */ 236, 560, 319, 1830, 1913, 238, 265, 251, 562, 77, - /* 1320 */ 249, 1575, 79, 1853, 268, 1775, 573, 259, 571, 1547, - /* 1330 */ 1618, 645, 646, 549, 648, 145, 270, 272, 1727, 1721, - /* 1340 */ 548, 289, 291, 290, 1720, 62, 1719, 346, 1716, 348, - /* 1350 */ 349, 51, 1231, 1232, 164, 529, 353, 1714, 355, 356, - /* 1360 */ 357, 1713, 1757, 359, 1712, 361, 1788, 1711, 1710, 280, - /* 1370 */ 1758, 551, 1760, 1761, 547, 363, 570, 365, 1693, 165, - /* 1380 */ 368, 369, 1206, 1205, 1687, 1686, 374, 1253, 375, 1248, - /* 1390 */ 1775, 1685, 1684, 1175, 1659, 1900, 1658, 1657, 549, 65, - /* 1400 */ 1656, 1655, 1654, 1727, 1653, 548, 1652, 388, 159, 389, - /* 1410 */ 1651, 1650, 1897, 1256, 391, 1649, 1648, 1647, 1646, 1645, - /* 1420 */ 529, 1644, 1643, 1642, 568, 1306, 1307, 1309, 1310, 1311, - /* 1430 */ 1312, 1788, 1641, 1757, 280, 1758, 551, 1760, 1761, 547, - /* 1440 */ 1640, 570, 1639, 1638, 1637, 122, 1636, 1635, 1634, 1633, - /* 1450 */ 1632, 1631, 1177, 1630, 1629, 1757, 173, 49, 424, 113, - /* 1460 */ 1900, 1775, 1628, 1627, 1504, 1472, 994, 150, 1471, 549, - /* 1470 */ 114, 993, 426, 157, 1727, 174, 548, 1897, 1701, 1695, - /* 1480 */ 1683, 181, 1682, 1775, 179, 1668, 1553, 1022, 1503, 1501, - /* 1490 */ 441, 549, 1499, 1497, 445, 1495, 1727, 1484, 548, 443, - /* 1500 */ 447, 1483, 1788, 1468, 449, 89, 1758, 551, 1760, 1761, - /* 1510 */ 547, 451, 570, 442, 446, 1834, 453, 450, 1757, 1833, - /* 1520 */ 1830, 454, 455, 1555, 1788, 190, 1130, 89, 1758, 551, - /* 1530 */ 1760, 1761, 547, 1129, 570, 1554, 1757, 1834, 1493, 1055, - /* 1540 */ 1054, 540, 1830, 1053, 1052, 617, 1775, 1049, 1048, 619, - /* 1550 */ 1047, 312, 1488, 313, 546, 1486, 478, 481, 314, 1727, - /* 1560 */ 1467, 548, 483, 1466, 1775, 485, 1465, 487, 90, 1700, - /* 1570 */ 1694, 494, 549, 1681, 1213, 53, 136, 1727, 495, 548, - /* 1580 */ 208, 1679, 1680, 1678, 315, 1677, 41, 1788, 15, 1757, - /* 1590 */ 287, 1758, 551, 1760, 1761, 547, 545, 570, 542, 1806, - /* 1600 */ 23, 47, 221, 1409, 216, 1788, 214, 143, 89, 1758, - /* 1610 */ 551, 1760, 1761, 547, 220, 570, 1393, 1775, 1834, 24, - /* 1620 */ 222, 1747, 74, 1831, 1386, 549, 231, 500, 45, 25, - /* 1630 */ 1727, 46, 548, 16, 1366, 147, 1365, 1426, 17, 1415, - /* 1640 */ 1421, 1420, 321, 1757, 505, 10, 1425, 1424, 322, 148, - /* 1650 */ 1301, 19, 1284, 31, 1757, 1300, 1675, 1667, 1788, 12, - /* 1660 */ 1328, 288, 1758, 551, 1760, 1761, 547, 161, 570, 20, - /* 1670 */ 250, 1775, 21, 1746, 241, 550, 1391, 1223, 243, 549, - /* 1680 */ 248, 255, 1775, 13, 1727, 1303, 548, 1254, 574, 80, - /* 1690 */ 549, 75, 558, 252, 572, 1727, 76, 548, 1791, 569, - /* 1700 */ 48, 1093, 1116, 335, 576, 578, 1113, 579, 581, 1110, - /* 1710 */ 582, 1757, 1788, 584, 585, 283, 1758, 551, 1760, 1761, - /* 1720 */ 547, 1104, 570, 1788, 1102, 587, 142, 1758, 551, 1760, - /* 1730 */ 1761, 547, 1757, 570, 588, 1108, 594, 81, 1125, 1775, - /* 1740 */ 1107, 82, 1106, 1105, 59, 257, 1121, 549, 1020, 1044, - /* 1750 */ 1062, 603, 1727, 521, 548, 606, 258, 1042, 1041, 1037, - /* 1760 */ 1775, 1040, 1039, 1038, 1036, 1035, 323, 1057, 546, 1059, - /* 1770 */ 1032, 1915, 1500, 1727, 1757, 548, 1031, 1030, 1027, 1026, - /* 1780 */ 1788, 1025, 627, 288, 1758, 551, 1760, 1761, 547, 629, - /* 1790 */ 570, 1498, 628, 631, 633, 632, 1496, 1757, 635, 636, - /* 1800 */ 637, 1788, 1775, 1494, 287, 1758, 551, 1760, 1761, 547, - /* 1810 */ 549, 570, 639, 1807, 640, 1727, 1482, 548, 641, 643, - /* 1820 */ 984, 1464, 261, 647, 1439, 1775, 1240, 269, 650, 325, - /* 1830 */ 651, 1439, 1439, 549, 1439, 1439, 1439, 1439, 1727, 1439, - /* 1840 */ 548, 1439, 1439, 1788, 1439, 1439, 288, 1758, 551, 1760, - /* 1850 */ 1761, 547, 327, 570, 1757, 1439, 1439, 1439, 1439, 1439, - /* 1860 */ 1439, 1439, 1439, 1439, 1439, 1757, 1788, 1439, 1439, 288, - /* 1870 */ 1758, 551, 1760, 1761, 547, 1439, 570, 1439, 1439, 1757, - /* 1880 */ 1439, 1439, 1775, 1439, 1439, 1439, 1439, 1439, 1439, 1439, - /* 1890 */ 549, 1439, 1439, 1775, 1439, 1727, 1439, 548, 1439, 1439, - /* 1900 */ 1439, 549, 1439, 1439, 1439, 1439, 1727, 1775, 548, 1439, - /* 1910 */ 1439, 1439, 1439, 1439, 1439, 549, 1439, 1439, 1439, 1439, - /* 1920 */ 1727, 1757, 548, 1788, 1439, 1439, 274, 1758, 551, 1760, - /* 1930 */ 1761, 547, 1439, 570, 1788, 1757, 1439, 275, 1758, 551, - /* 1940 */ 1760, 1761, 547, 1439, 570, 1439, 1757, 1439, 1788, 1775, - /* 1950 */ 1439, 276, 1758, 551, 1760, 1761, 547, 549, 570, 1439, - /* 1960 */ 1439, 1439, 1727, 1775, 548, 1439, 1439, 1439, 1439, 1439, - /* 1970 */ 1439, 549, 1439, 1439, 1775, 1439, 1727, 1439, 548, 1439, - /* 1980 */ 1439, 1439, 549, 1439, 1439, 1439, 1439, 1727, 1757, 548, - /* 1990 */ 1788, 1439, 1439, 282, 1758, 551, 1760, 1761, 547, 1439, - /* 2000 */ 570, 1439, 1439, 1439, 1788, 1439, 1439, 284, 1758, 551, - /* 2010 */ 1760, 1761, 547, 1439, 570, 1788, 1775, 1439, 277, 1758, - /* 2020 */ 551, 1760, 1761, 547, 549, 570, 1439, 1439, 1439, 1727, - /* 2030 */ 1757, 548, 1439, 1439, 1439, 1439, 1439, 1439, 1439, 1439, - /* 2040 */ 1439, 1757, 1439, 1439, 1439, 1439, 1439, 1439, 1439, 1439, - /* 2050 */ 1439, 1439, 1439, 1757, 1439, 1439, 1439, 1788, 1775, 1439, - /* 2060 */ 285, 1758, 551, 1760, 1761, 547, 549, 570, 1439, 1775, - /* 2070 */ 1439, 1727, 1439, 548, 1439, 1439, 1439, 549, 1439, 1439, - /* 2080 */ 1439, 1775, 1727, 1439, 548, 1439, 1439, 1439, 1439, 549, - /* 2090 */ 1439, 1439, 1439, 1439, 1727, 1439, 548, 1439, 1439, 1788, - /* 2100 */ 1439, 1439, 278, 1758, 551, 1760, 1761, 547, 1757, 570, - /* 2110 */ 1788, 1439, 1439, 286, 1758, 551, 1760, 1761, 547, 1439, - /* 2120 */ 570, 1439, 1788, 1439, 1439, 279, 1758, 551, 1760, 1761, - /* 2130 */ 547, 1439, 570, 1439, 1439, 1757, 1775, 1439, 1439, 1439, - /* 2140 */ 1439, 1439, 1439, 1439, 549, 1439, 1439, 1439, 1439, 1727, - /* 2150 */ 1439, 548, 1439, 1439, 1439, 1439, 1439, 1439, 1439, 1439, - /* 2160 */ 1439, 1439, 1757, 1775, 1439, 1439, 1439, 1439, 1439, 1439, - /* 2170 */ 1439, 549, 1439, 1439, 1439, 1439, 1727, 1788, 548, 1439, - /* 2180 */ 292, 1758, 551, 1760, 1761, 547, 1439, 570, 1439, 1757, - /* 2190 */ 1775, 1439, 1439, 1439, 1439, 1439, 1439, 1439, 549, 1439, - /* 2200 */ 1439, 1439, 1439, 1727, 1788, 548, 1439, 293, 1758, 551, - /* 2210 */ 1760, 1761, 547, 1439, 570, 1439, 1439, 1775, 1439, 1439, - /* 2220 */ 1439, 1439, 1439, 1439, 1439, 549, 1439, 1439, 1439, 1439, - /* 2230 */ 1727, 1788, 548, 1439, 1769, 1758, 551, 1760, 1761, 547, - /* 2240 */ 1439, 570, 1439, 1757, 1439, 1439, 1439, 1439, 1439, 1439, - /* 2250 */ 1439, 1439, 1757, 1439, 1439, 1439, 1439, 1439, 1788, 1439, - /* 2260 */ 1439, 1768, 1758, 551, 1760, 1761, 547, 1439, 570, 1439, - /* 2270 */ 1757, 1775, 1439, 1439, 1439, 1439, 1439, 1439, 1439, 549, - /* 2280 */ 1775, 1439, 1439, 1439, 1727, 1439, 548, 1439, 549, 1439, - /* 2290 */ 1439, 1439, 1439, 1727, 1439, 548, 1439, 1439, 1775, 1439, - /* 2300 */ 1439, 1439, 1439, 1439, 1439, 1439, 549, 1439, 1439, 1439, - /* 2310 */ 1439, 1727, 1788, 548, 1439, 1767, 1758, 551, 1760, 1761, - /* 2320 */ 547, 1788, 570, 1757, 303, 1758, 551, 1760, 1761, 547, - /* 2330 */ 1439, 570, 1439, 1439, 1439, 1439, 1439, 1757, 1439, 1788, - /* 2340 */ 1439, 1439, 302, 1758, 551, 1760, 1761, 547, 1439, 570, - /* 2350 */ 1439, 1775, 1439, 1439, 1439, 1439, 1439, 1439, 1439, 549, - /* 2360 */ 1439, 1439, 1439, 1439, 1727, 1775, 548, 1439, 1439, 1439, - /* 2370 */ 1439, 1439, 1439, 549, 1439, 1439, 1439, 1439, 1727, 1439, - /* 2380 */ 548, 1439, 1439, 1439, 1439, 1439, 1439, 1439, 1439, 1439, - /* 2390 */ 1439, 1757, 1788, 1439, 1439, 304, 1758, 551, 1760, 1761, - /* 2400 */ 547, 1439, 570, 1439, 1439, 1439, 1788, 1439, 1439, 301, - /* 2410 */ 1758, 551, 1760, 1761, 547, 1439, 570, 1439, 1439, 1775, - /* 2420 */ 1439, 1439, 1439, 1439, 1439, 1439, 1439, 549, 1439, 1439, - /* 2430 */ 1439, 1439, 1727, 1439, 548, 1439, 1439, 1439, 1439, 1439, - /* 2440 */ 1439, 1439, 1439, 1439, 1439, 1439, 1439, 1439, 1439, 1439, - /* 2450 */ 1439, 1439, 1439, 1439, 1439, 1439, 1439, 1439, 1439, 1439, - /* 2460 */ 1788, 1439, 1439, 281, 1758, 551, 1760, 1761, 547, 1439, - /* 2470 */ 570, -}; -static const YYCODETYPE yy_lookahead[] = { - /* 0 */ 259, 308, 261, 262, 311, 285, 252, 259, 288, 261, - /* 10 */ 262, 284, 12, 13, 0, 294, 296, 267, 297, 298, - /* 20 */ 20, 0, 22, 285, 353, 285, 288, 263, 313, 263, - /* 30 */ 280, 0, 283, 33, 296, 35, 296, 366, 0, 289, - /* 40 */ 291, 370, 21, 323, 324, 24, 25, 26, 27, 28, - /* 50 */ 29, 30, 31, 32, 334, 291, 56, 4, 255, 59, - /* 60 */ 4, 323, 324, 323, 324, 65, 300, 313, 353, 12, - /* 70 */ 13, 14, 334, 58, 334, 61, 62, 20, 329, 22, - /* 80 */ 66, 366, 82, 69, 70, 370, 283, 73, 74, 75, - /* 90 */ 33, 20, 35, 22, 291, 331, 58, 44, 45, 296, - /* 100 */ 4, 298, 14, 37, 104, 20, 35, 353, 20, 345, - /* 110 */ 346, 347, 348, 56, 350, 19, 59, 298, 118, 119, - /* 120 */ 366, 50, 65, 0, 370, 306, 76, 324, 309, 33, - /* 130 */ 327, 328, 329, 330, 331, 332, 82, 334, 82, 82, - /* 140 */ 337, 263, 56, 47, 341, 342, 343, 51, 338, 339, - /* 150 */ 19, 85, 56, 87, 88, 254, 90, 256, 355, 260, - /* 160 */ 94, 104, 263, 163, 33, 165, 363, 82, 82, 291, - /* 170 */ 84, 275, 122, 123, 20, 118, 119, 81, 47, 283, - /* 180 */ 84, 58, 116, 52, 53, 54, 55, 56, 292, 189, - /* 190 */ 190, 20, 192, 193, 194, 195, 196, 197, 198, 199, - /* 200 */ 200, 201, 202, 203, 204, 205, 206, 207, 208, 331, - /* 210 */ 20, 308, 81, 14, 311, 84, 162, 56, 164, 20, - /* 220 */ 163, 221, 165, 14, 346, 347, 348, 353, 350, 20, - /* 230 */ 285, 8, 9, 313, 20, 12, 13, 14, 15, 16, - /* 240 */ 366, 296, 81, 263, 370, 84, 189, 190, 117, 192, + /* 0 */ 260, 268, 262, 263, 260, 0, 262, 263, 286, 284, + /* 10 */ 286, 289, 12, 13, 281, 286, 299, 292, 289, 297, + /* 20 */ 20, 297, 22, 290, 307, 314, 297, 310, 12, 13, + /* 30 */ 14, 15, 16, 33, 21, 35, 285, 24, 25, 26, + /* 40 */ 27, 28, 29, 30, 31, 32, 324, 325, 324, 325, + /* 50 */ 298, 299, 256, 324, 325, 330, 56, 335, 4, 335, + /* 60 */ 60, 20, 283, 22, 335, 354, 66, 20, 4, 12, + /* 70 */ 13, 14, 0, 286, 21, 296, 35, 20, 367, 22, + /* 80 */ 284, 0, 371, 83, 297, 20, 264, 34, 292, 36, + /* 90 */ 33, 50, 35, 297, 266, 299, 24, 25, 26, 27, + /* 100 */ 28, 29, 30, 31, 32, 105, 56, 279, 44, 45, + /* 110 */ 314, 324, 325, 56, 292, 287, 20, 60, 59, 119, + /* 120 */ 120, 325, 335, 66, 328, 329, 330, 331, 332, 333, + /* 130 */ 83, 335, 314, 83, 338, 85, 354, 83, 342, 343, + /* 140 */ 83, 20, 295, 62, 63, 298, 299, 19, 67, 367, + /* 150 */ 354, 70, 71, 371, 332, 74, 75, 76, 264, 14, + /* 160 */ 3, 33, 105, 367, 164, 20, 166, 371, 346, 347, + /* 170 */ 348, 349, 354, 351, 314, 47, 119, 120, 0, 83, + /* 180 */ 52, 53, 54, 55, 56, 367, 292, 0, 253, 371, + /* 190 */ 190, 191, 149, 193, 194, 195, 196, 197, 198, 199, + /* 200 */ 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, + /* 210 */ 82, 8, 9, 85, 354, 12, 13, 14, 15, 16, + /* 220 */ 115, 164, 222, 166, 1, 2, 332, 367, 284, 339, + /* 230 */ 340, 371, 8, 9, 47, 291, 12, 13, 14, 15, + /* 240 */ 16, 347, 348, 349, 300, 351, 118, 190, 191, 314, /* 250 */ 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, - /* 260 */ 203, 204, 205, 206, 207, 208, 12, 13, 323, 324, - /* 270 */ 21, 291, 313, 353, 20, 221, 22, 221, 267, 334, - /* 280 */ 149, 193, 59, 34, 82, 36, 366, 33, 21, 35, - /* 290 */ 370, 24, 25, 26, 27, 28, 29, 30, 31, 32, - /* 300 */ 289, 170, 282, 172, 353, 298, 83, 221, 118, 119, - /* 310 */ 56, 331, 353, 59, 91, 295, 309, 366, 20, 65, - /* 320 */ 94, 370, 20, 12, 13, 366, 346, 347, 348, 370, - /* 330 */ 350, 20, 58, 22, 0, 20, 82, 22, 20, 113, - /* 340 */ 114, 115, 116, 117, 33, 265, 35, 95, 96, 97, - /* 350 */ 98, 99, 100, 101, 102, 103, 104, 105, 104, 107, - /* 360 */ 108, 109, 110, 111, 112, 50, 286, 56, 145, 14, - /* 370 */ 15, 16, 118, 119, 291, 255, 65, 12, 13, 14, - /* 380 */ 15, 16, 8, 9, 82, 302, 12, 13, 14, 15, - /* 390 */ 16, 168, 193, 82, 59, 61, 62, 63, 64, 93, - /* 400 */ 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, - /* 410 */ 76, 77, 78, 79, 268, 104, 296, 163, 272, 165, - /* 420 */ 8, 9, 189, 221, 12, 13, 14, 15, 16, 118, - /* 430 */ 119, 0, 209, 210, 211, 212, 213, 214, 215, 216, - /* 440 */ 217, 218, 293, 189, 190, 296, 192, 193, 194, 195, - /* 450 */ 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, - /* 460 */ 206, 207, 208, 230, 231, 232, 233, 234, 35, 263, - /* 470 */ 61, 62, 283, 145, 163, 66, 165, 20, 69, 70, - /* 480 */ 274, 292, 73, 74, 75, 8, 9, 281, 65, 12, - /* 490 */ 13, 14, 15, 16, 65, 83, 168, 291, 65, 255, - /* 500 */ 189, 190, 114, 192, 193, 194, 195, 196, 197, 198, - /* 510 */ 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, - /* 520 */ 12, 13, 14, 221, 189, 94, 297, 298, 20, 155, - /* 530 */ 22, 263, 221, 269, 270, 33, 59, 209, 113, 114, - /* 540 */ 296, 33, 274, 35, 113, 114, 115, 116, 117, 47, - /* 550 */ 284, 263, 263, 283, 52, 53, 54, 55, 56, 291, - /* 560 */ 290, 173, 174, 274, 56, 177, 20, 275, 91, 299, - /* 570 */ 281, 1, 2, 65, 275, 283, 317, 12, 13, 291, - /* 580 */ 291, 284, 283, 81, 292, 20, 84, 22, 8, 9, - /* 590 */ 82, 292, 12, 13, 14, 15, 16, 265, 33, 174, - /* 600 */ 35, 313, 177, 255, 263, 263, 94, 150, 283, 255, - /* 610 */ 278, 255, 104, 283, 263, 274, 274, 243, 286, 331, - /* 620 */ 290, 56, 145, 43, 299, 274, 118, 119, 116, 299, - /* 630 */ 65, 283, 291, 291, 346, 347, 348, 20, 350, 291, - /* 640 */ 255, 353, 291, 158, 296, 168, 298, 82, 146, 147, - /* 650 */ 296, 149, 296, 83, 366, 153, 8, 9, 370, 148, - /* 660 */ 12, 13, 14, 15, 16, 180, 181, 260, 3, 104, - /* 670 */ 263, 163, 324, 165, 172, 327, 328, 329, 330, 331, - /* 680 */ 332, 296, 334, 118, 119, 0, 209, 210, 211, 212, - /* 690 */ 213, 214, 215, 216, 217, 218, 150, 189, 190, 255, - /* 700 */ 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, - /* 710 */ 202, 203, 204, 205, 206, 207, 208, 0, 276, 371, - /* 720 */ 372, 279, 263, 263, 263, 269, 270, 284, 163, 293, - /* 730 */ 165, 83, 296, 274, 274, 274, 284, 226, 227, 0, - /* 740 */ 296, 24, 25, 26, 27, 28, 29, 30, 31, 32, - /* 750 */ 291, 291, 291, 263, 189, 190, 284, 192, 193, 194, - /* 760 */ 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, - /* 770 */ 205, 206, 207, 208, 12, 13, 18, 22, 20, 94, - /* 780 */ 263, 291, 20, 263, 22, 27, 47, 255, 30, 325, - /* 790 */ 35, 274, 325, 284, 274, 33, 4, 35, 113, 114, - /* 800 */ 115, 116, 117, 313, 255, 47, 263, 49, 291, 51, - /* 810 */ 193, 291, 113, 349, 44, 45, 349, 274, 56, 256, - /* 820 */ 65, 331, 263, 39, 255, 325, 272, 65, 296, 219, - /* 830 */ 220, 255, 86, 274, 291, 89, 346, 347, 348, 81, - /* 840 */ 350, 2, 373, 353, 82, 296, 43, 8, 9, 349, - /* 850 */ 291, 12, 13, 14, 15, 16, 366, 2, 364, 104, - /* 860 */ 370, 42, 43, 8, 9, 296, 104, 12, 13, 14, - /* 870 */ 15, 16, 296, 264, 175, 176, 255, 150, 151, 121, - /* 880 */ 118, 119, 124, 125, 126, 127, 128, 129, 130, 131, - /* 890 */ 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, - /* 900 */ 0, 143, 144, 238, 86, 263, 255, 89, 263, 18, - /* 910 */ 43, 271, 255, 273, 23, 320, 274, 296, 163, 274, - /* 920 */ 165, 86, 22, 86, 89, 163, 89, 165, 37, 38, - /* 930 */ 1, 2, 41, 291, 8, 9, 291, 255, 12, 13, - /* 940 */ 14, 15, 16, 255, 189, 190, 255, 296, 57, 255, - /* 950 */ 255, 189, 190, 296, 192, 193, 194, 195, 196, 197, - /* 960 */ 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, - /* 970 */ 208, 283, 263, 82, 263, 118, 119, 56, 296, 291, - /* 980 */ 255, 0, 360, 274, 296, 274, 298, 296, 8, 9, - /* 990 */ 296, 296, 12, 13, 14, 15, 16, 255, 283, 43, - /* 1000 */ 291, 313, 291, 22, 220, 84, 46, 35, 35, 83, - /* 1010 */ 43, 120, 324, 43, 222, 327, 328, 329, 330, 331, - /* 1020 */ 332, 296, 334, 0, 255, 337, 262, 8, 9, 341, - /* 1030 */ 342, 12, 13, 14, 15, 16, 0, 264, 296, 83, - /* 1040 */ 295, 353, 82, 240, 255, 22, 155, 156, 157, 43, - /* 1050 */ 83, 160, 283, 83, 366, 43, 82, 166, 370, 326, - /* 1060 */ 291, 35, 344, 351, 43, 296, 92, 298, 43, 367, - /* 1070 */ 179, 367, 283, 182, 43, 184, 185, 186, 187, 188, - /* 1080 */ 291, 367, 313, 354, 48, 296, 223, 298, 43, 83, - /* 1090 */ 322, 65, 20, 324, 43, 83, 327, 328, 329, 330, - /* 1100 */ 331, 332, 43, 334, 83, 263, 337, 47, 83, 242, - /* 1110 */ 341, 342, 221, 324, 83, 321, 327, 328, 329, 330, - /* 1120 */ 331, 332, 353, 334, 35, 269, 337, 161, 83, 315, - /* 1130 */ 341, 342, 343, 43, 83, 366, 255, 165, 165, 370, - /* 1140 */ 43, 43, 83, 43, 43, 263, 263, 42, 303, 145, - /* 1150 */ 301, 301, 363, 263, 20, 257, 257, 20, 298, 319, - /* 1160 */ 267, 267, 20, 312, 283, 20, 314, 20, 267, 150, - /* 1170 */ 312, 267, 291, 83, 304, 267, 267, 296, 263, 298, - /* 1180 */ 83, 83, 257, 83, 83, 267, 283, 263, 283, 283, - /* 1190 */ 283, 257, 296, 283, 283, 283, 283, 283, 319, 255, - /* 1200 */ 283, 265, 283, 171, 318, 324, 265, 312, 327, 328, - /* 1210 */ 329, 330, 331, 332, 298, 334, 263, 263, 337, 20, - /* 1220 */ 265, 229, 341, 342, 343, 359, 255, 283, 326, 296, - /* 1230 */ 228, 296, 359, 352, 307, 291, 12, 13, 307, 296, - /* 1240 */ 296, 296, 298, 235, 237, 154, 22, 362, 361, 236, - /* 1250 */ 322, 359, 224, 220, 283, 358, 291, 33, 20, 35, - /* 1260 */ 244, 241, 291, 325, 82, 307, 239, 296, 324, 298, - /* 1270 */ 307, 327, 328, 329, 330, 331, 332, 357, 334, 356, - /* 1280 */ 56, 337, 296, 296, 296, 341, 342, 343, 340, 65, - /* 1290 */ 296, 369, 296, 296, 305, 324, 352, 255, 327, 328, - /* 1300 */ 329, 330, 331, 332, 374, 334, 369, 368, 337, 369, - /* 1310 */ 368, 147, 341, 342, 343, 368, 279, 265, 304, 265, - /* 1320 */ 291, 291, 82, 352, 263, 283, 287, 265, 104, 273, - /* 1330 */ 296, 36, 258, 291, 257, 311, 266, 253, 296, 0, - /* 1340 */ 298, 277, 277, 277, 0, 42, 0, 73, 0, 35, - /* 1350 */ 183, 316, 35, 35, 35, 313, 183, 0, 35, 35, - /* 1360 */ 183, 0, 255, 183, 0, 35, 324, 0, 0, 327, - /* 1370 */ 328, 329, 330, 331, 332, 22, 334, 35, 0, 82, - /* 1380 */ 168, 167, 165, 163, 0, 0, 159, 163, 158, 165, - /* 1390 */ 283, 0, 0, 46, 0, 353, 0, 0, 291, 142, - /* 1400 */ 0, 0, 0, 296, 0, 298, 0, 137, 366, 35, - /* 1410 */ 0, 0, 370, 189, 137, 0, 0, 0, 0, 0, - /* 1420 */ 313, 0, 0, 0, 200, 201, 202, 203, 204, 205, - /* 1430 */ 206, 324, 0, 255, 327, 328, 329, 330, 331, 332, - /* 1440 */ 0, 334, 0, 0, 0, 42, 0, 0, 0, 0, - /* 1450 */ 0, 0, 22, 0, 0, 255, 42, 91, 46, 39, - /* 1460 */ 353, 283, 0, 0, 0, 0, 14, 43, 0, 291, - /* 1470 */ 39, 14, 46, 366, 296, 40, 298, 370, 0, 0, - /* 1480 */ 0, 154, 0, 283, 39, 0, 0, 60, 0, 0, - /* 1490 */ 35, 291, 0, 0, 35, 0, 296, 0, 298, 39, - /* 1500 */ 39, 0, 324, 0, 35, 327, 328, 329, 330, 331, - /* 1510 */ 332, 39, 334, 47, 47, 337, 35, 47, 255, 341, - /* 1520 */ 342, 47, 39, 0, 324, 89, 35, 327, 328, 329, - /* 1530 */ 330, 331, 332, 22, 334, 0, 255, 337, 0, 35, - /* 1540 */ 35, 341, 342, 35, 35, 43, 283, 35, 35, 43, - /* 1550 */ 35, 22, 0, 22, 291, 0, 49, 35, 22, 296, - /* 1560 */ 0, 298, 35, 0, 283, 35, 0, 22, 20, 0, - /* 1570 */ 0, 22, 291, 0, 35, 150, 169, 296, 150, 298, - /* 1580 */ 147, 0, 0, 0, 150, 0, 43, 324, 225, 255, - /* 1590 */ 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, - /* 1600 */ 82, 43, 43, 83, 83, 324, 82, 82, 327, 328, - /* 1610 */ 329, 330, 331, 332, 82, 334, 83, 283, 337, 82, - /* 1620 */ 46, 46, 82, 342, 83, 291, 46, 152, 219, 43, - /* 1630 */ 296, 43, 298, 225, 83, 46, 83, 83, 43, 83, - /* 1640 */ 35, 35, 35, 255, 310, 2, 35, 35, 35, 46, - /* 1650 */ 83, 43, 22, 82, 255, 83, 0, 0, 324, 82, - /* 1660 */ 189, 327, 328, 329, 330, 331, 332, 46, 334, 82, - /* 1670 */ 39, 283, 82, 46, 83, 191, 83, 178, 82, 291, - /* 1680 */ 82, 46, 283, 225, 296, 83, 298, 22, 35, 92, - /* 1690 */ 291, 82, 148, 146, 93, 296, 82, 298, 82, 82, - /* 1700 */ 82, 22, 83, 35, 82, 35, 83, 82, 35, 83, - /* 1710 */ 82, 255, 324, 35, 82, 327, 328, 329, 330, 331, - /* 1720 */ 332, 83, 334, 324, 83, 35, 327, 328, 329, 330, - /* 1730 */ 331, 332, 255, 334, 82, 106, 94, 82, 35, 283, - /* 1740 */ 106, 82, 106, 106, 82, 43, 22, 291, 60, 35, - /* 1750 */ 65, 59, 296, 365, 298, 80, 43, 35, 35, 22, - /* 1760 */ 283, 35, 35, 35, 35, 35, 310, 35, 291, 65, - /* 1770 */ 35, 372, 0, 296, 255, 298, 35, 35, 35, 35, - /* 1780 */ 324, 35, 35, 327, 328, 329, 330, 331, 332, 39, - /* 1790 */ 334, 0, 47, 35, 39, 47, 0, 255, 35, 47, - /* 1800 */ 39, 324, 283, 0, 327, 328, 329, 330, 331, 332, - /* 1810 */ 291, 334, 35, 336, 47, 296, 0, 298, 39, 35, - /* 1820 */ 35, 0, 22, 21, 375, 283, 22, 22, 21, 310, - /* 1830 */ 20, 375, 375, 291, 375, 375, 375, 375, 296, 375, - /* 1840 */ 298, 375, 375, 324, 375, 375, 327, 328, 329, 330, - /* 1850 */ 331, 332, 310, 334, 255, 375, 375, 375, 375, 375, - /* 1860 */ 375, 375, 375, 375, 375, 255, 324, 375, 375, 327, - /* 1870 */ 328, 329, 330, 331, 332, 375, 334, 375, 375, 255, - /* 1880 */ 375, 375, 283, 375, 375, 375, 375, 375, 375, 375, - /* 1890 */ 291, 375, 375, 283, 375, 296, 375, 298, 375, 375, - /* 1900 */ 375, 291, 375, 375, 375, 375, 296, 283, 298, 375, - /* 1910 */ 375, 375, 375, 375, 375, 291, 375, 375, 375, 375, - /* 1920 */ 296, 255, 298, 324, 375, 375, 327, 328, 329, 330, - /* 1930 */ 331, 332, 375, 334, 324, 255, 375, 327, 328, 329, - /* 1940 */ 330, 331, 332, 375, 334, 375, 255, 375, 324, 283, - /* 1950 */ 375, 327, 328, 329, 330, 331, 332, 291, 334, 375, - /* 1960 */ 375, 375, 296, 283, 298, 375, 375, 375, 375, 375, - /* 1970 */ 375, 291, 375, 375, 283, 375, 296, 375, 298, 375, - /* 1980 */ 375, 375, 291, 375, 375, 375, 375, 296, 255, 298, - /* 1990 */ 324, 375, 375, 327, 328, 329, 330, 331, 332, 375, - /* 2000 */ 334, 375, 375, 375, 324, 375, 375, 327, 328, 329, - /* 2010 */ 330, 331, 332, 375, 334, 324, 283, 375, 327, 328, - /* 2020 */ 329, 330, 331, 332, 291, 334, 375, 375, 375, 296, - /* 2030 */ 255, 298, 375, 375, 375, 375, 375, 375, 375, 375, - /* 2040 */ 375, 255, 375, 375, 375, 375, 375, 375, 375, 375, - /* 2050 */ 375, 375, 375, 255, 375, 375, 375, 324, 283, 375, - /* 2060 */ 327, 328, 329, 330, 331, 332, 291, 334, 375, 283, - /* 2070 */ 375, 296, 375, 298, 375, 375, 375, 291, 375, 375, - /* 2080 */ 375, 283, 296, 375, 298, 375, 375, 375, 375, 291, - /* 2090 */ 375, 375, 375, 375, 296, 375, 298, 375, 375, 324, - /* 2100 */ 375, 375, 327, 328, 329, 330, 331, 332, 255, 334, - /* 2110 */ 324, 375, 375, 327, 328, 329, 330, 331, 332, 375, - /* 2120 */ 334, 375, 324, 375, 375, 327, 328, 329, 330, 331, - /* 2130 */ 332, 375, 334, 375, 375, 255, 283, 375, 375, 375, - /* 2140 */ 375, 375, 375, 375, 291, 375, 375, 375, 375, 296, - /* 2150 */ 375, 298, 375, 375, 375, 375, 375, 375, 375, 375, - /* 2160 */ 375, 375, 255, 283, 375, 375, 375, 375, 375, 375, - /* 2170 */ 375, 291, 375, 375, 375, 375, 296, 324, 298, 375, - /* 2180 */ 327, 328, 329, 330, 331, 332, 375, 334, 375, 255, - /* 2190 */ 283, 375, 375, 375, 375, 375, 375, 375, 291, 375, - /* 2200 */ 375, 375, 375, 296, 324, 298, 375, 327, 328, 329, - /* 2210 */ 330, 331, 332, 375, 334, 375, 375, 283, 375, 375, - /* 2220 */ 375, 375, 375, 375, 375, 291, 375, 375, 375, 375, - /* 2230 */ 296, 324, 298, 375, 327, 328, 329, 330, 331, 332, - /* 2240 */ 375, 334, 375, 255, 375, 375, 375, 375, 375, 375, - /* 2250 */ 375, 375, 255, 375, 375, 375, 375, 375, 324, 375, - /* 2260 */ 375, 327, 328, 329, 330, 331, 332, 375, 334, 375, - /* 2270 */ 255, 283, 375, 375, 375, 375, 375, 375, 375, 291, - /* 2280 */ 283, 375, 375, 375, 296, 375, 298, 375, 291, 375, - /* 2290 */ 375, 375, 375, 296, 375, 298, 375, 375, 283, 375, - /* 2300 */ 375, 375, 375, 375, 375, 375, 291, 375, 375, 375, - /* 2310 */ 375, 296, 324, 298, 375, 327, 328, 329, 330, 331, - /* 2320 */ 332, 324, 334, 255, 327, 328, 329, 330, 331, 332, - /* 2330 */ 375, 334, 375, 375, 375, 375, 375, 255, 375, 324, - /* 2340 */ 375, 375, 327, 328, 329, 330, 331, 332, 375, 334, - /* 2350 */ 375, 283, 375, 375, 375, 375, 375, 375, 375, 291, - /* 2360 */ 375, 375, 375, 375, 296, 283, 298, 375, 375, 375, - /* 2370 */ 375, 375, 375, 291, 375, 375, 375, 375, 296, 375, - /* 2380 */ 298, 375, 375, 375, 375, 375, 375, 375, 375, 375, - /* 2390 */ 375, 255, 324, 375, 375, 327, 328, 329, 330, 331, - /* 2400 */ 332, 375, 334, 375, 375, 375, 324, 375, 375, 327, - /* 2410 */ 328, 329, 330, 331, 332, 375, 334, 375, 375, 283, - /* 2420 */ 375, 375, 375, 375, 375, 375, 375, 291, 375, 375, - /* 2430 */ 375, 375, 296, 375, 298, 375, 375, 375, 375, 375, - /* 2440 */ 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, - /* 2450 */ 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, - /* 2460 */ 324, 375, 375, 327, 328, 329, 330, 331, 332, 375, - /* 2470 */ 334, ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + /* 260 */ 203, 204, 205, 206, 207, 208, 209, 12, 13, 222, + /* 270 */ 227, 228, 222, 95, 276, 20, 222, 22, 150, 174, + /* 280 */ 175, 20, 284, 178, 60, 0, 264, 84, 33, 354, + /* 290 */ 35, 293, 114, 115, 116, 117, 118, 275, 264, 171, + /* 300 */ 261, 173, 367, 264, 282, 354, 371, 84, 84, 275, + /* 310 */ 354, 56, 114, 115, 292, 60, 92, 255, 367, 257, + /* 320 */ 264, 66, 371, 367, 12, 13, 292, 371, 62, 63, + /* 330 */ 264, 275, 20, 67, 22, 0, 70, 71, 83, 194, + /* 340 */ 74, 75, 76, 20, 59, 33, 83, 35, 292, 96, + /* 350 */ 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, + /* 360 */ 105, 108, 109, 110, 111, 112, 113, 301, 56, 276, + /* 370 */ 146, 292, 268, 175, 119, 120, 178, 284, 66, 256, + /* 380 */ 119, 120, 303, 8, 9, 284, 293, 12, 13, 14, + /* 390 */ 15, 16, 291, 169, 290, 83, 239, 62, 63, 64, + /* 400 */ 65, 300, 67, 68, 69, 70, 71, 72, 73, 74, + /* 410 */ 75, 76, 77, 78, 79, 80, 276, 105, 43, 164, + /* 420 */ 297, 166, 8, 9, 284, 20, 12, 13, 14, 15, + /* 430 */ 16, 119, 120, 293, 210, 211, 212, 213, 214, 215, + /* 440 */ 216, 217, 218, 219, 261, 190, 191, 264, 193, 194, + /* 450 */ 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, + /* 460 */ 205, 206, 207, 208, 209, 8, 9, 59, 264, 12, + /* 470 */ 13, 14, 15, 16, 14, 20, 164, 266, 166, 275, + /* 480 */ 20, 14, 15, 16, 22, 222, 282, 8, 9, 270, + /* 490 */ 271, 12, 13, 14, 15, 16, 292, 35, 287, 256, + /* 500 */ 269, 264, 190, 191, 273, 193, 194, 195, 196, 197, + /* 510 */ 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, + /* 520 */ 208, 209, 12, 13, 14, 83, 77, 95, 66, 292, + /* 530 */ 20, 0, 22, 256, 222, 20, 256, 22, 14, 60, + /* 540 */ 297, 84, 0, 33, 20, 35, 114, 115, 116, 117, + /* 550 */ 118, 314, 21, 264, 190, 24, 25, 26, 27, 28, + /* 560 */ 29, 30, 31, 32, 264, 50, 56, 105, 20, 332, + /* 570 */ 156, 92, 123, 124, 297, 275, 66, 297, 94, 12, + /* 580 */ 13, 292, 20, 264, 347, 348, 349, 20, 351, 22, + /* 590 */ 326, 354, 292, 83, 275, 231, 232, 233, 234, 235, + /* 600 */ 33, 59, 35, 314, 367, 163, 256, 165, 371, 159, + /* 610 */ 256, 292, 8, 9, 350, 105, 12, 13, 14, 15, + /* 620 */ 16, 332, 46, 56, 309, 146, 164, 312, 166, 119, + /* 630 */ 120, 181, 182, 66, 284, 264, 347, 348, 349, 66, + /* 640 */ 351, 284, 292, 354, 56, 66, 275, 297, 169, 299, + /* 650 */ 83, 297, 190, 191, 194, 2, 367, 300, 244, 83, + /* 660 */ 371, 8, 9, 292, 222, 12, 13, 14, 15, 16, + /* 670 */ 82, 35, 105, 85, 164, 325, 166, 39, 328, 329, + /* 680 */ 330, 331, 332, 333, 0, 335, 119, 120, 0, 210, + /* 690 */ 211, 212, 213, 214, 215, 216, 217, 218, 219, 151, + /* 700 */ 190, 191, 66, 193, 194, 195, 196, 197, 198, 199, + /* 710 */ 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, + /* 720 */ 8, 9, 372, 373, 12, 13, 14, 15, 16, 326, + /* 730 */ 326, 164, 48, 166, 2, 270, 271, 43, 299, 309, + /* 740 */ 8, 9, 312, 37, 12, 13, 14, 15, 16, 310, + /* 750 */ 284, 20, 264, 350, 350, 151, 194, 190, 191, 293, + /* 760 */ 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, + /* 770 */ 203, 204, 205, 206, 207, 208, 209, 12, 13, 18, + /* 780 */ 292, 20, 285, 95, 272, 20, 274, 22, 27, 256, + /* 790 */ 146, 30, 86, 256, 88, 89, 84, 91, 33, 4, + /* 800 */ 35, 95, 114, 115, 116, 117, 118, 285, 47, 318, + /* 810 */ 49, 294, 51, 169, 297, 256, 264, 284, 114, 256, + /* 820 */ 332, 56, 273, 117, 285, 292, 4, 275, 285, 264, + /* 830 */ 297, 66, 299, 256, 297, 347, 348, 349, 256, 351, + /* 840 */ 275, 19, 285, 82, 292, 8, 9, 257, 83, 12, + /* 850 */ 13, 14, 15, 16, 210, 33, 297, 292, 325, 221, + /* 860 */ 297, 328, 329, 330, 331, 332, 333, 256, 335, 47, + /* 870 */ 105, 338, 285, 51, 297, 342, 343, 43, 56, 297, + /* 880 */ 176, 177, 151, 122, 119, 120, 125, 126, 127, 128, + /* 890 */ 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, + /* 900 */ 139, 140, 141, 142, 82, 144, 145, 85, 297, 374, + /* 910 */ 256, 264, 264, 18, 264, 264, 294, 265, 23, 297, + /* 920 */ 44, 45, 275, 275, 60, 275, 275, 87, 95, 164, + /* 930 */ 90, 166, 37, 38, 277, 241, 41, 280, 87, 292, + /* 940 */ 292, 90, 292, 292, 220, 221, 256, 321, 256, 365, + /* 950 */ 117, 297, 57, 58, 256, 190, 191, 256, 193, 194, + /* 960 */ 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, + /* 970 */ 205, 206, 207, 208, 209, 264, 284, 264, 83, 264, + /* 980 */ 35, 264, 42, 43, 292, 256, 275, 297, 275, 297, + /* 990 */ 275, 299, 275, 0, 35, 297, 43, 256, 297, 87, + /* 1000 */ 256, 256, 90, 292, 43, 292, 314, 292, 87, 292, + /* 1010 */ 0, 90, 151, 152, 56, 22, 121, 325, 223, 43, + /* 1020 */ 328, 329, 330, 331, 332, 333, 297, 335, 0, 43, + /* 1030 */ 338, 43, 22, 256, 342, 343, 361, 84, 297, 1, + /* 1040 */ 2, 297, 297, 85, 43, 84, 354, 119, 120, 43, + /* 1050 */ 22, 156, 157, 158, 190, 43, 161, 43, 43, 367, + /* 1060 */ 84, 284, 167, 371, 35, 284, 265, 263, 296, 292, + /* 1070 */ 84, 352, 84, 43, 297, 180, 299, 243, 183, 327, + /* 1080 */ 185, 186, 187, 188, 189, 84, 43, 43, 256, 43, + /* 1090 */ 84, 43, 345, 43, 83, 66, 84, 355, 84, 84, + /* 1100 */ 20, 368, 325, 368, 93, 328, 329, 330, 331, 332, + /* 1110 */ 333, 166, 335, 224, 84, 338, 284, 222, 368, 342, + /* 1120 */ 343, 344, 323, 264, 292, 166, 47, 84, 84, 297, + /* 1130 */ 84, 299, 84, 356, 84, 322, 35, 270, 264, 162, + /* 1140 */ 316, 364, 264, 256, 42, 304, 146, 302, 302, 264, + /* 1150 */ 264, 20, 258, 20, 258, 320, 268, 325, 268, 299, + /* 1160 */ 328, 329, 330, 331, 332, 333, 20, 335, 313, 20, + /* 1170 */ 338, 284, 315, 268, 342, 343, 344, 268, 313, 292, + /* 1180 */ 20, 268, 305, 268, 297, 268, 299, 264, 258, 264, + /* 1190 */ 284, 284, 284, 258, 284, 284, 364, 297, 284, 320, + /* 1200 */ 284, 319, 284, 284, 284, 256, 284, 266, 172, 266, + /* 1210 */ 264, 264, 325, 20, 313, 328, 329, 330, 331, 332, + /* 1220 */ 333, 266, 335, 299, 327, 338, 297, 230, 360, 342, + /* 1230 */ 343, 344, 229, 284, 308, 297, 297, 155, 236, 308, + /* 1240 */ 353, 292, 12, 13, 360, 297, 297, 238, 299, 225, + /* 1250 */ 237, 359, 22, 221, 363, 362, 323, 358, 360, 357, + /* 1260 */ 292, 20, 326, 33, 242, 35, 240, 83, 245, 297, + /* 1270 */ 308, 297, 369, 256, 325, 297, 297, 328, 329, 330, + /* 1280 */ 331, 332, 333, 308, 335, 148, 56, 338, 297, 297, + /* 1290 */ 306, 342, 343, 344, 305, 341, 66, 370, 280, 292, + /* 1300 */ 266, 284, 353, 266, 370, 83, 369, 375, 292, 292, + /* 1310 */ 36, 264, 370, 369, 297, 288, 299, 297, 266, 274, + /* 1320 */ 259, 258, 317, 267, 254, 0, 0, 278, 42, 278, + /* 1330 */ 0, 312, 278, 74, 0, 105, 35, 184, 35, 35, + /* 1340 */ 256, 35, 325, 33, 0, 328, 329, 330, 331, 332, + /* 1350 */ 333, 184, 335, 35, 35, 338, 184, 47, 0, 342, + /* 1360 */ 343, 344, 52, 53, 54, 55, 56, 184, 284, 0, + /* 1370 */ 353, 35, 0, 22, 0, 35, 292, 0, 83, 169, + /* 1380 */ 168, 297, 0, 299, 166, 164, 0, 160, 159, 0, + /* 1390 */ 0, 46, 82, 0, 164, 85, 166, 143, 314, 0, + /* 1400 */ 0, 0, 0, 0, 0, 0, 138, 0, 35, 325, + /* 1410 */ 138, 0, 328, 329, 330, 331, 332, 333, 256, 335, + /* 1420 */ 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, + /* 1430 */ 0, 201, 202, 203, 204, 205, 206, 207, 354, 0, + /* 1440 */ 0, 0, 0, 0, 0, 0, 284, 0, 42, 0, + /* 1450 */ 0, 367, 0, 22, 292, 371, 0, 147, 148, 297, + /* 1460 */ 150, 299, 0, 0, 154, 56, 0, 0, 14, 14, + /* 1470 */ 0, 0, 256, 39, 42, 0, 314, 40, 43, 46, + /* 1480 */ 0, 0, 46, 173, 155, 39, 0, 325, 0, 0, + /* 1490 */ 328, 329, 330, 331, 332, 333, 39, 335, 0, 256, + /* 1500 */ 284, 0, 0, 35, 39, 47, 47, 35, 292, 61, + /* 1510 */ 0, 35, 39, 297, 35, 299, 354, 39, 0, 0, + /* 1520 */ 0, 47, 0, 39, 0, 35, 22, 284, 90, 367, + /* 1530 */ 47, 35, 35, 371, 35, 292, 0, 43, 35, 0, + /* 1540 */ 297, 325, 299, 92, 328, 329, 330, 331, 332, 333, + /* 1550 */ 43, 335, 35, 256, 338, 22, 35, 22, 342, 343, + /* 1560 */ 35, 49, 0, 22, 35, 0, 35, 0, 325, 35, + /* 1570 */ 0, 328, 329, 330, 331, 332, 333, 334, 335, 336, + /* 1580 */ 337, 284, 22, 20, 0, 35, 0, 170, 22, 292, + /* 1590 */ 0, 0, 0, 0, 297, 0, 299, 43, 83, 43, + /* 1600 */ 84, 226, 226, 256, 151, 220, 83, 43, 2, 148, + /* 1610 */ 84, 151, 84, 83, 46, 151, 84, 46, 43, 46, + /* 1620 */ 83, 83, 325, 83, 43, 328, 329, 330, 331, 332, + /* 1630 */ 333, 284, 335, 84, 46, 338, 84, 84, 153, 292, + /* 1640 */ 343, 43, 226, 35, 297, 84, 299, 35, 35, 35, + /* 1650 */ 35, 35, 43, 256, 22, 0, 84, 83, 311, 190, + /* 1660 */ 84, 83, 83, 46, 46, 83, 179, 84, 83, 256, + /* 1670 */ 0, 84, 325, 39, 192, 328, 329, 330, 331, 332, + /* 1680 */ 333, 284, 335, 83, 83, 83, 83, 93, 46, 292, + /* 1690 */ 46, 149, 147, 83, 297, 84, 299, 284, 22, 94, + /* 1700 */ 35, 35, 83, 35, 84, 292, 84, 83, 83, 35, + /* 1710 */ 297, 84, 299, 83, 35, 84, 83, 22, 35, 84, + /* 1720 */ 83, 95, 325, 35, 83, 328, 329, 330, 331, 332, + /* 1730 */ 333, 83, 335, 256, 83, 107, 107, 43, 325, 22, + /* 1740 */ 60, 328, 329, 330, 331, 332, 333, 61, 335, 256, + /* 1750 */ 107, 35, 107, 66, 81, 43, 35, 35, 35, 35, + /* 1760 */ 35, 284, 22, 366, 35, 35, 66, 35, 35, 292, + /* 1770 */ 35, 35, 35, 35, 297, 0, 299, 284, 35, 35, + /* 1780 */ 39, 47, 0, 35, 39, 292, 373, 0, 311, 47, + /* 1790 */ 297, 35, 299, 47, 39, 0, 35, 47, 39, 256, + /* 1800 */ 0, 35, 325, 35, 0, 328, 329, 330, 331, 332, + /* 1810 */ 333, 22, 335, 21, 21, 256, 22, 376, 325, 22, + /* 1820 */ 376, 328, 329, 330, 331, 332, 333, 284, 335, 20, + /* 1830 */ 337, 376, 376, 376, 376, 292, 376, 376, 376, 376, + /* 1840 */ 297, 376, 299, 284, 376, 376, 376, 376, 376, 376, + /* 1850 */ 376, 292, 376, 376, 311, 376, 297, 376, 299, 376, + /* 1860 */ 376, 376, 376, 376, 376, 376, 376, 376, 325, 376, + /* 1870 */ 311, 328, 329, 330, 331, 332, 333, 376, 335, 256, + /* 1880 */ 376, 376, 376, 376, 325, 376, 376, 328, 329, 330, + /* 1890 */ 331, 332, 333, 376, 335, 376, 256, 376, 376, 376, + /* 1900 */ 376, 376, 376, 376, 376, 376, 376, 284, 376, 376, + /* 1910 */ 376, 376, 376, 376, 376, 292, 376, 376, 376, 376, + /* 1920 */ 297, 376, 299, 376, 284, 376, 376, 376, 376, 376, + /* 1930 */ 376, 376, 292, 376, 376, 376, 376, 297, 256, 299, + /* 1940 */ 376, 376, 376, 376, 376, 376, 376, 376, 325, 376, + /* 1950 */ 376, 328, 329, 330, 331, 332, 333, 376, 335, 376, + /* 1960 */ 376, 376, 256, 376, 376, 325, 284, 376, 328, 329, + /* 1970 */ 330, 331, 332, 333, 292, 335, 376, 376, 376, 297, + /* 1980 */ 376, 299, 376, 376, 376, 376, 376, 376, 376, 376, + /* 1990 */ 284, 376, 376, 376, 376, 376, 376, 376, 292, 376, + /* 2000 */ 376, 376, 376, 297, 376, 299, 376, 325, 376, 376, + /* 2010 */ 328, 329, 330, 331, 332, 333, 376, 335, 256, 376, + /* 2020 */ 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, + /* 2030 */ 376, 325, 376, 376, 328, 329, 330, 331, 332, 333, + /* 2040 */ 376, 335, 256, 376, 376, 376, 284, 376, 376, 376, + /* 2050 */ 376, 376, 376, 376, 292, 376, 376, 376, 376, 297, + /* 2060 */ 376, 299, 376, 376, 376, 376, 376, 376, 376, 376, + /* 2070 */ 284, 376, 376, 376, 376, 376, 376, 376, 292, 376, + /* 2080 */ 376, 376, 376, 297, 256, 299, 376, 325, 376, 376, + /* 2090 */ 328, 329, 330, 331, 332, 333, 376, 335, 376, 376, + /* 2100 */ 256, 376, 376, 376, 376, 376, 376, 376, 376, 376, + /* 2110 */ 376, 325, 284, 376, 328, 329, 330, 331, 332, 333, + /* 2120 */ 292, 335, 376, 376, 376, 297, 376, 299, 284, 376, + /* 2130 */ 376, 376, 376, 376, 376, 376, 292, 376, 376, 376, + /* 2140 */ 376, 297, 376, 299, 376, 376, 376, 376, 376, 376, + /* 2150 */ 376, 376, 376, 325, 376, 376, 328, 329, 330, 331, + /* 2160 */ 332, 333, 376, 335, 256, 376, 376, 376, 376, 325, + /* 2170 */ 376, 376, 328, 329, 330, 331, 332, 333, 376, 335, + /* 2180 */ 376, 256, 376, 376, 376, 376, 376, 376, 376, 376, + /* 2190 */ 376, 376, 284, 376, 376, 376, 376, 376, 376, 376, + /* 2200 */ 292, 376, 376, 376, 376, 297, 376, 299, 376, 284, + /* 2210 */ 376, 376, 376, 376, 376, 376, 376, 292, 376, 376, + /* 2220 */ 376, 376, 297, 256, 299, 376, 376, 376, 376, 376, + /* 2230 */ 376, 376, 376, 325, 376, 376, 328, 329, 330, 331, + /* 2240 */ 332, 333, 376, 335, 376, 376, 376, 256, 376, 376, + /* 2250 */ 325, 284, 376, 328, 329, 330, 331, 332, 333, 292, + /* 2260 */ 335, 376, 376, 376, 297, 376, 299, 376, 376, 376, + /* 2270 */ 376, 376, 376, 376, 376, 284, 376, 376, 376, 376, + /* 2280 */ 376, 376, 376, 292, 376, 376, 376, 376, 297, 376, + /* 2290 */ 299, 376, 325, 376, 376, 328, 329, 330, 331, 332, + /* 2300 */ 333, 376, 335, 256, 376, 376, 376, 376, 376, 376, + /* 2310 */ 376, 376, 376, 376, 376, 376, 325, 376, 376, 328, + /* 2320 */ 329, 330, 331, 332, 333, 376, 335, 256, 376, 376, + /* 2330 */ 376, 284, 376, 376, 376, 376, 376, 376, 376, 292, + /* 2340 */ 376, 376, 376, 376, 297, 376, 299, 376, 376, 376, + /* 2350 */ 376, 376, 376, 376, 376, 284, 376, 376, 376, 376, + /* 2360 */ 376, 376, 376, 292, 376, 376, 376, 376, 297, 256, + /* 2370 */ 299, 376, 325, 376, 376, 328, 329, 330, 331, 332, + /* 2380 */ 333, 376, 335, 376, 376, 256, 376, 376, 376, 376, + /* 2390 */ 376, 376, 376, 376, 376, 376, 325, 284, 376, 328, + /* 2400 */ 329, 330, 331, 332, 333, 292, 335, 376, 376, 376, + /* 2410 */ 297, 376, 299, 284, 376, 376, 376, 376, 376, 376, + /* 2420 */ 376, 292, 376, 376, 376, 376, 297, 376, 299, 376, + /* 2430 */ 376, 376, 376, 376, 376, 376, 376, 376, 325, 376, + /* 2440 */ 376, 328, 329, 330, 331, 332, 333, 376, 335, 256, + /* 2450 */ 376, 376, 376, 376, 325, 376, 376, 328, 329, 330, + /* 2460 */ 331, 332, 333, 376, 335, 376, 256, 376, 376, 376, + /* 2470 */ 376, 376, 376, 376, 376, 376, 376, 284, 376, 376, + /* 2480 */ 376, 376, 376, 376, 376, 292, 376, 376, 376, 376, + /* 2490 */ 297, 376, 299, 376, 284, 376, 376, 376, 376, 376, + /* 2500 */ 376, 376, 292, 376, 376, 376, 376, 297, 256, 299, + /* 2510 */ 376, 376, 376, 376, 376, 376, 376, 376, 325, 376, + /* 2520 */ 376, 328, 329, 330, 331, 332, 333, 376, 335, 376, + /* 2530 */ 376, 376, 256, 376, 376, 325, 284, 376, 328, 329, + /* 2540 */ 330, 331, 332, 333, 292, 335, 376, 376, 376, 297, + /* 2550 */ 376, 299, 376, 376, 376, 376, 376, 376, 376, 376, + /* 2560 */ 284, 376, 376, 376, 376, 376, 376, 376, 292, 376, + /* 2570 */ 376, 376, 376, 297, 376, 299, 376, 325, 376, 376, + /* 2580 */ 328, 329, 330, 331, 332, 333, 376, 335, 376, 376, + /* 2590 */ 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, + /* 2600 */ 376, 325, 376, 376, 328, 329, 330, 331, 332, 333, + /* 2610 */ 376, 335, }; #define YY_SHIFT_COUNT (655) #define YY_SHIFT_MIN (0) -<<<<<<< HEAD -#define YY_SHIFT_MAX (2225) +#define YY_SHIFT_MAX (1809) static const unsigned short int yy_shift_ofst[] = { - /* 0 */ 718, 0, 0, 67, 273, 273, 273, 273, 324, 324, - /* 10 */ 273, 273, 465, 516, 532, 516, 516, 516, 516, 516, - /* 20 */ 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, - /* 30 */ 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, - /* 40 */ 516, 516, 80, 80, 71, 71, 71, 2225, 2225, 2225, - /* 50 */ 2225, 14, 188, 3, 4, 4, 125, 125, 163, 185, - /* 60 */ 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, - /* 70 */ 19, 4, 4, 4, 64, 76, 96, 4, 4, 96, - /* 80 */ 4, 96, 96, 96, 4, 198, 190, 731, 900, 900, - /* 90 */ 13, 379, 316, 316, 316, 316, 316, 316, 316, 316, - /* 100 */ 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, - /* 110 */ 316, 137, 185, 62, 62, 401, 423, 410, 410, 410, - /* 120 */ 640, 423, 254, 76, 58, 58, 96, 96, 233, 233, - /* 130 */ 217, 247, 897, 897, 897, 897, 897, 897, 897, 129, - /* 140 */ 758, 287, 268, 159, 53, 123, 211, 204, 481, 510, - /* 150 */ 827, 778, 598, 480, 683, 480, 170, 170, 170, 339, - /* 160 */ 760, 863, 1075, 1081, 1104, 980, 1075, 1075, 1105, 1004, - /* 170 */ 1004, 1075, 1075, 1138, 1138, 1155, 19, 76, 19, 1162, - /* 180 */ 1165, 19, 1162, 19, 1177, 19, 19, 1075, 19, 1138, - /* 190 */ 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, - /* 200 */ 96, 1075, 1138, 233, 1155, 198, 1043, 76, 198, 1075, - /* 210 */ 1075, 1162, 198, 1220, 233, 1021, 1031, 233, 1021, 1031, - /* 220 */ 233, 233, 96, 1026, 1114, 1021, 1041, 1054, 1067, 863, - /* 230 */ 1078, 254, 1277, 1257, 1065, 1068, 1066, 1065, 1068, 1065, - /* 240 */ 1068, 1221, 1031, 233, 233, 233, 233, 233, 1031, 233, - /* 250 */ 1164, 254, 1177, 198, 217, 198, 254, 1275, 233, 247, - /* 260 */ 1075, 198, 1328, 1138, 2427, 2427, 2427, 2427, 2427, 2427, - /* 270 */ 2427, 757, 1568, 549, 1047, 143, 357, 550, 852, 878, - /* 280 */ 662, 676, 38, 38, 38, 38, 38, 38, 38, 38, - /* 290 */ 647, 945, 134, 56, 56, 304, 93, 578, 583, 373, - /* 300 */ 364, 16, 16, 16, 16, 321, 432, 816, 845, 830, - /* 310 */ 837, 875, 886, 889, 906, 926, 928, 732, 903, 934, - /* 320 */ 965, 892, 864, 939, 943, 790, 988, 107, 993, 994, - /* 330 */ 995, 998, 1009, 764, 884, 1012, 1013, 1030, 1057, 1059, - /* 340 */ 1073, 956, 1022, 1053, 1376, 1379, 1338, 1383, 1310, 1385, - /* 350 */ 1351, 1205, 1353, 1354, 1355, 1209, 1392, 1358, 1359, 1213, - /* 360 */ 1398, 1225, 1408, 1378, 1414, 1389, 1415, 1381, 1418, 1336, - /* 370 */ 1251, 1253, 1259, 1262, 1423, 1427, 1268, 1270, 1430, 1431, - /* 380 */ 1386, 1433, 1434, 1435, 1293, 1437, 1439, 1440, 1447, 1449, - /* 390 */ 1313, 1417, 1459, 1323, 1462, 1463, 1464, 1465, 1466, 1467, - /* 400 */ 1468, 1469, 1470, 1471, 1472, 1473, 1481, 1482, 1436, 1479, - /* 410 */ 1483, 1484, 1485, 1486, 1487, 1453, 1476, 1477, 1488, 1489, - /* 420 */ 1490, 1438, 1491, 1493, 1454, 1456, 1455, 1492, 1451, 1494, - /* 430 */ 1457, 1500, 1474, 1480, 1501, 1504, 1505, 1497, 1352, 1509, - /* 440 */ 1511, 1512, 1452, 1516, 1518, 1495, 1478, 1498, 1521, 1496, - /* 450 */ 1507, 1499, 1522, 1506, 1508, 1503, 1523, 1510, 1513, 1517, - /* 460 */ 1524, 1526, 1527, 1532, 1448, 1502, 1528, 1530, 1539, 1537, - /* 470 */ 1541, 1543, 1544, 1515, 1531, 1546, 1547, 1548, 1559, 1558, - /* 480 */ 1584, 1564, 1538, 1588, 1569, 1555, 1594, 1560, 1596, 1562, - /* 490 */ 1599, 1580, 1585, 1604, 1393, 1579, 1616, 1458, 1595, 1514, - /* 500 */ 1519, 1618, 1625, 1520, 1525, 1627, 1635, 1637, 1597, 1598, - /* 510 */ 1419, 1561, 1554, 1563, 1565, 1600, 1567, 1573, 1574, 1575, - /* 520 */ 1570, 1602, 1606, 1617, 1576, 1605, 1422, 1582, 1586, 1622, - /* 530 */ 1450, 1626, 1628, 1589, 1629, 1460, 1591, 1641, 1642, 1644, - /* 540 */ 1646, 1647, 1648, 1591, 1682, 1533, 1643, 1601, 1607, 1603, - /* 550 */ 1653, 1620, 1623, 1654, 1679, 1534, 1624, 1621, 1630, 1634, - /* 560 */ 1708, 1636, 1577, 1640, 1709, 1671, 1566, 1645, 1619, 1674, - /* 570 */ 1681, 1649, 1658, 1660, 1707, 1661, 1651, 1662, 1696, 1713, - /* 580 */ 1666, 1667, 1715, 1672, 1673, 1721, 1675, 1676, 1724, 1680, - /* 590 */ 1678, 1729, 1684, 1663, 1664, 1665, 1668, 1743, 1683, 1686, - /* 600 */ 1690, 1739, 1694, 1733, 1733, 1759, 1728, 1722, 1756, 1726, - /* 610 */ 1714, 1750, 1761, 1768, 1770, 1771, 1773, 1787, 1775, 1776, - /* 620 */ 1746, 1515, 1778, 1531, 1779, 1781, 1782, 1783, 1784, 1788, - /* 630 */ 1824, 1790, 1780, 1789, 1826, 1794, 1785, 1791, 1831, 1798, - /* 640 */ 1792, 1795, 1835, 1801, 1796, 1799, 1837, 1806, 1807, 1844, - /* 650 */ 1823, 1825, 1828, 1838, 1840, 1827, + /* 0 */ 895, 0, 0, 57, 57, 255, 255, 255, 312, 312, + /* 10 */ 255, 255, 510, 567, 765, 567, 567, 567, 567, 567, + /* 20 */ 567, 567, 567, 567, 567, 567, 567, 567, 567, 567, + /* 30 */ 567, 567, 567, 567, 567, 567, 567, 567, 567, 567, + /* 40 */ 567, 567, 47, 47, 96, 96, 96, 1230, 1230, 1230, + /* 50 */ 1230, 442, 50, 263, 65, 65, 64, 64, 54, 261, + /* 60 */ 263, 263, 65, 65, 65, 65, 65, 65, 65, 65, + /* 70 */ 59, 65, 65, 65, 121, 323, 405, 65, 65, 405, + /* 80 */ 65, 405, 405, 405, 65, 408, 761, 224, 479, 479, + /* 90 */ 13, 266, 462, 462, 462, 462, 462, 462, 462, 462, + /* 100 */ 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, + /* 110 */ 462, 706, 261, 524, 524, 285, 636, 548, 548, 548, + /* 120 */ 542, 636, 455, 323, 5, 5, 405, 405, 573, 573, + /* 130 */ 484, 579, 253, 253, 253, 253, 253, 253, 253, 128, + /* 140 */ 531, 81, 414, 364, 41, 105, 43, 145, 460, 515, + /* 150 */ 876, 833, 731, 724, 638, 724, 940, 157, 157, 157, + /* 160 */ 795, 562, 889, 1080, 1079, 1101, 977, 1080, 1080, 1102, + /* 170 */ 1000, 1000, 1080, 1080, 1131, 1131, 1133, 59, 323, 59, + /* 180 */ 1146, 1149, 59, 1146, 59, 1160, 59, 59, 1080, 59, + /* 190 */ 1131, 405, 405, 405, 405, 405, 405, 405, 405, 405, + /* 200 */ 405, 405, 1080, 1131, 573, 1133, 408, 1036, 323, 408, + /* 210 */ 1080, 1080, 1146, 408, 1193, 573, 997, 1003, 573, 997, + /* 220 */ 1003, 573, 573, 405, 1002, 1082, 997, 1009, 1013, 1024, + /* 230 */ 889, 1032, 455, 1241, 1022, 1026, 1023, 1022, 1026, 1022, + /* 240 */ 1026, 1184, 1003, 573, 573, 573, 573, 573, 1003, 573, + /* 250 */ 1137, 455, 1160, 408, 484, 408, 455, 1222, 573, 579, + /* 260 */ 1080, 408, 1274, 1131, 2612, 2612, 2612, 2612, 2612, 2612, + /* 270 */ 2612, 335, 1310, 72, 822, 203, 375, 457, 653, 732, + /* 280 */ 604, 712, 837, 837, 837, 837, 837, 837, 837, 837, + /* 290 */ 178, 688, 432, 16, 16, 198, 450, 588, 449, 53, + /* 300 */ 223, 644, 467, 467, 467, 467, 704, 187, 953, 840, + /* 310 */ 851, 912, 921, 993, 1010, 1028, 958, 861, 961, 976, + /* 320 */ 1038, 928, 694, 834, 986, 864, 988, 576, 1001, 1006, + /* 330 */ 1012, 1014, 1015, 945, 959, 1030, 1043, 1044, 1046, 1048, + /* 340 */ 1050, 1011, 1029, 684, 1325, 1326, 1286, 1330, 1259, 1334, + /* 350 */ 1301, 1153, 1303, 1304, 1306, 1167, 1344, 1318, 1319, 1172, + /* 360 */ 1358, 1183, 1369, 1336, 1372, 1351, 1374, 1340, 1377, 1295, + /* 370 */ 1210, 1212, 1218, 1221, 1382, 1386, 1227, 1229, 1389, 1390, + /* 380 */ 1345, 1393, 1399, 1400, 1254, 1401, 1402, 1403, 1404, 1405, + /* 390 */ 1268, 1373, 1407, 1272, 1411, 1421, 1422, 1423, 1424, 1425, + /* 400 */ 1426, 1427, 1428, 1429, 1430, 1439, 1440, 1441, 1406, 1442, + /* 410 */ 1443, 1444, 1445, 1447, 1449, 1431, 1450, 1452, 1456, 1462, + /* 420 */ 1463, 1409, 1466, 1467, 1432, 1434, 1435, 1454, 1433, 1455, + /* 430 */ 1436, 1470, 1437, 1446, 1471, 1475, 1480, 1457, 1329, 1481, + /* 440 */ 1486, 1488, 1448, 1489, 1498, 1468, 1458, 1465, 1501, 1472, + /* 450 */ 1459, 1473, 1502, 1476, 1474, 1478, 1510, 1479, 1483, 1484, + /* 460 */ 1518, 1519, 1520, 1522, 1451, 1438, 1490, 1504, 1524, 1496, + /* 470 */ 1497, 1499, 1503, 1494, 1507, 1517, 1521, 1525, 1536, 1533, + /* 480 */ 1539, 1535, 1512, 1562, 1541, 1529, 1565, 1531, 1567, 1534, + /* 490 */ 1570, 1560, 1563, 1584, 1453, 1550, 1586, 1417, 1566, 1460, + /* 500 */ 1461, 1590, 1591, 1464, 1485, 1592, 1593, 1595, 1554, 1375, + /* 510 */ 1515, 1516, 1523, 1526, 1556, 1528, 1530, 1537, 1538, 1532, + /* 520 */ 1564, 1568, 1571, 1540, 1575, 1376, 1549, 1552, 1573, 1385, + /* 530 */ 1581, 1588, 1553, 1598, 1416, 1561, 1608, 1612, 1613, 1614, + /* 540 */ 1615, 1616, 1561, 1606, 1469, 1609, 1572, 1574, 1576, 1617, + /* 550 */ 1578, 1579, 1618, 1632, 1482, 1582, 1583, 1587, 1585, 1487, + /* 560 */ 1655, 1600, 1542, 1601, 1670, 1634, 1545, 1602, 1594, 1642, + /* 570 */ 1644, 1603, 1611, 1610, 1676, 1619, 1605, 1620, 1665, 1666, + /* 580 */ 1624, 1622, 1668, 1625, 1627, 1674, 1630, 1631, 1679, 1633, + /* 590 */ 1635, 1683, 1637, 1628, 1629, 1643, 1645, 1695, 1626, 1641, + /* 600 */ 1648, 1688, 1651, 1694, 1694, 1717, 1686, 1680, 1716, 1687, + /* 610 */ 1673, 1712, 1721, 1722, 1723, 1724, 1725, 1740, 1729, 1730, + /* 620 */ 1700, 1494, 1732, 1507, 1733, 1735, 1736, 1737, 1738, 1743, + /* 630 */ 1775, 1744, 1734, 1741, 1782, 1748, 1742, 1745, 1787, 1756, + /* 640 */ 1746, 1755, 1795, 1761, 1750, 1759, 1800, 1766, 1768, 1804, + /* 650 */ 1789, 1792, 1794, 1797, 1793, 1809, }; #define YY_REDUCE_COUNT (270) -#define YY_REDUCE_MIN (-347) -#define YY_REDUCE_MAX (1980) -static const short yy_reduce_ofst[] = { - /* 0 */ 623, -201, 90, 264, 519, 632, 697, 798, 840, 901, - /* 10 */ 955, 997, -185, 319, 1020, 1077, 1119, 1131, 1224, 1242, - /* 20 */ 1284, 1307, 1369, 1411, 1461, 1475, 1529, 1571, 1590, 1613, - /* 30 */ 1632, 1693, 1712, 1735, 1754, 1816, 1841, 1858, 1883, 1900, - /* 40 */ 1963, 1980, 829, 910, -231, -51, 285, -262, -255, -76, - /* 50 */ 23, -249, 331, 430, -253, 705, -254, -250, -347, -80, - /* 60 */ -126, 29, -154, 20, 139, 162, 165, 223, 334, 414, - /* 70 */ 26, 663, 664, 746, -118, 101, -261, 756, 759, 70, - /* 80 */ 785, 158, 208, 221, 789, 335, -247, -272, -272, -272, - /* 90 */ -241, -169, -120, -70, 149, 156, 168, 244, 303, 322, - /* 100 */ 359, 502, 503, 517, 518, 520, 523, 527, 556, 567, - /* 110 */ 590, 460, 118, 279, 448, 83, 360, 428, 451, 454, - /* 120 */ 521, 368, -52, 203, 497, 501, 102, 575, 463, 561, - /* 130 */ 588, 41, -265, 74, 224, 232, 260, 262, 327, 337, - /* 140 */ 418, 499, 312, 537, 694, 657, 625, 752, 752, 805, - /* 150 */ 808, 777, 747, 724, 724, 724, 711, 720, 722, 737, - /* 160 */ 752, 775, 861, 822, 876, 834, 888, 891, 854, 857, - /* 170 */ 858, 898, 902, 909, 921, 866, 916, 890, 919, 877, - /* 180 */ 880, 924, 883, 931, 899, 937, 938, 946, 941, 949, - /* 190 */ 929, 930, 932, 933, 935, 936, 944, 951, 953, 954, - /* 200 */ 957, 958, 960, 947, 905, 961, 904, 950, 974, 979, - /* 210 */ 981, 952, 982, 923, 959, 907, 962, 966, 908, 963, - /* 220 */ 969, 975, 752, 911, 915, 940, 942, 948, 964, 972, - /* 230 */ 724, 1010, 983, 968, 967, 971, 970, 973, 977, 985, - /* 240 */ 984, 990, 1006, 1018, 1019, 1023, 1027, 1037, 1015, 1039, - /* 250 */ 1036, 1045, 1038, 1091, 1079, 1094, 1070, 1080, 1069, 1093, - /* 260 */ 1101, 1106, 1112, 1115, 1060, 1071, 1100, 1102, 1103, 1117, - /* 270 */ 1125, -}; -static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 10 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 20 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 30 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 40 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 50 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 60 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 70 */ 1501, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 80 */ 1428, 1428, 1428, 1428, 1428, 1499, 1652, 1428, 1821, 1428, - /* 90 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 100 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 110 */ 1428, 1428, 1428, 1428, 1428, 1501, 1428, 1833, 1833, 1833, - /* 120 */ 1499, 1428, 1428, 1428, 1696, 1696, 1428, 1428, 1428, 1428, - /* 130 */ 1595, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1688, - /* 140 */ 1428, 1428, 1903, 1428, 1428, 1694, 1857, 1428, 1428, 1428, - /* 150 */ 1428, 1548, 1849, 1825, 1839, 1826, 1888, 1888, 1888, 1842, - /* 160 */ 1428, 1853, 1428, 1428, 1428, 1680, 1428, 1428, 1657, 1654, - /* 170 */ 1654, 1428, 1428, 1428, 1428, 1428, 1501, 1428, 1501, 1428, - /* 180 */ 1428, 1501, 1428, 1501, 1428, 1501, 1501, 1428, 1501, 1428, - /* 190 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 200 */ 1428, 1428, 1428, 1428, 1428, 1499, 1690, 1428, 1499, 1428, - /* 210 */ 1428, 1428, 1499, 1428, 1428, 1864, 1862, 1428, 1864, 1862, - /* 220 */ 1428, 1428, 1428, 1876, 1872, 1864, 1880, 1878, 1855, 1853, - /* 230 */ 1839, 1428, 1428, 1823, 1894, 1890, 1906, 1894, 1890, 1894, - /* 240 */ 1890, 1428, 1862, 1428, 1428, 1428, 1428, 1428, 1862, 1428, - /* 250 */ 1428, 1428, 1428, 1499, 1428, 1499, 1428, 1564, 1428, 1428, - /* 260 */ 1428, 1499, 1460, 1428, 1682, 1696, 1598, 1598, 1598, 1502, - /* 270 */ 1433, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 280 */ 1428, 1428, 1765, 1875, 1874, 1797, 1796, 1795, 1793, 1764, - /* 290 */ 1428, 1428, 1560, 1763, 1762, 1428, 1428, 1428, 1428, 1428, - /* 300 */ 1428, 1756, 1757, 1755, 1754, 1428, 1428, 1428, 1428, 1428, - /* 310 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 320 */ 1822, 1428, 1891, 1895, 1428, 1428, 1428, 1739, 1428, 1428, - /* 330 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 340 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 350 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 360 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 370 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 380 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 390 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 400 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 410 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 420 */ 1428, 1428, 1428, 1428, 1428, 1428, 1465, 1428, 1428, 1428, - /* 430 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 440 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 450 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 460 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 470 */ 1428, 1428, 1428, 1529, 1528, 1428, 1428, 1428, 1428, 1428, - /* 480 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 490 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 500 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1846, 1856, - /* 510 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 520 */ 1428, 1428, 1428, 1739, 1428, 1873, 1428, 1832, 1828, 1428, - /* 530 */ 1428, 1824, 1428, 1428, 1889, 1428, 1428, 1428, 1428, 1428, - /* 540 */ 1428, 1428, 1428, 1428, 1817, 1428, 1790, 1428, 1428, 1428, - /* 550 */ 1428, 1428, 1428, 1428, 1428, 1750, 1428, 1428, 1428, 1428, - /* 560 */ 1700, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1738, - /* 570 */ 1428, 1781, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 580 */ 1592, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 590 */ 1428, 1428, 1428, 1577, 1575, 1574, 1573, 1428, 1570, 1428, - /* 600 */ 1428, 1428, 1428, 1601, 1600, 1428, 1428, 1428, 1428, 1428, - /* 610 */ 1428, 1521, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 620 */ 1428, 1512, 1428, 1511, 1428, 1428, 1428, 1428, 1428, 1428, - /* 630 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 640 */ 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, 1428, - /* 650 */ 1428, 1428, 1428, 1428, 1428, 1428, -======= -#define YY_SHIFT_MAX (1821) -static const unsigned short int yy_shift_ofst[] = { - /* 0 */ 891, 0, 0, 57, 57, 254, 254, 254, 311, 311, - /* 10 */ 254, 254, 508, 565, 762, 565, 565, 565, 565, 565, - /* 20 */ 565, 565, 565, 565, 565, 565, 565, 565, 565, 565, - /* 30 */ 565, 565, 565, 565, 565, 565, 565, 565, 565, 565, - /* 40 */ 565, 565, 302, 302, 85, 85, 85, 1224, 1224, 1224, - /* 50 */ 1224, 54, 86, 202, 154, 154, 53, 53, 56, 190, - /* 60 */ 202, 202, 154, 154, 154, 154, 154, 154, 154, 154, - /* 70 */ 15, 154, 154, 154, 171, 214, 298, 154, 154, 298, - /* 80 */ 154, 298, 298, 298, 154, 274, 758, 223, 477, 477, - /* 90 */ 267, 409, 755, 755, 755, 755, 755, 755, 755, 755, - /* 100 */ 755, 755, 755, 755, 755, 755, 755, 755, 755, 755, - /* 110 */ 755, 66, 190, 209, 209, 38, 433, 457, 457, 457, - /* 120 */ 123, 433, 318, 214, 31, 31, 298, 298, 423, 423, - /* 130 */ 306, 429, 252, 252, 252, 252, 252, 252, 252, 131, - /* 140 */ 21, 14, 374, 233, 71, 388, 511, 88, 199, 315, - /* 150 */ 770, 512, 546, 610, 784, 610, 819, 665, 665, 665, - /* 160 */ 792, 617, 863, 1072, 1060, 1089, 966, 1072, 1072, 1105, - /* 170 */ 1004, 1004, 1072, 1134, 1134, 1137, 15, 214, 15, 1142, - /* 180 */ 1145, 15, 1142, 15, 1147, 15, 15, 1072, 15, 1134, - /* 190 */ 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, - /* 200 */ 298, 1072, 1134, 423, 1137, 274, 1032, 214, 274, 1072, - /* 210 */ 1072, 1142, 274, 1199, 423, 992, 1002, 423, 992, 1002, - /* 220 */ 423, 423, 298, 1008, 1091, 992, 1007, 1013, 1028, 863, - /* 230 */ 1033, 318, 1238, 1020, 1027, 1016, 1020, 1027, 1020, 1027, - /* 240 */ 1182, 1002, 423, 423, 423, 423, 423, 1002, 423, 1164, - /* 250 */ 318, 1147, 274, 306, 274, 318, 1240, 423, 429, 1072, - /* 260 */ 274, 1295, 1134, 2471, 2471, 2471, 2471, 2471, 2471, 2471, - /* 270 */ 334, 502, 717, 96, 412, 580, 648, 839, 855, 1019, - /* 280 */ 926, 980, 980, 980, 980, 980, 980, 980, 980, 431, - /* 290 */ 685, 226, 365, 365, 425, 485, 161, 50, 249, 570, - /* 300 */ 328, 355, 355, 355, 355, 699, 739, 956, 746, 818, - /* 310 */ 835, 837, 900, 981, 1023, 921, 727, 967, 970, 929, - /* 320 */ 857, 803, 867, 1006, 335, 1012, 960, 1021, 1025, 1031, - /* 330 */ 1045, 1051, 972, 973, 1059, 1090, 1097, 1098, 1100, 1101, - /* 340 */ 974, 1026, 1036, 1339, 1344, 1303, 1346, 1274, 1348, 1314, - /* 350 */ 1167, 1317, 1318, 1319, 1173, 1357, 1323, 1324, 1177, 1361, - /* 360 */ 1180, 1364, 1330, 1367, 1353, 1368, 1342, 1378, 1297, 1212, - /* 370 */ 1214, 1217, 1220, 1384, 1385, 1227, 1230, 1391, 1392, 1347, - /* 380 */ 1394, 1396, 1397, 1257, 1400, 1401, 1402, 1404, 1406, 1270, - /* 390 */ 1374, 1410, 1277, 1411, 1415, 1416, 1417, 1418, 1419, 1421, - /* 400 */ 1422, 1423, 1432, 1440, 1442, 1443, 1444, 1403, 1446, 1447, - /* 410 */ 1448, 1449, 1450, 1451, 1430, 1453, 1454, 1462, 1463, 1464, - /* 420 */ 1465, 1414, 1420, 1424, 1452, 1412, 1457, 1426, 1468, 1435, - /* 430 */ 1431, 1478, 1479, 1480, 1445, 1327, 1482, 1485, 1486, 1427, - /* 440 */ 1488, 1489, 1455, 1466, 1460, 1492, 1459, 1467, 1461, 1493, - /* 450 */ 1469, 1470, 1472, 1495, 1481, 1474, 1483, 1497, 1501, 1503, - /* 460 */ 1523, 1366, 1436, 1491, 1511, 1535, 1504, 1505, 1508, 1509, - /* 470 */ 1502, 1506, 1512, 1513, 1515, 1538, 1529, 1552, 1531, 1507, - /* 480 */ 1555, 1536, 1522, 1560, 1527, 1563, 1530, 1566, 1545, 1548, - /* 490 */ 1569, 1425, 1539, 1570, 1407, 1549, 1428, 1433, 1573, 1581, - /* 500 */ 1434, 1475, 1582, 1583, 1585, 1543, 1363, 1518, 1520, 1524, - /* 510 */ 1521, 1558, 1533, 1525, 1532, 1537, 1541, 1559, 1574, 1575, - /* 520 */ 1540, 1586, 1408, 1551, 1553, 1580, 1409, 1588, 1589, 1554, - /* 530 */ 1595, 1458, 1556, 1605, 1606, 1607, 1611, 1612, 1613, 1556, - /* 540 */ 1643, 1471, 1608, 1567, 1571, 1572, 1603, 1577, 1587, 1621, - /* 550 */ 1630, 1484, 1590, 1591, 1593, 1596, 1499, 1656, 1598, 1544, - /* 560 */ 1609, 1657, 1631, 1547, 1614, 1597, 1627, 1635, 1616, 1602, - /* 570 */ 1617, 1665, 1618, 1601, 1619, 1653, 1668, 1622, 1623, 1670, - /* 580 */ 1625, 1626, 1673, 1628, 1638, 1678, 1632, 1641, 1690, 1652, - /* 590 */ 1629, 1634, 1636, 1637, 1679, 1642, 1655, 1659, 1703, 1662, - /* 600 */ 1702, 1702, 1724, 1688, 1692, 1714, 1685, 1675, 1713, 1722, - /* 610 */ 1723, 1726, 1727, 1728, 1737, 1729, 1730, 1704, 1502, 1732, - /* 620 */ 1506, 1735, 1741, 1742, 1743, 1744, 1746, 1772, 1747, 1745, - /* 630 */ 1750, 1791, 1758, 1748, 1755, 1796, 1763, 1752, 1761, 1803, - /* 640 */ 1777, 1767, 1779, 1816, 1784, 1785, 1821, 1800, 1802, 1804, - /* 650 */ 1805, 1807, 1810, -}; -#define YY_REDUCE_COUNT (269) -#define YY_REDUCE_MIN (-329) -#define YY_REDUCE_MAX (2136) +#define YY_REDUCE_MIN (-289) +#define YY_REDUCE_MAX (2276) static const short yy_reduce_ofst[] = { - /* 0 */ -246, 688, 769, -197, 789, 881, 944, 971, 1042, 1107, - /* 10 */ 1178, 1200, 1263, 348, 1281, 1334, 1388, 1399, 1456, 1477, - /* 20 */ 1519, 1542, 1599, 1610, 1624, 1666, 1680, 1691, 1733, 1775, - /* 30 */ 1786, 1798, 1853, 1880, 1907, 1934, 1988, 1997, 2015, 2068, - /* 40 */ 2082, 2136, 288, 490, -236, -122, -20, -280, -262, -260, - /* 50 */ -55, -285, -80, -41, 206, 289, -259, -252, -329, -279, - /* 60 */ -126, -49, 268, 341, 342, 351, 459, 460, 461, 517, - /* 70 */ -250, 520, 543, 559, -251, -181, -104, 642, 645, 270, - /* 80 */ 709, 292, 330, 299, 711, 332, -234, -190, -190, -190, - /* 90 */ -99, 146, 120, 244, 354, 356, 385, 444, 532, 549, - /* 100 */ 569, 576, 621, 651, 657, 682, 691, 694, 695, 725, - /* 110 */ 742, 20, 229, -101, 407, 11, 264, 464, 467, 500, - /* 120 */ 80, 456, 83, 7, -307, -97, 189, 325, 149, 436, - /* 130 */ 442, 640, -273, 266, 297, 443, 452, 472, 509, 259, - /* 140 */ 563, 554, 469, 494, 609, 595, 622, 715, 715, 773, - /* 150 */ 764, 745, 733, 712, 712, 712, 718, 702, 704, 714, - /* 160 */ 729, 715, 768, 842, 794, 856, 814, 882, 883, 845, - /* 170 */ 849, 850, 890, 898, 899, 840, 893, 860, 894, 851, - /* 180 */ 852, 901, 858, 904, 870, 908, 909, 915, 918, 925, - /* 190 */ 903, 905, 906, 907, 910, 911, 912, 913, 914, 917, - /* 200 */ 919, 924, 934, 896, 879, 936, 886, 916, 941, 953, - /* 210 */ 954, 895, 955, 902, 933, 866, 927, 935, 873, 931, - /* 220 */ 943, 945, 715, 885, 887, 892, 897, 920, 923, 928, - /* 230 */ 712, 965, 938, 922, 939, 930, 937, 942, 940, 947, - /* 240 */ 948, 958, 986, 987, 988, 994, 996, 963, 997, 989, - /* 250 */ 1029, 1014, 1052, 1037, 1054, 1030, 1039, 1034, 1056, 1061, - /* 260 */ 1062, 1074, 1077, 1035, 1024, 1064, 1065, 1066, 1070, 1084, + /* 0 */ -65, -204, 692, 777, 832, 887, 949, 1017, 1084, 1162, + /* 10 */ 533, 1216, 1243, 350, 1297, 1347, 1397, 1413, 1477, 1493, + /* 20 */ 1543, 1559, 1623, 1640, 1682, 1706, 1762, 1786, 1828, 1844, + /* 30 */ 1908, 1925, 1967, 1991, 2047, 2071, 2113, 2129, 2193, 2210, + /* 40 */ 2252, 2276, 237, 289, -178, -106, 488, -278, -271, -276, + /* 50 */ -213, -289, -182, -140, 22, 204, -260, -256, -218, -153, + /* 60 */ -49, -44, 34, 300, 319, 371, 552, 565, 647, 648, + /* 70 */ -267, 650, 651, 711, -275, -283, -2, 56, 713, -56, + /* 80 */ 715, 93, 101, 140, 717, -172, 66, -110, -110, -110, + /* 90 */ 62, 231, 123, 243, 277, 280, 354, 537, 559, 563, + /* 100 */ 577, 582, 611, 654, 690, 698, 701, 729, 741, 744, + /* 110 */ 745, -221, -248, 39, 183, 104, 219, 264, 403, 404, + /* 120 */ 211, 465, 79, 439, 315, 430, 466, 357, 517, 622, + /* 130 */ 657, 512, -249, 497, 522, 539, 543, 557, 587, 491, + /* 140 */ 590, 549, 535, 584, 652, 626, 675, 781, 781, 801, + /* 150 */ 804, 772, 752, 719, 719, 719, 747, 733, 735, 750, + /* 160 */ 742, 781, 799, 859, 813, 867, 824, 874, 878, 841, + /* 170 */ 845, 846, 885, 886, 894, 896, 835, 888, 860, 890, + /* 180 */ 855, 857, 905, 865, 909, 877, 913, 915, 923, 917, + /* 190 */ 930, 906, 907, 908, 910, 911, 914, 916, 918, 919, + /* 200 */ 920, 922, 925, 935, 900, 879, 941, 882, 924, 943, + /* 210 */ 946, 947, 901, 955, 897, 929, 868, 926, 938, 884, + /* 220 */ 931, 939, 948, 781, 891, 893, 898, 892, 899, 902, + /* 230 */ 933, 719, 968, 936, 927, 903, 932, 934, 937, 942, + /* 240 */ 944, 954, 962, 972, 974, 978, 979, 991, 975, 992, + /* 250 */ 984, 1007, 989, 1034, 1018, 1037, 1016, 1027, 1020, 1045, + /* 260 */ 1047, 1052, 1061, 1063, 1005, 1019, 1049, 1051, 1054, 1056, + /* 270 */ 1070, }; static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 10 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 20 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 30 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 40 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 50 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 60 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 70 */ 1509, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 80 */ 1437, 1437, 1437, 1437, 1437, 1507, 1660, 1437, 1836, 1437, - /* 90 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 100 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 110 */ 1437, 1437, 1437, 1437, 1437, 1509, 1437, 1848, 1848, 1848, - /* 120 */ 1507, 1437, 1437, 1437, 1704, 1704, 1437, 1437, 1437, 1437, - /* 130 */ 1603, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1696, - /* 140 */ 1437, 1437, 1917, 1437, 1437, 1702, 1871, 1437, 1437, 1437, - /* 150 */ 1437, 1556, 1863, 1840, 1854, 1841, 1838, 1902, 1902, 1902, - /* 160 */ 1857, 1437, 1867, 1437, 1437, 1437, 1688, 1437, 1437, 1665, - /* 170 */ 1662, 1662, 1437, 1437, 1437, 1437, 1509, 1437, 1509, 1437, - /* 180 */ 1437, 1509, 1437, 1509, 1437, 1509, 1509, 1437, 1509, 1437, - /* 190 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 200 */ 1437, 1437, 1437, 1437, 1437, 1507, 1698, 1437, 1507, 1437, - /* 210 */ 1437, 1437, 1507, 1437, 1437, 1878, 1876, 1437, 1878, 1876, - /* 220 */ 1437, 1437, 1437, 1890, 1886, 1878, 1894, 1892, 1869, 1867, - /* 230 */ 1854, 1437, 1437, 1908, 1904, 1920, 1908, 1904, 1908, 1904, - /* 240 */ 1437, 1876, 1437, 1437, 1437, 1437, 1437, 1876, 1437, 1437, - /* 250 */ 1437, 1437, 1507, 1437, 1507, 1437, 1572, 1437, 1437, 1437, - /* 260 */ 1507, 1469, 1437, 1690, 1704, 1606, 1606, 1606, 1510, 1442, - /* 270 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 280 */ 1437, 1774, 1889, 1888, 1812, 1811, 1810, 1808, 1773, 1437, - /* 290 */ 1437, 1568, 1772, 1771, 1437, 1437, 1437, 1437, 1437, 1437, - /* 300 */ 1437, 1765, 1766, 1764, 1763, 1437, 1437, 1437, 1437, 1437, - /* 310 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1837, - /* 320 */ 1437, 1905, 1909, 1437, 1437, 1437, 1748, 1437, 1437, 1437, - /* 330 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 340 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 350 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 360 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 370 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 380 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 390 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 400 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 410 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 420 */ 1437, 1437, 1437, 1474, 1437, 1437, 1437, 1437, 1437, 1437, - /* 430 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 440 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 450 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 460 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 470 */ 1537, 1536, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 480 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 490 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 500 */ 1437, 1437, 1437, 1437, 1437, 1870, 1437, 1437, 1437, 1437, - /* 510 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1748, - /* 520 */ 1437, 1887, 1437, 1847, 1843, 1437, 1437, 1839, 1437, 1437, - /* 530 */ 1903, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 540 */ 1832, 1437, 1805, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 550 */ 1437, 1759, 1437, 1437, 1437, 1437, 1437, 1708, 1437, 1437, - /* 560 */ 1437, 1437, 1437, 1437, 1437, 1437, 1747, 1437, 1790, 1437, - /* 570 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1600, 1437, 1437, - /* 580 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 590 */ 1585, 1583, 1582, 1581, 1437, 1578, 1437, 1437, 1437, 1437, - /* 600 */ 1609, 1608, 1437, 1437, 1437, 1437, 1437, 1437, 1529, 1437, - /* 610 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1520, 1437, - /* 620 */ 1519, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 630 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 640 */ 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, 1437, - /* 650 */ 1437, 1437, 1437, ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + /* 0 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 10 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 20 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 30 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 40 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 50 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 60 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 70 */ 1514, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 80 */ 1441, 1441, 1441, 1441, 1441, 1512, 1665, 1441, 1841, 1441, + /* 90 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 100 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 110 */ 1441, 1441, 1441, 1441, 1441, 1514, 1441, 1853, 1853, 1853, + /* 120 */ 1512, 1441, 1441, 1441, 1709, 1709, 1441, 1441, 1441, 1441, + /* 130 */ 1608, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1701, + /* 140 */ 1441, 1441, 1922, 1441, 1441, 1707, 1876, 1441, 1441, 1441, + /* 150 */ 1441, 1561, 1868, 1845, 1859, 1846, 1843, 1907, 1907, 1907, + /* 160 */ 1862, 1441, 1872, 1441, 1441, 1441, 1693, 1441, 1441, 1670, + /* 170 */ 1667, 1667, 1441, 1441, 1441, 1441, 1441, 1514, 1441, 1514, + /* 180 */ 1441, 1441, 1514, 1441, 1514, 1441, 1514, 1514, 1441, 1514, + /* 190 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 200 */ 1441, 1441, 1441, 1441, 1441, 1441, 1512, 1703, 1441, 1512, + /* 210 */ 1441, 1441, 1441, 1512, 1441, 1441, 1883, 1881, 1441, 1883, + /* 220 */ 1881, 1441, 1441, 1441, 1895, 1891, 1883, 1899, 1897, 1874, + /* 230 */ 1872, 1859, 1441, 1441, 1913, 1909, 1925, 1913, 1909, 1913, + /* 240 */ 1909, 1441, 1881, 1441, 1441, 1441, 1441, 1441, 1881, 1441, + /* 250 */ 1441, 1441, 1441, 1512, 1441, 1512, 1441, 1577, 1441, 1441, + /* 260 */ 1441, 1512, 1473, 1441, 1695, 1709, 1611, 1611, 1611, 1515, + /* 270 */ 1446, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 280 */ 1441, 1441, 1779, 1894, 1893, 1817, 1816, 1815, 1813, 1778, + /* 290 */ 1441, 1441, 1573, 1777, 1776, 1441, 1441, 1441, 1441, 1441, + /* 300 */ 1441, 1441, 1770, 1771, 1769, 1768, 1441, 1441, 1441, 1441, + /* 310 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 320 */ 1842, 1441, 1910, 1914, 1441, 1441, 1441, 1753, 1441, 1441, + /* 330 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 340 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 350 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 360 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 370 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 380 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 390 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 400 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 410 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 420 */ 1441, 1441, 1441, 1441, 1441, 1441, 1478, 1441, 1441, 1441, + /* 430 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 440 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 450 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 460 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 470 */ 1441, 1441, 1441, 1542, 1541, 1441, 1441, 1441, 1441, 1441, + /* 480 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 490 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 500 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1875, 1441, + /* 510 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 520 */ 1441, 1441, 1753, 1441, 1892, 1441, 1852, 1848, 1441, 1441, + /* 530 */ 1844, 1441, 1441, 1908, 1441, 1441, 1441, 1441, 1441, 1441, + /* 540 */ 1441, 1441, 1441, 1837, 1441, 1810, 1441, 1441, 1441, 1441, + /* 550 */ 1441, 1441, 1441, 1441, 1764, 1441, 1441, 1441, 1441, 1441, + /* 560 */ 1713, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1752, + /* 570 */ 1441, 1795, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 580 */ 1605, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 590 */ 1441, 1441, 1441, 1590, 1588, 1587, 1586, 1441, 1583, 1441, + /* 600 */ 1441, 1441, 1441, 1614, 1613, 1441, 1441, 1441, 1441, 1441, + /* 610 */ 1441, 1534, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 620 */ 1441, 1525, 1441, 1524, 1441, 1441, 1441, 1441, 1441, 1441, + /* 630 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 640 */ 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1441, + /* 650 */ 1441, 1441, 1441, 1441, 1441, 1441, }; /********** End of lemon-generated parsing tables *****************************/ @@ -1859,21 +1182,12 @@ static const YYCODETYPE yyFallback[] = { 0, /* ASC => nothing */ 0, /* NULLS => nothing */ 0, /* ID => nothing */ -<<<<<<< HEAD - 240, /* NK_BITNOT => ID */ - 240, /* INSERT => ID */ - 240, /* VALUES => ID */ - 240, /* IMPORT => ID */ - 240, /* NK_SEMI => ID */ - 240, /* FILE => ID */ -======= - 245, /* NK_BITNOT => ID */ - 245, /* INSERT => ID */ - 245, /* VALUES => ID */ - 245, /* IMPORT => ID */ - 245, /* NK_SEMI => ID */ - 245, /* FILE => ID */ ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + 246, /* NK_BITNOT => ID */ + 246, /* INSERT => ID */ + 246, /* VALUES => ID */ + 246, /* IMPORT => ID */ + 246, /* NK_SEMI => ID */ + 246, /* FILE => ID */ }; #endif /* YYFALLBACK */ @@ -2019,7 +1333,6 @@ static const char *const yyTokenName[] = { /* 55 */ "MNODE", /* 56 */ "DATABASE", /* 57 */ "USE", -<<<<<<< HEAD /* 58 */ "FLUSH", /* 59 */ "IF", /* 60 */ "NOT", @@ -2140,518 +1453,204 @@ static const char *const yyTokenName[] = { /* 175 */ "TRIGGER", /* 176 */ "AT_ONCE", /* 177 */ "WINDOW_CLOSE", - /* 178 */ "KILL", - /* 179 */ "CONNECTION", - /* 180 */ "TRANSACTION", - /* 181 */ "BALANCE", - /* 182 */ "VGROUP", - /* 183 */ "MERGE", - /* 184 */ "REDISTRIBUTE", - /* 185 */ "SPLIT", - /* 186 */ "SYNCDB", - /* 187 */ "DELETE", - /* 188 */ "NULL", - /* 189 */ "NK_QUESTION", - /* 190 */ "NK_ARROW", - /* 191 */ "ROWTS", - /* 192 */ "TBNAME", - /* 193 */ "QSTARTTS", - /* 194 */ "QENDTS", - /* 195 */ "WSTARTTS", - /* 196 */ "WENDTS", - /* 197 */ "WDURATION", - /* 198 */ "CAST", - /* 199 */ "NOW", - /* 200 */ "TODAY", - /* 201 */ "TIMEZONE", - /* 202 */ "COUNT", - /* 203 */ "LAST_ROW", - /* 204 */ "BETWEEN", - /* 205 */ "IS", - /* 206 */ "NK_LT", - /* 207 */ "NK_GT", - /* 208 */ "NK_LE", - /* 209 */ "NK_GE", - /* 210 */ "NK_NE", - /* 211 */ "MATCH", - /* 212 */ "NMATCH", - /* 213 */ "CONTAINS", - /* 214 */ "JOIN", - /* 215 */ "INNER", - /* 216 */ "SELECT", - /* 217 */ "DISTINCT", - /* 218 */ "WHERE", - /* 219 */ "PARTITION", - /* 220 */ "BY", - /* 221 */ "SESSION", - /* 222 */ "STATE_WINDOW", - /* 223 */ "SLIDING", - /* 224 */ "FILL", - /* 225 */ "VALUE", - /* 226 */ "NONE", - /* 227 */ "PREV", - /* 228 */ "LINEAR", - /* 229 */ "NEXT", - /* 230 */ "HAVING", - /* 231 */ "RANGE", - /* 232 */ "EVERY", - /* 233 */ "ORDER", - /* 234 */ "SLIMIT", - /* 235 */ "SOFFSET", - /* 236 */ "LIMIT", - /* 237 */ "OFFSET", - /* 238 */ "ASC", - /* 239 */ "NULLS", - /* 240 */ "ID", - /* 241 */ "NK_BITNOT", - /* 242 */ "INSERT", - /* 243 */ "VALUES", - /* 244 */ "IMPORT", - /* 245 */ "NK_SEMI", - /* 246 */ "FILE", - /* 247 */ "cmd", - /* 248 */ "account_options", - /* 249 */ "alter_account_options", - /* 250 */ "literal", - /* 251 */ "alter_account_option", - /* 252 */ "user_name", - /* 253 */ "sysinfo_opt", - /* 254 */ "privileges", - /* 255 */ "priv_level", - /* 256 */ "priv_type_list", - /* 257 */ "priv_type", - /* 258 */ "db_name", - /* 259 */ "dnode_endpoint", - /* 260 */ "not_exists_opt", - /* 261 */ "db_options", - /* 262 */ "exists_opt", - /* 263 */ "alter_db_options", - /* 264 */ "integer_list", - /* 265 */ "variable_list", - /* 266 */ "retention_list", - /* 267 */ "alter_db_option", - /* 268 */ "retention", - /* 269 */ "full_table_name", - /* 270 */ "column_def_list", - /* 271 */ "tags_def_opt", - /* 272 */ "table_options", - /* 273 */ "multi_create_clause", - /* 274 */ "tags_def", - /* 275 */ "multi_drop_clause", - /* 276 */ "alter_table_clause", - /* 277 */ "alter_table_options", - /* 278 */ "column_name", - /* 279 */ "type_name", - /* 280 */ "signed_literal", - /* 281 */ "create_subtable_clause", - /* 282 */ "specific_tags_opt", - /* 283 */ "literal_list", - /* 284 */ "drop_table_clause", - /* 285 */ "col_name_list", - /* 286 */ "table_name", - /* 287 */ "column_def", - /* 288 */ "duration_list", - /* 289 */ "rollup_func_list", - /* 290 */ "alter_table_option", - /* 291 */ "duration_literal", - /* 292 */ "rollup_func_name", - /* 293 */ "function_name", - /* 294 */ "col_name", - /* 295 */ "db_name_cond_opt", - /* 296 */ "like_pattern_opt", - /* 297 */ "table_name_cond", - /* 298 */ "from_db_opt", - /* 299 */ "index_name", - /* 300 */ "index_options", - /* 301 */ "func_list", - /* 302 */ "sliding_opt", - /* 303 */ "sma_stream_opt", - /* 304 */ "func", - /* 305 */ "expression_list", - /* 306 */ "stream_options", - /* 307 */ "topic_name", - /* 308 */ "query_expression", - /* 309 */ "cgroup_name", - /* 310 */ "analyze_opt", - /* 311 */ "explain_options", - /* 312 */ "agg_func_opt", - /* 313 */ "bufsize_opt", - /* 314 */ "stream_name", - /* 315 */ "into_opt", - /* 316 */ "dnode_list", - /* 317 */ "where_clause_opt", - /* 318 */ "signed", - /* 319 */ "literal_func", - /* 320 */ "table_alias", - /* 321 */ "column_alias", - /* 322 */ "expression", - /* 323 */ "pseudo_column", - /* 324 */ "column_reference", - /* 325 */ "function_expression", - /* 326 */ "subquery", - /* 327 */ "star_func", - /* 328 */ "star_func_para_list", - /* 329 */ "noarg_func", - /* 330 */ "other_para_list", - /* 331 */ "star_func_para", - /* 332 */ "predicate", - /* 333 */ "compare_op", - /* 334 */ "in_op", - /* 335 */ "in_predicate_value", - /* 336 */ "boolean_value_expression", - /* 337 */ "boolean_primary", - /* 338 */ "common_expression", - /* 339 */ "from_clause_opt", - /* 340 */ "table_reference_list", - /* 341 */ "table_reference", - /* 342 */ "table_primary", - /* 343 */ "joined_table", - /* 344 */ "alias_opt", - /* 345 */ "parenthesized_joined_table", - /* 346 */ "join_type", - /* 347 */ "search_condition", - /* 348 */ "query_specification", - /* 349 */ "set_quantifier_opt", - /* 350 */ "select_list", - /* 351 */ "partition_by_clause_opt", - /* 352 */ "range_opt", - /* 353 */ "every_opt", - /* 354 */ "fill_opt", - /* 355 */ "twindow_clause_opt", - /* 356 */ "group_by_clause_opt", - /* 357 */ "having_clause_opt", - /* 358 */ "select_sublist", - /* 359 */ "select_item", - /* 360 */ "fill_mode", - /* 361 */ "group_by_list", - /* 362 */ "query_expression_body", - /* 363 */ "order_by_clause_opt", - /* 364 */ "slimit_clause_opt", - /* 365 */ "limit_clause_opt", - /* 366 */ "query_primary", - /* 367 */ "sort_specification_list", - /* 368 */ "sort_specification", - /* 369 */ "ordering_specification_opt", - /* 370 */ "null_ordering_opt", -======= - /* 58 */ "IF", - /* 59 */ "NOT", - /* 60 */ "EXISTS", - /* 61 */ "BUFFER", - /* 62 */ "CACHELAST", - /* 63 */ "COMP", - /* 64 */ "DURATION", - /* 65 */ "NK_VARIABLE", - /* 66 */ "FSYNC", - /* 67 */ "MAXROWS", - /* 68 */ "MINROWS", - /* 69 */ "KEEP", - /* 70 */ "PAGES", - /* 71 */ "PAGESIZE", - /* 72 */ "PRECISION", - /* 73 */ "REPLICA", - /* 74 */ "STRICT", - /* 75 */ "WAL", - /* 76 */ "VGROUPS", - /* 77 */ "SINGLE_STABLE", - /* 78 */ "RETENTIONS", - /* 79 */ "SCHEMALESS", - /* 80 */ "NK_COLON", - /* 81 */ "TABLE", - /* 82 */ "NK_LP", - /* 83 */ "NK_RP", - /* 84 */ "STABLE", - /* 85 */ "ADD", - /* 86 */ "COLUMN", - /* 87 */ "MODIFY", - /* 88 */ "RENAME", - /* 89 */ "TAG", - /* 90 */ "SET", - /* 91 */ "NK_EQ", - /* 92 */ "USING", - /* 93 */ "TAGS", - /* 94 */ "COMMENT", - /* 95 */ "BOOL", - /* 96 */ "TINYINT", - /* 97 */ "SMALLINT", - /* 98 */ "INT", - /* 99 */ "INTEGER", - /* 100 */ "BIGINT", - /* 101 */ "FLOAT", - /* 102 */ "DOUBLE", - /* 103 */ "BINARY", - /* 104 */ "TIMESTAMP", - /* 105 */ "NCHAR", - /* 106 */ "UNSIGNED", - /* 107 */ "JSON", - /* 108 */ "VARCHAR", - /* 109 */ "MEDIUMBLOB", - /* 110 */ "BLOB", - /* 111 */ "VARBINARY", - /* 112 */ "DECIMAL", - /* 113 */ "MAX_DELAY", - /* 114 */ "WATERMARK", - /* 115 */ "ROLLUP", - /* 116 */ "TTL", - /* 117 */ "SMA", - /* 118 */ "FIRST", - /* 119 */ "LAST", - /* 120 */ "SHOW", - /* 121 */ "DATABASES", - /* 122 */ "TABLES", - /* 123 */ "STABLES", - /* 124 */ "MNODES", - /* 125 */ "MODULES", - /* 126 */ "QNODES", - /* 127 */ "FUNCTIONS", - /* 128 */ "INDEXES", - /* 129 */ "ACCOUNTS", - /* 130 */ "APPS", - /* 131 */ "CONNECTIONS", - /* 132 */ "LICENCE", - /* 133 */ "GRANTS", - /* 134 */ "QUERIES", - /* 135 */ "SCORES", - /* 136 */ "TOPICS", - /* 137 */ "VARIABLES", - /* 138 */ "BNODES", - /* 139 */ "SNODES", - /* 140 */ "CLUSTER", - /* 141 */ "TRANSACTIONS", - /* 142 */ "DISTRIBUTED", - /* 143 */ "CONSUMERS", - /* 144 */ "SUBSCRIPTIONS", - /* 145 */ "LIKE", - /* 146 */ "INDEX", - /* 147 */ "FUNCTION", - /* 148 */ "INTERVAL", - /* 149 */ "TOPIC", - /* 150 */ "AS", - /* 151 */ "WITH", - /* 152 */ "META", - /* 153 */ "CONSUMER", - /* 154 */ "GROUP", - /* 155 */ "DESC", - /* 156 */ "DESCRIBE", - /* 157 */ "RESET", - /* 158 */ "QUERY", - /* 159 */ "CACHE", - /* 160 */ "EXPLAIN", - /* 161 */ "ANALYZE", - /* 162 */ "VERBOSE", - /* 163 */ "NK_BOOL", - /* 164 */ "RATIO", - /* 165 */ "NK_FLOAT", - /* 166 */ "COMPACT", - /* 167 */ "VNODES", - /* 168 */ "IN", - /* 169 */ "OUTPUTTYPE", - /* 170 */ "AGGREGATE", - /* 171 */ "BUFSIZE", - /* 172 */ "STREAM", - /* 173 */ "INTO", - /* 174 */ "TRIGGER", - /* 175 */ "AT_ONCE", - /* 176 */ "WINDOW_CLOSE", - /* 177 */ "IGNORE", - /* 178 */ "EXPIRED", - /* 179 */ "KILL", - /* 180 */ "CONNECTION", - /* 181 */ "TRANSACTION", - /* 182 */ "BALANCE", - /* 183 */ "VGROUP", - /* 184 */ "MERGE", - /* 185 */ "REDISTRIBUTE", - /* 186 */ "SPLIT", - /* 187 */ "SYNCDB", - /* 188 */ "DELETE", - /* 189 */ "NULL", - /* 190 */ "NK_QUESTION", - /* 191 */ "NK_ARROW", - /* 192 */ "ROWTS", - /* 193 */ "TBNAME", - /* 194 */ "QSTARTTS", - /* 195 */ "QENDTS", - /* 196 */ "WSTARTTS", - /* 197 */ "WENDTS", - /* 198 */ "WDURATION", - /* 199 */ "CAST", - /* 200 */ "NOW", - /* 201 */ "TODAY", - /* 202 */ "TIMEZONE", - /* 203 */ "CLIENT_VERSION", - /* 204 */ "SERVER_VERSION", - /* 205 */ "SERVER_STATUS", - /* 206 */ "CURRENT_USER", - /* 207 */ "COUNT", - /* 208 */ "LAST_ROW", - /* 209 */ "BETWEEN", - /* 210 */ "IS", - /* 211 */ "NK_LT", - /* 212 */ "NK_GT", - /* 213 */ "NK_LE", - /* 214 */ "NK_GE", - /* 215 */ "NK_NE", - /* 216 */ "MATCH", - /* 217 */ "NMATCH", - /* 218 */ "CONTAINS", - /* 219 */ "JOIN", - /* 220 */ "INNER", - /* 221 */ "SELECT", - /* 222 */ "DISTINCT", - /* 223 */ "WHERE", - /* 224 */ "PARTITION", - /* 225 */ "BY", - /* 226 */ "SESSION", - /* 227 */ "STATE_WINDOW", - /* 228 */ "SLIDING", - /* 229 */ "FILL", - /* 230 */ "VALUE", - /* 231 */ "NONE", - /* 232 */ "PREV", - /* 233 */ "LINEAR", - /* 234 */ "NEXT", - /* 235 */ "HAVING", - /* 236 */ "RANGE", - /* 237 */ "EVERY", - /* 238 */ "ORDER", - /* 239 */ "SLIMIT", - /* 240 */ "SOFFSET", - /* 241 */ "LIMIT", - /* 242 */ "OFFSET", - /* 243 */ "ASC", - /* 244 */ "NULLS", - /* 245 */ "ID", - /* 246 */ "NK_BITNOT", - /* 247 */ "INSERT", - /* 248 */ "VALUES", - /* 249 */ "IMPORT", - /* 250 */ "NK_SEMI", - /* 251 */ "FILE", - /* 252 */ "cmd", - /* 253 */ "account_options", - /* 254 */ "alter_account_options", - /* 255 */ "literal", - /* 256 */ "alter_account_option", - /* 257 */ "user_name", - /* 258 */ "sysinfo_opt", - /* 259 */ "privileges", - /* 260 */ "priv_level", - /* 261 */ "priv_type_list", - /* 262 */ "priv_type", - /* 263 */ "db_name", - /* 264 */ "dnode_endpoint", - /* 265 */ "not_exists_opt", - /* 266 */ "db_options", - /* 267 */ "exists_opt", - /* 268 */ "alter_db_options", - /* 269 */ "integer_list", - /* 270 */ "variable_list", - /* 271 */ "retention_list", - /* 272 */ "alter_db_option", - /* 273 */ "retention", - /* 274 */ "full_table_name", - /* 275 */ "column_def_list", - /* 276 */ "tags_def_opt", - /* 277 */ "table_options", - /* 278 */ "multi_create_clause", - /* 279 */ "tags_def", - /* 280 */ "multi_drop_clause", - /* 281 */ "alter_table_clause", - /* 282 */ "alter_table_options", - /* 283 */ "column_name", - /* 284 */ "type_name", - /* 285 */ "signed_literal", - /* 286 */ "create_subtable_clause", - /* 287 */ "specific_tags_opt", - /* 288 */ "literal_list", - /* 289 */ "drop_table_clause", - /* 290 */ "col_name_list", - /* 291 */ "table_name", - /* 292 */ "column_def", - /* 293 */ "duration_list", - /* 294 */ "rollup_func_list", - /* 295 */ "alter_table_option", - /* 296 */ "duration_literal", - /* 297 */ "rollup_func_name", - /* 298 */ "function_name", - /* 299 */ "col_name", - /* 300 */ "db_name_cond_opt", - /* 301 */ "like_pattern_opt", - /* 302 */ "table_name_cond", - /* 303 */ "from_db_opt", - /* 304 */ "index_name", - /* 305 */ "index_options", - /* 306 */ "func_list", - /* 307 */ "sliding_opt", - /* 308 */ "sma_stream_opt", - /* 309 */ "func", - /* 310 */ "expression_list", - /* 311 */ "stream_options", - /* 312 */ "topic_name", - /* 313 */ "query_expression", - /* 314 */ "cgroup_name", - /* 315 */ "analyze_opt", - /* 316 */ "explain_options", - /* 317 */ "agg_func_opt", - /* 318 */ "bufsize_opt", - /* 319 */ "stream_name", - /* 320 */ "into_opt", - /* 321 */ "dnode_list", - /* 322 */ "where_clause_opt", - /* 323 */ "signed", - /* 324 */ "literal_func", - /* 325 */ "table_alias", - /* 326 */ "column_alias", - /* 327 */ "expression", - /* 328 */ "pseudo_column", - /* 329 */ "column_reference", - /* 330 */ "function_expression", - /* 331 */ "subquery", - /* 332 */ "star_func", - /* 333 */ "star_func_para_list", - /* 334 */ "noarg_func", - /* 335 */ "other_para_list", - /* 336 */ "star_func_para", - /* 337 */ "predicate", - /* 338 */ "compare_op", - /* 339 */ "in_op", - /* 340 */ "in_predicate_value", - /* 341 */ "boolean_value_expression", - /* 342 */ "boolean_primary", - /* 343 */ "common_expression", - /* 344 */ "from_clause_opt", - /* 345 */ "table_reference_list", - /* 346 */ "table_reference", - /* 347 */ "table_primary", - /* 348 */ "joined_table", - /* 349 */ "alias_opt", - /* 350 */ "parenthesized_joined_table", - /* 351 */ "join_type", - /* 352 */ "search_condition", - /* 353 */ "query_specification", - /* 354 */ "set_quantifier_opt", - /* 355 */ "select_list", - /* 356 */ "partition_by_clause_opt", - /* 357 */ "range_opt", - /* 358 */ "every_opt", - /* 359 */ "fill_opt", - /* 360 */ "twindow_clause_opt", - /* 361 */ "group_by_clause_opt", - /* 362 */ "having_clause_opt", - /* 363 */ "select_item", - /* 364 */ "fill_mode", - /* 365 */ "group_by_list", - /* 366 */ "query_expression_body", - /* 367 */ "order_by_clause_opt", - /* 368 */ "slimit_clause_opt", - /* 369 */ "limit_clause_opt", - /* 370 */ "query_primary", - /* 371 */ "sort_specification_list", - /* 372 */ "sort_specification", - /* 373 */ "ordering_specification_opt", - /* 374 */ "null_ordering_opt", ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + /* 178 */ "IGNORE", + /* 179 */ "EXPIRED", + /* 180 */ "KILL", + /* 181 */ "CONNECTION", + /* 182 */ "TRANSACTION", + /* 183 */ "BALANCE", + /* 184 */ "VGROUP", + /* 185 */ "MERGE", + /* 186 */ "REDISTRIBUTE", + /* 187 */ "SPLIT", + /* 188 */ "SYNCDB", + /* 189 */ "DELETE", + /* 190 */ "NULL", + /* 191 */ "NK_QUESTION", + /* 192 */ "NK_ARROW", + /* 193 */ "ROWTS", + /* 194 */ "TBNAME", + /* 195 */ "QSTARTTS", + /* 196 */ "QENDTS", + /* 197 */ "WSTARTTS", + /* 198 */ "WENDTS", + /* 199 */ "WDURATION", + /* 200 */ "CAST", + /* 201 */ "NOW", + /* 202 */ "TODAY", + /* 203 */ "TIMEZONE", + /* 204 */ "CLIENT_VERSION", + /* 205 */ "SERVER_VERSION", + /* 206 */ "SERVER_STATUS", + /* 207 */ "CURRENT_USER", + /* 208 */ "COUNT", + /* 209 */ "LAST_ROW", + /* 210 */ "BETWEEN", + /* 211 */ "IS", + /* 212 */ "NK_LT", + /* 213 */ "NK_GT", + /* 214 */ "NK_LE", + /* 215 */ "NK_GE", + /* 216 */ "NK_NE", + /* 217 */ "MATCH", + /* 218 */ "NMATCH", + /* 219 */ "CONTAINS", + /* 220 */ "JOIN", + /* 221 */ "INNER", + /* 222 */ "SELECT", + /* 223 */ "DISTINCT", + /* 224 */ "WHERE", + /* 225 */ "PARTITION", + /* 226 */ "BY", + /* 227 */ "SESSION", + /* 228 */ "STATE_WINDOW", + /* 229 */ "SLIDING", + /* 230 */ "FILL", + /* 231 */ "VALUE", + /* 232 */ "NONE", + /* 233 */ "PREV", + /* 234 */ "LINEAR", + /* 235 */ "NEXT", + /* 236 */ "HAVING", + /* 237 */ "RANGE", + /* 238 */ "EVERY", + /* 239 */ "ORDER", + /* 240 */ "SLIMIT", + /* 241 */ "SOFFSET", + /* 242 */ "LIMIT", + /* 243 */ "OFFSET", + /* 244 */ "ASC", + /* 245 */ "NULLS", + /* 246 */ "ID", + /* 247 */ "NK_BITNOT", + /* 248 */ "INSERT", + /* 249 */ "VALUES", + /* 250 */ "IMPORT", + /* 251 */ "NK_SEMI", + /* 252 */ "FILE", + /* 253 */ "cmd", + /* 254 */ "account_options", + /* 255 */ "alter_account_options", + /* 256 */ "literal", + /* 257 */ "alter_account_option", + /* 258 */ "user_name", + /* 259 */ "sysinfo_opt", + /* 260 */ "privileges", + /* 261 */ "priv_level", + /* 262 */ "priv_type_list", + /* 263 */ "priv_type", + /* 264 */ "db_name", + /* 265 */ "dnode_endpoint", + /* 266 */ "not_exists_opt", + /* 267 */ "db_options", + /* 268 */ "exists_opt", + /* 269 */ "alter_db_options", + /* 270 */ "integer_list", + /* 271 */ "variable_list", + /* 272 */ "retention_list", + /* 273 */ "alter_db_option", + /* 274 */ "retention", + /* 275 */ "full_table_name", + /* 276 */ "column_def_list", + /* 277 */ "tags_def_opt", + /* 278 */ "table_options", + /* 279 */ "multi_create_clause", + /* 280 */ "tags_def", + /* 281 */ "multi_drop_clause", + /* 282 */ "alter_table_clause", + /* 283 */ "alter_table_options", + /* 284 */ "column_name", + /* 285 */ "type_name", + /* 286 */ "signed_literal", + /* 287 */ "create_subtable_clause", + /* 288 */ "specific_tags_opt", + /* 289 */ "literal_list", + /* 290 */ "drop_table_clause", + /* 291 */ "col_name_list", + /* 292 */ "table_name", + /* 293 */ "column_def", + /* 294 */ "duration_list", + /* 295 */ "rollup_func_list", + /* 296 */ "alter_table_option", + /* 297 */ "duration_literal", + /* 298 */ "rollup_func_name", + /* 299 */ "function_name", + /* 300 */ "col_name", + /* 301 */ "db_name_cond_opt", + /* 302 */ "like_pattern_opt", + /* 303 */ "table_name_cond", + /* 304 */ "from_db_opt", + /* 305 */ "index_name", + /* 306 */ "index_options", + /* 307 */ "func_list", + /* 308 */ "sliding_opt", + /* 309 */ "sma_stream_opt", + /* 310 */ "func", + /* 311 */ "expression_list", + /* 312 */ "stream_options", + /* 313 */ "topic_name", + /* 314 */ "query_expression", + /* 315 */ "cgroup_name", + /* 316 */ "analyze_opt", + /* 317 */ "explain_options", + /* 318 */ "agg_func_opt", + /* 319 */ "bufsize_opt", + /* 320 */ "stream_name", + /* 321 */ "into_opt", + /* 322 */ "dnode_list", + /* 323 */ "where_clause_opt", + /* 324 */ "signed", + /* 325 */ "literal_func", + /* 326 */ "table_alias", + /* 327 */ "column_alias", + /* 328 */ "expression", + /* 329 */ "pseudo_column", + /* 330 */ "column_reference", + /* 331 */ "function_expression", + /* 332 */ "subquery", + /* 333 */ "star_func", + /* 334 */ "star_func_para_list", + /* 335 */ "noarg_func", + /* 336 */ "other_para_list", + /* 337 */ "star_func_para", + /* 338 */ "predicate", + /* 339 */ "compare_op", + /* 340 */ "in_op", + /* 341 */ "in_predicate_value", + /* 342 */ "boolean_value_expression", + /* 343 */ "boolean_primary", + /* 344 */ "common_expression", + /* 345 */ "from_clause_opt", + /* 346 */ "table_reference_list", + /* 347 */ "table_reference", + /* 348 */ "table_primary", + /* 349 */ "joined_table", + /* 350 */ "alias_opt", + /* 351 */ "parenthesized_joined_table", + /* 352 */ "join_type", + /* 353 */ "search_condition", + /* 354 */ "query_specification", + /* 355 */ "set_quantifier_opt", + /* 356 */ "select_list", + /* 357 */ "partition_by_clause_opt", + /* 358 */ "range_opt", + /* 359 */ "every_opt", + /* 360 */ "fill_opt", + /* 361 */ "twindow_clause_opt", + /* 362 */ "group_by_clause_opt", + /* 363 */ "having_clause_opt", + /* 364 */ "select_item", + /* 365 */ "fill_mode", + /* 366 */ "group_by_list", + /* 367 */ "query_expression_body", + /* 368 */ "order_by_clause_opt", + /* 369 */ "slimit_clause_opt", + /* 370 */ "limit_clause_opt", + /* 371 */ "query_primary", + /* 372 */ "sort_specification_list", + /* 373 */ "sort_specification", + /* 374 */ "ordering_specification_opt", + /* 375 */ "null_ordering_opt", }; #endif /* defined(YYCOVERAGE) || !defined(NDEBUG) */ @@ -2725,7 +1724,6 @@ static const char *const yyRuleName[] = { /* 63 */ "cmd ::= DROP DATABASE exists_opt db_name", /* 64 */ "cmd ::= USE db_name", /* 65 */ "cmd ::= ALTER DATABASE db_name alter_db_options", -<<<<<<< HEAD /* 66 */ "cmd ::= FLUSH DATABASE db_name", /* 67 */ "not_exists_opt ::= IF NOT EXISTS", /* 68 */ "not_exists_opt ::=", @@ -2930,552 +1928,220 @@ static const char *const yyRuleName[] = { /* 267 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", /* 268 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", /* 269 */ "stream_options ::= stream_options WATERMARK duration_literal", -======= - /* 66 */ "not_exists_opt ::= IF NOT EXISTS", - /* 67 */ "not_exists_opt ::=", - /* 68 */ "exists_opt ::= IF EXISTS", - /* 69 */ "exists_opt ::=", - /* 70 */ "db_options ::=", - /* 71 */ "db_options ::= db_options BUFFER NK_INTEGER", - /* 72 */ "db_options ::= db_options CACHELAST NK_INTEGER", - /* 73 */ "db_options ::= db_options COMP NK_INTEGER", - /* 74 */ "db_options ::= db_options DURATION NK_INTEGER", - /* 75 */ "db_options ::= db_options DURATION NK_VARIABLE", - /* 76 */ "db_options ::= db_options FSYNC NK_INTEGER", - /* 77 */ "db_options ::= db_options MAXROWS NK_INTEGER", - /* 78 */ "db_options ::= db_options MINROWS NK_INTEGER", - /* 79 */ "db_options ::= db_options KEEP integer_list", - /* 80 */ "db_options ::= db_options KEEP variable_list", - /* 81 */ "db_options ::= db_options PAGES NK_INTEGER", - /* 82 */ "db_options ::= db_options PAGESIZE NK_INTEGER", - /* 83 */ "db_options ::= db_options PRECISION NK_STRING", - /* 84 */ "db_options ::= db_options REPLICA NK_INTEGER", - /* 85 */ "db_options ::= db_options STRICT NK_INTEGER", - /* 86 */ "db_options ::= db_options WAL NK_INTEGER", - /* 87 */ "db_options ::= db_options VGROUPS NK_INTEGER", - /* 88 */ "db_options ::= db_options SINGLE_STABLE NK_INTEGER", - /* 89 */ "db_options ::= db_options RETENTIONS retention_list", - /* 90 */ "db_options ::= db_options SCHEMALESS NK_INTEGER", - /* 91 */ "alter_db_options ::= alter_db_option", - /* 92 */ "alter_db_options ::= alter_db_options alter_db_option", - /* 93 */ "alter_db_option ::= BUFFER NK_INTEGER", - /* 94 */ "alter_db_option ::= CACHELAST NK_INTEGER", - /* 95 */ "alter_db_option ::= FSYNC NK_INTEGER", - /* 96 */ "alter_db_option ::= KEEP integer_list", - /* 97 */ "alter_db_option ::= KEEP variable_list", - /* 98 */ "alter_db_option ::= PAGES NK_INTEGER", - /* 99 */ "alter_db_option ::= REPLICA NK_INTEGER", - /* 100 */ "alter_db_option ::= STRICT NK_INTEGER", - /* 101 */ "alter_db_option ::= WAL NK_INTEGER", - /* 102 */ "integer_list ::= NK_INTEGER", - /* 103 */ "integer_list ::= integer_list NK_COMMA NK_INTEGER", - /* 104 */ "variable_list ::= NK_VARIABLE", - /* 105 */ "variable_list ::= variable_list NK_COMMA NK_VARIABLE", - /* 106 */ "retention_list ::= retention", - /* 107 */ "retention_list ::= retention_list NK_COMMA retention", - /* 108 */ "retention ::= NK_VARIABLE NK_COLON NK_VARIABLE", - /* 109 */ "cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options", - /* 110 */ "cmd ::= CREATE TABLE multi_create_clause", - /* 111 */ "cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options", - /* 112 */ "cmd ::= DROP TABLE multi_drop_clause", - /* 113 */ "cmd ::= DROP STABLE exists_opt full_table_name", - /* 114 */ "cmd ::= ALTER TABLE alter_table_clause", - /* 115 */ "cmd ::= ALTER STABLE alter_table_clause", - /* 116 */ "alter_table_clause ::= full_table_name alter_table_options", - /* 117 */ "alter_table_clause ::= full_table_name ADD COLUMN column_name type_name", - /* 118 */ "alter_table_clause ::= full_table_name DROP COLUMN column_name", - /* 119 */ "alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name", - /* 120 */ "alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name", - /* 121 */ "alter_table_clause ::= full_table_name ADD TAG column_name type_name", - /* 122 */ "alter_table_clause ::= full_table_name DROP TAG column_name", - /* 123 */ "alter_table_clause ::= full_table_name MODIFY TAG column_name type_name", - /* 124 */ "alter_table_clause ::= full_table_name RENAME TAG column_name column_name", - /* 125 */ "alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal", - /* 126 */ "multi_create_clause ::= create_subtable_clause", - /* 127 */ "multi_create_clause ::= multi_create_clause create_subtable_clause", - /* 128 */ "create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_tags_opt TAGS NK_LP literal_list NK_RP table_options", - /* 129 */ "multi_drop_clause ::= drop_table_clause", - /* 130 */ "multi_drop_clause ::= multi_drop_clause drop_table_clause", - /* 131 */ "drop_table_clause ::= exists_opt full_table_name", - /* 132 */ "specific_tags_opt ::=", - /* 133 */ "specific_tags_opt ::= NK_LP col_name_list NK_RP", - /* 134 */ "full_table_name ::= table_name", - /* 135 */ "full_table_name ::= db_name NK_DOT table_name", - /* 136 */ "column_def_list ::= column_def", - /* 137 */ "column_def_list ::= column_def_list NK_COMMA column_def", - /* 138 */ "column_def ::= column_name type_name", - /* 139 */ "column_def ::= column_name type_name COMMENT NK_STRING", - /* 140 */ "type_name ::= BOOL", - /* 141 */ "type_name ::= TINYINT", - /* 142 */ "type_name ::= SMALLINT", - /* 143 */ "type_name ::= INT", - /* 144 */ "type_name ::= INTEGER", - /* 145 */ "type_name ::= BIGINT", - /* 146 */ "type_name ::= FLOAT", - /* 147 */ "type_name ::= DOUBLE", - /* 148 */ "type_name ::= BINARY NK_LP NK_INTEGER NK_RP", - /* 149 */ "type_name ::= TIMESTAMP", - /* 150 */ "type_name ::= NCHAR NK_LP NK_INTEGER NK_RP", - /* 151 */ "type_name ::= TINYINT UNSIGNED", - /* 152 */ "type_name ::= SMALLINT UNSIGNED", - /* 153 */ "type_name ::= INT UNSIGNED", - /* 154 */ "type_name ::= BIGINT UNSIGNED", - /* 155 */ "type_name ::= JSON", - /* 156 */ "type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP", - /* 157 */ "type_name ::= MEDIUMBLOB", - /* 158 */ "type_name ::= BLOB", - /* 159 */ "type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP", - /* 160 */ "type_name ::= DECIMAL", - /* 161 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP", - /* 162 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP", - /* 163 */ "tags_def_opt ::=", - /* 164 */ "tags_def_opt ::= tags_def", - /* 165 */ "tags_def ::= TAGS NK_LP column_def_list NK_RP", - /* 166 */ "table_options ::=", - /* 167 */ "table_options ::= table_options COMMENT NK_STRING", - /* 168 */ "table_options ::= table_options MAX_DELAY duration_list", - /* 169 */ "table_options ::= table_options WATERMARK duration_list", - /* 170 */ "table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP", - /* 171 */ "table_options ::= table_options TTL NK_INTEGER", - /* 172 */ "table_options ::= table_options SMA NK_LP col_name_list NK_RP", - /* 173 */ "alter_table_options ::= alter_table_option", - /* 174 */ "alter_table_options ::= alter_table_options alter_table_option", - /* 175 */ "alter_table_option ::= COMMENT NK_STRING", - /* 176 */ "alter_table_option ::= TTL NK_INTEGER", - /* 177 */ "duration_list ::= duration_literal", - /* 178 */ "duration_list ::= duration_list NK_COMMA duration_literal", - /* 179 */ "rollup_func_list ::= rollup_func_name", - /* 180 */ "rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name", - /* 181 */ "rollup_func_name ::= function_name", - /* 182 */ "rollup_func_name ::= FIRST", - /* 183 */ "rollup_func_name ::= LAST", - /* 184 */ "col_name_list ::= col_name", - /* 185 */ "col_name_list ::= col_name_list NK_COMMA col_name", - /* 186 */ "col_name ::= column_name", - /* 187 */ "cmd ::= SHOW DNODES", - /* 188 */ "cmd ::= SHOW USERS", - /* 189 */ "cmd ::= SHOW DATABASES", - /* 190 */ "cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt", - /* 191 */ "cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt", - /* 192 */ "cmd ::= SHOW db_name_cond_opt VGROUPS", - /* 193 */ "cmd ::= SHOW MNODES", - /* 194 */ "cmd ::= SHOW MODULES", - /* 195 */ "cmd ::= SHOW QNODES", - /* 196 */ "cmd ::= SHOW FUNCTIONS", - /* 197 */ "cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt", - /* 198 */ "cmd ::= SHOW STREAMS", - /* 199 */ "cmd ::= SHOW ACCOUNTS", - /* 200 */ "cmd ::= SHOW APPS", - /* 201 */ "cmd ::= SHOW CONNECTIONS", - /* 202 */ "cmd ::= SHOW LICENCE", - /* 203 */ "cmd ::= SHOW GRANTS", - /* 204 */ "cmd ::= SHOW CREATE DATABASE db_name", - /* 205 */ "cmd ::= SHOW CREATE TABLE full_table_name", - /* 206 */ "cmd ::= SHOW CREATE STABLE full_table_name", - /* 207 */ "cmd ::= SHOW QUERIES", - /* 208 */ "cmd ::= SHOW SCORES", - /* 209 */ "cmd ::= SHOW TOPICS", - /* 210 */ "cmd ::= SHOW VARIABLES", - /* 211 */ "cmd ::= SHOW LOCAL VARIABLES", - /* 212 */ "cmd ::= SHOW DNODE NK_INTEGER VARIABLES", - /* 213 */ "cmd ::= SHOW BNODES", - /* 214 */ "cmd ::= SHOW SNODES", - /* 215 */ "cmd ::= SHOW CLUSTER", - /* 216 */ "cmd ::= SHOW TRANSACTIONS", - /* 217 */ "cmd ::= SHOW TABLE DISTRIBUTED full_table_name", - /* 218 */ "cmd ::= SHOW CONSUMERS", - /* 219 */ "cmd ::= SHOW SUBSCRIPTIONS", - /* 220 */ "db_name_cond_opt ::=", - /* 221 */ "db_name_cond_opt ::= db_name NK_DOT", - /* 222 */ "like_pattern_opt ::=", - /* 223 */ "like_pattern_opt ::= LIKE NK_STRING", - /* 224 */ "table_name_cond ::= table_name", - /* 225 */ "from_db_opt ::=", - /* 226 */ "from_db_opt ::= FROM db_name", - /* 227 */ "cmd ::= CREATE SMA INDEX not_exists_opt index_name ON table_name index_options", - /* 228 */ "cmd ::= DROP INDEX exists_opt index_name", - /* 229 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", - /* 230 */ "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", - /* 231 */ "func_list ::= func", - /* 232 */ "func_list ::= func_list NK_COMMA func", - /* 233 */ "func ::= function_name NK_LP expression_list NK_RP", - /* 234 */ "sma_stream_opt ::=", - /* 235 */ "sma_stream_opt ::= stream_options WATERMARK duration_literal", - /* 236 */ "sma_stream_opt ::= stream_options MAX_DELAY duration_literal", - /* 237 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_expression", - /* 238 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name", - /* 239 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name", - /* 240 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name", - /* 241 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name", - /* 242 */ "cmd ::= DROP TOPIC exists_opt topic_name", - /* 243 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", - /* 244 */ "cmd ::= DESC full_table_name", - /* 245 */ "cmd ::= DESCRIBE full_table_name", - /* 246 */ "cmd ::= RESET QUERY CACHE", - /* 247 */ "cmd ::= EXPLAIN analyze_opt explain_options query_expression", - /* 248 */ "analyze_opt ::=", - /* 249 */ "analyze_opt ::= ANALYZE", - /* 250 */ "explain_options ::=", - /* 251 */ "explain_options ::= explain_options VERBOSE NK_BOOL", - /* 252 */ "explain_options ::= explain_options RATIO NK_FLOAT", - /* 253 */ "cmd ::= COMPACT VNODES IN NK_LP integer_list NK_RP", - /* 254 */ "cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt", - /* 255 */ "cmd ::= DROP FUNCTION exists_opt function_name", - /* 256 */ "agg_func_opt ::=", - /* 257 */ "agg_func_opt ::= AGGREGATE", - /* 258 */ "bufsize_opt ::=", - /* 259 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", - /* 260 */ "cmd ::= CREATE STREAM not_exists_opt stream_name stream_options into_opt AS query_expression", - /* 261 */ "cmd ::= DROP STREAM exists_opt stream_name", - /* 262 */ "into_opt ::=", - /* 263 */ "into_opt ::= INTO full_table_name", - /* 264 */ "stream_options ::=", - /* 265 */ "stream_options ::= stream_options TRIGGER AT_ONCE", - /* 266 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", - /* 267 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", - /* 268 */ "stream_options ::= stream_options WATERMARK duration_literal", - /* 269 */ "stream_options ::= stream_options IGNORE EXPIRED", ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 - /* 270 */ "cmd ::= KILL CONNECTION NK_INTEGER", - /* 271 */ "cmd ::= KILL QUERY NK_STRING", - /* 272 */ "cmd ::= KILL TRANSACTION NK_INTEGER", - /* 273 */ "cmd ::= BALANCE VGROUP", - /* 274 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", - /* 275 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", - /* 276 */ "cmd ::= SPLIT VGROUP NK_INTEGER", - /* 277 */ "dnode_list ::= DNODE NK_INTEGER", - /* 278 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", - /* 279 */ "cmd ::= SYNCDB db_name REPLICA", - /* 280 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", - /* 281 */ "cmd ::= query_expression", - /* 282 */ "literal ::= NK_INTEGER", - /* 283 */ "literal ::= NK_FLOAT", - /* 284 */ "literal ::= NK_STRING", - /* 285 */ "literal ::= NK_BOOL", - /* 286 */ "literal ::= TIMESTAMP NK_STRING", - /* 287 */ "literal ::= duration_literal", - /* 288 */ "literal ::= NULL", - /* 289 */ "literal ::= NK_QUESTION", - /* 290 */ "duration_literal ::= NK_VARIABLE", - /* 291 */ "signed ::= NK_INTEGER", - /* 292 */ "signed ::= NK_PLUS NK_INTEGER", - /* 293 */ "signed ::= NK_MINUS NK_INTEGER", - /* 294 */ "signed ::= NK_FLOAT", - /* 295 */ "signed ::= NK_PLUS NK_FLOAT", - /* 296 */ "signed ::= NK_MINUS NK_FLOAT", - /* 297 */ "signed_literal ::= signed", - /* 298 */ "signed_literal ::= NK_STRING", - /* 299 */ "signed_literal ::= NK_BOOL", - /* 300 */ "signed_literal ::= TIMESTAMP NK_STRING", - /* 301 */ "signed_literal ::= duration_literal", - /* 302 */ "signed_literal ::= NULL", - /* 303 */ "signed_literal ::= literal_func", - /* 304 */ "literal_list ::= signed_literal", - /* 305 */ "literal_list ::= literal_list NK_COMMA signed_literal", - /* 306 */ "db_name ::= NK_ID", - /* 307 */ "table_name ::= NK_ID", - /* 308 */ "column_name ::= NK_ID", - /* 309 */ "function_name ::= NK_ID", - /* 310 */ "table_alias ::= NK_ID", - /* 311 */ "column_alias ::= NK_ID", - /* 312 */ "user_name ::= NK_ID", - /* 313 */ "index_name ::= NK_ID", - /* 314 */ "topic_name ::= NK_ID", - /* 315 */ "stream_name ::= NK_ID", - /* 316 */ "cgroup_name ::= NK_ID", - /* 317 */ "expression ::= literal", - /* 318 */ "expression ::= pseudo_column", - /* 319 */ "expression ::= column_reference", - /* 320 */ "expression ::= function_expression", - /* 321 */ "expression ::= subquery", - /* 322 */ "expression ::= NK_LP expression NK_RP", - /* 323 */ "expression ::= NK_PLUS expression", - /* 324 */ "expression ::= NK_MINUS expression", - /* 325 */ "expression ::= expression NK_PLUS expression", - /* 326 */ "expression ::= expression NK_MINUS expression", - /* 327 */ "expression ::= expression NK_STAR expression", - /* 328 */ "expression ::= expression NK_SLASH expression", - /* 329 */ "expression ::= expression NK_REM expression", - /* 330 */ "expression ::= column_reference NK_ARROW NK_STRING", - /* 331 */ "expression ::= expression NK_BITAND expression", - /* 332 */ "expression ::= expression NK_BITOR expression", - /* 333 */ "expression_list ::= expression", - /* 334 */ "expression_list ::= expression_list NK_COMMA expression", - /* 335 */ "column_reference ::= column_name", - /* 336 */ "column_reference ::= table_name NK_DOT column_name", - /* 337 */ "pseudo_column ::= ROWTS", - /* 338 */ "pseudo_column ::= TBNAME", - /* 339 */ "pseudo_column ::= table_name NK_DOT TBNAME", - /* 340 */ "pseudo_column ::= QSTARTTS", - /* 341 */ "pseudo_column ::= QENDTS", - /* 342 */ "pseudo_column ::= WSTARTTS", - /* 343 */ "pseudo_column ::= WENDTS", - /* 344 */ "pseudo_column ::= WDURATION", - /* 345 */ "function_expression ::= function_name NK_LP expression_list NK_RP", - /* 346 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", - /* 347 */ "function_expression ::= CAST NK_LP expression AS type_name NK_RP", - /* 348 */ "function_expression ::= literal_func", - /* 349 */ "literal_func ::= noarg_func NK_LP NK_RP", - /* 350 */ "literal_func ::= NOW", - /* 351 */ "noarg_func ::= NOW", - /* 352 */ "noarg_func ::= TODAY", - /* 353 */ "noarg_func ::= TIMEZONE", -<<<<<<< HEAD - /* 354 */ "star_func ::= COUNT", - /* 355 */ "star_func ::= FIRST", - /* 356 */ "star_func ::= LAST", - /* 357 */ "star_func ::= LAST_ROW", - /* 358 */ "star_func_para_list ::= NK_STAR", - /* 359 */ "star_func_para_list ::= other_para_list", - /* 360 */ "other_para_list ::= star_func_para", - /* 361 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", - /* 362 */ "star_func_para ::= expression", - /* 363 */ "star_func_para ::= table_name NK_DOT NK_STAR", - /* 364 */ "predicate ::= expression compare_op expression", - /* 365 */ "predicate ::= expression BETWEEN expression AND expression", - /* 366 */ "predicate ::= expression NOT BETWEEN expression AND expression", - /* 367 */ "predicate ::= expression IS NULL", - /* 368 */ "predicate ::= expression IS NOT NULL", - /* 369 */ "predicate ::= expression in_op in_predicate_value", - /* 370 */ "compare_op ::= NK_LT", - /* 371 */ "compare_op ::= NK_GT", - /* 372 */ "compare_op ::= NK_LE", - /* 373 */ "compare_op ::= NK_GE", - /* 374 */ "compare_op ::= NK_NE", - /* 375 */ "compare_op ::= NK_EQ", - /* 376 */ "compare_op ::= LIKE", - /* 377 */ "compare_op ::= NOT LIKE", - /* 378 */ "compare_op ::= MATCH", - /* 379 */ "compare_op ::= NMATCH", - /* 380 */ "compare_op ::= CONTAINS", - /* 381 */ "in_op ::= IN", - /* 382 */ "in_op ::= NOT IN", - /* 383 */ "in_predicate_value ::= NK_LP expression_list NK_RP", - /* 384 */ "boolean_value_expression ::= boolean_primary", - /* 385 */ "boolean_value_expression ::= NOT boolean_primary", - /* 386 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", - /* 387 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", - /* 388 */ "boolean_primary ::= predicate", - /* 389 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", - /* 390 */ "common_expression ::= expression", - /* 391 */ "common_expression ::= boolean_value_expression", - /* 392 */ "from_clause_opt ::=", - /* 393 */ "from_clause_opt ::= FROM table_reference_list", - /* 394 */ "table_reference_list ::= table_reference", - /* 395 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", - /* 396 */ "table_reference ::= table_primary", - /* 397 */ "table_reference ::= joined_table", - /* 398 */ "table_primary ::= table_name alias_opt", - /* 399 */ "table_primary ::= db_name NK_DOT table_name alias_opt", - /* 400 */ "table_primary ::= subquery alias_opt", - /* 401 */ "table_primary ::= parenthesized_joined_table", - /* 402 */ "alias_opt ::=", - /* 403 */ "alias_opt ::= table_alias", - /* 404 */ "alias_opt ::= AS table_alias", - /* 405 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", - /* 406 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", - /* 407 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", - /* 408 */ "join_type ::=", - /* 409 */ "join_type ::= INNER", - /* 410 */ "query_specification ::= SELECT set_quantifier_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", - /* 411 */ "set_quantifier_opt ::=", - /* 412 */ "set_quantifier_opt ::= DISTINCT", - /* 413 */ "set_quantifier_opt ::= ALL", - /* 414 */ "select_list ::= NK_STAR", - /* 415 */ "select_list ::= select_sublist", - /* 416 */ "select_sublist ::= select_item", - /* 417 */ "select_sublist ::= select_sublist NK_COMMA select_item", - /* 418 */ "select_item ::= common_expression", - /* 419 */ "select_item ::= common_expression column_alias", - /* 420 */ "select_item ::= common_expression AS column_alias", - /* 421 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 422 */ "where_clause_opt ::=", - /* 423 */ "where_clause_opt ::= WHERE search_condition", - /* 424 */ "partition_by_clause_opt ::=", - /* 425 */ "partition_by_clause_opt ::= PARTITION BY expression_list", - /* 426 */ "twindow_clause_opt ::=", - /* 427 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", - /* 428 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP", - /* 429 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", - /* 430 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", - /* 431 */ "sliding_opt ::=", - /* 432 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", - /* 433 */ "fill_opt ::=", - /* 434 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 435 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", - /* 436 */ "fill_mode ::= NONE", - /* 437 */ "fill_mode ::= PREV", - /* 438 */ "fill_mode ::= NULL", - /* 439 */ "fill_mode ::= LINEAR", - /* 440 */ "fill_mode ::= NEXT", - /* 441 */ "group_by_clause_opt ::=", - /* 442 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 443 */ "group_by_list ::= expression", - /* 444 */ "group_by_list ::= group_by_list NK_COMMA expression", - /* 445 */ "having_clause_opt ::=", - /* 446 */ "having_clause_opt ::= HAVING search_condition", - /* 447 */ "range_opt ::=", - /* 448 */ "range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP", - /* 449 */ "every_opt ::=", - /* 450 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 451 */ "query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 452 */ "query_expression_body ::= query_primary", - /* 453 */ "query_expression_body ::= query_expression_body UNION ALL query_expression_body", - /* 454 */ "query_expression_body ::= query_expression_body UNION query_expression_body", - /* 455 */ "query_primary ::= query_specification", - /* 456 */ "query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP", - /* 457 */ "order_by_clause_opt ::=", - /* 458 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 459 */ "slimit_clause_opt ::=", - /* 460 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 461 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 462 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 463 */ "limit_clause_opt ::=", - /* 464 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 465 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 466 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 467 */ "subquery ::= NK_LP query_expression NK_RP", - /* 468 */ "search_condition ::= common_expression", - /* 469 */ "sort_specification_list ::= sort_specification", - /* 470 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 471 */ "sort_specification ::= expression ordering_specification_opt null_ordering_opt", - /* 472 */ "ordering_specification_opt ::=", - /* 473 */ "ordering_specification_opt ::= ASC", - /* 474 */ "ordering_specification_opt ::= DESC", - /* 475 */ "null_ordering_opt ::=", - /* 476 */ "null_ordering_opt ::= NULLS FIRST", - /* 477 */ "null_ordering_opt ::= NULLS LAST", -======= - /* 354 */ "noarg_func ::= DATABASE", - /* 355 */ "noarg_func ::= CLIENT_VERSION", - /* 356 */ "noarg_func ::= SERVER_VERSION", - /* 357 */ "noarg_func ::= SERVER_STATUS", - /* 358 */ "noarg_func ::= CURRENT_USER", - /* 359 */ "noarg_func ::= USER", - /* 360 */ "star_func ::= COUNT", - /* 361 */ "star_func ::= FIRST", - /* 362 */ "star_func ::= LAST", - /* 363 */ "star_func ::= LAST_ROW", - /* 364 */ "star_func_para_list ::= NK_STAR", - /* 365 */ "star_func_para_list ::= other_para_list", - /* 366 */ "other_para_list ::= star_func_para", - /* 367 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", - /* 368 */ "star_func_para ::= expression", - /* 369 */ "star_func_para ::= table_name NK_DOT NK_STAR", - /* 370 */ "predicate ::= expression compare_op expression", - /* 371 */ "predicate ::= expression BETWEEN expression AND expression", - /* 372 */ "predicate ::= expression NOT BETWEEN expression AND expression", - /* 373 */ "predicate ::= expression IS NULL", - /* 374 */ "predicate ::= expression IS NOT NULL", - /* 375 */ "predicate ::= expression in_op in_predicate_value", - /* 376 */ "compare_op ::= NK_LT", - /* 377 */ "compare_op ::= NK_GT", - /* 378 */ "compare_op ::= NK_LE", - /* 379 */ "compare_op ::= NK_GE", - /* 380 */ "compare_op ::= NK_NE", - /* 381 */ "compare_op ::= NK_EQ", - /* 382 */ "compare_op ::= LIKE", - /* 383 */ "compare_op ::= NOT LIKE", - /* 384 */ "compare_op ::= MATCH", - /* 385 */ "compare_op ::= NMATCH", - /* 386 */ "compare_op ::= CONTAINS", - /* 387 */ "in_op ::= IN", - /* 388 */ "in_op ::= NOT IN", - /* 389 */ "in_predicate_value ::= NK_LP expression_list NK_RP", - /* 390 */ "boolean_value_expression ::= boolean_primary", - /* 391 */ "boolean_value_expression ::= NOT boolean_primary", - /* 392 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", - /* 393 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", - /* 394 */ "boolean_primary ::= predicate", - /* 395 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", - /* 396 */ "common_expression ::= expression", - /* 397 */ "common_expression ::= boolean_value_expression", - /* 398 */ "from_clause_opt ::=", - /* 399 */ "from_clause_opt ::= FROM table_reference_list", - /* 400 */ "table_reference_list ::= table_reference", - /* 401 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", - /* 402 */ "table_reference ::= table_primary", - /* 403 */ "table_reference ::= joined_table", - /* 404 */ "table_primary ::= table_name alias_opt", - /* 405 */ "table_primary ::= db_name NK_DOT table_name alias_opt", - /* 406 */ "table_primary ::= subquery alias_opt", - /* 407 */ "table_primary ::= parenthesized_joined_table", - /* 408 */ "alias_opt ::=", - /* 409 */ "alias_opt ::= table_alias", - /* 410 */ "alias_opt ::= AS table_alias", - /* 411 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", - /* 412 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", - /* 413 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", - /* 414 */ "join_type ::=", - /* 415 */ "join_type ::= INNER", - /* 416 */ "query_specification ::= SELECT set_quantifier_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", - /* 417 */ "set_quantifier_opt ::=", - /* 418 */ "set_quantifier_opt ::= DISTINCT", - /* 419 */ "set_quantifier_opt ::= ALL", - /* 420 */ "select_list ::= select_item", - /* 421 */ "select_list ::= select_list NK_COMMA select_item", - /* 422 */ "select_item ::= NK_STAR", - /* 423 */ "select_item ::= common_expression", - /* 424 */ "select_item ::= common_expression column_alias", - /* 425 */ "select_item ::= common_expression AS column_alias", - /* 426 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 427 */ "where_clause_opt ::=", - /* 428 */ "where_clause_opt ::= WHERE search_condition", - /* 429 */ "partition_by_clause_opt ::=", - /* 430 */ "partition_by_clause_opt ::= PARTITION BY expression_list", - /* 431 */ "twindow_clause_opt ::=", - /* 432 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", - /* 433 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP", - /* 434 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", - /* 435 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", - /* 436 */ "sliding_opt ::=", - /* 437 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", - /* 438 */ "fill_opt ::=", - /* 439 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 440 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", - /* 441 */ "fill_mode ::= NONE", - /* 442 */ "fill_mode ::= PREV", - /* 443 */ "fill_mode ::= NULL", - /* 444 */ "fill_mode ::= LINEAR", - /* 445 */ "fill_mode ::= NEXT", - /* 446 */ "group_by_clause_opt ::=", - /* 447 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 448 */ "group_by_list ::= expression", - /* 449 */ "group_by_list ::= group_by_list NK_COMMA expression", - /* 450 */ "having_clause_opt ::=", - /* 451 */ "having_clause_opt ::= HAVING search_condition", - /* 452 */ "range_opt ::=", - /* 453 */ "range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP", - /* 454 */ "every_opt ::=", - /* 455 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 456 */ "query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 457 */ "query_expression_body ::= query_primary", - /* 458 */ "query_expression_body ::= query_expression_body UNION ALL query_expression_body", - /* 459 */ "query_expression_body ::= query_expression_body UNION query_expression_body", - /* 460 */ "query_primary ::= query_specification", - /* 461 */ "query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP", - /* 462 */ "order_by_clause_opt ::=", - /* 463 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 464 */ "slimit_clause_opt ::=", - /* 465 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 466 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 467 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 468 */ "limit_clause_opt ::=", - /* 469 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 470 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 471 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 472 */ "subquery ::= NK_LP query_expression NK_RP", - /* 473 */ "search_condition ::= common_expression", - /* 474 */ "sort_specification_list ::= sort_specification", - /* 475 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 476 */ "sort_specification ::= expression ordering_specification_opt null_ordering_opt", - /* 477 */ "ordering_specification_opt ::=", - /* 478 */ "ordering_specification_opt ::= ASC", - /* 479 */ "ordering_specification_opt ::= DESC", - /* 480 */ "null_ordering_opt ::=", - /* 481 */ "null_ordering_opt ::= NULLS FIRST", - /* 482 */ "null_ordering_opt ::= NULLS LAST", ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + /* 270 */ "stream_options ::= stream_options IGNORE EXPIRED", + /* 271 */ "cmd ::= KILL CONNECTION NK_INTEGER", + /* 272 */ "cmd ::= KILL QUERY NK_STRING", + /* 273 */ "cmd ::= KILL TRANSACTION NK_INTEGER", + /* 274 */ "cmd ::= BALANCE VGROUP", + /* 275 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", + /* 276 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", + /* 277 */ "cmd ::= SPLIT VGROUP NK_INTEGER", + /* 278 */ "dnode_list ::= DNODE NK_INTEGER", + /* 279 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", + /* 280 */ "cmd ::= SYNCDB db_name REPLICA", + /* 281 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", + /* 282 */ "cmd ::= query_expression", + /* 283 */ "literal ::= NK_INTEGER", + /* 284 */ "literal ::= NK_FLOAT", + /* 285 */ "literal ::= NK_STRING", + /* 286 */ "literal ::= NK_BOOL", + /* 287 */ "literal ::= TIMESTAMP NK_STRING", + /* 288 */ "literal ::= duration_literal", + /* 289 */ "literal ::= NULL", + /* 290 */ "literal ::= NK_QUESTION", + /* 291 */ "duration_literal ::= NK_VARIABLE", + /* 292 */ "signed ::= NK_INTEGER", + /* 293 */ "signed ::= NK_PLUS NK_INTEGER", + /* 294 */ "signed ::= NK_MINUS NK_INTEGER", + /* 295 */ "signed ::= NK_FLOAT", + /* 296 */ "signed ::= NK_PLUS NK_FLOAT", + /* 297 */ "signed ::= NK_MINUS NK_FLOAT", + /* 298 */ "signed_literal ::= signed", + /* 299 */ "signed_literal ::= NK_STRING", + /* 300 */ "signed_literal ::= NK_BOOL", + /* 301 */ "signed_literal ::= TIMESTAMP NK_STRING", + /* 302 */ "signed_literal ::= duration_literal", + /* 303 */ "signed_literal ::= NULL", + /* 304 */ "signed_literal ::= literal_func", + /* 305 */ "literal_list ::= signed_literal", + /* 306 */ "literal_list ::= literal_list NK_COMMA signed_literal", + /* 307 */ "db_name ::= NK_ID", + /* 308 */ "table_name ::= NK_ID", + /* 309 */ "column_name ::= NK_ID", + /* 310 */ "function_name ::= NK_ID", + /* 311 */ "table_alias ::= NK_ID", + /* 312 */ "column_alias ::= NK_ID", + /* 313 */ "user_name ::= NK_ID", + /* 314 */ "index_name ::= NK_ID", + /* 315 */ "topic_name ::= NK_ID", + /* 316 */ "stream_name ::= NK_ID", + /* 317 */ "cgroup_name ::= NK_ID", + /* 318 */ "expression ::= literal", + /* 319 */ "expression ::= pseudo_column", + /* 320 */ "expression ::= column_reference", + /* 321 */ "expression ::= function_expression", + /* 322 */ "expression ::= subquery", + /* 323 */ "expression ::= NK_LP expression NK_RP", + /* 324 */ "expression ::= NK_PLUS expression", + /* 325 */ "expression ::= NK_MINUS expression", + /* 326 */ "expression ::= expression NK_PLUS expression", + /* 327 */ "expression ::= expression NK_MINUS expression", + /* 328 */ "expression ::= expression NK_STAR expression", + /* 329 */ "expression ::= expression NK_SLASH expression", + /* 330 */ "expression ::= expression NK_REM expression", + /* 331 */ "expression ::= column_reference NK_ARROW NK_STRING", + /* 332 */ "expression ::= expression NK_BITAND expression", + /* 333 */ "expression ::= expression NK_BITOR expression", + /* 334 */ "expression_list ::= expression", + /* 335 */ "expression_list ::= expression_list NK_COMMA expression", + /* 336 */ "column_reference ::= column_name", + /* 337 */ "column_reference ::= table_name NK_DOT column_name", + /* 338 */ "pseudo_column ::= ROWTS", + /* 339 */ "pseudo_column ::= TBNAME", + /* 340 */ "pseudo_column ::= table_name NK_DOT TBNAME", + /* 341 */ "pseudo_column ::= QSTARTTS", + /* 342 */ "pseudo_column ::= QENDTS", + /* 343 */ "pseudo_column ::= WSTARTTS", + /* 344 */ "pseudo_column ::= WENDTS", + /* 345 */ "pseudo_column ::= WDURATION", + /* 346 */ "function_expression ::= function_name NK_LP expression_list NK_RP", + /* 347 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", + /* 348 */ "function_expression ::= CAST NK_LP expression AS type_name NK_RP", + /* 349 */ "function_expression ::= literal_func", + /* 350 */ "literal_func ::= noarg_func NK_LP NK_RP", + /* 351 */ "literal_func ::= NOW", + /* 352 */ "noarg_func ::= NOW", + /* 353 */ "noarg_func ::= TODAY", + /* 354 */ "noarg_func ::= TIMEZONE", + /* 355 */ "noarg_func ::= DATABASE", + /* 356 */ "noarg_func ::= CLIENT_VERSION", + /* 357 */ "noarg_func ::= SERVER_VERSION", + /* 358 */ "noarg_func ::= SERVER_STATUS", + /* 359 */ "noarg_func ::= CURRENT_USER", + /* 360 */ "noarg_func ::= USER", + /* 361 */ "star_func ::= COUNT", + /* 362 */ "star_func ::= FIRST", + /* 363 */ "star_func ::= LAST", + /* 364 */ "star_func ::= LAST_ROW", + /* 365 */ "star_func_para_list ::= NK_STAR", + /* 366 */ "star_func_para_list ::= other_para_list", + /* 367 */ "other_para_list ::= star_func_para", + /* 368 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", + /* 369 */ "star_func_para ::= expression", + /* 370 */ "star_func_para ::= table_name NK_DOT NK_STAR", + /* 371 */ "predicate ::= expression compare_op expression", + /* 372 */ "predicate ::= expression BETWEEN expression AND expression", + /* 373 */ "predicate ::= expression NOT BETWEEN expression AND expression", + /* 374 */ "predicate ::= expression IS NULL", + /* 375 */ "predicate ::= expression IS NOT NULL", + /* 376 */ "predicate ::= expression in_op in_predicate_value", + /* 377 */ "compare_op ::= NK_LT", + /* 378 */ "compare_op ::= NK_GT", + /* 379 */ "compare_op ::= NK_LE", + /* 380 */ "compare_op ::= NK_GE", + /* 381 */ "compare_op ::= NK_NE", + /* 382 */ "compare_op ::= NK_EQ", + /* 383 */ "compare_op ::= LIKE", + /* 384 */ "compare_op ::= NOT LIKE", + /* 385 */ "compare_op ::= MATCH", + /* 386 */ "compare_op ::= NMATCH", + /* 387 */ "compare_op ::= CONTAINS", + /* 388 */ "in_op ::= IN", + /* 389 */ "in_op ::= NOT IN", + /* 390 */ "in_predicate_value ::= NK_LP expression_list NK_RP", + /* 391 */ "boolean_value_expression ::= boolean_primary", + /* 392 */ "boolean_value_expression ::= NOT boolean_primary", + /* 393 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", + /* 394 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", + /* 395 */ "boolean_primary ::= predicate", + /* 396 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", + /* 397 */ "common_expression ::= expression", + /* 398 */ "common_expression ::= boolean_value_expression", + /* 399 */ "from_clause_opt ::=", + /* 400 */ "from_clause_opt ::= FROM table_reference_list", + /* 401 */ "table_reference_list ::= table_reference", + /* 402 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", + /* 403 */ "table_reference ::= table_primary", + /* 404 */ "table_reference ::= joined_table", + /* 405 */ "table_primary ::= table_name alias_opt", + /* 406 */ "table_primary ::= db_name NK_DOT table_name alias_opt", + /* 407 */ "table_primary ::= subquery alias_opt", + /* 408 */ "table_primary ::= parenthesized_joined_table", + /* 409 */ "alias_opt ::=", + /* 410 */ "alias_opt ::= table_alias", + /* 411 */ "alias_opt ::= AS table_alias", + /* 412 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", + /* 413 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", + /* 414 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", + /* 415 */ "join_type ::=", + /* 416 */ "join_type ::= INNER", + /* 417 */ "query_specification ::= SELECT set_quantifier_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", + /* 418 */ "set_quantifier_opt ::=", + /* 419 */ "set_quantifier_opt ::= DISTINCT", + /* 420 */ "set_quantifier_opt ::= ALL", + /* 421 */ "select_list ::= select_item", + /* 422 */ "select_list ::= select_list NK_COMMA select_item", + /* 423 */ "select_item ::= NK_STAR", + /* 424 */ "select_item ::= common_expression", + /* 425 */ "select_item ::= common_expression column_alias", + /* 426 */ "select_item ::= common_expression AS column_alias", + /* 427 */ "select_item ::= table_name NK_DOT NK_STAR", + /* 428 */ "where_clause_opt ::=", + /* 429 */ "where_clause_opt ::= WHERE search_condition", + /* 430 */ "partition_by_clause_opt ::=", + /* 431 */ "partition_by_clause_opt ::= PARTITION BY expression_list", + /* 432 */ "twindow_clause_opt ::=", + /* 433 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", + /* 434 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP", + /* 435 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", + /* 436 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", + /* 437 */ "sliding_opt ::=", + /* 438 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", + /* 439 */ "fill_opt ::=", + /* 440 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", + /* 441 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", + /* 442 */ "fill_mode ::= NONE", + /* 443 */ "fill_mode ::= PREV", + /* 444 */ "fill_mode ::= NULL", + /* 445 */ "fill_mode ::= LINEAR", + /* 446 */ "fill_mode ::= NEXT", + /* 447 */ "group_by_clause_opt ::=", + /* 448 */ "group_by_clause_opt ::= GROUP BY group_by_list", + /* 449 */ "group_by_list ::= expression", + /* 450 */ "group_by_list ::= group_by_list NK_COMMA expression", + /* 451 */ "having_clause_opt ::=", + /* 452 */ "having_clause_opt ::= HAVING search_condition", + /* 453 */ "range_opt ::=", + /* 454 */ "range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP", + /* 455 */ "every_opt ::=", + /* 456 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", + /* 457 */ "query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt", + /* 458 */ "query_expression_body ::= query_primary", + /* 459 */ "query_expression_body ::= query_expression_body UNION ALL query_expression_body", + /* 460 */ "query_expression_body ::= query_expression_body UNION query_expression_body", + /* 461 */ "query_primary ::= query_specification", + /* 462 */ "query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP", + /* 463 */ "order_by_clause_opt ::=", + /* 464 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", + /* 465 */ "slimit_clause_opt ::=", + /* 466 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", + /* 467 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", + /* 468 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 469 */ "limit_clause_opt ::=", + /* 470 */ "limit_clause_opt ::= LIMIT NK_INTEGER", + /* 471 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", + /* 472 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 473 */ "subquery ::= NK_LP query_expression NK_RP", + /* 474 */ "search_condition ::= common_expression", + /* 475 */ "sort_specification_list ::= sort_specification", + /* 476 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", + /* 477 */ "sort_specification ::= expression ordering_specification_opt null_ordering_opt", + /* 478 */ "ordering_specification_opt ::=", + /* 479 */ "ordering_specification_opt ::= ASC", + /* 480 */ "ordering_specification_opt ::= DESC", + /* 481 */ "null_ordering_opt ::=", + /* 482 */ "null_ordering_opt ::= NULLS FIRST", + /* 483 */ "null_ordering_opt ::= NULLS LAST", }; #endif /* NDEBUG */ @@ -3602,349 +2268,181 @@ static void yy_destructor( */ /********* Begin destructor definitions ***************************************/ /* Default NON-TERMINAL Destructor */ -<<<<<<< HEAD - case 247: /* cmd */ - case 250: /* literal */ - case 261: /* db_options */ - case 263: /* alter_db_options */ - case 268: /* retention */ - case 269: /* full_table_name */ - case 272: /* table_options */ - case 276: /* alter_table_clause */ - case 277: /* alter_table_options */ - case 280: /* signed_literal */ - case 281: /* create_subtable_clause */ - case 284: /* drop_table_clause */ - case 287: /* column_def */ - case 291: /* duration_literal */ - case 292: /* rollup_func_name */ - case 294: /* col_name */ - case 295: /* db_name_cond_opt */ - case 296: /* like_pattern_opt */ - case 297: /* table_name_cond */ - case 298: /* from_db_opt */ - case 300: /* index_options */ - case 302: /* sliding_opt */ - case 303: /* sma_stream_opt */ - case 304: /* func */ - case 306: /* stream_options */ - case 308: /* query_expression */ - case 311: /* explain_options */ - case 315: /* into_opt */ - case 317: /* where_clause_opt */ - case 318: /* signed */ - case 319: /* literal_func */ - case 322: /* expression */ - case 323: /* pseudo_column */ - case 324: /* column_reference */ - case 325: /* function_expression */ - case 326: /* subquery */ - case 331: /* star_func_para */ - case 332: /* predicate */ - case 335: /* in_predicate_value */ - case 336: /* boolean_value_expression */ - case 337: /* boolean_primary */ - case 338: /* common_expression */ - case 339: /* from_clause_opt */ - case 340: /* table_reference_list */ - case 341: /* table_reference */ - case 342: /* table_primary */ - case 343: /* joined_table */ - case 345: /* parenthesized_joined_table */ - case 347: /* search_condition */ - case 348: /* query_specification */ - case 352: /* range_opt */ - case 353: /* every_opt */ - case 354: /* fill_opt */ - case 355: /* twindow_clause_opt */ - case 357: /* having_clause_opt */ - case 359: /* select_item */ - case 362: /* query_expression_body */ - case 364: /* slimit_clause_opt */ - case 365: /* limit_clause_opt */ - case 366: /* query_primary */ - case 368: /* sort_specification */ -{ - nodesDestroyNode((yypminor->yy714)); -} - break; - case 248: /* account_options */ - case 249: /* alter_account_options */ - case 251: /* alter_account_option */ - case 313: /* bufsize_opt */ -======= - case 252: /* cmd */ - case 255: /* literal */ - case 266: /* db_options */ - case 268: /* alter_db_options */ - case 273: /* retention */ - case 274: /* full_table_name */ - case 277: /* table_options */ - case 281: /* alter_table_clause */ - case 282: /* alter_table_options */ - case 285: /* signed_literal */ - case 286: /* create_subtable_clause */ - case 289: /* drop_table_clause */ - case 292: /* column_def */ - case 296: /* duration_literal */ - case 297: /* rollup_func_name */ - case 299: /* col_name */ - case 300: /* db_name_cond_opt */ - case 301: /* like_pattern_opt */ - case 302: /* table_name_cond */ - case 303: /* from_db_opt */ - case 305: /* index_options */ - case 307: /* sliding_opt */ - case 308: /* sma_stream_opt */ - case 309: /* func */ - case 311: /* stream_options */ - case 313: /* query_expression */ - case 316: /* explain_options */ - case 320: /* into_opt */ - case 322: /* where_clause_opt */ - case 323: /* signed */ - case 324: /* literal_func */ - case 327: /* expression */ - case 328: /* pseudo_column */ - case 329: /* column_reference */ - case 330: /* function_expression */ - case 331: /* subquery */ - case 336: /* star_func_para */ - case 337: /* predicate */ - case 340: /* in_predicate_value */ - case 341: /* boolean_value_expression */ - case 342: /* boolean_primary */ - case 343: /* common_expression */ - case 344: /* from_clause_opt */ - case 345: /* table_reference_list */ - case 346: /* table_reference */ - case 347: /* table_primary */ - case 348: /* joined_table */ - case 350: /* parenthesized_joined_table */ - case 352: /* search_condition */ - case 353: /* query_specification */ - case 357: /* range_opt */ - case 358: /* every_opt */ - case 359: /* fill_opt */ - case 360: /* twindow_clause_opt */ - case 362: /* having_clause_opt */ - case 363: /* select_item */ - case 366: /* query_expression_body */ - case 368: /* slimit_clause_opt */ - case 369: /* limit_clause_opt */ - case 370: /* query_primary */ - case 372: /* sort_specification */ + case 253: /* cmd */ + case 256: /* literal */ + case 267: /* db_options */ + case 269: /* alter_db_options */ + case 274: /* retention */ + case 275: /* full_table_name */ + case 278: /* table_options */ + case 282: /* alter_table_clause */ + case 283: /* alter_table_options */ + case 286: /* signed_literal */ + case 287: /* create_subtable_clause */ + case 290: /* drop_table_clause */ + case 293: /* column_def */ + case 297: /* duration_literal */ + case 298: /* rollup_func_name */ + case 300: /* col_name */ + case 301: /* db_name_cond_opt */ + case 302: /* like_pattern_opt */ + case 303: /* table_name_cond */ + case 304: /* from_db_opt */ + case 306: /* index_options */ + case 308: /* sliding_opt */ + case 309: /* sma_stream_opt */ + case 310: /* func */ + case 312: /* stream_options */ + case 314: /* query_expression */ + case 317: /* explain_options */ + case 321: /* into_opt */ + case 323: /* where_clause_opt */ + case 324: /* signed */ + case 325: /* literal_func */ + case 328: /* expression */ + case 329: /* pseudo_column */ + case 330: /* column_reference */ + case 331: /* function_expression */ + case 332: /* subquery */ + case 337: /* star_func_para */ + case 338: /* predicate */ + case 341: /* in_predicate_value */ + case 342: /* boolean_value_expression */ + case 343: /* boolean_primary */ + case 344: /* common_expression */ + case 345: /* from_clause_opt */ + case 346: /* table_reference_list */ + case 347: /* table_reference */ + case 348: /* table_primary */ + case 349: /* joined_table */ + case 351: /* parenthesized_joined_table */ + case 353: /* search_condition */ + case 354: /* query_specification */ + case 358: /* range_opt */ + case 359: /* every_opt */ + case 360: /* fill_opt */ + case 361: /* twindow_clause_opt */ + case 363: /* having_clause_opt */ + case 364: /* select_item */ + case 367: /* query_expression_body */ + case 369: /* slimit_clause_opt */ + case 370: /* limit_clause_opt */ + case 371: /* query_primary */ + case 373: /* sort_specification */ { - nodesDestroyNode((yypminor->yy212)); + nodesDestroyNode((yypminor->yy248)); } break; - case 253: /* account_options */ - case 254: /* alter_account_options */ - case 256: /* alter_account_option */ - case 318: /* bufsize_opt */ ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 254: /* account_options */ + case 255: /* alter_account_options */ + case 257: /* alter_account_option */ + case 319: /* bufsize_opt */ { } break; -<<<<<<< HEAD - case 252: /* user_name */ - case 255: /* priv_level */ - case 258: /* db_name */ - case 259: /* dnode_endpoint */ - case 278: /* column_name */ - case 286: /* table_name */ - case 293: /* function_name */ - case 299: /* index_name */ - case 307: /* topic_name */ - case 309: /* cgroup_name */ - case 314: /* stream_name */ - case 320: /* table_alias */ - case 321: /* column_alias */ - case 327: /* star_func */ - case 329: /* noarg_func */ - case 344: /* alias_opt */ -======= - case 257: /* user_name */ - case 260: /* priv_level */ - case 263: /* db_name */ - case 264: /* dnode_endpoint */ - case 283: /* column_name */ - case 291: /* table_name */ - case 298: /* function_name */ - case 304: /* index_name */ - case 312: /* topic_name */ - case 314: /* cgroup_name */ - case 319: /* stream_name */ - case 325: /* table_alias */ - case 326: /* column_alias */ - case 332: /* star_func */ - case 334: /* noarg_func */ - case 349: /* alias_opt */ ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 258: /* user_name */ + case 261: /* priv_level */ + case 264: /* db_name */ + case 265: /* dnode_endpoint */ + case 284: /* column_name */ + case 292: /* table_name */ + case 299: /* function_name */ + case 305: /* index_name */ + case 313: /* topic_name */ + case 315: /* cgroup_name */ + case 320: /* stream_name */ + case 326: /* table_alias */ + case 327: /* column_alias */ + case 333: /* star_func */ + case 335: /* noarg_func */ + case 350: /* alias_opt */ { } break; -<<<<<<< HEAD - case 253: /* sysinfo_opt */ -======= - case 258: /* sysinfo_opt */ ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 259: /* sysinfo_opt */ { } break; -<<<<<<< HEAD - case 254: /* privileges */ - case 256: /* priv_type_list */ - case 257: /* priv_type */ -======= - case 259: /* privileges */ - case 261: /* priv_type_list */ - case 262: /* priv_type */ ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 260: /* privileges */ + case 262: /* priv_type_list */ + case 263: /* priv_type */ { } break; -<<<<<<< HEAD - case 260: /* not_exists_opt */ - case 262: /* exists_opt */ - case 310: /* analyze_opt */ - case 312: /* agg_func_opt */ - case 349: /* set_quantifier_opt */ -======= - case 265: /* not_exists_opt */ - case 267: /* exists_opt */ - case 315: /* analyze_opt */ - case 317: /* agg_func_opt */ - case 354: /* set_quantifier_opt */ ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 266: /* not_exists_opt */ + case 268: /* exists_opt */ + case 316: /* analyze_opt */ + case 318: /* agg_func_opt */ + case 355: /* set_quantifier_opt */ { } break; -<<<<<<< HEAD - case 264: /* integer_list */ - case 265: /* variable_list */ - case 266: /* retention_list */ - case 270: /* column_def_list */ - case 271: /* tags_def_opt */ - case 273: /* multi_create_clause */ - case 274: /* tags_def */ - case 275: /* multi_drop_clause */ - case 282: /* specific_tags_opt */ - case 283: /* literal_list */ - case 285: /* col_name_list */ - case 288: /* duration_list */ - case 289: /* rollup_func_list */ - case 301: /* func_list */ - case 305: /* expression_list */ - case 316: /* dnode_list */ - case 328: /* star_func_para_list */ - case 330: /* other_para_list */ - case 350: /* select_list */ - case 351: /* partition_by_clause_opt */ - case 356: /* group_by_clause_opt */ - case 358: /* select_sublist */ - case 361: /* group_by_list */ - case 363: /* order_by_clause_opt */ - case 367: /* sort_specification_list */ + case 270: /* integer_list */ + case 271: /* variable_list */ + case 272: /* retention_list */ + case 276: /* column_def_list */ + case 277: /* tags_def_opt */ + case 279: /* multi_create_clause */ + case 280: /* tags_def */ + case 281: /* multi_drop_clause */ + case 288: /* specific_tags_opt */ + case 289: /* literal_list */ + case 291: /* col_name_list */ + case 294: /* duration_list */ + case 295: /* rollup_func_list */ + case 307: /* func_list */ + case 311: /* expression_list */ + case 322: /* dnode_list */ + case 334: /* star_func_para_list */ + case 336: /* other_para_list */ + case 356: /* select_list */ + case 357: /* partition_by_clause_opt */ + case 362: /* group_by_clause_opt */ + case 366: /* group_by_list */ + case 368: /* order_by_clause_opt */ + case 372: /* sort_specification_list */ { - nodesDestroyList((yypminor->yy656)); + nodesDestroyList((yypminor->yy552)); } break; - case 267: /* alter_db_option */ - case 290: /* alter_table_option */ -======= - case 269: /* integer_list */ - case 270: /* variable_list */ - case 271: /* retention_list */ - case 275: /* column_def_list */ - case 276: /* tags_def_opt */ - case 278: /* multi_create_clause */ - case 279: /* tags_def */ - case 280: /* multi_drop_clause */ - case 287: /* specific_tags_opt */ - case 288: /* literal_list */ - case 290: /* col_name_list */ - case 293: /* duration_list */ - case 294: /* rollup_func_list */ - case 306: /* func_list */ - case 310: /* expression_list */ - case 321: /* dnode_list */ - case 333: /* star_func_para_list */ - case 335: /* other_para_list */ - case 355: /* select_list */ - case 356: /* partition_by_clause_opt */ - case 361: /* group_by_clause_opt */ - case 365: /* group_by_list */ - case 367: /* order_by_clause_opt */ - case 371: /* sort_specification_list */ -{ - nodesDestroyList((yypminor->yy424)); -} - break; - case 272: /* alter_db_option */ - case 295: /* alter_table_option */ ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 273: /* alter_db_option */ + case 296: /* alter_table_option */ { } break; -<<<<<<< HEAD - case 279: /* type_name */ -======= - case 284: /* type_name */ ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 285: /* type_name */ { } break; -<<<<<<< HEAD - case 333: /* compare_op */ - case 334: /* in_op */ -======= - case 338: /* compare_op */ - case 339: /* in_op */ ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 339: /* compare_op */ + case 340: /* in_op */ { } break; -<<<<<<< HEAD - case 346: /* join_type */ -======= - case 351: /* join_type */ ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 352: /* join_type */ { } break; -<<<<<<< HEAD - case 360: /* fill_mode */ -======= - case 364: /* fill_mode */ ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 365: /* fill_mode */ { } break; -<<<<<<< HEAD - case 369: /* ordering_specification_opt */ -======= - case 373: /* ordering_specification_opt */ ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 374: /* ordering_specification_opt */ { } break; -<<<<<<< HEAD - case 370: /* null_ordering_opt */ -======= - case 374: /* null_ordering_opt */ ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 375: /* null_ordering_opt */ { } @@ -4243,970 +2741,490 @@ static const struct { YYCODETYPE lhs; /* Symbol on the left-hand side of the rule */ signed char nrhs; /* Negative of the number of RHS symbols in the rule */ } yyRuleInfo[] = { -<<<<<<< HEAD - { 247, -6 }, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ - { 247, -4 }, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ - { 248, 0 }, /* (2) account_options ::= */ - { 248, -3 }, /* (3) account_options ::= account_options PPS literal */ - { 248, -3 }, /* (4) account_options ::= account_options TSERIES literal */ - { 248, -3 }, /* (5) account_options ::= account_options STORAGE literal */ - { 248, -3 }, /* (6) account_options ::= account_options STREAMS literal */ - { 248, -3 }, /* (7) account_options ::= account_options QTIME literal */ - { 248, -3 }, /* (8) account_options ::= account_options DBS literal */ - { 248, -3 }, /* (9) account_options ::= account_options USERS literal */ - { 248, -3 }, /* (10) account_options ::= account_options CONNS literal */ - { 248, -3 }, /* (11) account_options ::= account_options STATE literal */ - { 249, -1 }, /* (12) alter_account_options ::= alter_account_option */ - { 249, -2 }, /* (13) alter_account_options ::= alter_account_options alter_account_option */ - { 251, -2 }, /* (14) alter_account_option ::= PASS literal */ - { 251, -2 }, /* (15) alter_account_option ::= PPS literal */ - { 251, -2 }, /* (16) alter_account_option ::= TSERIES literal */ - { 251, -2 }, /* (17) alter_account_option ::= STORAGE literal */ - { 251, -2 }, /* (18) alter_account_option ::= STREAMS literal */ - { 251, -2 }, /* (19) alter_account_option ::= QTIME literal */ - { 251, -2 }, /* (20) alter_account_option ::= DBS literal */ - { 251, -2 }, /* (21) alter_account_option ::= USERS literal */ - { 251, -2 }, /* (22) alter_account_option ::= CONNS literal */ - { 251, -2 }, /* (23) alter_account_option ::= STATE literal */ - { 247, -6 }, /* (24) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ - { 247, -5 }, /* (25) cmd ::= ALTER USER user_name PASS NK_STRING */ - { 247, -5 }, /* (26) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ - { 247, -5 }, /* (27) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ - { 247, -3 }, /* (28) cmd ::= DROP USER user_name */ - { 253, 0 }, /* (29) sysinfo_opt ::= */ - { 253, -2 }, /* (30) sysinfo_opt ::= SYSINFO NK_INTEGER */ - { 247, -6 }, /* (31) cmd ::= GRANT privileges ON priv_level TO user_name */ - { 247, -6 }, /* (32) cmd ::= REVOKE privileges ON priv_level FROM user_name */ - { 254, -1 }, /* (33) privileges ::= ALL */ - { 254, -1 }, /* (34) privileges ::= priv_type_list */ - { 256, -1 }, /* (35) priv_type_list ::= priv_type */ - { 256, -3 }, /* (36) priv_type_list ::= priv_type_list NK_COMMA priv_type */ - { 257, -1 }, /* (37) priv_type ::= READ */ - { 257, -1 }, /* (38) priv_type ::= WRITE */ - { 255, -3 }, /* (39) priv_level ::= NK_STAR NK_DOT NK_STAR */ - { 255, -3 }, /* (40) priv_level ::= db_name NK_DOT NK_STAR */ - { 247, -3 }, /* (41) cmd ::= CREATE DNODE dnode_endpoint */ - { 247, -5 }, /* (42) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ - { 247, -3 }, /* (43) cmd ::= DROP DNODE NK_INTEGER */ - { 247, -3 }, /* (44) cmd ::= DROP DNODE dnode_endpoint */ - { 247, -4 }, /* (45) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ - { 247, -5 }, /* (46) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ - { 247, -4 }, /* (47) cmd ::= ALTER ALL DNODES NK_STRING */ - { 247, -5 }, /* (48) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ - { 259, -1 }, /* (49) dnode_endpoint ::= NK_STRING */ - { 259, -1 }, /* (50) dnode_endpoint ::= NK_ID */ - { 259, -1 }, /* (51) dnode_endpoint ::= NK_IPTOKEN */ - { 247, -3 }, /* (52) cmd ::= ALTER LOCAL NK_STRING */ - { 247, -4 }, /* (53) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ - { 247, -5 }, /* (54) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ - { 247, -5 }, /* (55) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ - { 247, -5 }, /* (56) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ - { 247, -5 }, /* (57) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ - { 247, -5 }, /* (58) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ - { 247, -5 }, /* (59) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ - { 247, -5 }, /* (60) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ - { 247, -5 }, /* (61) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ - { 247, -5 }, /* (62) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ - { 247, -4 }, /* (63) cmd ::= DROP DATABASE exists_opt db_name */ - { 247, -2 }, /* (64) cmd ::= USE db_name */ - { 247, -4 }, /* (65) cmd ::= ALTER DATABASE db_name alter_db_options */ - { 247, -3 }, /* (66) cmd ::= FLUSH DATABASE db_name */ - { 260, -3 }, /* (67) not_exists_opt ::= IF NOT EXISTS */ - { 260, 0 }, /* (68) not_exists_opt ::= */ - { 262, -2 }, /* (69) exists_opt ::= IF EXISTS */ - { 262, 0 }, /* (70) exists_opt ::= */ - { 261, 0 }, /* (71) db_options ::= */ - { 261, -3 }, /* (72) db_options ::= db_options BUFFER NK_INTEGER */ - { 261, -3 }, /* (73) db_options ::= db_options CACHELAST NK_INTEGER */ - { 261, -3 }, /* (74) db_options ::= db_options COMP NK_INTEGER */ - { 261, -3 }, /* (75) db_options ::= db_options DURATION NK_INTEGER */ - { 261, -3 }, /* (76) db_options ::= db_options DURATION NK_VARIABLE */ - { 261, -3 }, /* (77) db_options ::= db_options FSYNC NK_INTEGER */ - { 261, -3 }, /* (78) db_options ::= db_options MAXROWS NK_INTEGER */ - { 261, -3 }, /* (79) db_options ::= db_options MINROWS NK_INTEGER */ - { 261, -3 }, /* (80) db_options ::= db_options KEEP integer_list */ - { 261, -3 }, /* (81) db_options ::= db_options KEEP variable_list */ - { 261, -3 }, /* (82) db_options ::= db_options PAGES NK_INTEGER */ - { 261, -3 }, /* (83) db_options ::= db_options PAGESIZE NK_INTEGER */ - { 261, -3 }, /* (84) db_options ::= db_options PRECISION NK_STRING */ - { 261, -3 }, /* (85) db_options ::= db_options REPLICA NK_INTEGER */ - { 261, -3 }, /* (86) db_options ::= db_options STRICT NK_INTEGER */ - { 261, -3 }, /* (87) db_options ::= db_options WAL NK_INTEGER */ - { 261, -3 }, /* (88) db_options ::= db_options VGROUPS NK_INTEGER */ - { 261, -3 }, /* (89) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ - { 261, -3 }, /* (90) db_options ::= db_options RETENTIONS retention_list */ - { 261, -3 }, /* (91) db_options ::= db_options SCHEMALESS NK_INTEGER */ - { 263, -1 }, /* (92) alter_db_options ::= alter_db_option */ - { 263, -2 }, /* (93) alter_db_options ::= alter_db_options alter_db_option */ - { 267, -2 }, /* (94) alter_db_option ::= BUFFER NK_INTEGER */ - { 267, -2 }, /* (95) alter_db_option ::= CACHELAST NK_INTEGER */ - { 267, -2 }, /* (96) alter_db_option ::= FSYNC NK_INTEGER */ - { 267, -2 }, /* (97) alter_db_option ::= KEEP integer_list */ - { 267, -2 }, /* (98) alter_db_option ::= KEEP variable_list */ - { 267, -2 }, /* (99) alter_db_option ::= PAGES NK_INTEGER */ - { 267, -2 }, /* (100) alter_db_option ::= REPLICA NK_INTEGER */ - { 267, -2 }, /* (101) alter_db_option ::= STRICT NK_INTEGER */ - { 267, -2 }, /* (102) alter_db_option ::= WAL NK_INTEGER */ - { 264, -1 }, /* (103) integer_list ::= NK_INTEGER */ - { 264, -3 }, /* (104) integer_list ::= integer_list NK_COMMA NK_INTEGER */ - { 265, -1 }, /* (105) variable_list ::= NK_VARIABLE */ - { 265, -3 }, /* (106) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ - { 266, -1 }, /* (107) retention_list ::= retention */ - { 266, -3 }, /* (108) retention_list ::= retention_list NK_COMMA retention */ - { 268, -3 }, /* (109) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ - { 247, -9 }, /* (110) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - { 247, -3 }, /* (111) cmd ::= CREATE TABLE multi_create_clause */ - { 247, -9 }, /* (112) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ - { 247, -3 }, /* (113) cmd ::= DROP TABLE multi_drop_clause */ - { 247, -4 }, /* (114) cmd ::= DROP STABLE exists_opt full_table_name */ - { 247, -3 }, /* (115) cmd ::= ALTER TABLE alter_table_clause */ - { 247, -3 }, /* (116) cmd ::= ALTER STABLE alter_table_clause */ - { 276, -2 }, /* (117) alter_table_clause ::= full_table_name alter_table_options */ - { 276, -5 }, /* (118) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ - { 276, -4 }, /* (119) alter_table_clause ::= full_table_name DROP COLUMN column_name */ - { 276, -5 }, /* (120) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ - { 276, -5 }, /* (121) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ - { 276, -5 }, /* (122) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ - { 276, -4 }, /* (123) alter_table_clause ::= full_table_name DROP TAG column_name */ - { 276, -5 }, /* (124) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ - { 276, -5 }, /* (125) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ - { 276, -6 }, /* (126) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ - { 273, -1 }, /* (127) multi_create_clause ::= create_subtable_clause */ - { 273, -2 }, /* (128) multi_create_clause ::= multi_create_clause create_subtable_clause */ - { 281, -10 }, /* (129) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_tags_opt TAGS NK_LP literal_list NK_RP table_options */ - { 275, -1 }, /* (130) multi_drop_clause ::= drop_table_clause */ - { 275, -2 }, /* (131) multi_drop_clause ::= multi_drop_clause drop_table_clause */ - { 284, -2 }, /* (132) drop_table_clause ::= exists_opt full_table_name */ - { 282, 0 }, /* (133) specific_tags_opt ::= */ - { 282, -3 }, /* (134) specific_tags_opt ::= NK_LP col_name_list NK_RP */ - { 269, -1 }, /* (135) full_table_name ::= table_name */ - { 269, -3 }, /* (136) full_table_name ::= db_name NK_DOT table_name */ - { 270, -1 }, /* (137) column_def_list ::= column_def */ - { 270, -3 }, /* (138) column_def_list ::= column_def_list NK_COMMA column_def */ - { 287, -2 }, /* (139) column_def ::= column_name type_name */ - { 287, -4 }, /* (140) column_def ::= column_name type_name COMMENT NK_STRING */ - { 279, -1 }, /* (141) type_name ::= BOOL */ - { 279, -1 }, /* (142) type_name ::= TINYINT */ - { 279, -1 }, /* (143) type_name ::= SMALLINT */ - { 279, -1 }, /* (144) type_name ::= INT */ - { 279, -1 }, /* (145) type_name ::= INTEGER */ - { 279, -1 }, /* (146) type_name ::= BIGINT */ - { 279, -1 }, /* (147) type_name ::= FLOAT */ - { 279, -1 }, /* (148) type_name ::= DOUBLE */ - { 279, -4 }, /* (149) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ - { 279, -1 }, /* (150) type_name ::= TIMESTAMP */ - { 279, -4 }, /* (151) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ - { 279, -2 }, /* (152) type_name ::= TINYINT UNSIGNED */ - { 279, -2 }, /* (153) type_name ::= SMALLINT UNSIGNED */ - { 279, -2 }, /* (154) type_name ::= INT UNSIGNED */ - { 279, -2 }, /* (155) type_name ::= BIGINT UNSIGNED */ - { 279, -1 }, /* (156) type_name ::= JSON */ - { 279, -4 }, /* (157) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ - { 279, -1 }, /* (158) type_name ::= MEDIUMBLOB */ - { 279, -1 }, /* (159) type_name ::= BLOB */ - { 279, -4 }, /* (160) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ - { 279, -1 }, /* (161) type_name ::= DECIMAL */ - { 279, -4 }, /* (162) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ - { 279, -6 }, /* (163) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ - { 271, 0 }, /* (164) tags_def_opt ::= */ - { 271, -1 }, /* (165) tags_def_opt ::= tags_def */ - { 274, -4 }, /* (166) tags_def ::= TAGS NK_LP column_def_list NK_RP */ - { 272, 0 }, /* (167) table_options ::= */ - { 272, -3 }, /* (168) table_options ::= table_options COMMENT NK_STRING */ - { 272, -3 }, /* (169) table_options ::= table_options MAX_DELAY duration_list */ - { 272, -3 }, /* (170) table_options ::= table_options WATERMARK duration_list */ - { 272, -5 }, /* (171) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ - { 272, -3 }, /* (172) table_options ::= table_options TTL NK_INTEGER */ - { 272, -5 }, /* (173) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ - { 277, -1 }, /* (174) alter_table_options ::= alter_table_option */ - { 277, -2 }, /* (175) alter_table_options ::= alter_table_options alter_table_option */ - { 290, -2 }, /* (176) alter_table_option ::= COMMENT NK_STRING */ - { 290, -2 }, /* (177) alter_table_option ::= TTL NK_INTEGER */ - { 288, -1 }, /* (178) duration_list ::= duration_literal */ - { 288, -3 }, /* (179) duration_list ::= duration_list NK_COMMA duration_literal */ - { 289, -1 }, /* (180) rollup_func_list ::= rollup_func_name */ - { 289, -3 }, /* (181) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ - { 292, -1 }, /* (182) rollup_func_name ::= function_name */ - { 292, -1 }, /* (183) rollup_func_name ::= FIRST */ - { 292, -1 }, /* (184) rollup_func_name ::= LAST */ - { 285, -1 }, /* (185) col_name_list ::= col_name */ - { 285, -3 }, /* (186) col_name_list ::= col_name_list NK_COMMA col_name */ - { 294, -1 }, /* (187) col_name ::= column_name */ - { 247, -2 }, /* (188) cmd ::= SHOW DNODES */ - { 247, -2 }, /* (189) cmd ::= SHOW USERS */ - { 247, -2 }, /* (190) cmd ::= SHOW DATABASES */ - { 247, -4 }, /* (191) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ - { 247, -4 }, /* (192) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ - { 247, -3 }, /* (193) cmd ::= SHOW db_name_cond_opt VGROUPS */ - { 247, -2 }, /* (194) cmd ::= SHOW MNODES */ - { 247, -2 }, /* (195) cmd ::= SHOW MODULES */ - { 247, -2 }, /* (196) cmd ::= SHOW QNODES */ - { 247, -2 }, /* (197) cmd ::= SHOW FUNCTIONS */ - { 247, -5 }, /* (198) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - { 247, -2 }, /* (199) cmd ::= SHOW STREAMS */ - { 247, -2 }, /* (200) cmd ::= SHOW ACCOUNTS */ - { 247, -2 }, /* (201) cmd ::= SHOW APPS */ - { 247, -2 }, /* (202) cmd ::= SHOW CONNECTIONS */ - { 247, -2 }, /* (203) cmd ::= SHOW LICENCE */ - { 247, -2 }, /* (204) cmd ::= SHOW GRANTS */ - { 247, -4 }, /* (205) cmd ::= SHOW CREATE DATABASE db_name */ - { 247, -4 }, /* (206) cmd ::= SHOW CREATE TABLE full_table_name */ - { 247, -4 }, /* (207) cmd ::= SHOW CREATE STABLE full_table_name */ - { 247, -2 }, /* (208) cmd ::= SHOW QUERIES */ - { 247, -2 }, /* (209) cmd ::= SHOW SCORES */ - { 247, -2 }, /* (210) cmd ::= SHOW TOPICS */ - { 247, -2 }, /* (211) cmd ::= SHOW VARIABLES */ - { 247, -3 }, /* (212) cmd ::= SHOW LOCAL VARIABLES */ - { 247, -4 }, /* (213) cmd ::= SHOW DNODE NK_INTEGER VARIABLES */ - { 247, -2 }, /* (214) cmd ::= SHOW BNODES */ - { 247, -2 }, /* (215) cmd ::= SHOW SNODES */ - { 247, -2 }, /* (216) cmd ::= SHOW CLUSTER */ - { 247, -2 }, /* (217) cmd ::= SHOW TRANSACTIONS */ - { 247, -4 }, /* (218) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - { 247, -2 }, /* (219) cmd ::= SHOW CONSUMERS */ - { 247, -2 }, /* (220) cmd ::= SHOW SUBSCRIPTIONS */ - { 295, 0 }, /* (221) db_name_cond_opt ::= */ - { 295, -2 }, /* (222) db_name_cond_opt ::= db_name NK_DOT */ - { 296, 0 }, /* (223) like_pattern_opt ::= */ - { 296, -2 }, /* (224) like_pattern_opt ::= LIKE NK_STRING */ - { 297, -1 }, /* (225) table_name_cond ::= table_name */ - { 298, 0 }, /* (226) from_db_opt ::= */ - { 298, -2 }, /* (227) from_db_opt ::= FROM db_name */ - { 247, -8 }, /* (228) cmd ::= CREATE SMA INDEX not_exists_opt index_name ON table_name index_options */ - { 247, -4 }, /* (229) cmd ::= DROP INDEX exists_opt index_name */ - { 300, -10 }, /* (230) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - { 300, -12 }, /* (231) 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 */ - { 301, -1 }, /* (232) func_list ::= func */ - { 301, -3 }, /* (233) func_list ::= func_list NK_COMMA func */ - { 304, -4 }, /* (234) func ::= function_name NK_LP expression_list NK_RP */ - { 303, 0 }, /* (235) sma_stream_opt ::= */ - { 303, -3 }, /* (236) sma_stream_opt ::= stream_options WATERMARK duration_literal */ - { 303, -3 }, /* (237) sma_stream_opt ::= stream_options MAX_DELAY duration_literal */ - { 247, -6 }, /* (238) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_expression */ - { 247, -7 }, /* (239) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ - { 247, -9 }, /* (240) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ - { 247, -7 }, /* (241) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ - { 247, -9 }, /* (242) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ - { 247, -4 }, /* (243) cmd ::= DROP TOPIC exists_opt topic_name */ - { 247, -7 }, /* (244) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - { 247, -2 }, /* (245) cmd ::= DESC full_table_name */ - { 247, -2 }, /* (246) cmd ::= DESCRIBE full_table_name */ - { 247, -3 }, /* (247) cmd ::= RESET QUERY CACHE */ - { 247, -4 }, /* (248) cmd ::= EXPLAIN analyze_opt explain_options query_expression */ - { 310, 0 }, /* (249) analyze_opt ::= */ - { 310, -1 }, /* (250) analyze_opt ::= ANALYZE */ - { 311, 0 }, /* (251) explain_options ::= */ - { 311, -3 }, /* (252) explain_options ::= explain_options VERBOSE NK_BOOL */ - { 311, -3 }, /* (253) explain_options ::= explain_options RATIO NK_FLOAT */ - { 247, -6 }, /* (254) cmd ::= COMPACT VNODES IN NK_LP integer_list NK_RP */ - { 247, -10 }, /* (255) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt */ - { 247, -4 }, /* (256) cmd ::= DROP FUNCTION exists_opt function_name */ - { 312, 0 }, /* (257) agg_func_opt ::= */ - { 312, -1 }, /* (258) agg_func_opt ::= AGGREGATE */ - { 313, 0 }, /* (259) bufsize_opt ::= */ - { 313, -2 }, /* (260) bufsize_opt ::= BUFSIZE NK_INTEGER */ - { 247, -8 }, /* (261) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options into_opt AS query_expression */ - { 247, -4 }, /* (262) cmd ::= DROP STREAM exists_opt stream_name */ - { 315, 0 }, /* (263) into_opt ::= */ - { 315, -2 }, /* (264) into_opt ::= INTO full_table_name */ - { 306, 0 }, /* (265) stream_options ::= */ - { 306, -3 }, /* (266) stream_options ::= stream_options TRIGGER AT_ONCE */ - { 306, -3 }, /* (267) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - { 306, -4 }, /* (268) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - { 306, -3 }, /* (269) stream_options ::= stream_options WATERMARK duration_literal */ - { 247, -3 }, /* (270) cmd ::= KILL CONNECTION NK_INTEGER */ - { 247, -3 }, /* (271) cmd ::= KILL QUERY NK_STRING */ - { 247, -3 }, /* (272) cmd ::= KILL TRANSACTION NK_INTEGER */ - { 247, -2 }, /* (273) cmd ::= BALANCE VGROUP */ - { 247, -4 }, /* (274) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - { 247, -4 }, /* (275) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - { 247, -3 }, /* (276) cmd ::= SPLIT VGROUP NK_INTEGER */ - { 316, -2 }, /* (277) dnode_list ::= DNODE NK_INTEGER */ - { 316, -3 }, /* (278) dnode_list ::= dnode_list DNODE NK_INTEGER */ - { 247, -3 }, /* (279) cmd ::= SYNCDB db_name REPLICA */ - { 247, -4 }, /* (280) cmd ::= DELETE FROM full_table_name where_clause_opt */ - { 247, -1 }, /* (281) cmd ::= query_expression */ - { 250, -1 }, /* (282) literal ::= NK_INTEGER */ - { 250, -1 }, /* (283) literal ::= NK_FLOAT */ - { 250, -1 }, /* (284) literal ::= NK_STRING */ - { 250, -1 }, /* (285) literal ::= NK_BOOL */ - { 250, -2 }, /* (286) literal ::= TIMESTAMP NK_STRING */ - { 250, -1 }, /* (287) literal ::= duration_literal */ - { 250, -1 }, /* (288) literal ::= NULL */ - { 250, -1 }, /* (289) literal ::= NK_QUESTION */ - { 291, -1 }, /* (290) duration_literal ::= NK_VARIABLE */ - { 318, -1 }, /* (291) signed ::= NK_INTEGER */ - { 318, -2 }, /* (292) signed ::= NK_PLUS NK_INTEGER */ - { 318, -2 }, /* (293) signed ::= NK_MINUS NK_INTEGER */ - { 318, -1 }, /* (294) signed ::= NK_FLOAT */ - { 318, -2 }, /* (295) signed ::= NK_PLUS NK_FLOAT */ - { 318, -2 }, /* (296) signed ::= NK_MINUS NK_FLOAT */ - { 280, -1 }, /* (297) signed_literal ::= signed */ - { 280, -1 }, /* (298) signed_literal ::= NK_STRING */ - { 280, -1 }, /* (299) signed_literal ::= NK_BOOL */ - { 280, -2 }, /* (300) signed_literal ::= TIMESTAMP NK_STRING */ - { 280, -1 }, /* (301) signed_literal ::= duration_literal */ - { 280, -1 }, /* (302) signed_literal ::= NULL */ - { 280, -1 }, /* (303) signed_literal ::= literal_func */ - { 283, -1 }, /* (304) literal_list ::= signed_literal */ - { 283, -3 }, /* (305) literal_list ::= literal_list NK_COMMA signed_literal */ - { 258, -1 }, /* (306) db_name ::= NK_ID */ - { 286, -1 }, /* (307) table_name ::= NK_ID */ - { 278, -1 }, /* (308) column_name ::= NK_ID */ - { 293, -1 }, /* (309) function_name ::= NK_ID */ - { 320, -1 }, /* (310) table_alias ::= NK_ID */ - { 321, -1 }, /* (311) column_alias ::= NK_ID */ - { 252, -1 }, /* (312) user_name ::= NK_ID */ - { 299, -1 }, /* (313) index_name ::= NK_ID */ - { 307, -1 }, /* (314) topic_name ::= NK_ID */ - { 314, -1 }, /* (315) stream_name ::= NK_ID */ - { 309, -1 }, /* (316) cgroup_name ::= NK_ID */ - { 322, -1 }, /* (317) expression ::= literal */ - { 322, -1 }, /* (318) expression ::= pseudo_column */ - { 322, -1 }, /* (319) expression ::= column_reference */ - { 322, -1 }, /* (320) expression ::= function_expression */ - { 322, -1 }, /* (321) expression ::= subquery */ - { 322, -3 }, /* (322) expression ::= NK_LP expression NK_RP */ - { 322, -2 }, /* (323) expression ::= NK_PLUS expression */ - { 322, -2 }, /* (324) expression ::= NK_MINUS expression */ - { 322, -3 }, /* (325) expression ::= expression NK_PLUS expression */ - { 322, -3 }, /* (326) expression ::= expression NK_MINUS expression */ - { 322, -3 }, /* (327) expression ::= expression NK_STAR expression */ - { 322, -3 }, /* (328) expression ::= expression NK_SLASH expression */ - { 322, -3 }, /* (329) expression ::= expression NK_REM expression */ - { 322, -3 }, /* (330) expression ::= column_reference NK_ARROW NK_STRING */ - { 322, -3 }, /* (331) expression ::= expression NK_BITAND expression */ - { 322, -3 }, /* (332) expression ::= expression NK_BITOR expression */ - { 305, -1 }, /* (333) expression_list ::= expression */ - { 305, -3 }, /* (334) expression_list ::= expression_list NK_COMMA expression */ - { 324, -1 }, /* (335) column_reference ::= column_name */ - { 324, -3 }, /* (336) column_reference ::= table_name NK_DOT column_name */ - { 323, -1 }, /* (337) pseudo_column ::= ROWTS */ - { 323, -1 }, /* (338) pseudo_column ::= TBNAME */ - { 323, -3 }, /* (339) pseudo_column ::= table_name NK_DOT TBNAME */ - { 323, -1 }, /* (340) pseudo_column ::= QSTARTTS */ - { 323, -1 }, /* (341) pseudo_column ::= QENDTS */ - { 323, -1 }, /* (342) pseudo_column ::= WSTARTTS */ - { 323, -1 }, /* (343) pseudo_column ::= WENDTS */ - { 323, -1 }, /* (344) pseudo_column ::= WDURATION */ - { 325, -4 }, /* (345) function_expression ::= function_name NK_LP expression_list NK_RP */ - { 325, -4 }, /* (346) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - { 325, -6 }, /* (347) function_expression ::= CAST NK_LP expression AS type_name NK_RP */ - { 325, -1 }, /* (348) function_expression ::= literal_func */ - { 319, -3 }, /* (349) literal_func ::= noarg_func NK_LP NK_RP */ - { 319, -1 }, /* (350) literal_func ::= NOW */ - { 329, -1 }, /* (351) noarg_func ::= NOW */ - { 329, -1 }, /* (352) noarg_func ::= TODAY */ - { 329, -1 }, /* (353) noarg_func ::= TIMEZONE */ - { 327, -1 }, /* (354) star_func ::= COUNT */ - { 327, -1 }, /* (355) star_func ::= FIRST */ - { 327, -1 }, /* (356) star_func ::= LAST */ - { 327, -1 }, /* (357) star_func ::= LAST_ROW */ - { 328, -1 }, /* (358) star_func_para_list ::= NK_STAR */ - { 328, -1 }, /* (359) star_func_para_list ::= other_para_list */ - { 330, -1 }, /* (360) other_para_list ::= star_func_para */ - { 330, -3 }, /* (361) other_para_list ::= other_para_list NK_COMMA star_func_para */ - { 331, -1 }, /* (362) star_func_para ::= expression */ - { 331, -3 }, /* (363) star_func_para ::= table_name NK_DOT NK_STAR */ - { 332, -3 }, /* (364) predicate ::= expression compare_op expression */ - { 332, -5 }, /* (365) predicate ::= expression BETWEEN expression AND expression */ - { 332, -6 }, /* (366) predicate ::= expression NOT BETWEEN expression AND expression */ - { 332, -3 }, /* (367) predicate ::= expression IS NULL */ - { 332, -4 }, /* (368) predicate ::= expression IS NOT NULL */ - { 332, -3 }, /* (369) predicate ::= expression in_op in_predicate_value */ - { 333, -1 }, /* (370) compare_op ::= NK_LT */ - { 333, -1 }, /* (371) compare_op ::= NK_GT */ - { 333, -1 }, /* (372) compare_op ::= NK_LE */ - { 333, -1 }, /* (373) compare_op ::= NK_GE */ - { 333, -1 }, /* (374) compare_op ::= NK_NE */ - { 333, -1 }, /* (375) compare_op ::= NK_EQ */ - { 333, -1 }, /* (376) compare_op ::= LIKE */ - { 333, -2 }, /* (377) compare_op ::= NOT LIKE */ - { 333, -1 }, /* (378) compare_op ::= MATCH */ - { 333, -1 }, /* (379) compare_op ::= NMATCH */ - { 333, -1 }, /* (380) compare_op ::= CONTAINS */ - { 334, -1 }, /* (381) in_op ::= IN */ - { 334, -2 }, /* (382) in_op ::= NOT IN */ - { 335, -3 }, /* (383) in_predicate_value ::= NK_LP expression_list NK_RP */ - { 336, -1 }, /* (384) boolean_value_expression ::= boolean_primary */ - { 336, -2 }, /* (385) boolean_value_expression ::= NOT boolean_primary */ - { 336, -3 }, /* (386) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - { 336, -3 }, /* (387) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - { 337, -1 }, /* (388) boolean_primary ::= predicate */ - { 337, -3 }, /* (389) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - { 338, -1 }, /* (390) common_expression ::= expression */ - { 338, -1 }, /* (391) common_expression ::= boolean_value_expression */ - { 339, 0 }, /* (392) from_clause_opt ::= */ - { 339, -2 }, /* (393) from_clause_opt ::= FROM table_reference_list */ - { 340, -1 }, /* (394) table_reference_list ::= table_reference */ - { 340, -3 }, /* (395) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - { 341, -1 }, /* (396) table_reference ::= table_primary */ - { 341, -1 }, /* (397) table_reference ::= joined_table */ - { 342, -2 }, /* (398) table_primary ::= table_name alias_opt */ - { 342, -4 }, /* (399) table_primary ::= db_name NK_DOT table_name alias_opt */ - { 342, -2 }, /* (400) table_primary ::= subquery alias_opt */ - { 342, -1 }, /* (401) table_primary ::= parenthesized_joined_table */ - { 344, 0 }, /* (402) alias_opt ::= */ - { 344, -1 }, /* (403) alias_opt ::= table_alias */ - { 344, -2 }, /* (404) alias_opt ::= AS table_alias */ - { 345, -3 }, /* (405) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - { 345, -3 }, /* (406) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - { 343, -6 }, /* (407) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - { 346, 0 }, /* (408) join_type ::= */ - { 346, -1 }, /* (409) join_type ::= INNER */ - { 348, -12 }, /* (410) query_specification ::= SELECT set_quantifier_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 */ - { 349, 0 }, /* (411) set_quantifier_opt ::= */ - { 349, -1 }, /* (412) set_quantifier_opt ::= DISTINCT */ - { 349, -1 }, /* (413) set_quantifier_opt ::= ALL */ - { 350, -1 }, /* (414) select_list ::= NK_STAR */ - { 350, -1 }, /* (415) select_list ::= select_sublist */ - { 358, -1 }, /* (416) select_sublist ::= select_item */ - { 358, -3 }, /* (417) select_sublist ::= select_sublist NK_COMMA select_item */ - { 359, -1 }, /* (418) select_item ::= common_expression */ - { 359, -2 }, /* (419) select_item ::= common_expression column_alias */ - { 359, -3 }, /* (420) select_item ::= common_expression AS column_alias */ - { 359, -3 }, /* (421) select_item ::= table_name NK_DOT NK_STAR */ - { 317, 0 }, /* (422) where_clause_opt ::= */ - { 317, -2 }, /* (423) where_clause_opt ::= WHERE search_condition */ - { 351, 0 }, /* (424) partition_by_clause_opt ::= */ - { 351, -3 }, /* (425) partition_by_clause_opt ::= PARTITION BY expression_list */ - { 355, 0 }, /* (426) twindow_clause_opt ::= */ - { 355, -6 }, /* (427) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - { 355, -4 }, /* (428) twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP */ - { 355, -6 }, /* (429) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - { 355, -8 }, /* (430) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - { 302, 0 }, /* (431) sliding_opt ::= */ - { 302, -4 }, /* (432) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - { 354, 0 }, /* (433) fill_opt ::= */ - { 354, -4 }, /* (434) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - { 354, -6 }, /* (435) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ - { 360, -1 }, /* (436) fill_mode ::= NONE */ - { 360, -1 }, /* (437) fill_mode ::= PREV */ - { 360, -1 }, /* (438) fill_mode ::= NULL */ - { 360, -1 }, /* (439) fill_mode ::= LINEAR */ - { 360, -1 }, /* (440) fill_mode ::= NEXT */ - { 356, 0 }, /* (441) group_by_clause_opt ::= */ - { 356, -3 }, /* (442) group_by_clause_opt ::= GROUP BY group_by_list */ - { 361, -1 }, /* (443) group_by_list ::= expression */ - { 361, -3 }, /* (444) group_by_list ::= group_by_list NK_COMMA expression */ - { 357, 0 }, /* (445) having_clause_opt ::= */ - { 357, -2 }, /* (446) having_clause_opt ::= HAVING search_condition */ - { 352, 0 }, /* (447) range_opt ::= */ - { 352, -6 }, /* (448) range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP */ - { 353, 0 }, /* (449) every_opt ::= */ - { 353, -4 }, /* (450) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - { 308, -4 }, /* (451) query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt */ - { 362, -1 }, /* (452) query_expression_body ::= query_primary */ - { 362, -4 }, /* (453) query_expression_body ::= query_expression_body UNION ALL query_expression_body */ - { 362, -3 }, /* (454) query_expression_body ::= query_expression_body UNION query_expression_body */ - { 366, -1 }, /* (455) query_primary ::= query_specification */ - { 366, -6 }, /* (456) query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP */ - { 363, 0 }, /* (457) order_by_clause_opt ::= */ - { 363, -3 }, /* (458) order_by_clause_opt ::= ORDER BY sort_specification_list */ - { 364, 0 }, /* (459) slimit_clause_opt ::= */ - { 364, -2 }, /* (460) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - { 364, -4 }, /* (461) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - { 364, -4 }, /* (462) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 365, 0 }, /* (463) limit_clause_opt ::= */ - { 365, -2 }, /* (464) limit_clause_opt ::= LIMIT NK_INTEGER */ - { 365, -4 }, /* (465) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - { 365, -4 }, /* (466) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 326, -3 }, /* (467) subquery ::= NK_LP query_expression NK_RP */ - { 347, -1 }, /* (468) search_condition ::= common_expression */ - { 367, -1 }, /* (469) sort_specification_list ::= sort_specification */ - { 367, -3 }, /* (470) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - { 368, -3 }, /* (471) sort_specification ::= expression ordering_specification_opt null_ordering_opt */ - { 369, 0 }, /* (472) ordering_specification_opt ::= */ - { 369, -1 }, /* (473) ordering_specification_opt ::= ASC */ - { 369, -1 }, /* (474) ordering_specification_opt ::= DESC */ - { 370, 0 }, /* (475) null_ordering_opt ::= */ - { 370, -2 }, /* (476) null_ordering_opt ::= NULLS FIRST */ - { 370, -2 }, /* (477) null_ordering_opt ::= NULLS LAST */ -======= - { 252, -6 }, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ - { 252, -4 }, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ - { 253, 0 }, /* (2) account_options ::= */ - { 253, -3 }, /* (3) account_options ::= account_options PPS literal */ - { 253, -3 }, /* (4) account_options ::= account_options TSERIES literal */ - { 253, -3 }, /* (5) account_options ::= account_options STORAGE literal */ - { 253, -3 }, /* (6) account_options ::= account_options STREAMS literal */ - { 253, -3 }, /* (7) account_options ::= account_options QTIME literal */ - { 253, -3 }, /* (8) account_options ::= account_options DBS literal */ - { 253, -3 }, /* (9) account_options ::= account_options USERS literal */ - { 253, -3 }, /* (10) account_options ::= account_options CONNS literal */ - { 253, -3 }, /* (11) account_options ::= account_options STATE literal */ - { 254, -1 }, /* (12) alter_account_options ::= alter_account_option */ - { 254, -2 }, /* (13) alter_account_options ::= alter_account_options alter_account_option */ - { 256, -2 }, /* (14) alter_account_option ::= PASS literal */ - { 256, -2 }, /* (15) alter_account_option ::= PPS literal */ - { 256, -2 }, /* (16) alter_account_option ::= TSERIES literal */ - { 256, -2 }, /* (17) alter_account_option ::= STORAGE literal */ - { 256, -2 }, /* (18) alter_account_option ::= STREAMS literal */ - { 256, -2 }, /* (19) alter_account_option ::= QTIME literal */ - { 256, -2 }, /* (20) alter_account_option ::= DBS literal */ - { 256, -2 }, /* (21) alter_account_option ::= USERS literal */ - { 256, -2 }, /* (22) alter_account_option ::= CONNS literal */ - { 256, -2 }, /* (23) alter_account_option ::= STATE literal */ - { 252, -6 }, /* (24) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ - { 252, -5 }, /* (25) cmd ::= ALTER USER user_name PASS NK_STRING */ - { 252, -5 }, /* (26) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ - { 252, -5 }, /* (27) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ - { 252, -3 }, /* (28) cmd ::= DROP USER user_name */ - { 258, 0 }, /* (29) sysinfo_opt ::= */ - { 258, -2 }, /* (30) sysinfo_opt ::= SYSINFO NK_INTEGER */ - { 252, -6 }, /* (31) cmd ::= GRANT privileges ON priv_level TO user_name */ - { 252, -6 }, /* (32) cmd ::= REVOKE privileges ON priv_level FROM user_name */ - { 259, -1 }, /* (33) privileges ::= ALL */ - { 259, -1 }, /* (34) privileges ::= priv_type_list */ - { 261, -1 }, /* (35) priv_type_list ::= priv_type */ - { 261, -3 }, /* (36) priv_type_list ::= priv_type_list NK_COMMA priv_type */ - { 262, -1 }, /* (37) priv_type ::= READ */ - { 262, -1 }, /* (38) priv_type ::= WRITE */ - { 260, -3 }, /* (39) priv_level ::= NK_STAR NK_DOT NK_STAR */ - { 260, -3 }, /* (40) priv_level ::= db_name NK_DOT NK_STAR */ - { 252, -3 }, /* (41) cmd ::= CREATE DNODE dnode_endpoint */ - { 252, -5 }, /* (42) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ - { 252, -3 }, /* (43) cmd ::= DROP DNODE NK_INTEGER */ - { 252, -3 }, /* (44) cmd ::= DROP DNODE dnode_endpoint */ - { 252, -4 }, /* (45) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ - { 252, -5 }, /* (46) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ - { 252, -4 }, /* (47) cmd ::= ALTER ALL DNODES NK_STRING */ - { 252, -5 }, /* (48) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ - { 264, -1 }, /* (49) dnode_endpoint ::= NK_STRING */ - { 264, -1 }, /* (50) dnode_endpoint ::= NK_ID */ - { 264, -1 }, /* (51) dnode_endpoint ::= NK_IPTOKEN */ - { 252, -3 }, /* (52) cmd ::= ALTER LOCAL NK_STRING */ - { 252, -4 }, /* (53) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ - { 252, -5 }, /* (54) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (55) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (56) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (57) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (58) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (59) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (60) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (61) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (62) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ - { 252, -4 }, /* (63) cmd ::= DROP DATABASE exists_opt db_name */ - { 252, -2 }, /* (64) cmd ::= USE db_name */ - { 252, -4 }, /* (65) cmd ::= ALTER DATABASE db_name alter_db_options */ - { 265, -3 }, /* (66) not_exists_opt ::= IF NOT EXISTS */ - { 265, 0 }, /* (67) not_exists_opt ::= */ - { 267, -2 }, /* (68) exists_opt ::= IF EXISTS */ - { 267, 0 }, /* (69) exists_opt ::= */ - { 266, 0 }, /* (70) db_options ::= */ - { 266, -3 }, /* (71) db_options ::= db_options BUFFER NK_INTEGER */ - { 266, -3 }, /* (72) db_options ::= db_options CACHELAST NK_INTEGER */ - { 266, -3 }, /* (73) db_options ::= db_options COMP NK_INTEGER */ - { 266, -3 }, /* (74) db_options ::= db_options DURATION NK_INTEGER */ - { 266, -3 }, /* (75) db_options ::= db_options DURATION NK_VARIABLE */ - { 266, -3 }, /* (76) db_options ::= db_options FSYNC NK_INTEGER */ - { 266, -3 }, /* (77) db_options ::= db_options MAXROWS NK_INTEGER */ - { 266, -3 }, /* (78) db_options ::= db_options MINROWS NK_INTEGER */ - { 266, -3 }, /* (79) db_options ::= db_options KEEP integer_list */ - { 266, -3 }, /* (80) db_options ::= db_options KEEP variable_list */ - { 266, -3 }, /* (81) db_options ::= db_options PAGES NK_INTEGER */ - { 266, -3 }, /* (82) db_options ::= db_options PAGESIZE NK_INTEGER */ - { 266, -3 }, /* (83) db_options ::= db_options PRECISION NK_STRING */ - { 266, -3 }, /* (84) db_options ::= db_options REPLICA NK_INTEGER */ - { 266, -3 }, /* (85) db_options ::= db_options STRICT NK_INTEGER */ - { 266, -3 }, /* (86) db_options ::= db_options WAL NK_INTEGER */ - { 266, -3 }, /* (87) db_options ::= db_options VGROUPS NK_INTEGER */ - { 266, -3 }, /* (88) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ - { 266, -3 }, /* (89) db_options ::= db_options RETENTIONS retention_list */ - { 266, -3 }, /* (90) db_options ::= db_options SCHEMALESS NK_INTEGER */ - { 268, -1 }, /* (91) alter_db_options ::= alter_db_option */ - { 268, -2 }, /* (92) alter_db_options ::= alter_db_options alter_db_option */ - { 272, -2 }, /* (93) alter_db_option ::= BUFFER NK_INTEGER */ - { 272, -2 }, /* (94) alter_db_option ::= CACHELAST NK_INTEGER */ - { 272, -2 }, /* (95) alter_db_option ::= FSYNC NK_INTEGER */ - { 272, -2 }, /* (96) alter_db_option ::= KEEP integer_list */ - { 272, -2 }, /* (97) alter_db_option ::= KEEP variable_list */ - { 272, -2 }, /* (98) alter_db_option ::= PAGES NK_INTEGER */ - { 272, -2 }, /* (99) alter_db_option ::= REPLICA NK_INTEGER */ - { 272, -2 }, /* (100) alter_db_option ::= STRICT NK_INTEGER */ - { 272, -2 }, /* (101) alter_db_option ::= WAL NK_INTEGER */ - { 269, -1 }, /* (102) integer_list ::= NK_INTEGER */ - { 269, -3 }, /* (103) integer_list ::= integer_list NK_COMMA NK_INTEGER */ - { 270, -1 }, /* (104) variable_list ::= NK_VARIABLE */ - { 270, -3 }, /* (105) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ - { 271, -1 }, /* (106) retention_list ::= retention */ - { 271, -3 }, /* (107) retention_list ::= retention_list NK_COMMA retention */ - { 273, -3 }, /* (108) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ - { 252, -9 }, /* (109) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - { 252, -3 }, /* (110) cmd ::= CREATE TABLE multi_create_clause */ - { 252, -9 }, /* (111) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ - { 252, -3 }, /* (112) cmd ::= DROP TABLE multi_drop_clause */ - { 252, -4 }, /* (113) cmd ::= DROP STABLE exists_opt full_table_name */ - { 252, -3 }, /* (114) cmd ::= ALTER TABLE alter_table_clause */ - { 252, -3 }, /* (115) cmd ::= ALTER STABLE alter_table_clause */ - { 281, -2 }, /* (116) alter_table_clause ::= full_table_name alter_table_options */ - { 281, -5 }, /* (117) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ - { 281, -4 }, /* (118) alter_table_clause ::= full_table_name DROP COLUMN column_name */ - { 281, -5 }, /* (119) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ - { 281, -5 }, /* (120) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ - { 281, -5 }, /* (121) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ - { 281, -4 }, /* (122) alter_table_clause ::= full_table_name DROP TAG column_name */ - { 281, -5 }, /* (123) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ - { 281, -5 }, /* (124) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ - { 281, -6 }, /* (125) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ - { 278, -1 }, /* (126) multi_create_clause ::= create_subtable_clause */ - { 278, -2 }, /* (127) multi_create_clause ::= multi_create_clause create_subtable_clause */ - { 286, -10 }, /* (128) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_tags_opt TAGS NK_LP literal_list NK_RP table_options */ - { 280, -1 }, /* (129) multi_drop_clause ::= drop_table_clause */ - { 280, -2 }, /* (130) multi_drop_clause ::= multi_drop_clause drop_table_clause */ - { 289, -2 }, /* (131) drop_table_clause ::= exists_opt full_table_name */ - { 287, 0 }, /* (132) specific_tags_opt ::= */ - { 287, -3 }, /* (133) specific_tags_opt ::= NK_LP col_name_list NK_RP */ - { 274, -1 }, /* (134) full_table_name ::= table_name */ - { 274, -3 }, /* (135) full_table_name ::= db_name NK_DOT table_name */ - { 275, -1 }, /* (136) column_def_list ::= column_def */ - { 275, -3 }, /* (137) column_def_list ::= column_def_list NK_COMMA column_def */ - { 292, -2 }, /* (138) column_def ::= column_name type_name */ - { 292, -4 }, /* (139) column_def ::= column_name type_name COMMENT NK_STRING */ - { 284, -1 }, /* (140) type_name ::= BOOL */ - { 284, -1 }, /* (141) type_name ::= TINYINT */ - { 284, -1 }, /* (142) type_name ::= SMALLINT */ - { 284, -1 }, /* (143) type_name ::= INT */ - { 284, -1 }, /* (144) type_name ::= INTEGER */ - { 284, -1 }, /* (145) type_name ::= BIGINT */ - { 284, -1 }, /* (146) type_name ::= FLOAT */ - { 284, -1 }, /* (147) type_name ::= DOUBLE */ - { 284, -4 }, /* (148) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ - { 284, -1 }, /* (149) type_name ::= TIMESTAMP */ - { 284, -4 }, /* (150) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ - { 284, -2 }, /* (151) type_name ::= TINYINT UNSIGNED */ - { 284, -2 }, /* (152) type_name ::= SMALLINT UNSIGNED */ - { 284, -2 }, /* (153) type_name ::= INT UNSIGNED */ - { 284, -2 }, /* (154) type_name ::= BIGINT UNSIGNED */ - { 284, -1 }, /* (155) type_name ::= JSON */ - { 284, -4 }, /* (156) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ - { 284, -1 }, /* (157) type_name ::= MEDIUMBLOB */ - { 284, -1 }, /* (158) type_name ::= BLOB */ - { 284, -4 }, /* (159) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ - { 284, -1 }, /* (160) type_name ::= DECIMAL */ - { 284, -4 }, /* (161) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ - { 284, -6 }, /* (162) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ - { 276, 0 }, /* (163) tags_def_opt ::= */ - { 276, -1 }, /* (164) tags_def_opt ::= tags_def */ - { 279, -4 }, /* (165) tags_def ::= TAGS NK_LP column_def_list NK_RP */ - { 277, 0 }, /* (166) table_options ::= */ - { 277, -3 }, /* (167) table_options ::= table_options COMMENT NK_STRING */ - { 277, -3 }, /* (168) table_options ::= table_options MAX_DELAY duration_list */ - { 277, -3 }, /* (169) table_options ::= table_options WATERMARK duration_list */ - { 277, -5 }, /* (170) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ - { 277, -3 }, /* (171) table_options ::= table_options TTL NK_INTEGER */ - { 277, -5 }, /* (172) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ - { 282, -1 }, /* (173) alter_table_options ::= alter_table_option */ - { 282, -2 }, /* (174) alter_table_options ::= alter_table_options alter_table_option */ - { 295, -2 }, /* (175) alter_table_option ::= COMMENT NK_STRING */ - { 295, -2 }, /* (176) alter_table_option ::= TTL NK_INTEGER */ - { 293, -1 }, /* (177) duration_list ::= duration_literal */ - { 293, -3 }, /* (178) duration_list ::= duration_list NK_COMMA duration_literal */ - { 294, -1 }, /* (179) rollup_func_list ::= rollup_func_name */ - { 294, -3 }, /* (180) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ - { 297, -1 }, /* (181) rollup_func_name ::= function_name */ - { 297, -1 }, /* (182) rollup_func_name ::= FIRST */ - { 297, -1 }, /* (183) rollup_func_name ::= LAST */ - { 290, -1 }, /* (184) col_name_list ::= col_name */ - { 290, -3 }, /* (185) col_name_list ::= col_name_list NK_COMMA col_name */ - { 299, -1 }, /* (186) col_name ::= column_name */ - { 252, -2 }, /* (187) cmd ::= SHOW DNODES */ - { 252, -2 }, /* (188) cmd ::= SHOW USERS */ - { 252, -2 }, /* (189) cmd ::= SHOW DATABASES */ - { 252, -4 }, /* (190) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ - { 252, -4 }, /* (191) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ - { 252, -3 }, /* (192) cmd ::= SHOW db_name_cond_opt VGROUPS */ - { 252, -2 }, /* (193) cmd ::= SHOW MNODES */ - { 252, -2 }, /* (194) cmd ::= SHOW MODULES */ - { 252, -2 }, /* (195) cmd ::= SHOW QNODES */ - { 252, -2 }, /* (196) cmd ::= SHOW FUNCTIONS */ - { 252, -5 }, /* (197) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - { 252, -2 }, /* (198) cmd ::= SHOW STREAMS */ - { 252, -2 }, /* (199) cmd ::= SHOW ACCOUNTS */ - { 252, -2 }, /* (200) cmd ::= SHOW APPS */ - { 252, -2 }, /* (201) cmd ::= SHOW CONNECTIONS */ - { 252, -2 }, /* (202) cmd ::= SHOW LICENCE */ - { 252, -2 }, /* (203) cmd ::= SHOW GRANTS */ - { 252, -4 }, /* (204) cmd ::= SHOW CREATE DATABASE db_name */ - { 252, -4 }, /* (205) cmd ::= SHOW CREATE TABLE full_table_name */ - { 252, -4 }, /* (206) cmd ::= SHOW CREATE STABLE full_table_name */ - { 252, -2 }, /* (207) cmd ::= SHOW QUERIES */ - { 252, -2 }, /* (208) cmd ::= SHOW SCORES */ - { 252, -2 }, /* (209) cmd ::= SHOW TOPICS */ - { 252, -2 }, /* (210) cmd ::= SHOW VARIABLES */ - { 252, -3 }, /* (211) cmd ::= SHOW LOCAL VARIABLES */ - { 252, -4 }, /* (212) cmd ::= SHOW DNODE NK_INTEGER VARIABLES */ - { 252, -2 }, /* (213) cmd ::= SHOW BNODES */ - { 252, -2 }, /* (214) cmd ::= SHOW SNODES */ - { 252, -2 }, /* (215) cmd ::= SHOW CLUSTER */ - { 252, -2 }, /* (216) cmd ::= SHOW TRANSACTIONS */ - { 252, -4 }, /* (217) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - { 252, -2 }, /* (218) cmd ::= SHOW CONSUMERS */ - { 252, -2 }, /* (219) cmd ::= SHOW SUBSCRIPTIONS */ - { 300, 0 }, /* (220) db_name_cond_opt ::= */ - { 300, -2 }, /* (221) db_name_cond_opt ::= db_name NK_DOT */ - { 301, 0 }, /* (222) like_pattern_opt ::= */ - { 301, -2 }, /* (223) like_pattern_opt ::= LIKE NK_STRING */ - { 302, -1 }, /* (224) table_name_cond ::= table_name */ - { 303, 0 }, /* (225) from_db_opt ::= */ - { 303, -2 }, /* (226) from_db_opt ::= FROM db_name */ - { 252, -8 }, /* (227) cmd ::= CREATE SMA INDEX not_exists_opt index_name ON table_name index_options */ - { 252, -4 }, /* (228) cmd ::= DROP INDEX exists_opt index_name */ - { 305, -10 }, /* (229) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - { 305, -12 }, /* (230) 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 */ - { 306, -1 }, /* (231) func_list ::= func */ - { 306, -3 }, /* (232) func_list ::= func_list NK_COMMA func */ - { 309, -4 }, /* (233) func ::= function_name NK_LP expression_list NK_RP */ - { 308, 0 }, /* (234) sma_stream_opt ::= */ - { 308, -3 }, /* (235) sma_stream_opt ::= stream_options WATERMARK duration_literal */ - { 308, -3 }, /* (236) sma_stream_opt ::= stream_options MAX_DELAY duration_literal */ - { 252, -6 }, /* (237) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_expression */ - { 252, -7 }, /* (238) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ - { 252, -9 }, /* (239) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ - { 252, -7 }, /* (240) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ - { 252, -9 }, /* (241) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ - { 252, -4 }, /* (242) cmd ::= DROP TOPIC exists_opt topic_name */ - { 252, -7 }, /* (243) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - { 252, -2 }, /* (244) cmd ::= DESC full_table_name */ - { 252, -2 }, /* (245) cmd ::= DESCRIBE full_table_name */ - { 252, -3 }, /* (246) cmd ::= RESET QUERY CACHE */ - { 252, -4 }, /* (247) cmd ::= EXPLAIN analyze_opt explain_options query_expression */ - { 315, 0 }, /* (248) analyze_opt ::= */ - { 315, -1 }, /* (249) analyze_opt ::= ANALYZE */ - { 316, 0 }, /* (250) explain_options ::= */ - { 316, -3 }, /* (251) explain_options ::= explain_options VERBOSE NK_BOOL */ - { 316, -3 }, /* (252) explain_options ::= explain_options RATIO NK_FLOAT */ - { 252, -6 }, /* (253) cmd ::= COMPACT VNODES IN NK_LP integer_list NK_RP */ - { 252, -10 }, /* (254) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt */ - { 252, -4 }, /* (255) cmd ::= DROP FUNCTION exists_opt function_name */ - { 317, 0 }, /* (256) agg_func_opt ::= */ - { 317, -1 }, /* (257) agg_func_opt ::= AGGREGATE */ - { 318, 0 }, /* (258) bufsize_opt ::= */ - { 318, -2 }, /* (259) bufsize_opt ::= BUFSIZE NK_INTEGER */ - { 252, -8 }, /* (260) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options into_opt AS query_expression */ - { 252, -4 }, /* (261) cmd ::= DROP STREAM exists_opt stream_name */ - { 320, 0 }, /* (262) into_opt ::= */ - { 320, -2 }, /* (263) into_opt ::= INTO full_table_name */ - { 311, 0 }, /* (264) stream_options ::= */ - { 311, -3 }, /* (265) stream_options ::= stream_options TRIGGER AT_ONCE */ - { 311, -3 }, /* (266) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - { 311, -4 }, /* (267) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - { 311, -3 }, /* (268) stream_options ::= stream_options WATERMARK duration_literal */ - { 311, -3 }, /* (269) stream_options ::= stream_options IGNORE EXPIRED */ - { 252, -3 }, /* (270) cmd ::= KILL CONNECTION NK_INTEGER */ - { 252, -3 }, /* (271) cmd ::= KILL QUERY NK_STRING */ - { 252, -3 }, /* (272) cmd ::= KILL TRANSACTION NK_INTEGER */ - { 252, -2 }, /* (273) cmd ::= BALANCE VGROUP */ - { 252, -4 }, /* (274) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - { 252, -4 }, /* (275) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - { 252, -3 }, /* (276) cmd ::= SPLIT VGROUP NK_INTEGER */ - { 321, -2 }, /* (277) dnode_list ::= DNODE NK_INTEGER */ - { 321, -3 }, /* (278) dnode_list ::= dnode_list DNODE NK_INTEGER */ - { 252, -3 }, /* (279) cmd ::= SYNCDB db_name REPLICA */ - { 252, -4 }, /* (280) cmd ::= DELETE FROM full_table_name where_clause_opt */ - { 252, -1 }, /* (281) cmd ::= query_expression */ - { 255, -1 }, /* (282) literal ::= NK_INTEGER */ - { 255, -1 }, /* (283) literal ::= NK_FLOAT */ - { 255, -1 }, /* (284) literal ::= NK_STRING */ - { 255, -1 }, /* (285) literal ::= NK_BOOL */ - { 255, -2 }, /* (286) literal ::= TIMESTAMP NK_STRING */ - { 255, -1 }, /* (287) literal ::= duration_literal */ - { 255, -1 }, /* (288) literal ::= NULL */ - { 255, -1 }, /* (289) literal ::= NK_QUESTION */ - { 296, -1 }, /* (290) duration_literal ::= NK_VARIABLE */ - { 323, -1 }, /* (291) signed ::= NK_INTEGER */ - { 323, -2 }, /* (292) signed ::= NK_PLUS NK_INTEGER */ - { 323, -2 }, /* (293) signed ::= NK_MINUS NK_INTEGER */ - { 323, -1 }, /* (294) signed ::= NK_FLOAT */ - { 323, -2 }, /* (295) signed ::= NK_PLUS NK_FLOAT */ - { 323, -2 }, /* (296) signed ::= NK_MINUS NK_FLOAT */ - { 285, -1 }, /* (297) signed_literal ::= signed */ - { 285, -1 }, /* (298) signed_literal ::= NK_STRING */ - { 285, -1 }, /* (299) signed_literal ::= NK_BOOL */ - { 285, -2 }, /* (300) signed_literal ::= TIMESTAMP NK_STRING */ - { 285, -1 }, /* (301) signed_literal ::= duration_literal */ - { 285, -1 }, /* (302) signed_literal ::= NULL */ - { 285, -1 }, /* (303) signed_literal ::= literal_func */ - { 288, -1 }, /* (304) literal_list ::= signed_literal */ - { 288, -3 }, /* (305) literal_list ::= literal_list NK_COMMA signed_literal */ - { 263, -1 }, /* (306) db_name ::= NK_ID */ - { 291, -1 }, /* (307) table_name ::= NK_ID */ - { 283, -1 }, /* (308) column_name ::= NK_ID */ - { 298, -1 }, /* (309) function_name ::= NK_ID */ - { 325, -1 }, /* (310) table_alias ::= NK_ID */ - { 326, -1 }, /* (311) column_alias ::= NK_ID */ - { 257, -1 }, /* (312) user_name ::= NK_ID */ - { 304, -1 }, /* (313) index_name ::= NK_ID */ - { 312, -1 }, /* (314) topic_name ::= NK_ID */ - { 319, -1 }, /* (315) stream_name ::= NK_ID */ - { 314, -1 }, /* (316) cgroup_name ::= NK_ID */ - { 327, -1 }, /* (317) expression ::= literal */ - { 327, -1 }, /* (318) expression ::= pseudo_column */ - { 327, -1 }, /* (319) expression ::= column_reference */ - { 327, -1 }, /* (320) expression ::= function_expression */ - { 327, -1 }, /* (321) expression ::= subquery */ - { 327, -3 }, /* (322) expression ::= NK_LP expression NK_RP */ - { 327, -2 }, /* (323) expression ::= NK_PLUS expression */ - { 327, -2 }, /* (324) expression ::= NK_MINUS expression */ - { 327, -3 }, /* (325) expression ::= expression NK_PLUS expression */ - { 327, -3 }, /* (326) expression ::= expression NK_MINUS expression */ - { 327, -3 }, /* (327) expression ::= expression NK_STAR expression */ - { 327, -3 }, /* (328) expression ::= expression NK_SLASH expression */ - { 327, -3 }, /* (329) expression ::= expression NK_REM expression */ - { 327, -3 }, /* (330) expression ::= column_reference NK_ARROW NK_STRING */ - { 327, -3 }, /* (331) expression ::= expression NK_BITAND expression */ - { 327, -3 }, /* (332) expression ::= expression NK_BITOR expression */ - { 310, -1 }, /* (333) expression_list ::= expression */ - { 310, -3 }, /* (334) expression_list ::= expression_list NK_COMMA expression */ - { 329, -1 }, /* (335) column_reference ::= column_name */ - { 329, -3 }, /* (336) column_reference ::= table_name NK_DOT column_name */ - { 328, -1 }, /* (337) pseudo_column ::= ROWTS */ - { 328, -1 }, /* (338) pseudo_column ::= TBNAME */ - { 328, -3 }, /* (339) pseudo_column ::= table_name NK_DOT TBNAME */ - { 328, -1 }, /* (340) pseudo_column ::= QSTARTTS */ - { 328, -1 }, /* (341) pseudo_column ::= QENDTS */ - { 328, -1 }, /* (342) pseudo_column ::= WSTARTTS */ - { 328, -1 }, /* (343) pseudo_column ::= WENDTS */ - { 328, -1 }, /* (344) pseudo_column ::= WDURATION */ - { 330, -4 }, /* (345) function_expression ::= function_name NK_LP expression_list NK_RP */ - { 330, -4 }, /* (346) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - { 330, -6 }, /* (347) function_expression ::= CAST NK_LP expression AS type_name NK_RP */ - { 330, -1 }, /* (348) function_expression ::= literal_func */ - { 324, -3 }, /* (349) literal_func ::= noarg_func NK_LP NK_RP */ - { 324, -1 }, /* (350) literal_func ::= NOW */ - { 334, -1 }, /* (351) noarg_func ::= NOW */ - { 334, -1 }, /* (352) noarg_func ::= TODAY */ - { 334, -1 }, /* (353) noarg_func ::= TIMEZONE */ - { 334, -1 }, /* (354) noarg_func ::= DATABASE */ - { 334, -1 }, /* (355) noarg_func ::= CLIENT_VERSION */ - { 334, -1 }, /* (356) noarg_func ::= SERVER_VERSION */ - { 334, -1 }, /* (357) noarg_func ::= SERVER_STATUS */ - { 334, -1 }, /* (358) noarg_func ::= CURRENT_USER */ - { 334, -1 }, /* (359) noarg_func ::= USER */ - { 332, -1 }, /* (360) star_func ::= COUNT */ - { 332, -1 }, /* (361) star_func ::= FIRST */ - { 332, -1 }, /* (362) star_func ::= LAST */ - { 332, -1 }, /* (363) star_func ::= LAST_ROW */ - { 333, -1 }, /* (364) star_func_para_list ::= NK_STAR */ - { 333, -1 }, /* (365) star_func_para_list ::= other_para_list */ - { 335, -1 }, /* (366) other_para_list ::= star_func_para */ - { 335, -3 }, /* (367) other_para_list ::= other_para_list NK_COMMA star_func_para */ - { 336, -1 }, /* (368) star_func_para ::= expression */ - { 336, -3 }, /* (369) star_func_para ::= table_name NK_DOT NK_STAR */ - { 337, -3 }, /* (370) predicate ::= expression compare_op expression */ - { 337, -5 }, /* (371) predicate ::= expression BETWEEN expression AND expression */ - { 337, -6 }, /* (372) predicate ::= expression NOT BETWEEN expression AND expression */ - { 337, -3 }, /* (373) predicate ::= expression IS NULL */ - { 337, -4 }, /* (374) predicate ::= expression IS NOT NULL */ - { 337, -3 }, /* (375) predicate ::= expression in_op in_predicate_value */ - { 338, -1 }, /* (376) compare_op ::= NK_LT */ - { 338, -1 }, /* (377) compare_op ::= NK_GT */ - { 338, -1 }, /* (378) compare_op ::= NK_LE */ - { 338, -1 }, /* (379) compare_op ::= NK_GE */ - { 338, -1 }, /* (380) compare_op ::= NK_NE */ - { 338, -1 }, /* (381) compare_op ::= NK_EQ */ - { 338, -1 }, /* (382) compare_op ::= LIKE */ - { 338, -2 }, /* (383) compare_op ::= NOT LIKE */ - { 338, -1 }, /* (384) compare_op ::= MATCH */ - { 338, -1 }, /* (385) compare_op ::= NMATCH */ - { 338, -1 }, /* (386) compare_op ::= CONTAINS */ - { 339, -1 }, /* (387) in_op ::= IN */ - { 339, -2 }, /* (388) in_op ::= NOT IN */ - { 340, -3 }, /* (389) in_predicate_value ::= NK_LP expression_list NK_RP */ - { 341, -1 }, /* (390) boolean_value_expression ::= boolean_primary */ - { 341, -2 }, /* (391) boolean_value_expression ::= NOT boolean_primary */ - { 341, -3 }, /* (392) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - { 341, -3 }, /* (393) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - { 342, -1 }, /* (394) boolean_primary ::= predicate */ - { 342, -3 }, /* (395) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - { 343, -1 }, /* (396) common_expression ::= expression */ - { 343, -1 }, /* (397) common_expression ::= boolean_value_expression */ - { 344, 0 }, /* (398) from_clause_opt ::= */ - { 344, -2 }, /* (399) from_clause_opt ::= FROM table_reference_list */ - { 345, -1 }, /* (400) table_reference_list ::= table_reference */ - { 345, -3 }, /* (401) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - { 346, -1 }, /* (402) table_reference ::= table_primary */ - { 346, -1 }, /* (403) table_reference ::= joined_table */ - { 347, -2 }, /* (404) table_primary ::= table_name alias_opt */ - { 347, -4 }, /* (405) table_primary ::= db_name NK_DOT table_name alias_opt */ - { 347, -2 }, /* (406) table_primary ::= subquery alias_opt */ - { 347, -1 }, /* (407) table_primary ::= parenthesized_joined_table */ - { 349, 0 }, /* (408) alias_opt ::= */ - { 349, -1 }, /* (409) alias_opt ::= table_alias */ - { 349, -2 }, /* (410) alias_opt ::= AS table_alias */ - { 350, -3 }, /* (411) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - { 350, -3 }, /* (412) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - { 348, -6 }, /* (413) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - { 351, 0 }, /* (414) join_type ::= */ - { 351, -1 }, /* (415) join_type ::= INNER */ - { 353, -12 }, /* (416) query_specification ::= SELECT set_quantifier_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 */ - { 354, 0 }, /* (417) set_quantifier_opt ::= */ - { 354, -1 }, /* (418) set_quantifier_opt ::= DISTINCT */ - { 354, -1 }, /* (419) set_quantifier_opt ::= ALL */ - { 355, -1 }, /* (420) select_list ::= select_item */ - { 355, -3 }, /* (421) select_list ::= select_list NK_COMMA select_item */ - { 363, -1 }, /* (422) select_item ::= NK_STAR */ - { 363, -1 }, /* (423) select_item ::= common_expression */ - { 363, -2 }, /* (424) select_item ::= common_expression column_alias */ - { 363, -3 }, /* (425) select_item ::= common_expression AS column_alias */ - { 363, -3 }, /* (426) select_item ::= table_name NK_DOT NK_STAR */ - { 322, 0 }, /* (427) where_clause_opt ::= */ - { 322, -2 }, /* (428) where_clause_opt ::= WHERE search_condition */ - { 356, 0 }, /* (429) partition_by_clause_opt ::= */ - { 356, -3 }, /* (430) partition_by_clause_opt ::= PARTITION BY expression_list */ - { 360, 0 }, /* (431) twindow_clause_opt ::= */ - { 360, -6 }, /* (432) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - { 360, -4 }, /* (433) twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP */ - { 360, -6 }, /* (434) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - { 360, -8 }, /* (435) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - { 307, 0 }, /* (436) sliding_opt ::= */ - { 307, -4 }, /* (437) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - { 359, 0 }, /* (438) fill_opt ::= */ - { 359, -4 }, /* (439) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - { 359, -6 }, /* (440) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ - { 364, -1 }, /* (441) fill_mode ::= NONE */ - { 364, -1 }, /* (442) fill_mode ::= PREV */ - { 364, -1 }, /* (443) fill_mode ::= NULL */ - { 364, -1 }, /* (444) fill_mode ::= LINEAR */ - { 364, -1 }, /* (445) fill_mode ::= NEXT */ - { 361, 0 }, /* (446) group_by_clause_opt ::= */ - { 361, -3 }, /* (447) group_by_clause_opt ::= GROUP BY group_by_list */ - { 365, -1 }, /* (448) group_by_list ::= expression */ - { 365, -3 }, /* (449) group_by_list ::= group_by_list NK_COMMA expression */ - { 362, 0 }, /* (450) having_clause_opt ::= */ - { 362, -2 }, /* (451) having_clause_opt ::= HAVING search_condition */ - { 357, 0 }, /* (452) range_opt ::= */ - { 357, -6 }, /* (453) range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP */ - { 358, 0 }, /* (454) every_opt ::= */ - { 358, -4 }, /* (455) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - { 313, -4 }, /* (456) query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt */ - { 366, -1 }, /* (457) query_expression_body ::= query_primary */ - { 366, -4 }, /* (458) query_expression_body ::= query_expression_body UNION ALL query_expression_body */ - { 366, -3 }, /* (459) query_expression_body ::= query_expression_body UNION query_expression_body */ - { 370, -1 }, /* (460) query_primary ::= query_specification */ - { 370, -6 }, /* (461) query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP */ - { 367, 0 }, /* (462) order_by_clause_opt ::= */ - { 367, -3 }, /* (463) order_by_clause_opt ::= ORDER BY sort_specification_list */ - { 368, 0 }, /* (464) slimit_clause_opt ::= */ - { 368, -2 }, /* (465) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - { 368, -4 }, /* (466) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - { 368, -4 }, /* (467) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 369, 0 }, /* (468) limit_clause_opt ::= */ - { 369, -2 }, /* (469) limit_clause_opt ::= LIMIT NK_INTEGER */ - { 369, -4 }, /* (470) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - { 369, -4 }, /* (471) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 331, -3 }, /* (472) subquery ::= NK_LP query_expression NK_RP */ - { 352, -1 }, /* (473) search_condition ::= common_expression */ - { 371, -1 }, /* (474) sort_specification_list ::= sort_specification */ - { 371, -3 }, /* (475) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - { 372, -3 }, /* (476) sort_specification ::= expression ordering_specification_opt null_ordering_opt */ - { 373, 0 }, /* (477) ordering_specification_opt ::= */ - { 373, -1 }, /* (478) ordering_specification_opt ::= ASC */ - { 373, -1 }, /* (479) ordering_specification_opt ::= DESC */ - { 374, 0 }, /* (480) null_ordering_opt ::= */ - { 374, -2 }, /* (481) null_ordering_opt ::= NULLS FIRST */ - { 374, -2 }, /* (482) null_ordering_opt ::= NULLS LAST */ ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + { 253, -6 }, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ + { 253, -4 }, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ + { 254, 0 }, /* (2) account_options ::= */ + { 254, -3 }, /* (3) account_options ::= account_options PPS literal */ + { 254, -3 }, /* (4) account_options ::= account_options TSERIES literal */ + { 254, -3 }, /* (5) account_options ::= account_options STORAGE literal */ + { 254, -3 }, /* (6) account_options ::= account_options STREAMS literal */ + { 254, -3 }, /* (7) account_options ::= account_options QTIME literal */ + { 254, -3 }, /* (8) account_options ::= account_options DBS literal */ + { 254, -3 }, /* (9) account_options ::= account_options USERS literal */ + { 254, -3 }, /* (10) account_options ::= account_options CONNS literal */ + { 254, -3 }, /* (11) account_options ::= account_options STATE literal */ + { 255, -1 }, /* (12) alter_account_options ::= alter_account_option */ + { 255, -2 }, /* (13) alter_account_options ::= alter_account_options alter_account_option */ + { 257, -2 }, /* (14) alter_account_option ::= PASS literal */ + { 257, -2 }, /* (15) alter_account_option ::= PPS literal */ + { 257, -2 }, /* (16) alter_account_option ::= TSERIES literal */ + { 257, -2 }, /* (17) alter_account_option ::= STORAGE literal */ + { 257, -2 }, /* (18) alter_account_option ::= STREAMS literal */ + { 257, -2 }, /* (19) alter_account_option ::= QTIME literal */ + { 257, -2 }, /* (20) alter_account_option ::= DBS literal */ + { 257, -2 }, /* (21) alter_account_option ::= USERS literal */ + { 257, -2 }, /* (22) alter_account_option ::= CONNS literal */ + { 257, -2 }, /* (23) alter_account_option ::= STATE literal */ + { 253, -6 }, /* (24) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ + { 253, -5 }, /* (25) cmd ::= ALTER USER user_name PASS NK_STRING */ + { 253, -5 }, /* (26) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ + { 253, -5 }, /* (27) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ + { 253, -3 }, /* (28) cmd ::= DROP USER user_name */ + { 259, 0 }, /* (29) sysinfo_opt ::= */ + { 259, -2 }, /* (30) sysinfo_opt ::= SYSINFO NK_INTEGER */ + { 253, -6 }, /* (31) cmd ::= GRANT privileges ON priv_level TO user_name */ + { 253, -6 }, /* (32) cmd ::= REVOKE privileges ON priv_level FROM user_name */ + { 260, -1 }, /* (33) privileges ::= ALL */ + { 260, -1 }, /* (34) privileges ::= priv_type_list */ + { 262, -1 }, /* (35) priv_type_list ::= priv_type */ + { 262, -3 }, /* (36) priv_type_list ::= priv_type_list NK_COMMA priv_type */ + { 263, -1 }, /* (37) priv_type ::= READ */ + { 263, -1 }, /* (38) priv_type ::= WRITE */ + { 261, -3 }, /* (39) priv_level ::= NK_STAR NK_DOT NK_STAR */ + { 261, -3 }, /* (40) priv_level ::= db_name NK_DOT NK_STAR */ + { 253, -3 }, /* (41) cmd ::= CREATE DNODE dnode_endpoint */ + { 253, -5 }, /* (42) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ + { 253, -3 }, /* (43) cmd ::= DROP DNODE NK_INTEGER */ + { 253, -3 }, /* (44) cmd ::= DROP DNODE dnode_endpoint */ + { 253, -4 }, /* (45) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ + { 253, -5 }, /* (46) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ + { 253, -4 }, /* (47) cmd ::= ALTER ALL DNODES NK_STRING */ + { 253, -5 }, /* (48) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ + { 265, -1 }, /* (49) dnode_endpoint ::= NK_STRING */ + { 265, -1 }, /* (50) dnode_endpoint ::= NK_ID */ + { 265, -1 }, /* (51) dnode_endpoint ::= NK_IPTOKEN */ + { 253, -3 }, /* (52) cmd ::= ALTER LOCAL NK_STRING */ + { 253, -4 }, /* (53) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ + { 253, -5 }, /* (54) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (55) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (56) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (57) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (58) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (59) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (60) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (61) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (62) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ + { 253, -4 }, /* (63) cmd ::= DROP DATABASE exists_opt db_name */ + { 253, -2 }, /* (64) cmd ::= USE db_name */ + { 253, -4 }, /* (65) cmd ::= ALTER DATABASE db_name alter_db_options */ + { 253, -3 }, /* (66) cmd ::= FLUSH DATABASE db_name */ + { 266, -3 }, /* (67) not_exists_opt ::= IF NOT EXISTS */ + { 266, 0 }, /* (68) not_exists_opt ::= */ + { 268, -2 }, /* (69) exists_opt ::= IF EXISTS */ + { 268, 0 }, /* (70) exists_opt ::= */ + { 267, 0 }, /* (71) db_options ::= */ + { 267, -3 }, /* (72) db_options ::= db_options BUFFER NK_INTEGER */ + { 267, -3 }, /* (73) db_options ::= db_options CACHELAST NK_INTEGER */ + { 267, -3 }, /* (74) db_options ::= db_options COMP NK_INTEGER */ + { 267, -3 }, /* (75) db_options ::= db_options DURATION NK_INTEGER */ + { 267, -3 }, /* (76) db_options ::= db_options DURATION NK_VARIABLE */ + { 267, -3 }, /* (77) db_options ::= db_options FSYNC NK_INTEGER */ + { 267, -3 }, /* (78) db_options ::= db_options MAXROWS NK_INTEGER */ + { 267, -3 }, /* (79) db_options ::= db_options MINROWS NK_INTEGER */ + { 267, -3 }, /* (80) db_options ::= db_options KEEP integer_list */ + { 267, -3 }, /* (81) db_options ::= db_options KEEP variable_list */ + { 267, -3 }, /* (82) db_options ::= db_options PAGES NK_INTEGER */ + { 267, -3 }, /* (83) db_options ::= db_options PAGESIZE NK_INTEGER */ + { 267, -3 }, /* (84) db_options ::= db_options PRECISION NK_STRING */ + { 267, -3 }, /* (85) db_options ::= db_options REPLICA NK_INTEGER */ + { 267, -3 }, /* (86) db_options ::= db_options STRICT NK_INTEGER */ + { 267, -3 }, /* (87) db_options ::= db_options WAL NK_INTEGER */ + { 267, -3 }, /* (88) db_options ::= db_options VGROUPS NK_INTEGER */ + { 267, -3 }, /* (89) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ + { 267, -3 }, /* (90) db_options ::= db_options RETENTIONS retention_list */ + { 267, -3 }, /* (91) db_options ::= db_options SCHEMALESS NK_INTEGER */ + { 269, -1 }, /* (92) alter_db_options ::= alter_db_option */ + { 269, -2 }, /* (93) alter_db_options ::= alter_db_options alter_db_option */ + { 273, -2 }, /* (94) alter_db_option ::= BUFFER NK_INTEGER */ + { 273, -2 }, /* (95) alter_db_option ::= CACHELAST NK_INTEGER */ + { 273, -2 }, /* (96) alter_db_option ::= FSYNC NK_INTEGER */ + { 273, -2 }, /* (97) alter_db_option ::= KEEP integer_list */ + { 273, -2 }, /* (98) alter_db_option ::= KEEP variable_list */ + { 273, -2 }, /* (99) alter_db_option ::= PAGES NK_INTEGER */ + { 273, -2 }, /* (100) alter_db_option ::= REPLICA NK_INTEGER */ + { 273, -2 }, /* (101) alter_db_option ::= STRICT NK_INTEGER */ + { 273, -2 }, /* (102) alter_db_option ::= WAL NK_INTEGER */ + { 270, -1 }, /* (103) integer_list ::= NK_INTEGER */ + { 270, -3 }, /* (104) integer_list ::= integer_list NK_COMMA NK_INTEGER */ + { 271, -1 }, /* (105) variable_list ::= NK_VARIABLE */ + { 271, -3 }, /* (106) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ + { 272, -1 }, /* (107) retention_list ::= retention */ + { 272, -3 }, /* (108) retention_list ::= retention_list NK_COMMA retention */ + { 274, -3 }, /* (109) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ + { 253, -9 }, /* (110) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ + { 253, -3 }, /* (111) cmd ::= CREATE TABLE multi_create_clause */ + { 253, -9 }, /* (112) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ + { 253, -3 }, /* (113) cmd ::= DROP TABLE multi_drop_clause */ + { 253, -4 }, /* (114) cmd ::= DROP STABLE exists_opt full_table_name */ + { 253, -3 }, /* (115) cmd ::= ALTER TABLE alter_table_clause */ + { 253, -3 }, /* (116) cmd ::= ALTER STABLE alter_table_clause */ + { 282, -2 }, /* (117) alter_table_clause ::= full_table_name alter_table_options */ + { 282, -5 }, /* (118) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ + { 282, -4 }, /* (119) alter_table_clause ::= full_table_name DROP COLUMN column_name */ + { 282, -5 }, /* (120) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ + { 282, -5 }, /* (121) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ + { 282, -5 }, /* (122) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ + { 282, -4 }, /* (123) alter_table_clause ::= full_table_name DROP TAG column_name */ + { 282, -5 }, /* (124) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ + { 282, -5 }, /* (125) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ + { 282, -6 }, /* (126) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ + { 279, -1 }, /* (127) multi_create_clause ::= create_subtable_clause */ + { 279, -2 }, /* (128) multi_create_clause ::= multi_create_clause create_subtable_clause */ + { 287, -10 }, /* (129) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_tags_opt TAGS NK_LP literal_list NK_RP table_options */ + { 281, -1 }, /* (130) multi_drop_clause ::= drop_table_clause */ + { 281, -2 }, /* (131) multi_drop_clause ::= multi_drop_clause drop_table_clause */ + { 290, -2 }, /* (132) drop_table_clause ::= exists_opt full_table_name */ + { 288, 0 }, /* (133) specific_tags_opt ::= */ + { 288, -3 }, /* (134) specific_tags_opt ::= NK_LP col_name_list NK_RP */ + { 275, -1 }, /* (135) full_table_name ::= table_name */ + { 275, -3 }, /* (136) full_table_name ::= db_name NK_DOT table_name */ + { 276, -1 }, /* (137) column_def_list ::= column_def */ + { 276, -3 }, /* (138) column_def_list ::= column_def_list NK_COMMA column_def */ + { 293, -2 }, /* (139) column_def ::= column_name type_name */ + { 293, -4 }, /* (140) column_def ::= column_name type_name COMMENT NK_STRING */ + { 285, -1 }, /* (141) type_name ::= BOOL */ + { 285, -1 }, /* (142) type_name ::= TINYINT */ + { 285, -1 }, /* (143) type_name ::= SMALLINT */ + { 285, -1 }, /* (144) type_name ::= INT */ + { 285, -1 }, /* (145) type_name ::= INTEGER */ + { 285, -1 }, /* (146) type_name ::= BIGINT */ + { 285, -1 }, /* (147) type_name ::= FLOAT */ + { 285, -1 }, /* (148) type_name ::= DOUBLE */ + { 285, -4 }, /* (149) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ + { 285, -1 }, /* (150) type_name ::= TIMESTAMP */ + { 285, -4 }, /* (151) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ + { 285, -2 }, /* (152) type_name ::= TINYINT UNSIGNED */ + { 285, -2 }, /* (153) type_name ::= SMALLINT UNSIGNED */ + { 285, -2 }, /* (154) type_name ::= INT UNSIGNED */ + { 285, -2 }, /* (155) type_name ::= BIGINT UNSIGNED */ + { 285, -1 }, /* (156) type_name ::= JSON */ + { 285, -4 }, /* (157) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ + { 285, -1 }, /* (158) type_name ::= MEDIUMBLOB */ + { 285, -1 }, /* (159) type_name ::= BLOB */ + { 285, -4 }, /* (160) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ + { 285, -1 }, /* (161) type_name ::= DECIMAL */ + { 285, -4 }, /* (162) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ + { 285, -6 }, /* (163) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ + { 277, 0 }, /* (164) tags_def_opt ::= */ + { 277, -1 }, /* (165) tags_def_opt ::= tags_def */ + { 280, -4 }, /* (166) tags_def ::= TAGS NK_LP column_def_list NK_RP */ + { 278, 0 }, /* (167) table_options ::= */ + { 278, -3 }, /* (168) table_options ::= table_options COMMENT NK_STRING */ + { 278, -3 }, /* (169) table_options ::= table_options MAX_DELAY duration_list */ + { 278, -3 }, /* (170) table_options ::= table_options WATERMARK duration_list */ + { 278, -5 }, /* (171) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ + { 278, -3 }, /* (172) table_options ::= table_options TTL NK_INTEGER */ + { 278, -5 }, /* (173) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ + { 283, -1 }, /* (174) alter_table_options ::= alter_table_option */ + { 283, -2 }, /* (175) alter_table_options ::= alter_table_options alter_table_option */ + { 296, -2 }, /* (176) alter_table_option ::= COMMENT NK_STRING */ + { 296, -2 }, /* (177) alter_table_option ::= TTL NK_INTEGER */ + { 294, -1 }, /* (178) duration_list ::= duration_literal */ + { 294, -3 }, /* (179) duration_list ::= duration_list NK_COMMA duration_literal */ + { 295, -1 }, /* (180) rollup_func_list ::= rollup_func_name */ + { 295, -3 }, /* (181) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ + { 298, -1 }, /* (182) rollup_func_name ::= function_name */ + { 298, -1 }, /* (183) rollup_func_name ::= FIRST */ + { 298, -1 }, /* (184) rollup_func_name ::= LAST */ + { 291, -1 }, /* (185) col_name_list ::= col_name */ + { 291, -3 }, /* (186) col_name_list ::= col_name_list NK_COMMA col_name */ + { 300, -1 }, /* (187) col_name ::= column_name */ + { 253, -2 }, /* (188) cmd ::= SHOW DNODES */ + { 253, -2 }, /* (189) cmd ::= SHOW USERS */ + { 253, -2 }, /* (190) cmd ::= SHOW DATABASES */ + { 253, -4 }, /* (191) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ + { 253, -4 }, /* (192) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ + { 253, -3 }, /* (193) cmd ::= SHOW db_name_cond_opt VGROUPS */ + { 253, -2 }, /* (194) cmd ::= SHOW MNODES */ + { 253, -2 }, /* (195) cmd ::= SHOW MODULES */ + { 253, -2 }, /* (196) cmd ::= SHOW QNODES */ + { 253, -2 }, /* (197) cmd ::= SHOW FUNCTIONS */ + { 253, -5 }, /* (198) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ + { 253, -2 }, /* (199) cmd ::= SHOW STREAMS */ + { 253, -2 }, /* (200) cmd ::= SHOW ACCOUNTS */ + { 253, -2 }, /* (201) cmd ::= SHOW APPS */ + { 253, -2 }, /* (202) cmd ::= SHOW CONNECTIONS */ + { 253, -2 }, /* (203) cmd ::= SHOW LICENCE */ + { 253, -2 }, /* (204) cmd ::= SHOW GRANTS */ + { 253, -4 }, /* (205) cmd ::= SHOW CREATE DATABASE db_name */ + { 253, -4 }, /* (206) cmd ::= SHOW CREATE TABLE full_table_name */ + { 253, -4 }, /* (207) cmd ::= SHOW CREATE STABLE full_table_name */ + { 253, -2 }, /* (208) cmd ::= SHOW QUERIES */ + { 253, -2 }, /* (209) cmd ::= SHOW SCORES */ + { 253, -2 }, /* (210) cmd ::= SHOW TOPICS */ + { 253, -2 }, /* (211) cmd ::= SHOW VARIABLES */ + { 253, -3 }, /* (212) cmd ::= SHOW LOCAL VARIABLES */ + { 253, -4 }, /* (213) cmd ::= SHOW DNODE NK_INTEGER VARIABLES */ + { 253, -2 }, /* (214) cmd ::= SHOW BNODES */ + { 253, -2 }, /* (215) cmd ::= SHOW SNODES */ + { 253, -2 }, /* (216) cmd ::= SHOW CLUSTER */ + { 253, -2 }, /* (217) cmd ::= SHOW TRANSACTIONS */ + { 253, -4 }, /* (218) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + { 253, -2 }, /* (219) cmd ::= SHOW CONSUMERS */ + { 253, -2 }, /* (220) cmd ::= SHOW SUBSCRIPTIONS */ + { 301, 0 }, /* (221) db_name_cond_opt ::= */ + { 301, -2 }, /* (222) db_name_cond_opt ::= db_name NK_DOT */ + { 302, 0 }, /* (223) like_pattern_opt ::= */ + { 302, -2 }, /* (224) like_pattern_opt ::= LIKE NK_STRING */ + { 303, -1 }, /* (225) table_name_cond ::= table_name */ + { 304, 0 }, /* (226) from_db_opt ::= */ + { 304, -2 }, /* (227) from_db_opt ::= FROM db_name */ + { 253, -8 }, /* (228) cmd ::= CREATE SMA INDEX not_exists_opt index_name ON table_name index_options */ + { 253, -4 }, /* (229) cmd ::= DROP INDEX exists_opt index_name */ + { 306, -10 }, /* (230) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + { 306, -12 }, /* (231) 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 */ + { 307, -1 }, /* (232) func_list ::= func */ + { 307, -3 }, /* (233) func_list ::= func_list NK_COMMA func */ + { 310, -4 }, /* (234) func ::= function_name NK_LP expression_list NK_RP */ + { 309, 0 }, /* (235) sma_stream_opt ::= */ + { 309, -3 }, /* (236) sma_stream_opt ::= stream_options WATERMARK duration_literal */ + { 309, -3 }, /* (237) sma_stream_opt ::= stream_options MAX_DELAY duration_literal */ + { 253, -6 }, /* (238) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_expression */ + { 253, -7 }, /* (239) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ + { 253, -9 }, /* (240) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ + { 253, -7 }, /* (241) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ + { 253, -9 }, /* (242) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ + { 253, -4 }, /* (243) cmd ::= DROP TOPIC exists_opt topic_name */ + { 253, -7 }, /* (244) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + { 253, -2 }, /* (245) cmd ::= DESC full_table_name */ + { 253, -2 }, /* (246) cmd ::= DESCRIBE full_table_name */ + { 253, -3 }, /* (247) cmd ::= RESET QUERY CACHE */ + { 253, -4 }, /* (248) cmd ::= EXPLAIN analyze_opt explain_options query_expression */ + { 316, 0 }, /* (249) analyze_opt ::= */ + { 316, -1 }, /* (250) analyze_opt ::= ANALYZE */ + { 317, 0 }, /* (251) explain_options ::= */ + { 317, -3 }, /* (252) explain_options ::= explain_options VERBOSE NK_BOOL */ + { 317, -3 }, /* (253) explain_options ::= explain_options RATIO NK_FLOAT */ + { 253, -6 }, /* (254) cmd ::= COMPACT VNODES IN NK_LP integer_list NK_RP */ + { 253, -10 }, /* (255) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt */ + { 253, -4 }, /* (256) cmd ::= DROP FUNCTION exists_opt function_name */ + { 318, 0 }, /* (257) agg_func_opt ::= */ + { 318, -1 }, /* (258) agg_func_opt ::= AGGREGATE */ + { 319, 0 }, /* (259) bufsize_opt ::= */ + { 319, -2 }, /* (260) bufsize_opt ::= BUFSIZE NK_INTEGER */ + { 253, -8 }, /* (261) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options into_opt AS query_expression */ + { 253, -4 }, /* (262) cmd ::= DROP STREAM exists_opt stream_name */ + { 321, 0 }, /* (263) into_opt ::= */ + { 321, -2 }, /* (264) into_opt ::= INTO full_table_name */ + { 312, 0 }, /* (265) stream_options ::= */ + { 312, -3 }, /* (266) stream_options ::= stream_options TRIGGER AT_ONCE */ + { 312, -3 }, /* (267) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + { 312, -4 }, /* (268) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + { 312, -3 }, /* (269) stream_options ::= stream_options WATERMARK duration_literal */ + { 312, -3 }, /* (270) stream_options ::= stream_options IGNORE EXPIRED */ + { 253, -3 }, /* (271) cmd ::= KILL CONNECTION NK_INTEGER */ + { 253, -3 }, /* (272) cmd ::= KILL QUERY NK_STRING */ + { 253, -3 }, /* (273) cmd ::= KILL TRANSACTION NK_INTEGER */ + { 253, -2 }, /* (274) cmd ::= BALANCE VGROUP */ + { 253, -4 }, /* (275) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + { 253, -4 }, /* (276) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + { 253, -3 }, /* (277) cmd ::= SPLIT VGROUP NK_INTEGER */ + { 322, -2 }, /* (278) dnode_list ::= DNODE NK_INTEGER */ + { 322, -3 }, /* (279) dnode_list ::= dnode_list DNODE NK_INTEGER */ + { 253, -3 }, /* (280) cmd ::= SYNCDB db_name REPLICA */ + { 253, -4 }, /* (281) cmd ::= DELETE FROM full_table_name where_clause_opt */ + { 253, -1 }, /* (282) cmd ::= query_expression */ + { 256, -1 }, /* (283) literal ::= NK_INTEGER */ + { 256, -1 }, /* (284) literal ::= NK_FLOAT */ + { 256, -1 }, /* (285) literal ::= NK_STRING */ + { 256, -1 }, /* (286) literal ::= NK_BOOL */ + { 256, -2 }, /* (287) literal ::= TIMESTAMP NK_STRING */ + { 256, -1 }, /* (288) literal ::= duration_literal */ + { 256, -1 }, /* (289) literal ::= NULL */ + { 256, -1 }, /* (290) literal ::= NK_QUESTION */ + { 297, -1 }, /* (291) duration_literal ::= NK_VARIABLE */ + { 324, -1 }, /* (292) signed ::= NK_INTEGER */ + { 324, -2 }, /* (293) signed ::= NK_PLUS NK_INTEGER */ + { 324, -2 }, /* (294) signed ::= NK_MINUS NK_INTEGER */ + { 324, -1 }, /* (295) signed ::= NK_FLOAT */ + { 324, -2 }, /* (296) signed ::= NK_PLUS NK_FLOAT */ + { 324, -2 }, /* (297) signed ::= NK_MINUS NK_FLOAT */ + { 286, -1 }, /* (298) signed_literal ::= signed */ + { 286, -1 }, /* (299) signed_literal ::= NK_STRING */ + { 286, -1 }, /* (300) signed_literal ::= NK_BOOL */ + { 286, -2 }, /* (301) signed_literal ::= TIMESTAMP NK_STRING */ + { 286, -1 }, /* (302) signed_literal ::= duration_literal */ + { 286, -1 }, /* (303) signed_literal ::= NULL */ + { 286, -1 }, /* (304) signed_literal ::= literal_func */ + { 289, -1 }, /* (305) literal_list ::= signed_literal */ + { 289, -3 }, /* (306) literal_list ::= literal_list NK_COMMA signed_literal */ + { 264, -1 }, /* (307) db_name ::= NK_ID */ + { 292, -1 }, /* (308) table_name ::= NK_ID */ + { 284, -1 }, /* (309) column_name ::= NK_ID */ + { 299, -1 }, /* (310) function_name ::= NK_ID */ + { 326, -1 }, /* (311) table_alias ::= NK_ID */ + { 327, -1 }, /* (312) column_alias ::= NK_ID */ + { 258, -1 }, /* (313) user_name ::= NK_ID */ + { 305, -1 }, /* (314) index_name ::= NK_ID */ + { 313, -1 }, /* (315) topic_name ::= NK_ID */ + { 320, -1 }, /* (316) stream_name ::= NK_ID */ + { 315, -1 }, /* (317) cgroup_name ::= NK_ID */ + { 328, -1 }, /* (318) expression ::= literal */ + { 328, -1 }, /* (319) expression ::= pseudo_column */ + { 328, -1 }, /* (320) expression ::= column_reference */ + { 328, -1 }, /* (321) expression ::= function_expression */ + { 328, -1 }, /* (322) expression ::= subquery */ + { 328, -3 }, /* (323) expression ::= NK_LP expression NK_RP */ + { 328, -2 }, /* (324) expression ::= NK_PLUS expression */ + { 328, -2 }, /* (325) expression ::= NK_MINUS expression */ + { 328, -3 }, /* (326) expression ::= expression NK_PLUS expression */ + { 328, -3 }, /* (327) expression ::= expression NK_MINUS expression */ + { 328, -3 }, /* (328) expression ::= expression NK_STAR expression */ + { 328, -3 }, /* (329) expression ::= expression NK_SLASH expression */ + { 328, -3 }, /* (330) expression ::= expression NK_REM expression */ + { 328, -3 }, /* (331) expression ::= column_reference NK_ARROW NK_STRING */ + { 328, -3 }, /* (332) expression ::= expression NK_BITAND expression */ + { 328, -3 }, /* (333) expression ::= expression NK_BITOR expression */ + { 311, -1 }, /* (334) expression_list ::= expression */ + { 311, -3 }, /* (335) expression_list ::= expression_list NK_COMMA expression */ + { 330, -1 }, /* (336) column_reference ::= column_name */ + { 330, -3 }, /* (337) column_reference ::= table_name NK_DOT column_name */ + { 329, -1 }, /* (338) pseudo_column ::= ROWTS */ + { 329, -1 }, /* (339) pseudo_column ::= TBNAME */ + { 329, -3 }, /* (340) pseudo_column ::= table_name NK_DOT TBNAME */ + { 329, -1 }, /* (341) pseudo_column ::= QSTARTTS */ + { 329, -1 }, /* (342) pseudo_column ::= QENDTS */ + { 329, -1 }, /* (343) pseudo_column ::= WSTARTTS */ + { 329, -1 }, /* (344) pseudo_column ::= WENDTS */ + { 329, -1 }, /* (345) pseudo_column ::= WDURATION */ + { 331, -4 }, /* (346) function_expression ::= function_name NK_LP expression_list NK_RP */ + { 331, -4 }, /* (347) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + { 331, -6 }, /* (348) function_expression ::= CAST NK_LP expression AS type_name NK_RP */ + { 331, -1 }, /* (349) function_expression ::= literal_func */ + { 325, -3 }, /* (350) literal_func ::= noarg_func NK_LP NK_RP */ + { 325, -1 }, /* (351) literal_func ::= NOW */ + { 335, -1 }, /* (352) noarg_func ::= NOW */ + { 335, -1 }, /* (353) noarg_func ::= TODAY */ + { 335, -1 }, /* (354) noarg_func ::= TIMEZONE */ + { 335, -1 }, /* (355) noarg_func ::= DATABASE */ + { 335, -1 }, /* (356) noarg_func ::= CLIENT_VERSION */ + { 335, -1 }, /* (357) noarg_func ::= SERVER_VERSION */ + { 335, -1 }, /* (358) noarg_func ::= SERVER_STATUS */ + { 335, -1 }, /* (359) noarg_func ::= CURRENT_USER */ + { 335, -1 }, /* (360) noarg_func ::= USER */ + { 333, -1 }, /* (361) star_func ::= COUNT */ + { 333, -1 }, /* (362) star_func ::= FIRST */ + { 333, -1 }, /* (363) star_func ::= LAST */ + { 333, -1 }, /* (364) star_func ::= LAST_ROW */ + { 334, -1 }, /* (365) star_func_para_list ::= NK_STAR */ + { 334, -1 }, /* (366) star_func_para_list ::= other_para_list */ + { 336, -1 }, /* (367) other_para_list ::= star_func_para */ + { 336, -3 }, /* (368) other_para_list ::= other_para_list NK_COMMA star_func_para */ + { 337, -1 }, /* (369) star_func_para ::= expression */ + { 337, -3 }, /* (370) star_func_para ::= table_name NK_DOT NK_STAR */ + { 338, -3 }, /* (371) predicate ::= expression compare_op expression */ + { 338, -5 }, /* (372) predicate ::= expression BETWEEN expression AND expression */ + { 338, -6 }, /* (373) predicate ::= expression NOT BETWEEN expression AND expression */ + { 338, -3 }, /* (374) predicate ::= expression IS NULL */ + { 338, -4 }, /* (375) predicate ::= expression IS NOT NULL */ + { 338, -3 }, /* (376) predicate ::= expression in_op in_predicate_value */ + { 339, -1 }, /* (377) compare_op ::= NK_LT */ + { 339, -1 }, /* (378) compare_op ::= NK_GT */ + { 339, -1 }, /* (379) compare_op ::= NK_LE */ + { 339, -1 }, /* (380) compare_op ::= NK_GE */ + { 339, -1 }, /* (381) compare_op ::= NK_NE */ + { 339, -1 }, /* (382) compare_op ::= NK_EQ */ + { 339, -1 }, /* (383) compare_op ::= LIKE */ + { 339, -2 }, /* (384) compare_op ::= NOT LIKE */ + { 339, -1 }, /* (385) compare_op ::= MATCH */ + { 339, -1 }, /* (386) compare_op ::= NMATCH */ + { 339, -1 }, /* (387) compare_op ::= CONTAINS */ + { 340, -1 }, /* (388) in_op ::= IN */ + { 340, -2 }, /* (389) in_op ::= NOT IN */ + { 341, -3 }, /* (390) in_predicate_value ::= NK_LP expression_list NK_RP */ + { 342, -1 }, /* (391) boolean_value_expression ::= boolean_primary */ + { 342, -2 }, /* (392) boolean_value_expression ::= NOT boolean_primary */ + { 342, -3 }, /* (393) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + { 342, -3 }, /* (394) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + { 343, -1 }, /* (395) boolean_primary ::= predicate */ + { 343, -3 }, /* (396) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + { 344, -1 }, /* (397) common_expression ::= expression */ + { 344, -1 }, /* (398) common_expression ::= boolean_value_expression */ + { 345, 0 }, /* (399) from_clause_opt ::= */ + { 345, -2 }, /* (400) from_clause_opt ::= FROM table_reference_list */ + { 346, -1 }, /* (401) table_reference_list ::= table_reference */ + { 346, -3 }, /* (402) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + { 347, -1 }, /* (403) table_reference ::= table_primary */ + { 347, -1 }, /* (404) table_reference ::= joined_table */ + { 348, -2 }, /* (405) table_primary ::= table_name alias_opt */ + { 348, -4 }, /* (406) table_primary ::= db_name NK_DOT table_name alias_opt */ + { 348, -2 }, /* (407) table_primary ::= subquery alias_opt */ + { 348, -1 }, /* (408) table_primary ::= parenthesized_joined_table */ + { 350, 0 }, /* (409) alias_opt ::= */ + { 350, -1 }, /* (410) alias_opt ::= table_alias */ + { 350, -2 }, /* (411) alias_opt ::= AS table_alias */ + { 351, -3 }, /* (412) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + { 351, -3 }, /* (413) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + { 349, -6 }, /* (414) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + { 352, 0 }, /* (415) join_type ::= */ + { 352, -1 }, /* (416) join_type ::= INNER */ + { 354, -12 }, /* (417) query_specification ::= SELECT set_quantifier_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 */ + { 355, 0 }, /* (418) set_quantifier_opt ::= */ + { 355, -1 }, /* (419) set_quantifier_opt ::= DISTINCT */ + { 355, -1 }, /* (420) set_quantifier_opt ::= ALL */ + { 356, -1 }, /* (421) select_list ::= select_item */ + { 356, -3 }, /* (422) select_list ::= select_list NK_COMMA select_item */ + { 364, -1 }, /* (423) select_item ::= NK_STAR */ + { 364, -1 }, /* (424) select_item ::= common_expression */ + { 364, -2 }, /* (425) select_item ::= common_expression column_alias */ + { 364, -3 }, /* (426) select_item ::= common_expression AS column_alias */ + { 364, -3 }, /* (427) select_item ::= table_name NK_DOT NK_STAR */ + { 323, 0 }, /* (428) where_clause_opt ::= */ + { 323, -2 }, /* (429) where_clause_opt ::= WHERE search_condition */ + { 357, 0 }, /* (430) partition_by_clause_opt ::= */ + { 357, -3 }, /* (431) partition_by_clause_opt ::= PARTITION BY expression_list */ + { 361, 0 }, /* (432) twindow_clause_opt ::= */ + { 361, -6 }, /* (433) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + { 361, -4 }, /* (434) twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP */ + { 361, -6 }, /* (435) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + { 361, -8 }, /* (436) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + { 308, 0 }, /* (437) sliding_opt ::= */ + { 308, -4 }, /* (438) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + { 360, 0 }, /* (439) fill_opt ::= */ + { 360, -4 }, /* (440) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + { 360, -6 }, /* (441) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ + { 365, -1 }, /* (442) fill_mode ::= NONE */ + { 365, -1 }, /* (443) fill_mode ::= PREV */ + { 365, -1 }, /* (444) fill_mode ::= NULL */ + { 365, -1 }, /* (445) fill_mode ::= LINEAR */ + { 365, -1 }, /* (446) fill_mode ::= NEXT */ + { 362, 0 }, /* (447) group_by_clause_opt ::= */ + { 362, -3 }, /* (448) group_by_clause_opt ::= GROUP BY group_by_list */ + { 366, -1 }, /* (449) group_by_list ::= expression */ + { 366, -3 }, /* (450) group_by_list ::= group_by_list NK_COMMA expression */ + { 363, 0 }, /* (451) having_clause_opt ::= */ + { 363, -2 }, /* (452) having_clause_opt ::= HAVING search_condition */ + { 358, 0 }, /* (453) range_opt ::= */ + { 358, -6 }, /* (454) range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP */ + { 359, 0 }, /* (455) every_opt ::= */ + { 359, -4 }, /* (456) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + { 314, -4 }, /* (457) query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt */ + { 367, -1 }, /* (458) query_expression_body ::= query_primary */ + { 367, -4 }, /* (459) query_expression_body ::= query_expression_body UNION ALL query_expression_body */ + { 367, -3 }, /* (460) query_expression_body ::= query_expression_body UNION query_expression_body */ + { 371, -1 }, /* (461) query_primary ::= query_specification */ + { 371, -6 }, /* (462) query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP */ + { 368, 0 }, /* (463) order_by_clause_opt ::= */ + { 368, -3 }, /* (464) order_by_clause_opt ::= ORDER BY sort_specification_list */ + { 369, 0 }, /* (465) slimit_clause_opt ::= */ + { 369, -2 }, /* (466) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + { 369, -4 }, /* (467) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + { 369, -4 }, /* (468) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 370, 0 }, /* (469) limit_clause_opt ::= */ + { 370, -2 }, /* (470) limit_clause_opt ::= LIMIT NK_INTEGER */ + { 370, -4 }, /* (471) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + { 370, -4 }, /* (472) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 332, -3 }, /* (473) subquery ::= NK_LP query_expression NK_RP */ + { 353, -1 }, /* (474) search_condition ::= common_expression */ + { 372, -1 }, /* (475) sort_specification_list ::= sort_specification */ + { 372, -3 }, /* (476) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + { 373, -3 }, /* (477) sort_specification ::= expression ordering_specification_opt null_ordering_opt */ + { 374, 0 }, /* (478) ordering_specification_opt ::= */ + { 374, -1 }, /* (479) ordering_specification_opt ::= ASC */ + { 374, -1 }, /* (480) ordering_specification_opt ::= DESC */ + { 375, 0 }, /* (481) null_ordering_opt ::= */ + { 375, -2 }, /* (482) null_ordering_opt ::= NULLS FIRST */ + { 375, -2 }, /* (483) null_ordering_opt ::= NULLS LAST */ }; static void yy_accept(yyParser*); /* Forward Declaration */ @@ -5295,19 +3313,11 @@ static YYACTIONTYPE yy_reduce( YYMINORTYPE yylhsminor; case 0: /* cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ { pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); } -<<<<<<< HEAD - yy_destructor(yypParser,248,&yymsp[0].minor); - break; - case 1: /* cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ -{ pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); } - yy_destructor(yypParser,249,&yymsp[0].minor); -======= - yy_destructor(yypParser,253,&yymsp[0].minor); + yy_destructor(yypParser,254,&yymsp[0].minor); break; case 1: /* cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ { pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); } - yy_destructor(yypParser,254,&yymsp[0].minor); ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + yy_destructor(yypParser,255,&yymsp[0].minor); break; case 2: /* account_options ::= */ { } @@ -5321,36 +3331,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); -<<<<<<< HEAD -{ yy_destructor(yypParser,248,&yymsp[-2].minor); +{ yy_destructor(yypParser,254,&yymsp[-2].minor); { } - yy_destructor(yypParser,250,&yymsp[0].minor); -} - break; - case 12: /* alter_account_options ::= alter_account_option */ -{ yy_destructor(yypParser,251,&yymsp[0].minor); -======= -{ yy_destructor(yypParser,253,&yymsp[-2].minor); -{ } - yy_destructor(yypParser,255,&yymsp[0].minor); + yy_destructor(yypParser,256,&yymsp[0].minor); } break; case 12: /* alter_account_options ::= alter_account_option */ -{ yy_destructor(yypParser,256,&yymsp[0].minor); ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 +{ yy_destructor(yypParser,257,&yymsp[0].minor); { } } break; case 13: /* alter_account_options ::= alter_account_options alter_account_option */ -<<<<<<< HEAD -{ yy_destructor(yypParser,249,&yymsp[-1].minor); -{ } - yy_destructor(yypParser,251,&yymsp[0].minor); -======= -{ yy_destructor(yypParser,254,&yymsp[-1].minor); +{ yy_destructor(yypParser,255,&yymsp[-1].minor); { } - yy_destructor(yypParser,256,&yymsp[0].minor); ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + yy_destructor(yypParser,257,&yymsp[0].minor); } break; case 14: /* alter_account_option ::= PASS literal */ @@ -5364,139 +3358,72 @@ static YYACTIONTYPE yy_reduce( case 22: /* alter_account_option ::= CONNS literal */ yytestcase(yyruleno==22); case 23: /* alter_account_option ::= STATE literal */ yytestcase(yyruleno==23); { } -<<<<<<< HEAD - yy_destructor(yypParser,250,&yymsp[0].minor); - break; - case 24: /* cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ -{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy729, &yymsp[-1].minor.yy0, yymsp[0].minor.yy439); } - break; - case 25: /* cmd ::= ALTER USER user_name PASS NK_STRING */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy729, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } - break; - case 26: /* cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy729, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } - break; - case 27: /* cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy729, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } - break; - case 28: /* cmd ::= DROP USER user_name */ -{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy729); } - break; - case 29: /* sysinfo_opt ::= */ -{ yymsp[1].minor.yy439 = 1; } - break; - case 30: /* sysinfo_opt ::= SYSINFO NK_INTEGER */ -{ yymsp[-1].minor.yy439 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } - break; - case 31: /* cmd ::= GRANT privileges ON priv_level TO user_name */ -{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-4].minor.yy179, &yymsp[-2].minor.yy729, &yymsp[0].minor.yy729); } - break; - case 32: /* cmd ::= REVOKE privileges ON priv_level FROM user_name */ -{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-4].minor.yy179, &yymsp[-2].minor.yy729, &yymsp[0].minor.yy729); } - break; - case 33: /* privileges ::= ALL */ -{ yymsp[0].minor.yy179 = PRIVILEGE_TYPE_ALL; } - break; - case 34: /* privileges ::= priv_type_list */ - case 35: /* priv_type_list ::= priv_type */ yytestcase(yyruleno==35); -{ yylhsminor.yy179 = yymsp[0].minor.yy179; } - yymsp[0].minor.yy179 = yylhsminor.yy179; - break; - case 36: /* priv_type_list ::= priv_type_list NK_COMMA priv_type */ -{ yylhsminor.yy179 = yymsp[-2].minor.yy179 | yymsp[0].minor.yy179; } - yymsp[-2].minor.yy179 = yylhsminor.yy179; - break; - case 37: /* priv_type ::= READ */ -{ yymsp[0].minor.yy179 = PRIVILEGE_TYPE_READ; } - break; - case 38: /* priv_type ::= WRITE */ -{ yymsp[0].minor.yy179 = PRIVILEGE_TYPE_WRITE; } - break; - case 39: /* priv_level ::= NK_STAR NK_DOT NK_STAR */ -{ yylhsminor.yy729 = yymsp[-2].minor.yy0; } - yymsp[-2].minor.yy729 = yylhsminor.yy729; - break; - case 40: /* priv_level ::= db_name NK_DOT NK_STAR */ -{ yylhsminor.yy729 = yymsp[-2].minor.yy729; } - yymsp[-2].minor.yy729 = yylhsminor.yy729; - break; - case 41: /* cmd ::= CREATE DNODE dnode_endpoint */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy729, NULL); } - break; - case 42: /* cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy729, &yymsp[0].minor.yy0); } -======= - yy_destructor(yypParser,255,&yymsp[0].minor); + yy_destructor(yypParser,256,&yymsp[0].minor); break; case 24: /* cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ -{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy329, &yymsp[-1].minor.yy0, yymsp[0].minor.yy653); } +{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy401, &yymsp[-1].minor.yy0, yymsp[0].minor.yy695); } break; case 25: /* cmd ::= ALTER USER user_name PASS NK_STRING */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy329, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy401, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } break; case 26: /* cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy329, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy401, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } break; case 27: /* cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy329, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy401, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } break; case 28: /* cmd ::= DROP USER user_name */ -{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy329); } +{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy401); } break; case 29: /* sysinfo_opt ::= */ -{ yymsp[1].minor.yy653 = 1; } +{ yymsp[1].minor.yy695 = 1; } break; case 30: /* sysinfo_opt ::= SYSINFO NK_INTEGER */ -{ yymsp[-1].minor.yy653 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy695 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } break; case 31: /* cmd ::= GRANT privileges ON priv_level TO user_name */ -{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-4].minor.yy609, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy329); } +{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-4].minor.yy525, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy401); } break; case 32: /* cmd ::= REVOKE privileges ON priv_level FROM user_name */ -{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-4].minor.yy609, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy329); } +{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-4].minor.yy525, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy401); } break; case 33: /* privileges ::= ALL */ -{ yymsp[0].minor.yy609 = PRIVILEGE_TYPE_ALL; } +{ yymsp[0].minor.yy525 = PRIVILEGE_TYPE_ALL; } break; case 34: /* privileges ::= priv_type_list */ case 35: /* priv_type_list ::= priv_type */ yytestcase(yyruleno==35); -{ yylhsminor.yy609 = yymsp[0].minor.yy609; } - yymsp[0].minor.yy609 = yylhsminor.yy609; +{ yylhsminor.yy525 = yymsp[0].minor.yy525; } + yymsp[0].minor.yy525 = yylhsminor.yy525; break; case 36: /* priv_type_list ::= priv_type_list NK_COMMA priv_type */ -{ yylhsminor.yy609 = yymsp[-2].minor.yy609 | yymsp[0].minor.yy609; } - yymsp[-2].minor.yy609 = yylhsminor.yy609; +{ yylhsminor.yy525 = yymsp[-2].minor.yy525 | yymsp[0].minor.yy525; } + yymsp[-2].minor.yy525 = yylhsminor.yy525; break; case 37: /* priv_type ::= READ */ -{ yymsp[0].minor.yy609 = PRIVILEGE_TYPE_READ; } +{ yymsp[0].minor.yy525 = PRIVILEGE_TYPE_READ; } break; case 38: /* priv_type ::= WRITE */ -{ yymsp[0].minor.yy609 = PRIVILEGE_TYPE_WRITE; } +{ yymsp[0].minor.yy525 = PRIVILEGE_TYPE_WRITE; } break; case 39: /* priv_level ::= NK_STAR NK_DOT NK_STAR */ -{ yylhsminor.yy329 = yymsp[-2].minor.yy0; } - yymsp[-2].minor.yy329 = yylhsminor.yy329; +{ yylhsminor.yy401 = yymsp[-2].minor.yy0; } + yymsp[-2].minor.yy401 = yylhsminor.yy401; break; case 40: /* priv_level ::= db_name NK_DOT NK_STAR */ -{ yylhsminor.yy329 = yymsp[-2].minor.yy329; } - yymsp[-2].minor.yy329 = yylhsminor.yy329; +{ yylhsminor.yy401 = yymsp[-2].minor.yy401; } + yymsp[-2].minor.yy401 = yylhsminor.yy401; break; case 41: /* cmd ::= CREATE DNODE dnode_endpoint */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy329, NULL); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy401, NULL); } break; case 42: /* cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy0); } ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy0); } break; case 43: /* cmd ::= DROP DNODE NK_INTEGER */ { pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[0].minor.yy0); } break; case 44: /* cmd ::= DROP DNODE dnode_endpoint */ -<<<<<<< HEAD -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[0].minor.yy729); } -======= -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[0].minor.yy329); } ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[0].minor.yy401); } break; case 45: /* cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ { pCxt->pRootNode = createAlterDnodeStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, NULL); } @@ -5513,41 +3440,32 @@ static YYACTIONTYPE yy_reduce( case 49: /* dnode_endpoint ::= NK_STRING */ case 50: /* dnode_endpoint ::= NK_ID */ yytestcase(yyruleno==50); case 51: /* dnode_endpoint ::= NK_IPTOKEN */ yytestcase(yyruleno==51); - case 306: /* db_name ::= NK_ID */ yytestcase(yyruleno==306); - case 307: /* table_name ::= NK_ID */ yytestcase(yyruleno==307); - case 308: /* column_name ::= NK_ID */ yytestcase(yyruleno==308); - case 309: /* function_name ::= NK_ID */ yytestcase(yyruleno==309); - case 310: /* table_alias ::= NK_ID */ yytestcase(yyruleno==310); - case 311: /* column_alias ::= NK_ID */ yytestcase(yyruleno==311); - case 312: /* user_name ::= NK_ID */ yytestcase(yyruleno==312); - case 313: /* index_name ::= NK_ID */ yytestcase(yyruleno==313); - case 314: /* topic_name ::= NK_ID */ yytestcase(yyruleno==314); - case 315: /* stream_name ::= NK_ID */ yytestcase(yyruleno==315); - case 316: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==316); - case 351: /* noarg_func ::= NOW */ yytestcase(yyruleno==351); - case 352: /* noarg_func ::= TODAY */ yytestcase(yyruleno==352); - case 353: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==353); -<<<<<<< HEAD - case 354: /* star_func ::= COUNT */ yytestcase(yyruleno==354); - case 355: /* star_func ::= FIRST */ yytestcase(yyruleno==355); - case 356: /* star_func ::= LAST */ yytestcase(yyruleno==356); - case 357: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==357); -{ yylhsminor.yy729 = yymsp[0].minor.yy0; } - yymsp[0].minor.yy729 = yylhsminor.yy729; -======= - case 354: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==354); - case 355: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==355); - case 356: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==356); - case 357: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==357); - case 358: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==358); - case 359: /* noarg_func ::= USER */ yytestcase(yyruleno==359); - case 360: /* star_func ::= COUNT */ yytestcase(yyruleno==360); - case 361: /* star_func ::= FIRST */ yytestcase(yyruleno==361); - case 362: /* star_func ::= LAST */ yytestcase(yyruleno==362); - case 363: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==363); -{ yylhsminor.yy329 = yymsp[0].minor.yy0; } - yymsp[0].minor.yy329 = yylhsminor.yy329; ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 307: /* db_name ::= NK_ID */ yytestcase(yyruleno==307); + case 308: /* table_name ::= NK_ID */ yytestcase(yyruleno==308); + case 309: /* column_name ::= NK_ID */ yytestcase(yyruleno==309); + case 310: /* function_name ::= NK_ID */ yytestcase(yyruleno==310); + case 311: /* table_alias ::= NK_ID */ yytestcase(yyruleno==311); + case 312: /* column_alias ::= NK_ID */ yytestcase(yyruleno==312); + case 313: /* user_name ::= NK_ID */ yytestcase(yyruleno==313); + case 314: /* index_name ::= NK_ID */ yytestcase(yyruleno==314); + case 315: /* topic_name ::= NK_ID */ yytestcase(yyruleno==315); + case 316: /* stream_name ::= NK_ID */ yytestcase(yyruleno==316); + case 317: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==317); + case 352: /* noarg_func ::= NOW */ yytestcase(yyruleno==352); + case 353: /* noarg_func ::= TODAY */ yytestcase(yyruleno==353); + case 354: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==354); + case 355: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==355); + case 356: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==356); + case 357: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==357); + case 358: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==358); + case 359: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==359); + case 360: /* noarg_func ::= USER */ yytestcase(yyruleno==360); + case 361: /* star_func ::= COUNT */ yytestcase(yyruleno==361); + case 362: /* star_func ::= FIRST */ yytestcase(yyruleno==362); + case 363: /* star_func ::= LAST */ yytestcase(yyruleno==363); + case 364: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==364); +{ yylhsminor.yy401 = yymsp[0].minor.yy0; } + yymsp[0].minor.yy401 = yylhsminor.yy401; break; case 52: /* cmd ::= ALTER LOCAL NK_STRING */ { pCxt->pRootNode = createAlterLocalStmt(pCxt, &yymsp[0].minor.yy0, NULL); } @@ -5580,160 +3498,159 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createDropComponentNodeStmt(pCxt, QUERY_NODE_DROP_MNODE_STMT, &yymsp[0].minor.yy0); } break; case 62: /* cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ -<<<<<<< HEAD -{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy215, &yymsp[-1].minor.yy729, yymsp[0].minor.yy714); } +{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy89, &yymsp[-1].minor.yy401, yymsp[0].minor.yy248); } break; case 63: /* cmd ::= DROP DATABASE exists_opt db_name */ -{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy215, &yymsp[0].minor.yy729); } +{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy89, &yymsp[0].minor.yy401); } break; case 64: /* cmd ::= USE db_name */ -{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy729); } +{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy401); } break; case 65: /* cmd ::= ALTER DATABASE db_name alter_db_options */ -{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy729, yymsp[0].minor.yy714); } +{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy401, yymsp[0].minor.yy248); } break; case 66: /* cmd ::= FLUSH DATABASE db_name */ -{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy729); } +{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy401); } break; case 67: /* not_exists_opt ::= IF NOT EXISTS */ -{ yymsp[-2].minor.yy215 = true; } +{ yymsp[-2].minor.yy89 = true; } break; case 68: /* not_exists_opt ::= */ case 70: /* exists_opt ::= */ yytestcase(yyruleno==70); case 249: /* analyze_opt ::= */ yytestcase(yyruleno==249); case 257: /* agg_func_opt ::= */ yytestcase(yyruleno==257); - case 411: /* set_quantifier_opt ::= */ yytestcase(yyruleno==411); -{ yymsp[1].minor.yy215 = false; } + case 418: /* set_quantifier_opt ::= */ yytestcase(yyruleno==418); +{ yymsp[1].minor.yy89 = false; } break; case 69: /* exists_opt ::= IF EXISTS */ -{ yymsp[-1].minor.yy215 = true; } +{ yymsp[-1].minor.yy89 = true; } break; case 71: /* db_options ::= */ -{ yymsp[1].minor.yy714 = createDefaultDatabaseOptions(pCxt); } +{ yymsp[1].minor.yy248 = createDefaultDatabaseOptions(pCxt); } break; case 72: /* db_options ::= db_options BUFFER NK_INTEGER */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 73: /* db_options ::= db_options CACHELAST NK_INTEGER */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_CACHELAST, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_CACHELAST, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 74: /* db_options ::= db_options COMP NK_INTEGER */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_COMP, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_COMP, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 75: /* db_options ::= db_options DURATION NK_INTEGER */ case 76: /* db_options ::= db_options DURATION NK_VARIABLE */ yytestcase(yyruleno==76); -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 77: /* db_options ::= db_options FSYNC NK_INTEGER */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 78: /* db_options ::= db_options MAXROWS NK_INTEGER */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 79: /* db_options ::= db_options MINROWS NK_INTEGER */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 80: /* db_options ::= db_options KEEP integer_list */ case 81: /* db_options ::= db_options KEEP variable_list */ yytestcase(yyruleno==81); -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_KEEP, yymsp[0].minor.yy656); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_KEEP, yymsp[0].minor.yy552); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 82: /* db_options ::= db_options PAGES NK_INTEGER */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 83: /* db_options ::= db_options PAGESIZE NK_INTEGER */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 84: /* db_options ::= db_options PRECISION NK_STRING */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 85: /* db_options ::= db_options REPLICA NK_INTEGER */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 86: /* db_options ::= db_options STRICT NK_INTEGER */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_STRICT, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_STRICT, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 87: /* db_options ::= db_options WAL NK_INTEGER */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_WAL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_WAL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 88: /* db_options ::= db_options VGROUPS NK_INTEGER */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 89: /* db_options ::= db_options SINGLE_STABLE NK_INTEGER */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 90: /* db_options ::= db_options RETENTIONS retention_list */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_RETENTIONS, yymsp[0].minor.yy656); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_RETENTIONS, yymsp[0].minor.yy552); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 91: /* db_options ::= db_options SCHEMALESS NK_INTEGER */ -{ yylhsminor.yy714 = setDatabaseOption(pCxt, yymsp[-2].minor.yy714, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 92: /* alter_db_options ::= alter_db_option */ -{ yylhsminor.yy714 = createAlterDatabaseOptions(pCxt); yylhsminor.yy714 = setAlterDatabaseOption(pCxt, yylhsminor.yy714, &yymsp[0].minor.yy81); } - yymsp[0].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createAlterDatabaseOptions(pCxt); yylhsminor.yy248 = setAlterDatabaseOption(pCxt, yylhsminor.yy248, &yymsp[0].minor.yy301); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; case 93: /* alter_db_options ::= alter_db_options alter_db_option */ -{ yylhsminor.yy714 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy714, &yymsp[0].minor.yy81); } - yymsp[-1].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy248, &yymsp[0].minor.yy301); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; case 94: /* alter_db_option ::= BUFFER NK_INTEGER */ -{ yymsp[-1].minor.yy81.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy81.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy301.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } break; case 95: /* alter_db_option ::= CACHELAST NK_INTEGER */ -{ yymsp[-1].minor.yy81.type = DB_OPTION_CACHELAST; yymsp[-1].minor.yy81.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy301.type = DB_OPTION_CACHELAST; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } break; case 96: /* alter_db_option ::= FSYNC NK_INTEGER */ -{ yymsp[-1].minor.yy81.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy81.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy301.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } break; case 97: /* alter_db_option ::= KEEP integer_list */ case 98: /* alter_db_option ::= KEEP variable_list */ yytestcase(yyruleno==98); -{ yymsp[-1].minor.yy81.type = DB_OPTION_KEEP; yymsp[-1].minor.yy81.pList = yymsp[0].minor.yy656; } +{ yymsp[-1].minor.yy301.type = DB_OPTION_KEEP; yymsp[-1].minor.yy301.pList = yymsp[0].minor.yy552; } break; case 99: /* alter_db_option ::= PAGES NK_INTEGER */ -{ yymsp[-1].minor.yy81.type = DB_OPTION_PAGES; yymsp[-1].minor.yy81.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy301.type = DB_OPTION_PAGES; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } break; case 100: /* alter_db_option ::= REPLICA NK_INTEGER */ -{ yymsp[-1].minor.yy81.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy81.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy301.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } break; case 101: /* alter_db_option ::= STRICT NK_INTEGER */ -{ yymsp[-1].minor.yy81.type = DB_OPTION_STRICT; yymsp[-1].minor.yy81.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy301.type = DB_OPTION_STRICT; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } break; case 102: /* alter_db_option ::= WAL NK_INTEGER */ -{ yymsp[-1].minor.yy81.type = DB_OPTION_WAL; yymsp[-1].minor.yy81.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy301.type = DB_OPTION_WAL; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } break; case 103: /* integer_list ::= NK_INTEGER */ -{ yylhsminor.yy656 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy656 = yylhsminor.yy656; +{ yylhsminor.yy552 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy552 = yylhsminor.yy552; break; case 104: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ - case 278: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==278); -{ yylhsminor.yy656 = addNodeToList(pCxt, yymsp[-2].minor.yy656, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy656 = yylhsminor.yy656; + case 279: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==279); +{ yylhsminor.yy552 = addNodeToList(pCxt, yymsp[-2].minor.yy552, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy552 = yylhsminor.yy552; break; case 105: /* variable_list ::= NK_VARIABLE */ -{ yylhsminor.yy656 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy656 = yylhsminor.yy656; +{ yylhsminor.yy552 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy552 = yylhsminor.yy552; break; case 106: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ -{ yylhsminor.yy656 = addNodeToList(pCxt, yymsp[-2].minor.yy656, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy656 = yylhsminor.yy656; +{ yylhsminor.yy552 = addNodeToList(pCxt, yymsp[-2].minor.yy552, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy552 = yylhsminor.yy552; break; case 107: /* retention_list ::= retention */ case 127: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==127); @@ -5742,683 +3659,264 @@ static YYACTIONTYPE yy_reduce( case 180: /* rollup_func_list ::= rollup_func_name */ yytestcase(yyruleno==180); case 185: /* col_name_list ::= col_name */ yytestcase(yyruleno==185); case 232: /* func_list ::= func */ yytestcase(yyruleno==232); - case 304: /* literal_list ::= signed_literal */ yytestcase(yyruleno==304); - case 360: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==360); - case 416: /* select_sublist ::= select_item */ yytestcase(yyruleno==416); - case 469: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==469); -{ yylhsminor.yy656 = createNodeList(pCxt, yymsp[0].minor.yy714); } - yymsp[0].minor.yy656 = yylhsminor.yy656; + case 305: /* literal_list ::= signed_literal */ yytestcase(yyruleno==305); + case 367: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==367); + case 421: /* select_list ::= select_item */ yytestcase(yyruleno==421); + case 475: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==475); +{ yylhsminor.yy552 = createNodeList(pCxt, yymsp[0].minor.yy248); } + yymsp[0].minor.yy552 = yylhsminor.yy552; break; case 108: /* retention_list ::= retention_list NK_COMMA retention */ case 138: /* column_def_list ::= column_def_list NK_COMMA column_def */ yytestcase(yyruleno==138); case 181: /* rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ yytestcase(yyruleno==181); case 186: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==186); case 233: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==233); - case 305: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==305); - case 361: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==361); - case 417: /* select_sublist ::= select_sublist NK_COMMA select_item */ yytestcase(yyruleno==417); - case 470: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==470); -{ yylhsminor.yy656 = addNodeToList(pCxt, yymsp[-2].minor.yy656, yymsp[0].minor.yy714); } - yymsp[-2].minor.yy656 = yylhsminor.yy656; + case 306: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==306); + case 368: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==368); + case 422: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==422); + case 476: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==476); +{ yylhsminor.yy552 = addNodeToList(pCxt, yymsp[-2].minor.yy552, yymsp[0].minor.yy248); } + yymsp[-2].minor.yy552 = yylhsminor.yy552; break; case 109: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ -{ yylhsminor.yy714 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 110: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ case 112: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==112); -{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy215, yymsp[-5].minor.yy714, yymsp[-3].minor.yy656, yymsp[-1].minor.yy656, yymsp[0].minor.yy714); } +{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy89, yymsp[-5].minor.yy248, yymsp[-3].minor.yy552, yymsp[-1].minor.yy552, yymsp[0].minor.yy248); } break; case 111: /* cmd ::= CREATE TABLE multi_create_clause */ -{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy656); } +{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy552); } break; case 113: /* cmd ::= DROP TABLE multi_drop_clause */ -{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy656); } +{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy552); } break; case 114: /* cmd ::= DROP STABLE exists_opt full_table_name */ -{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy215, yymsp[0].minor.yy714); } +{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy89, yymsp[0].minor.yy248); } break; case 115: /* cmd ::= ALTER TABLE alter_table_clause */ case 116: /* cmd ::= ALTER STABLE alter_table_clause */ yytestcase(yyruleno==116); - case 281: /* cmd ::= query_expression */ yytestcase(yyruleno==281); -{ pCxt->pRootNode = yymsp[0].minor.yy714; } + case 282: /* cmd ::= query_expression */ yytestcase(yyruleno==282); +{ pCxt->pRootNode = yymsp[0].minor.yy248; } break; case 117: /* alter_table_clause ::= full_table_name alter_table_options */ -{ yylhsminor.yy714 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy714, yymsp[0].minor.yy714); } - yymsp[-1].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy248, yymsp[0].minor.yy248); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; case 118: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ -{ yylhsminor.yy714 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy714, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy729, yymsp[0].minor.yy490); } - yymsp[-4].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy248, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy401, yymsp[0].minor.yy224); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; case 119: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ -{ yylhsminor.yy714 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy714, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy729); } - yymsp[-3].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy248, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy401); } + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; case 120: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ -{ yylhsminor.yy714 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy714, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy729, yymsp[0].minor.yy490); } - yymsp[-4].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy248, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy401, yymsp[0].minor.yy224); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; case 121: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ -{ yylhsminor.yy714 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy714, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy729, &yymsp[0].minor.yy729); } - yymsp[-4].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy248, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy401, &yymsp[0].minor.yy401); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; case 122: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ -{ yylhsminor.yy714 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy714, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy729, yymsp[0].minor.yy490); } - yymsp[-4].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy248, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy401, yymsp[0].minor.yy224); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; case 123: /* alter_table_clause ::= full_table_name DROP TAG column_name */ -{ yylhsminor.yy714 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy714, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy729); } - yymsp[-3].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy248, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy401); } + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; case 124: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ -{ yylhsminor.yy714 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy714, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy729, yymsp[0].minor.yy490); } - yymsp[-4].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy248, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy401, yymsp[0].minor.yy224); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; case 125: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ -{ yylhsminor.yy714 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy714, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy729, &yymsp[0].minor.yy729); } - yymsp[-4].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy248, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy401, &yymsp[0].minor.yy401); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; case 126: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ -{ yylhsminor.yy714 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy714, &yymsp[-2].minor.yy729, yymsp[0].minor.yy714); } - yymsp[-5].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy248, &yymsp[-2].minor.yy401, yymsp[0].minor.yy248); } + yymsp[-5].minor.yy248 = yylhsminor.yy248; break; case 128: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ case 131: /* multi_drop_clause ::= multi_drop_clause drop_table_clause */ yytestcase(yyruleno==131); -{ yylhsminor.yy656 = addNodeToList(pCxt, yymsp[-1].minor.yy656, yymsp[0].minor.yy714); } - yymsp[-1].minor.yy656 = yylhsminor.yy656; +{ yylhsminor.yy552 = addNodeToList(pCxt, yymsp[-1].minor.yy552, yymsp[0].minor.yy248); } + yymsp[-1].minor.yy552 = yylhsminor.yy552; break; case 129: /* create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_tags_opt TAGS NK_LP literal_list NK_RP table_options */ -{ yylhsminor.yy714 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy215, yymsp[-8].minor.yy714, yymsp[-6].minor.yy714, yymsp[-5].minor.yy656, yymsp[-2].minor.yy656, yymsp[0].minor.yy714); } - yymsp[-9].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy89, yymsp[-8].minor.yy248, yymsp[-6].minor.yy248, yymsp[-5].minor.yy552, yymsp[-2].minor.yy552, yymsp[0].minor.yy248); } + yymsp[-9].minor.yy248 = yylhsminor.yy248; break; case 132: /* drop_table_clause ::= exists_opt full_table_name */ -{ yylhsminor.yy714 = createDropTableClause(pCxt, yymsp[-1].minor.yy215, yymsp[0].minor.yy714); } - yymsp[-1].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createDropTableClause(pCxt, yymsp[-1].minor.yy89, yymsp[0].minor.yy248); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; case 133: /* specific_tags_opt ::= */ case 164: /* tags_def_opt ::= */ yytestcase(yyruleno==164); - case 424: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==424); - case 441: /* group_by_clause_opt ::= */ yytestcase(yyruleno==441); - case 457: /* order_by_clause_opt ::= */ yytestcase(yyruleno==457); -{ yymsp[1].minor.yy656 = NULL; } + case 430: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==430); + case 447: /* group_by_clause_opt ::= */ yytestcase(yyruleno==447); + case 463: /* order_by_clause_opt ::= */ yytestcase(yyruleno==463); +{ yymsp[1].minor.yy552 = NULL; } break; case 134: /* specific_tags_opt ::= NK_LP col_name_list NK_RP */ -{ yymsp[-2].minor.yy656 = yymsp[-1].minor.yy656; } +{ yymsp[-2].minor.yy552 = yymsp[-1].minor.yy552; } break; case 135: /* full_table_name ::= table_name */ -{ yylhsminor.yy714 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy729, NULL); } - yymsp[0].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy401, NULL); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; case 136: /* full_table_name ::= db_name NK_DOT table_name */ -{ yylhsminor.yy714 = createRealTableNode(pCxt, &yymsp[-2].minor.yy729, &yymsp[0].minor.yy729, NULL); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createRealTableNode(pCxt, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy401, NULL); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 139: /* column_def ::= column_name type_name */ -{ yylhsminor.yy714 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy729, yymsp[0].minor.yy490, NULL); } - yymsp[-1].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy401, yymsp[0].minor.yy224, NULL); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; case 140: /* column_def ::= column_name type_name COMMENT NK_STRING */ -{ yylhsminor.yy714 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy729, yymsp[-2].minor.yy490, &yymsp[0].minor.yy0); } - yymsp[-3].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy401, yymsp[-2].minor.yy224, &yymsp[0].minor.yy0); } + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; case 141: /* type_name ::= BOOL */ -{ yymsp[0].minor.yy490 = createDataType(TSDB_DATA_TYPE_BOOL); } +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_BOOL); } break; case 142: /* type_name ::= TINYINT */ -{ yymsp[0].minor.yy490 = createDataType(TSDB_DATA_TYPE_TINYINT); } +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_TINYINT); } break; case 143: /* type_name ::= SMALLINT */ -{ yymsp[0].minor.yy490 = createDataType(TSDB_DATA_TYPE_SMALLINT); } +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_SMALLINT); } break; case 144: /* type_name ::= INT */ case 145: /* type_name ::= INTEGER */ yytestcase(yyruleno==145); -{ yymsp[0].minor.yy490 = createDataType(TSDB_DATA_TYPE_INT); } +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_INT); } break; case 146: /* type_name ::= BIGINT */ -{ yymsp[0].minor.yy490 = createDataType(TSDB_DATA_TYPE_BIGINT); } +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_BIGINT); } break; case 147: /* type_name ::= FLOAT */ -{ yymsp[0].minor.yy490 = createDataType(TSDB_DATA_TYPE_FLOAT); } +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_FLOAT); } break; case 148: /* type_name ::= DOUBLE */ -{ yymsp[0].minor.yy490 = createDataType(TSDB_DATA_TYPE_DOUBLE); } +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_DOUBLE); } break; case 149: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy490 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy224 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } break; case 150: /* type_name ::= TIMESTAMP */ -{ yymsp[0].minor.yy490 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } break; case 151: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy490 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy224 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } break; case 152: /* type_name ::= TINYINT UNSIGNED */ -{ yymsp[-1].minor.yy490 = createDataType(TSDB_DATA_TYPE_UTINYINT); } +{ yymsp[-1].minor.yy224 = createDataType(TSDB_DATA_TYPE_UTINYINT); } break; case 153: /* type_name ::= SMALLINT UNSIGNED */ -{ yymsp[-1].minor.yy490 = createDataType(TSDB_DATA_TYPE_USMALLINT); } +{ yymsp[-1].minor.yy224 = createDataType(TSDB_DATA_TYPE_USMALLINT); } break; case 154: /* type_name ::= INT UNSIGNED */ -{ yymsp[-1].minor.yy490 = createDataType(TSDB_DATA_TYPE_UINT); } +{ yymsp[-1].minor.yy224 = createDataType(TSDB_DATA_TYPE_UINT); } break; case 155: /* type_name ::= BIGINT UNSIGNED */ -{ yymsp[-1].minor.yy490 = createDataType(TSDB_DATA_TYPE_UBIGINT); } +{ yymsp[-1].minor.yy224 = createDataType(TSDB_DATA_TYPE_UBIGINT); } break; case 156: /* type_name ::= JSON */ -{ yymsp[0].minor.yy490 = createDataType(TSDB_DATA_TYPE_JSON); } +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_JSON); } break; case 157: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy490 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy224 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } break; case 158: /* type_name ::= MEDIUMBLOB */ -{ yymsp[0].minor.yy490 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } break; case 159: /* type_name ::= BLOB */ -{ yymsp[0].minor.yy490 = createDataType(TSDB_DATA_TYPE_BLOB); } +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_BLOB); } break; case 160: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy490 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy224 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } break; case 161: /* type_name ::= DECIMAL */ -{ yymsp[0].minor.yy490 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 162: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy490 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-3].minor.yy224 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 163: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ -{ yymsp[-5].minor.yy490 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-5].minor.yy224 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 165: /* tags_def_opt ::= tags_def */ - case 359: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==359); - case 415: /* select_list ::= select_sublist */ yytestcase(yyruleno==415); -{ yylhsminor.yy656 = yymsp[0].minor.yy656; } - yymsp[0].minor.yy656 = yylhsminor.yy656; + case 366: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==366); +{ yylhsminor.yy552 = yymsp[0].minor.yy552; } + yymsp[0].minor.yy552 = yylhsminor.yy552; break; case 166: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ -{ yymsp[-3].minor.yy656 = yymsp[-1].minor.yy656; } +{ yymsp[-3].minor.yy552 = yymsp[-1].minor.yy552; } break; case 167: /* table_options ::= */ -{ yymsp[1].minor.yy714 = createDefaultTableOptions(pCxt); } +{ yymsp[1].minor.yy248 = createDefaultTableOptions(pCxt); } break; case 168: /* table_options ::= table_options COMMENT NK_STRING */ -{ yylhsminor.yy714 = setTableOption(pCxt, yymsp[-2].minor.yy714, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setTableOption(pCxt, yymsp[-2].minor.yy248, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 169: /* table_options ::= table_options MAX_DELAY duration_list */ -{ yylhsminor.yy714 = setTableOption(pCxt, yymsp[-2].minor.yy714, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy656); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setTableOption(pCxt, yymsp[-2].minor.yy248, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy552); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 170: /* table_options ::= table_options WATERMARK duration_list */ -{ yylhsminor.yy714 = setTableOption(pCxt, yymsp[-2].minor.yy714, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy656); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setTableOption(pCxt, yymsp[-2].minor.yy248, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy552); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 171: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ -{ yylhsminor.yy714 = setTableOption(pCxt, yymsp[-4].minor.yy714, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy656); } - yymsp[-4].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setTableOption(pCxt, yymsp[-4].minor.yy248, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy552); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; case 172: /* table_options ::= table_options TTL NK_INTEGER */ -{ yylhsminor.yy714 = setTableOption(pCxt, yymsp[-2].minor.yy714, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setTableOption(pCxt, yymsp[-2].minor.yy248, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 173: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ -{ yylhsminor.yy714 = setTableOption(pCxt, yymsp[-4].minor.yy714, TABLE_OPTION_SMA, yymsp[-1].minor.yy656); } - yymsp[-4].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setTableOption(pCxt, yymsp[-4].minor.yy248, TABLE_OPTION_SMA, yymsp[-1].minor.yy552); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; case 174: /* alter_table_options ::= alter_table_option */ -{ yylhsminor.yy714 = createAlterTableOptions(pCxt); yylhsminor.yy714 = setTableOption(pCxt, yylhsminor.yy714, yymsp[0].minor.yy81.type, &yymsp[0].minor.yy81.val); } - yymsp[0].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createAlterTableOptions(pCxt); yylhsminor.yy248 = setTableOption(pCxt, yylhsminor.yy248, yymsp[0].minor.yy301.type, &yymsp[0].minor.yy301.val); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; case 175: /* alter_table_options ::= alter_table_options alter_table_option */ -{ yylhsminor.yy714 = setTableOption(pCxt, yymsp[-1].minor.yy714, yymsp[0].minor.yy81.type, &yymsp[0].minor.yy81.val); } - yymsp[-1].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setTableOption(pCxt, yymsp[-1].minor.yy248, yymsp[0].minor.yy301.type, &yymsp[0].minor.yy301.val); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; case 176: /* alter_table_option ::= COMMENT NK_STRING */ -{ yymsp[-1].minor.yy81.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy81.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy301.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } break; case 177: /* alter_table_option ::= TTL NK_INTEGER */ -{ yymsp[-1].minor.yy81.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy81.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy301.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } break; case 178: /* duration_list ::= duration_literal */ - case 333: /* expression_list ::= expression */ yytestcase(yyruleno==333); -{ yylhsminor.yy656 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy714)); } - yymsp[0].minor.yy656 = yylhsminor.yy656; + case 334: /* expression_list ::= expression */ yytestcase(yyruleno==334); +{ yylhsminor.yy552 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy248)); } + yymsp[0].minor.yy552 = yylhsminor.yy552; break; case 179: /* duration_list ::= duration_list NK_COMMA duration_literal */ - case 334: /* expression_list ::= expression_list NK_COMMA expression */ yytestcase(yyruleno==334); -{ yylhsminor.yy656 = addNodeToList(pCxt, yymsp[-2].minor.yy656, releaseRawExprNode(pCxt, yymsp[0].minor.yy714)); } - yymsp[-2].minor.yy656 = yylhsminor.yy656; + case 335: /* expression_list ::= expression_list NK_COMMA expression */ yytestcase(yyruleno==335); +{ yylhsminor.yy552 = addNodeToList(pCxt, yymsp[-2].minor.yy552, releaseRawExprNode(pCxt, yymsp[0].minor.yy248)); } + yymsp[-2].minor.yy552 = yylhsminor.yy552; break; case 182: /* rollup_func_name ::= function_name */ -{ yylhsminor.yy714 = createFunctionNode(pCxt, &yymsp[0].minor.yy729, NULL); } - yymsp[0].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createFunctionNode(pCxt, &yymsp[0].minor.yy401, NULL); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; case 183: /* rollup_func_name ::= FIRST */ case 184: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==184); -{ yylhsminor.yy714 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } - yymsp[0].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; case 187: /* col_name ::= column_name */ -{ yylhsminor.yy714 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy729); } - yymsp[0].minor.yy714 = yylhsminor.yy714; -======= -{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy737, &yymsp[-1].minor.yy329, yymsp[0].minor.yy212); } - break; - case 63: /* cmd ::= DROP DATABASE exists_opt db_name */ -{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy737, &yymsp[0].minor.yy329); } - break; - case 64: /* cmd ::= USE db_name */ -{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy329); } - break; - case 65: /* cmd ::= ALTER DATABASE db_name alter_db_options */ -{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy329, yymsp[0].minor.yy212); } - break; - case 66: /* not_exists_opt ::= IF NOT EXISTS */ -{ yymsp[-2].minor.yy737 = true; } - break; - case 67: /* not_exists_opt ::= */ - case 69: /* exists_opt ::= */ yytestcase(yyruleno==69); - case 248: /* analyze_opt ::= */ yytestcase(yyruleno==248); - case 256: /* agg_func_opt ::= */ yytestcase(yyruleno==256); - case 417: /* set_quantifier_opt ::= */ yytestcase(yyruleno==417); -{ yymsp[1].minor.yy737 = false; } - break; - case 68: /* exists_opt ::= IF EXISTS */ -{ yymsp[-1].minor.yy737 = true; } - break; - case 70: /* db_options ::= */ -{ yymsp[1].minor.yy212 = createDefaultDatabaseOptions(pCxt); } - break; - case 71: /* db_options ::= db_options BUFFER NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 72: /* db_options ::= db_options CACHELAST NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_CACHELAST, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 73: /* db_options ::= db_options COMP NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_COMP, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 74: /* db_options ::= db_options DURATION NK_INTEGER */ - case 75: /* db_options ::= db_options DURATION NK_VARIABLE */ yytestcase(yyruleno==75); -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 76: /* db_options ::= db_options FSYNC NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 77: /* db_options ::= db_options MAXROWS NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 78: /* db_options ::= db_options MINROWS NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 79: /* db_options ::= db_options KEEP integer_list */ - case 80: /* db_options ::= db_options KEEP variable_list */ yytestcase(yyruleno==80); -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_KEEP, yymsp[0].minor.yy424); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 81: /* db_options ::= db_options PAGES NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 82: /* db_options ::= db_options PAGESIZE NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 83: /* db_options ::= db_options PRECISION NK_STRING */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 84: /* db_options ::= db_options REPLICA NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 85: /* db_options ::= db_options STRICT NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_STRICT, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 86: /* db_options ::= db_options WAL NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_WAL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 87: /* db_options ::= db_options VGROUPS NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 88: /* db_options ::= db_options SINGLE_STABLE NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 89: /* db_options ::= db_options RETENTIONS retention_list */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_RETENTIONS, yymsp[0].minor.yy424); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 90: /* db_options ::= db_options SCHEMALESS NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 91: /* alter_db_options ::= alter_db_option */ -{ yylhsminor.yy212 = createAlterDatabaseOptions(pCxt); yylhsminor.yy212 = setAlterDatabaseOption(pCxt, yylhsminor.yy212, &yymsp[0].minor.yy245); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 92: /* alter_db_options ::= alter_db_options alter_db_option */ -{ yylhsminor.yy212 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy212, &yymsp[0].minor.yy245); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; - break; - case 93: /* alter_db_option ::= BUFFER NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 94: /* alter_db_option ::= CACHELAST NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = DB_OPTION_CACHELAST; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 95: /* alter_db_option ::= FSYNC NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 96: /* alter_db_option ::= KEEP integer_list */ - case 97: /* alter_db_option ::= KEEP variable_list */ yytestcase(yyruleno==97); -{ yymsp[-1].minor.yy245.type = DB_OPTION_KEEP; yymsp[-1].minor.yy245.pList = yymsp[0].minor.yy424; } - break; - case 98: /* alter_db_option ::= PAGES NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = DB_OPTION_PAGES; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 99: /* alter_db_option ::= REPLICA NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 100: /* alter_db_option ::= STRICT NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = DB_OPTION_STRICT; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 101: /* alter_db_option ::= WAL NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = DB_OPTION_WAL; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 102: /* integer_list ::= NK_INTEGER */ -{ yylhsminor.yy424 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy424 = yylhsminor.yy424; - break; - case 103: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ - case 278: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==278); -{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy424 = yylhsminor.yy424; - break; - case 104: /* variable_list ::= NK_VARIABLE */ -{ yylhsminor.yy424 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy424 = yylhsminor.yy424; - break; - case 105: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ -{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy424 = yylhsminor.yy424; - break; - case 106: /* retention_list ::= retention */ - case 126: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==126); - case 129: /* multi_drop_clause ::= drop_table_clause */ yytestcase(yyruleno==129); - case 136: /* column_def_list ::= column_def */ yytestcase(yyruleno==136); - case 179: /* rollup_func_list ::= rollup_func_name */ yytestcase(yyruleno==179); - case 184: /* col_name_list ::= col_name */ yytestcase(yyruleno==184); - case 231: /* func_list ::= func */ yytestcase(yyruleno==231); - case 304: /* literal_list ::= signed_literal */ yytestcase(yyruleno==304); - case 366: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==366); - case 420: /* select_list ::= select_item */ yytestcase(yyruleno==420); - case 474: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==474); -{ yylhsminor.yy424 = createNodeList(pCxt, yymsp[0].minor.yy212); } - yymsp[0].minor.yy424 = yylhsminor.yy424; - break; - case 107: /* retention_list ::= retention_list NK_COMMA retention */ - case 137: /* column_def_list ::= column_def_list NK_COMMA column_def */ yytestcase(yyruleno==137); - case 180: /* rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ yytestcase(yyruleno==180); - case 185: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==185); - case 232: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==232); - case 305: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==305); - case 367: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==367); - case 421: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==421); - case 475: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==475); -{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, yymsp[0].minor.yy212); } - yymsp[-2].minor.yy424 = yylhsminor.yy424; - break; - case 108: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ -{ yylhsminor.yy212 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 109: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - case 111: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==111); -{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy737, yymsp[-5].minor.yy212, yymsp[-3].minor.yy424, yymsp[-1].minor.yy424, yymsp[0].minor.yy212); } - break; - case 110: /* cmd ::= CREATE TABLE multi_create_clause */ -{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy424); } - break; - case 112: /* cmd ::= DROP TABLE multi_drop_clause */ -{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy424); } - break; - case 113: /* cmd ::= DROP STABLE exists_opt full_table_name */ -{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy737, yymsp[0].minor.yy212); } - break; - case 114: /* cmd ::= ALTER TABLE alter_table_clause */ - case 115: /* cmd ::= ALTER STABLE alter_table_clause */ yytestcase(yyruleno==115); - case 281: /* cmd ::= query_expression */ yytestcase(yyruleno==281); -{ pCxt->pRootNode = yymsp[0].minor.yy212; } - break; - case 116: /* alter_table_clause ::= full_table_name alter_table_options */ -{ yylhsminor.yy212 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy212, yymsp[0].minor.yy212); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; - break; - case 117: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ -{ yylhsminor.yy212 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy212, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy329, yymsp[0].minor.yy34); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; - break; - case 118: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ -{ yylhsminor.yy212 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy212, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy329); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; - break; - case 119: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ -{ yylhsminor.yy212 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy212, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy329, yymsp[0].minor.yy34); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; - break; - case 120: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ -{ yylhsminor.yy212 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy212, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy329, &yymsp[0].minor.yy329); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; - break; - case 121: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ -{ yylhsminor.yy212 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy212, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy329, yymsp[0].minor.yy34); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; - break; - case 122: /* alter_table_clause ::= full_table_name DROP TAG column_name */ -{ yylhsminor.yy212 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy212, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy329); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; - break; - case 123: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ -{ yylhsminor.yy212 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy212, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy329, yymsp[0].minor.yy34); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; - break; - case 124: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ -{ yylhsminor.yy212 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy212, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy329, &yymsp[0].minor.yy329); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; - break; - case 125: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ -{ yylhsminor.yy212 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy212, &yymsp[-2].minor.yy329, yymsp[0].minor.yy212); } - yymsp[-5].minor.yy212 = yylhsminor.yy212; - break; - case 127: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ - case 130: /* multi_drop_clause ::= multi_drop_clause drop_table_clause */ yytestcase(yyruleno==130); -{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-1].minor.yy424, yymsp[0].minor.yy212); } - yymsp[-1].minor.yy424 = yylhsminor.yy424; - break; - case 128: /* create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_tags_opt TAGS NK_LP literal_list NK_RP table_options */ -{ yylhsminor.yy212 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy737, yymsp[-8].minor.yy212, yymsp[-6].minor.yy212, yymsp[-5].minor.yy424, yymsp[-2].minor.yy424, yymsp[0].minor.yy212); } - yymsp[-9].minor.yy212 = yylhsminor.yy212; - break; - case 131: /* drop_table_clause ::= exists_opt full_table_name */ -{ yylhsminor.yy212 = createDropTableClause(pCxt, yymsp[-1].minor.yy737, yymsp[0].minor.yy212); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; - break; - case 132: /* specific_tags_opt ::= */ - case 163: /* tags_def_opt ::= */ yytestcase(yyruleno==163); - case 429: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==429); - case 446: /* group_by_clause_opt ::= */ yytestcase(yyruleno==446); - case 462: /* order_by_clause_opt ::= */ yytestcase(yyruleno==462); -{ yymsp[1].minor.yy424 = NULL; } - break; - case 133: /* specific_tags_opt ::= NK_LP col_name_list NK_RP */ -{ yymsp[-2].minor.yy424 = yymsp[-1].minor.yy424; } - break; - case 134: /* full_table_name ::= table_name */ -{ yylhsminor.yy212 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy329, NULL); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 135: /* full_table_name ::= db_name NK_DOT table_name */ -{ yylhsminor.yy212 = createRealTableNode(pCxt, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy329, NULL); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 138: /* column_def ::= column_name type_name */ -{ yylhsminor.yy212 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy329, yymsp[0].minor.yy34, NULL); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; - break; - case 139: /* column_def ::= column_name type_name COMMENT NK_STRING */ -{ yylhsminor.yy212 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy329, yymsp[-2].minor.yy34, &yymsp[0].minor.yy0); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; - break; - case 140: /* type_name ::= BOOL */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_BOOL); } - break; - case 141: /* type_name ::= TINYINT */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_TINYINT); } - break; - case 142: /* type_name ::= SMALLINT */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_SMALLINT); } - break; - case 143: /* type_name ::= INT */ - case 144: /* type_name ::= INTEGER */ yytestcase(yyruleno==144); -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_INT); } - break; - case 145: /* type_name ::= BIGINT */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_BIGINT); } - break; - case 146: /* type_name ::= FLOAT */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_FLOAT); } - break; - case 147: /* type_name ::= DOUBLE */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_DOUBLE); } - break; - case 148: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy34 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } - break; - case 149: /* type_name ::= TIMESTAMP */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } - break; - case 150: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy34 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } - break; - case 151: /* type_name ::= TINYINT UNSIGNED */ -{ yymsp[-1].minor.yy34 = createDataType(TSDB_DATA_TYPE_UTINYINT); } - break; - case 152: /* type_name ::= SMALLINT UNSIGNED */ -{ yymsp[-1].minor.yy34 = createDataType(TSDB_DATA_TYPE_USMALLINT); } - break; - case 153: /* type_name ::= INT UNSIGNED */ -{ yymsp[-1].minor.yy34 = createDataType(TSDB_DATA_TYPE_UINT); } - break; - case 154: /* type_name ::= BIGINT UNSIGNED */ -{ yymsp[-1].minor.yy34 = createDataType(TSDB_DATA_TYPE_UBIGINT); } - break; - case 155: /* type_name ::= JSON */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_JSON); } - break; - case 156: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy34 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } - break; - case 157: /* type_name ::= MEDIUMBLOB */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } - break; - case 158: /* type_name ::= BLOB */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_BLOB); } - break; - case 159: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy34 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } - break; - case 160: /* type_name ::= DECIMAL */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_DECIMAL); } - break; - case 161: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy34 = createDataType(TSDB_DATA_TYPE_DECIMAL); } - break; - case 162: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ -{ yymsp[-5].minor.yy34 = createDataType(TSDB_DATA_TYPE_DECIMAL); } - break; - case 164: /* tags_def_opt ::= tags_def */ - case 365: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==365); -{ yylhsminor.yy424 = yymsp[0].minor.yy424; } - yymsp[0].minor.yy424 = yylhsminor.yy424; - break; - case 165: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ -{ yymsp[-3].minor.yy424 = yymsp[-1].minor.yy424; } - break; - case 166: /* table_options ::= */ -{ yymsp[1].minor.yy212 = createDefaultTableOptions(pCxt); } - break; - case 167: /* table_options ::= table_options COMMENT NK_STRING */ -{ yylhsminor.yy212 = setTableOption(pCxt, yymsp[-2].minor.yy212, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 168: /* table_options ::= table_options MAX_DELAY duration_list */ -{ yylhsminor.yy212 = setTableOption(pCxt, yymsp[-2].minor.yy212, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy424); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 169: /* table_options ::= table_options WATERMARK duration_list */ -{ yylhsminor.yy212 = setTableOption(pCxt, yymsp[-2].minor.yy212, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy424); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 170: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ -{ yylhsminor.yy212 = setTableOption(pCxt, yymsp[-4].minor.yy212, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy424); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; - break; - case 171: /* table_options ::= table_options TTL NK_INTEGER */ -{ yylhsminor.yy212 = setTableOption(pCxt, yymsp[-2].minor.yy212, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 172: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ -{ yylhsminor.yy212 = setTableOption(pCxt, yymsp[-4].minor.yy212, TABLE_OPTION_SMA, yymsp[-1].minor.yy424); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; - break; - case 173: /* alter_table_options ::= alter_table_option */ -{ yylhsminor.yy212 = createAlterTableOptions(pCxt); yylhsminor.yy212 = setTableOption(pCxt, yylhsminor.yy212, yymsp[0].minor.yy245.type, &yymsp[0].minor.yy245.val); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 174: /* alter_table_options ::= alter_table_options alter_table_option */ -{ yylhsminor.yy212 = setTableOption(pCxt, yymsp[-1].minor.yy212, yymsp[0].minor.yy245.type, &yymsp[0].minor.yy245.val); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; - break; - case 175: /* alter_table_option ::= COMMENT NK_STRING */ -{ yymsp[-1].minor.yy245.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 176: /* alter_table_option ::= TTL NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 177: /* duration_list ::= duration_literal */ - case 333: /* expression_list ::= expression */ yytestcase(yyruleno==333); -{ yylhsminor.yy424 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy212)); } - yymsp[0].minor.yy424 = yylhsminor.yy424; - break; - case 178: /* duration_list ::= duration_list NK_COMMA duration_literal */ - case 334: /* expression_list ::= expression_list NK_COMMA expression */ yytestcase(yyruleno==334); -{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, releaseRawExprNode(pCxt, yymsp[0].minor.yy212)); } - yymsp[-2].minor.yy424 = yylhsminor.yy424; - break; - case 181: /* rollup_func_name ::= function_name */ -{ yylhsminor.yy212 = createFunctionNode(pCxt, &yymsp[0].minor.yy329, NULL); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 182: /* rollup_func_name ::= FIRST */ - case 183: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==183); -{ yylhsminor.yy212 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 186: /* col_name ::= column_name */ -{ yylhsminor.yy212 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy329); } - yymsp[0].minor.yy212 = yylhsminor.yy212; ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 +{ yylhsminor.yy248 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy401); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; case 188: /* cmd ::= SHOW DNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DNODES_STMT); } @@ -6429,25 +3927,14 @@ static YYACTIONTYPE yy_reduce( case 190: /* cmd ::= SHOW DATABASES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DATABASES_STMT); } break; -<<<<<<< HEAD case 191: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy714, yymsp[0].minor.yy714, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy248, yymsp[0].minor.yy248, OP_TYPE_LIKE); } break; case 192: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy714, yymsp[0].minor.yy714, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy248, yymsp[0].minor.yy248, OP_TYPE_LIKE); } break; case 193: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy714, NULL, OP_TYPE_LIKE); } -======= - case 190: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy212, yymsp[0].minor.yy212, OP_TYPE_LIKE); } - break; - case 191: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy212, yymsp[0].minor.yy212, OP_TYPE_LIKE); } - break; - case 192: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy212, NULL, OP_TYPE_LIKE); } ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy248, NULL, OP_TYPE_LIKE); } break; case 194: /* cmd ::= SHOW MNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MNODES_STMT); } @@ -6461,13 +3948,8 @@ static YYACTIONTYPE yy_reduce( case 197: /* cmd ::= SHOW FUNCTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_FUNCTIONS_STMT); } break; -<<<<<<< HEAD case 198: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy714, yymsp[-1].minor.yy714, OP_TYPE_EQUAL); } -======= - case 197: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy212, yymsp[-1].minor.yy212, OP_TYPE_EQUAL); } ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy248, yymsp[-1].minor.yy248, OP_TYPE_EQUAL); } break; case 199: /* cmd ::= SHOW STREAMS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } @@ -6485,25 +3967,14 @@ static YYACTIONTYPE yy_reduce( case 204: /* cmd ::= SHOW GRANTS */ yytestcase(yyruleno==204); { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCE_STMT); } break; -<<<<<<< HEAD case 205: /* cmd ::= SHOW CREATE DATABASE db_name */ -{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy729); } +{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy401); } break; case 206: /* cmd ::= SHOW CREATE TABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy714); } +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy248); } break; case 207: /* cmd ::= SHOW CREATE STABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy714); } -======= - case 204: /* cmd ::= SHOW CREATE DATABASE db_name */ -{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy329); } - break; - case 205: /* cmd ::= SHOW CREATE TABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy212); } - break; - case 206: /* cmd ::= SHOW CREATE STABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy212); } ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy248); } break; case 208: /* cmd ::= SHOW QUERIES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); } @@ -6535,13 +4006,8 @@ static YYACTIONTYPE yy_reduce( case 217: /* cmd ::= SHOW TRANSACTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); } break; -<<<<<<< HEAD case 218: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ -{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy714); } -======= - case 217: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ -{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy212); } ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 +{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy248); } break; case 219: /* cmd ::= SHOW CONSUMERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } @@ -6549,1370 +4015,705 @@ static YYACTIONTYPE yy_reduce( case 220: /* cmd ::= SHOW SUBSCRIPTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } break; -<<<<<<< HEAD case 221: /* db_name_cond_opt ::= */ case 226: /* from_db_opt ::= */ yytestcase(yyruleno==226); -{ yymsp[1].minor.yy714 = createDefaultDatabaseCondValue(pCxt); } +{ yymsp[1].minor.yy248 = createDefaultDatabaseCondValue(pCxt); } break; case 222: /* db_name_cond_opt ::= db_name NK_DOT */ -{ yylhsminor.yy714 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy729); } - yymsp[-1].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy401); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; case 223: /* like_pattern_opt ::= */ case 263: /* into_opt ::= */ yytestcase(yyruleno==263); - case 392: /* from_clause_opt ::= */ yytestcase(yyruleno==392); - case 422: /* where_clause_opt ::= */ yytestcase(yyruleno==422); - case 426: /* twindow_clause_opt ::= */ yytestcase(yyruleno==426); - case 431: /* sliding_opt ::= */ yytestcase(yyruleno==431); - case 433: /* fill_opt ::= */ yytestcase(yyruleno==433); - case 445: /* having_clause_opt ::= */ yytestcase(yyruleno==445); - case 447: /* range_opt ::= */ yytestcase(yyruleno==447); - case 449: /* every_opt ::= */ yytestcase(yyruleno==449); - case 459: /* slimit_clause_opt ::= */ yytestcase(yyruleno==459); - case 463: /* limit_clause_opt ::= */ yytestcase(yyruleno==463); -{ yymsp[1].minor.yy714 = NULL; } + case 399: /* from_clause_opt ::= */ yytestcase(yyruleno==399); + case 428: /* where_clause_opt ::= */ yytestcase(yyruleno==428); + case 432: /* twindow_clause_opt ::= */ yytestcase(yyruleno==432); + case 437: /* sliding_opt ::= */ yytestcase(yyruleno==437); + case 439: /* fill_opt ::= */ yytestcase(yyruleno==439); + case 451: /* having_clause_opt ::= */ yytestcase(yyruleno==451); + case 453: /* range_opt ::= */ yytestcase(yyruleno==453); + case 455: /* every_opt ::= */ yytestcase(yyruleno==455); + case 465: /* slimit_clause_opt ::= */ yytestcase(yyruleno==465); + case 469: /* limit_clause_opt ::= */ yytestcase(yyruleno==469); +{ yymsp[1].minor.yy248 = NULL; } break; case 224: /* like_pattern_opt ::= LIKE NK_STRING */ -{ yymsp[-1].minor.yy714 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } +{ yymsp[-1].minor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } break; case 225: /* table_name_cond ::= table_name */ -{ yylhsminor.yy714 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy729); } - yymsp[0].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy401); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; case 227: /* from_db_opt ::= FROM db_name */ -{ yymsp[-1].minor.yy714 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy729); } +{ yymsp[-1].minor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy401); } break; case 228: /* cmd ::= CREATE SMA INDEX not_exists_opt index_name ON table_name index_options */ -{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy215, &yymsp[-3].minor.yy729, &yymsp[-1].minor.yy729, NULL, yymsp[0].minor.yy714); } +{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy89, &yymsp[-3].minor.yy401, &yymsp[-1].minor.yy401, NULL, yymsp[0].minor.yy248); } break; case 229: /* cmd ::= DROP INDEX exists_opt index_name */ -{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy215, &yymsp[0].minor.yy729); } +{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy89, &yymsp[0].minor.yy401); } break; case 230: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ -{ yymsp[-9].minor.yy714 = createIndexOption(pCxt, yymsp[-7].minor.yy656, releaseRawExprNode(pCxt, yymsp[-3].minor.yy714), NULL, yymsp[-1].minor.yy714, yymsp[0].minor.yy714); } +{ yymsp[-9].minor.yy248 = createIndexOption(pCxt, yymsp[-7].minor.yy552, releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), NULL, yymsp[-1].minor.yy248, yymsp[0].minor.yy248); } break; case 231: /* 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 */ -{ yymsp[-11].minor.yy714 = createIndexOption(pCxt, yymsp[-9].minor.yy656, releaseRawExprNode(pCxt, yymsp[-5].minor.yy714), releaseRawExprNode(pCxt, yymsp[-3].minor.yy714), yymsp[-1].minor.yy714, yymsp[0].minor.yy714); } +{ yymsp[-11].minor.yy248 = createIndexOption(pCxt, yymsp[-9].minor.yy552, releaseRawExprNode(pCxt, yymsp[-5].minor.yy248), releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), yymsp[-1].minor.yy248, yymsp[0].minor.yy248); } break; case 234: /* func ::= function_name NK_LP expression_list NK_RP */ -{ yylhsminor.yy714 = createFunctionNode(pCxt, &yymsp[-3].minor.yy729, yymsp[-1].minor.yy656); } - yymsp[-3].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = createFunctionNode(pCxt, &yymsp[-3].minor.yy401, yymsp[-1].minor.yy552); } + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; case 235: /* sma_stream_opt ::= */ case 265: /* stream_options ::= */ yytestcase(yyruleno==265); -{ yymsp[1].minor.yy714 = createStreamOptions(pCxt); } +{ yymsp[1].minor.yy248 = createStreamOptions(pCxt); } break; case 236: /* sma_stream_opt ::= stream_options WATERMARK duration_literal */ case 269: /* stream_options ::= stream_options WATERMARK duration_literal */ yytestcase(yyruleno==269); -{ ((SStreamOptions*)yymsp[-2].minor.yy714)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy714); yylhsminor.yy714 = yymsp[-2].minor.yy714; } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ ((SStreamOptions*)yymsp[-2].minor.yy248)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy248); yylhsminor.yy248 = yymsp[-2].minor.yy248; } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 237: /* sma_stream_opt ::= stream_options MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy714)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy714); yylhsminor.yy714 = yymsp[-2].minor.yy714; } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ ((SStreamOptions*)yymsp[-2].minor.yy248)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy248); yylhsminor.yy248 = yymsp[-2].minor.yy248; } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 238: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_expression */ -{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy215, &yymsp[-2].minor.yy729, yymsp[0].minor.yy714); } +{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy89, &yymsp[-2].minor.yy401, yymsp[0].minor.yy248); } break; case 239: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy215, &yymsp[-3].minor.yy729, &yymsp[0].minor.yy729, false); } +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy89, &yymsp[-3].minor.yy401, &yymsp[0].minor.yy401, false); } break; case 240: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy215, &yymsp[-5].minor.yy729, &yymsp[0].minor.yy729, true); } +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy89, &yymsp[-5].minor.yy401, &yymsp[0].minor.yy401, true); } break; case 241: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy215, &yymsp[-3].minor.yy729, yymsp[0].minor.yy714, false); } +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy89, &yymsp[-3].minor.yy401, yymsp[0].minor.yy248, false); } break; case 242: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy215, &yymsp[-5].minor.yy729, yymsp[0].minor.yy714, true); } +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy89, &yymsp[-5].minor.yy401, yymsp[0].minor.yy248, true); } break; case 243: /* cmd ::= DROP TOPIC exists_opt topic_name */ -{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy215, &yymsp[0].minor.yy729); } +{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy89, &yymsp[0].minor.yy401); } break; case 244: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ -{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy215, &yymsp[-2].minor.yy729, &yymsp[0].minor.yy729); } +{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy89, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy401); } break; case 245: /* cmd ::= DESC full_table_name */ case 246: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==246); -{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy714); } -======= - case 220: /* db_name_cond_opt ::= */ - case 225: /* from_db_opt ::= */ yytestcase(yyruleno==225); -{ yymsp[1].minor.yy212 = createDefaultDatabaseCondValue(pCxt); } - break; - case 221: /* db_name_cond_opt ::= db_name NK_DOT */ -{ yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy329); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; - break; - case 222: /* like_pattern_opt ::= */ - case 262: /* into_opt ::= */ yytestcase(yyruleno==262); - case 398: /* from_clause_opt ::= */ yytestcase(yyruleno==398); - case 427: /* where_clause_opt ::= */ yytestcase(yyruleno==427); - case 431: /* twindow_clause_opt ::= */ yytestcase(yyruleno==431); - case 436: /* sliding_opt ::= */ yytestcase(yyruleno==436); - case 438: /* fill_opt ::= */ yytestcase(yyruleno==438); - case 450: /* having_clause_opt ::= */ yytestcase(yyruleno==450); - case 452: /* range_opt ::= */ yytestcase(yyruleno==452); - case 454: /* every_opt ::= */ yytestcase(yyruleno==454); - case 464: /* slimit_clause_opt ::= */ yytestcase(yyruleno==464); - case 468: /* limit_clause_opt ::= */ yytestcase(yyruleno==468); -{ yymsp[1].minor.yy212 = NULL; } - break; - case 223: /* like_pattern_opt ::= LIKE NK_STRING */ -{ yymsp[-1].minor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } - break; - case 224: /* table_name_cond ::= table_name */ -{ yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy329); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 226: /* from_db_opt ::= FROM db_name */ -{ yymsp[-1].minor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy329); } - break; - case 227: /* cmd ::= CREATE SMA INDEX not_exists_opt index_name ON table_name index_options */ -{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy737, &yymsp[-3].minor.yy329, &yymsp[-1].minor.yy329, NULL, yymsp[0].minor.yy212); } - break; - case 228: /* cmd ::= DROP INDEX exists_opt index_name */ -{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy737, &yymsp[0].minor.yy329); } - break; - case 229: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ -{ yymsp[-9].minor.yy212 = createIndexOption(pCxt, yymsp[-7].minor.yy424, releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), NULL, yymsp[-1].minor.yy212, yymsp[0].minor.yy212); } - break; - case 230: /* 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 */ -{ yymsp[-11].minor.yy212 = createIndexOption(pCxt, yymsp[-9].minor.yy424, releaseRawExprNode(pCxt, yymsp[-5].minor.yy212), releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), yymsp[-1].minor.yy212, yymsp[0].minor.yy212); } - break; - case 233: /* func ::= function_name NK_LP expression_list NK_RP */ -{ yylhsminor.yy212 = createFunctionNode(pCxt, &yymsp[-3].minor.yy329, yymsp[-1].minor.yy424); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; - break; - case 234: /* sma_stream_opt ::= */ - case 264: /* stream_options ::= */ yytestcase(yyruleno==264); -{ yymsp[1].minor.yy212 = createStreamOptions(pCxt); } - break; - case 235: /* sma_stream_opt ::= stream_options WATERMARK duration_literal */ - case 268: /* stream_options ::= stream_options WATERMARK duration_literal */ yytestcase(yyruleno==268); -{ ((SStreamOptions*)yymsp[-2].minor.yy212)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy212); yylhsminor.yy212 = yymsp[-2].minor.yy212; } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 236: /* sma_stream_opt ::= stream_options MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy212)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy212); yylhsminor.yy212 = yymsp[-2].minor.yy212; } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 237: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_expression */ -{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy737, &yymsp[-2].minor.yy329, yymsp[0].minor.yy212); } - break; - case 238: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy737, &yymsp[-3].minor.yy329, &yymsp[0].minor.yy329, false); } - break; - case 239: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy737, &yymsp[-5].minor.yy329, &yymsp[0].minor.yy329, true); } - break; - case 240: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy737, &yymsp[-3].minor.yy329, yymsp[0].minor.yy212, false); } - break; - case 241: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy737, &yymsp[-5].minor.yy329, yymsp[0].minor.yy212, true); } - break; - case 242: /* cmd ::= DROP TOPIC exists_opt topic_name */ -{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy737, &yymsp[0].minor.yy329); } - break; - case 243: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ -{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy737, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy329); } - break; - case 244: /* cmd ::= DESC full_table_name */ - case 245: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==245); -{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy212); } ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 +{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy248); } break; case 247: /* cmd ::= RESET QUERY CACHE */ { pCxt->pRootNode = createResetQueryCacheStmt(pCxt); } break; -<<<<<<< HEAD case 248: /* cmd ::= EXPLAIN analyze_opt explain_options query_expression */ -{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy215, yymsp[-1].minor.yy714, yymsp[0].minor.yy714); } +{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy89, yymsp[-1].minor.yy248, yymsp[0].minor.yy248); } break; case 250: /* analyze_opt ::= ANALYZE */ case 258: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==258); - case 412: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==412); -{ yymsp[0].minor.yy215 = true; } + case 419: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==419); +{ yymsp[0].minor.yy89 = true; } break; case 251: /* explain_options ::= */ -{ yymsp[1].minor.yy714 = createDefaultExplainOptions(pCxt); } +{ yymsp[1].minor.yy248 = createDefaultExplainOptions(pCxt); } break; case 252: /* explain_options ::= explain_options VERBOSE NK_BOOL */ -{ yylhsminor.yy714 = setExplainVerbose(pCxt, yymsp[-2].minor.yy714, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setExplainVerbose(pCxt, yymsp[-2].minor.yy248, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 253: /* explain_options ::= explain_options RATIO NK_FLOAT */ -{ yylhsminor.yy714 = setExplainRatio(pCxt, yymsp[-2].minor.yy714, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ yylhsminor.yy248 = setExplainRatio(pCxt, yymsp[-2].minor.yy248, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 254: /* cmd ::= COMPACT VNODES IN NK_LP integer_list NK_RP */ -{ pCxt->pRootNode = createCompactStmt(pCxt, yymsp[-1].minor.yy656); } +{ pCxt->pRootNode = createCompactStmt(pCxt, yymsp[-1].minor.yy552); } break; case 255: /* cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt */ -{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-6].minor.yy215, yymsp[-8].minor.yy215, &yymsp[-5].minor.yy729, &yymsp[-3].minor.yy0, yymsp[-1].minor.yy490, yymsp[0].minor.yy550); } +{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-6].minor.yy89, yymsp[-8].minor.yy89, &yymsp[-5].minor.yy401, &yymsp[-3].minor.yy0, yymsp[-1].minor.yy224, yymsp[0].minor.yy228); } break; case 256: /* cmd ::= DROP FUNCTION exists_opt function_name */ -{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy215, &yymsp[0].minor.yy729); } +{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy89, &yymsp[0].minor.yy401); } break; case 259: /* bufsize_opt ::= */ -{ yymsp[1].minor.yy550 = 0; } +{ yymsp[1].minor.yy228 = 0; } break; case 260: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ -{ yymsp[-1].minor.yy550 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy228 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } break; case 261: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options into_opt AS query_expression */ -{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-5].minor.yy215, &yymsp[-4].minor.yy729, yymsp[-2].minor.yy714, yymsp[-3].minor.yy714, yymsp[0].minor.yy714); } +{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-5].minor.yy89, &yymsp[-4].minor.yy401, yymsp[-2].minor.yy248, yymsp[-3].minor.yy248, yymsp[0].minor.yy248); } break; case 262: /* cmd ::= DROP STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy215, &yymsp[0].minor.yy729); } +{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy89, &yymsp[0].minor.yy401); } break; case 264: /* into_opt ::= INTO full_table_name */ - case 393: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==393); - case 423: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==423); - case 446: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==446); -{ yymsp[-1].minor.yy714 = yymsp[0].minor.yy714; } + case 400: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==400); + case 429: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==429); + case 452: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==452); +{ yymsp[-1].minor.yy248 = yymsp[0].minor.yy248; } break; case 266: /* stream_options ::= stream_options TRIGGER AT_ONCE */ -{ ((SStreamOptions*)yymsp[-2].minor.yy714)->triggerType = STREAM_TRIGGER_AT_ONCE; yylhsminor.yy714 = yymsp[-2].minor.yy714; } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ ((SStreamOptions*)yymsp[-2].minor.yy248)->triggerType = STREAM_TRIGGER_AT_ONCE; yylhsminor.yy248 = yymsp[-2].minor.yy248; } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 267: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ -{ ((SStreamOptions*)yymsp[-2].minor.yy714)->triggerType = STREAM_TRIGGER_WINDOW_CLOSE; yylhsminor.yy714 = yymsp[-2].minor.yy714; } - yymsp[-2].minor.yy714 = yylhsminor.yy714; +{ ((SStreamOptions*)yymsp[-2].minor.yy248)->triggerType = STREAM_TRIGGER_WINDOW_CLOSE; yylhsminor.yy248 = yymsp[-2].minor.yy248; } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; case 268: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-3].minor.yy714)->triggerType = STREAM_TRIGGER_MAX_DELAY; ((SStreamOptions*)yymsp[-3].minor.yy714)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy714); yylhsminor.yy714 = yymsp[-3].minor.yy714; } - yymsp[-3].minor.yy714 = yylhsminor.yy714; - break; -======= - case 247: /* cmd ::= EXPLAIN analyze_opt explain_options query_expression */ -{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy737, yymsp[-1].minor.yy212, yymsp[0].minor.yy212); } - break; - case 249: /* analyze_opt ::= ANALYZE */ - case 257: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==257); - case 418: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==418); -{ yymsp[0].minor.yy737 = true; } - break; - case 250: /* explain_options ::= */ -{ yymsp[1].minor.yy212 = createDefaultExplainOptions(pCxt); } - break; - case 251: /* explain_options ::= explain_options VERBOSE NK_BOOL */ -{ yylhsminor.yy212 = setExplainVerbose(pCxt, yymsp[-2].minor.yy212, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 252: /* explain_options ::= explain_options RATIO NK_FLOAT */ -{ yylhsminor.yy212 = setExplainRatio(pCxt, yymsp[-2].minor.yy212, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 253: /* cmd ::= COMPACT VNODES IN NK_LP integer_list NK_RP */ -{ pCxt->pRootNode = createCompactStmt(pCxt, yymsp[-1].minor.yy424); } - break; - case 254: /* cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt */ -{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-6].minor.yy737, yymsp[-8].minor.yy737, &yymsp[-5].minor.yy329, &yymsp[-3].minor.yy0, yymsp[-1].minor.yy34, yymsp[0].minor.yy610); } - break; - case 255: /* cmd ::= DROP FUNCTION exists_opt function_name */ -{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy737, &yymsp[0].minor.yy329); } - break; - case 258: /* bufsize_opt ::= */ -{ yymsp[1].minor.yy610 = 0; } - break; - case 259: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ -{ yymsp[-1].minor.yy610 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } - break; - case 260: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options into_opt AS query_expression */ -{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-5].minor.yy737, &yymsp[-4].minor.yy329, yymsp[-2].minor.yy212, yymsp[-3].minor.yy212, yymsp[0].minor.yy212); } - break; - case 261: /* cmd ::= DROP STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy737, &yymsp[0].minor.yy329); } - break; - case 263: /* into_opt ::= INTO full_table_name */ - case 399: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==399); - case 428: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==428); - case 451: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==451); -{ yymsp[-1].minor.yy212 = yymsp[0].minor.yy212; } - break; - case 265: /* stream_options ::= stream_options TRIGGER AT_ONCE */ -{ ((SStreamOptions*)yymsp[-2].minor.yy212)->triggerType = STREAM_TRIGGER_AT_ONCE; yylhsminor.yy212 = yymsp[-2].minor.yy212; } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 266: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ -{ ((SStreamOptions*)yymsp[-2].minor.yy212)->triggerType = STREAM_TRIGGER_WINDOW_CLOSE; yylhsminor.yy212 = yymsp[-2].minor.yy212; } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 267: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-3].minor.yy212)->triggerType = STREAM_TRIGGER_MAX_DELAY; ((SStreamOptions*)yymsp[-3].minor.yy212)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy212); yylhsminor.yy212 = yymsp[-3].minor.yy212; } - yymsp[-3].minor.yy212 = yylhsminor.yy212; +{ ((SStreamOptions*)yymsp[-3].minor.yy248)->triggerType = STREAM_TRIGGER_MAX_DELAY; ((SStreamOptions*)yymsp[-3].minor.yy248)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy248); yylhsminor.yy248 = yymsp[-3].minor.yy248; } + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; - case 269: /* stream_options ::= stream_options IGNORE EXPIRED */ -{ ((SStreamOptions*)yymsp[-2].minor.yy212)->ignoreExpired = true; yylhsminor.yy212 = yymsp[-2].minor.yy212; } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 270: /* stream_options ::= stream_options IGNORE EXPIRED */ +{ ((SStreamOptions*)yymsp[-2].minor.yy248)->ignoreExpired = true; yylhsminor.yy248 = yymsp[-2].minor.yy248; } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 - case 270: /* cmd ::= KILL CONNECTION NK_INTEGER */ + case 271: /* cmd ::= KILL CONNECTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); } break; - case 271: /* cmd ::= KILL QUERY NK_STRING */ + case 272: /* cmd ::= KILL QUERY NK_STRING */ { pCxt->pRootNode = createKillQueryStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 272: /* cmd ::= KILL TRANSACTION NK_INTEGER */ + case 273: /* cmd ::= KILL TRANSACTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_TRANSACTION_STMT, &yymsp[0].minor.yy0); } break; - case 273: /* cmd ::= BALANCE VGROUP */ + case 274: /* cmd ::= BALANCE VGROUP */ { pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } break; - case 274: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + case 275: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); } break; - case 275: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ -<<<<<<< HEAD -{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy656); } -======= -{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy424); } ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 276: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ +{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy552); } break; - case 276: /* cmd ::= SPLIT VGROUP NK_INTEGER */ + case 277: /* cmd ::= SPLIT VGROUP NK_INTEGER */ { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 277: /* dnode_list ::= DNODE NK_INTEGER */ -<<<<<<< HEAD -{ yymsp[-1].minor.yy656 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - break; - case 279: /* cmd ::= SYNCDB db_name REPLICA */ -{ pCxt->pRootNode = createSyncdbStmt(pCxt, &yymsp[-1].minor.yy729); } - break; - case 280: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ -{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy714, yymsp[0].minor.yy714); } - break; - case 282: /* literal ::= NK_INTEGER */ -{ yylhsminor.yy714 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy714 = yylhsminor.yy714; - break; - case 283: /* literal ::= NK_FLOAT */ -{ yylhsminor.yy714 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy714 = yylhsminor.yy714; - break; - case 284: /* literal ::= NK_STRING */ -{ yylhsminor.yy714 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy714 = yylhsminor.yy714; - break; - case 285: /* literal ::= NK_BOOL */ -{ yylhsminor.yy714 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy714 = yylhsminor.yy714; - break; - case 286: /* literal ::= TIMESTAMP NK_STRING */ -{ yylhsminor.yy714 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } - yymsp[-1].minor.yy714 = yylhsminor.yy714; -======= -{ yymsp[-1].minor.yy424 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - break; - case 279: /* cmd ::= SYNCDB db_name REPLICA */ -{ pCxt->pRootNode = createSyncdbStmt(pCxt, &yymsp[-1].minor.yy329); } - break; - case 280: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ -{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy212, yymsp[0].minor.yy212); } - break; - case 282: /* literal ::= NK_INTEGER */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 283: /* literal ::= NK_FLOAT */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 284: /* literal ::= NK_STRING */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 285: /* literal ::= NK_BOOL */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 286: /* literal ::= TIMESTAMP NK_STRING */ -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 - break; - case 287: /* literal ::= duration_literal */ - case 297: /* signed_literal ::= signed */ yytestcase(yyruleno==297); - case 317: /* expression ::= literal */ yytestcase(yyruleno==317); - case 318: /* expression ::= pseudo_column */ yytestcase(yyruleno==318); - case 319: /* expression ::= column_reference */ yytestcase(yyruleno==319); - case 320: /* expression ::= function_expression */ yytestcase(yyruleno==320); - case 321: /* expression ::= subquery */ yytestcase(yyruleno==321); - case 348: /* function_expression ::= literal_func */ yytestcase(yyruleno==348); -<<<<<<< HEAD - case 384: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==384); - case 388: /* boolean_primary ::= predicate */ yytestcase(yyruleno==388); - case 390: /* common_expression ::= expression */ yytestcase(yyruleno==390); - case 391: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==391); - case 394: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==394); - case 396: /* table_reference ::= table_primary */ yytestcase(yyruleno==396); - case 397: /* table_reference ::= joined_table */ yytestcase(yyruleno==397); - case 401: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==401); - case 452: /* query_expression_body ::= query_primary */ yytestcase(yyruleno==452); - case 455: /* query_primary ::= query_specification */ yytestcase(yyruleno==455); -{ yylhsminor.yy714 = yymsp[0].minor.yy714; } - yymsp[0].minor.yy714 = yylhsminor.yy714; - break; - case 288: /* literal ::= NULL */ -{ yylhsminor.yy714 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy714 = yylhsminor.yy714; - break; - case 289: /* literal ::= NK_QUESTION */ -{ yylhsminor.yy714 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy714 = yylhsminor.yy714; - break; - case 290: /* duration_literal ::= NK_VARIABLE */ -{ yylhsminor.yy714 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy714 = yylhsminor.yy714; - break; - case 291: /* signed ::= NK_INTEGER */ -{ yylhsminor.yy714 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy714 = yylhsminor.yy714; - break; - case 292: /* signed ::= NK_PLUS NK_INTEGER */ -{ yymsp[-1].minor.yy714 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } -======= - case 390: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==390); - case 394: /* boolean_primary ::= predicate */ yytestcase(yyruleno==394); - case 396: /* common_expression ::= expression */ yytestcase(yyruleno==396); - case 397: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==397); - case 400: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==400); - case 402: /* table_reference ::= table_primary */ yytestcase(yyruleno==402); - case 403: /* table_reference ::= joined_table */ yytestcase(yyruleno==403); - case 407: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==407); - case 457: /* query_expression_body ::= query_primary */ yytestcase(yyruleno==457); - case 460: /* query_primary ::= query_specification */ yytestcase(yyruleno==460); -{ yylhsminor.yy212 = yymsp[0].minor.yy212; } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 288: /* literal ::= NULL */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 289: /* literal ::= NK_QUESTION */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 290: /* duration_literal ::= NK_VARIABLE */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 291: /* signed ::= NK_INTEGER */ -{ yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 292: /* signed ::= NK_PLUS NK_INTEGER */ -{ yymsp[-1].minor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 - break; - case 293: /* signed ::= NK_MINUS NK_INTEGER */ + case 278: /* dnode_list ::= DNODE NK_INTEGER */ +{ yymsp[-1].minor.yy552 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + break; + case 280: /* cmd ::= SYNCDB db_name REPLICA */ +{ pCxt->pRootNode = createSyncdbStmt(pCxt, &yymsp[-1].minor.yy401); } + break; + case 281: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ +{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy248, yymsp[0].minor.yy248); } + break; + case 283: /* literal ::= NK_INTEGER */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 284: /* literal ::= NK_FLOAT */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 285: /* literal ::= NK_STRING */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 286: /* literal ::= NK_BOOL */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 287: /* literal ::= TIMESTAMP NK_STRING */ +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; + break; + case 288: /* literal ::= duration_literal */ + case 298: /* signed_literal ::= signed */ yytestcase(yyruleno==298); + case 318: /* expression ::= literal */ yytestcase(yyruleno==318); + case 319: /* expression ::= pseudo_column */ yytestcase(yyruleno==319); + case 320: /* expression ::= column_reference */ yytestcase(yyruleno==320); + case 321: /* expression ::= function_expression */ yytestcase(yyruleno==321); + case 322: /* expression ::= subquery */ yytestcase(yyruleno==322); + case 349: /* function_expression ::= literal_func */ yytestcase(yyruleno==349); + case 391: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==391); + case 395: /* boolean_primary ::= predicate */ yytestcase(yyruleno==395); + case 397: /* common_expression ::= expression */ yytestcase(yyruleno==397); + case 398: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==398); + case 401: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==401); + case 403: /* table_reference ::= table_primary */ yytestcase(yyruleno==403); + case 404: /* table_reference ::= joined_table */ yytestcase(yyruleno==404); + case 408: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==408); + case 458: /* query_expression_body ::= query_primary */ yytestcase(yyruleno==458); + case 461: /* query_primary ::= query_specification */ yytestcase(yyruleno==461); +{ yylhsminor.yy248 = yymsp[0].minor.yy248; } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 289: /* literal ::= NULL */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 290: /* literal ::= NK_QUESTION */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 291: /* duration_literal ::= NK_VARIABLE */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 292: /* signed ::= NK_INTEGER */ +{ yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 293: /* signed ::= NK_PLUS NK_INTEGER */ +{ yymsp[-1].minor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } + break; + case 294: /* 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; -<<<<<<< HEAD - yylhsminor.yy714 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); + yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); } - yymsp[-1].minor.yy714 = yylhsminor.yy714; + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 294: /* signed ::= NK_FLOAT */ -{ yylhsminor.yy714 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy714 = yylhsminor.yy714; + case 295: /* signed ::= NK_FLOAT */ +{ yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 295: /* signed ::= NK_PLUS NK_FLOAT */ -{ yymsp[-1].minor.yy714 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } -======= - yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); - } - yymsp[-1].minor.yy212 = yylhsminor.yy212; - break; - case 294: /* signed ::= NK_FLOAT */ -{ yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 295: /* signed ::= NK_PLUS NK_FLOAT */ -{ yymsp[-1].minor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 296: /* signed ::= NK_PLUS NK_FLOAT */ +{ yymsp[-1].minor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } break; - case 296: /* signed ::= NK_MINUS NK_FLOAT */ + case 297: /* 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; -<<<<<<< HEAD - yylhsminor.yy714 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); + yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); } - yymsp[-1].minor.yy714 = yylhsminor.yy714; - break; - case 298: /* signed_literal ::= NK_STRING */ -{ yylhsminor.yy714 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy714 = yylhsminor.yy714; - break; - case 299: /* signed_literal ::= NK_BOOL */ -{ yylhsminor.yy714 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy714 = yylhsminor.yy714; + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 300: /* signed_literal ::= TIMESTAMP NK_STRING */ -{ yymsp[-1].minor.yy714 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } + case 299: /* signed_literal ::= NK_STRING */ +{ yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 301: /* signed_literal ::= duration_literal */ - case 303: /* signed_literal ::= literal_func */ yytestcase(yyruleno==303); - case 362: /* star_func_para ::= expression */ yytestcase(yyruleno==362); - case 418: /* select_item ::= common_expression */ yytestcase(yyruleno==418); - case 468: /* search_condition ::= common_expression */ yytestcase(yyruleno==468); -{ yylhsminor.yy714 = releaseRawExprNode(pCxt, yymsp[0].minor.yy714); } - yymsp[0].minor.yy714 = yylhsminor.yy714; + case 300: /* signed_literal ::= NK_BOOL */ +{ yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 302: /* signed_literal ::= NULL */ -{ yylhsminor.yy714 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy714 = yylhsminor.yy714; + case 301: /* signed_literal ::= TIMESTAMP NK_STRING */ +{ yymsp[-1].minor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; - case 322: /* expression ::= NK_LP expression NK_RP */ - case 389: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==389); -{ yylhsminor.yy714 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy714)); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; + case 302: /* signed_literal ::= duration_literal */ + case 304: /* signed_literal ::= literal_func */ yytestcase(yyruleno==304); + case 369: /* star_func_para ::= expression */ yytestcase(yyruleno==369); + case 424: /* select_item ::= common_expression */ yytestcase(yyruleno==424); + case 474: /* search_condition ::= common_expression */ yytestcase(yyruleno==474); +{ yylhsminor.yy248 = releaseRawExprNode(pCxt, yymsp[0].minor.yy248); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 323: /* expression ::= NK_PLUS expression */ -{ - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy714)); - } - yymsp[-1].minor.yy714 = yylhsminor.yy714; + case 303: /* signed_literal ::= NULL */ +{ yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 324: /* expression ::= NK_MINUS expression */ -{ - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy714), NULL)); - } - yymsp[-1].minor.yy714 = yylhsminor.yy714; + case 323: /* expression ::= NK_LP expression NK_RP */ + case 396: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==396); +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy248)); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 325: /* expression ::= expression NK_PLUS expression */ + case 324: /* expression ::= NK_PLUS expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy714); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), releaseRawExprNode(pCxt, yymsp[0].minor.yy714))); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy248)); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 326: /* expression ::= expression NK_MINUS expression */ + case 325: /* expression ::= NK_MINUS expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy714); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), releaseRawExprNode(pCxt, yymsp[0].minor.yy714))); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy248), NULL)); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 327: /* expression ::= expression NK_STAR expression */ + case 326: /* expression ::= expression NK_PLUS expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy714); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), releaseRawExprNode(pCxt, yymsp[0].minor.yy714))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 328: /* expression ::= expression NK_SLASH expression */ + case 327: /* expression ::= expression NK_MINUS expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy714); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), releaseRawExprNode(pCxt, yymsp[0].minor.yy714))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 329: /* expression ::= expression NK_REM expression */ + case 328: /* expression ::= expression NK_STAR expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy714); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), releaseRawExprNode(pCxt, yymsp[0].minor.yy714))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 330: /* expression ::= column_reference NK_ARROW NK_STRING */ + case 329: /* expression ::= expression NK_SLASH expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 331: /* expression ::= expression NK_BITAND expression */ + case 330: /* expression ::= expression NK_REM expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy714); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), releaseRawExprNode(pCxt, yymsp[0].minor.yy714))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 332: /* expression ::= expression NK_BITOR expression */ + case 331: /* expression ::= column_reference NK_ARROW NK_STRING */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy714); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), releaseRawExprNode(pCxt, yymsp[0].minor.yy714))); - } - yymsp[-2].minor.yy714 = yylhsminor.yy714; - break; - case 335: /* column_reference ::= column_name */ -{ yylhsminor.yy714 = createRawExprNode(pCxt, &yymsp[0].minor.yy729, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy729)); } - yymsp[0].minor.yy714 = yylhsminor.yy714; - break; - case 336: /* column_reference ::= table_name NK_DOT column_name */ -{ yylhsminor.yy714 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy729, &yymsp[0].minor.yy729, createColumnNode(pCxt, &yymsp[-2].minor.yy729, &yymsp[0].minor.yy729)); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; -======= - yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; - break; - case 298: /* signed_literal ::= NK_STRING */ -{ yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 299: /* signed_literal ::= NK_BOOL */ -{ yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 300: /* signed_literal ::= TIMESTAMP NK_STRING */ -{ yymsp[-1].minor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 301: /* signed_literal ::= duration_literal */ - case 303: /* signed_literal ::= literal_func */ yytestcase(yyruleno==303); - case 368: /* star_func_para ::= expression */ yytestcase(yyruleno==368); - case 423: /* select_item ::= common_expression */ yytestcase(yyruleno==423); - case 473: /* search_condition ::= common_expression */ yytestcase(yyruleno==473); -{ yylhsminor.yy212 = releaseRawExprNode(pCxt, yymsp[0].minor.yy212); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 302: /* signed_literal ::= NULL */ -{ yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 322: /* expression ::= NK_LP expression NK_RP */ - case 395: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==395); -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy212)); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 323: /* expression ::= NK_PLUS expression */ + case 332: /* expression ::= expression NK_BITAND expression */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy212)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 324: /* expression ::= NK_MINUS expression */ + case 333: /* expression ::= expression NK_BITOR expression */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy212), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; - break; - case 325: /* expression ::= expression NK_PLUS expression */ -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); - } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 326: /* expression ::= expression NK_MINUS expression */ -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); - } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 327: /* expression ::= expression NK_STAR expression */ -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); - } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 328: /* expression ::= expression NK_SLASH expression */ -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); - } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 329: /* expression ::= expression NK_REM expression */ -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); - } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 330: /* expression ::= column_reference NK_ARROW NK_STRING */ -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); - } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 331: /* expression ::= expression NK_BITAND expression */ -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); - } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 332: /* expression ::= expression NK_BITOR expression */ -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); - } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 335: /* column_reference ::= column_name */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy329, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy329)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 336: /* column_reference ::= table_name NK_DOT column_name */ -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy329, createColumnNode(pCxt, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy329)); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 - break; - case 337: /* pseudo_column ::= ROWTS */ - case 338: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==338); - case 340: /* pseudo_column ::= QSTARTTS */ yytestcase(yyruleno==340); - case 341: /* pseudo_column ::= QENDTS */ yytestcase(yyruleno==341); - case 342: /* pseudo_column ::= WSTARTTS */ yytestcase(yyruleno==342); - case 343: /* pseudo_column ::= WENDTS */ yytestcase(yyruleno==343); - case 344: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==344); - case 350: /* literal_func ::= NOW */ yytestcase(yyruleno==350); -<<<<<<< HEAD -{ yylhsminor.yy714 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } - yymsp[0].minor.yy714 = yylhsminor.yy714; - break; - case 339: /* pseudo_column ::= table_name NK_DOT TBNAME */ -{ yylhsminor.yy714 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy729, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy729)))); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; - break; - case 345: /* function_expression ::= function_name NK_LP expression_list NK_RP */ - case 346: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==346); -{ yylhsminor.yy714 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy729, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy729, yymsp[-1].minor.yy656)); } - yymsp[-3].minor.yy714 = yylhsminor.yy714; - break; - case 347: /* function_expression ::= CAST NK_LP expression AS type_name NK_RP */ -{ yylhsminor.yy714 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy714), yymsp[-1].minor.yy490)); } - yymsp[-5].minor.yy714 = yylhsminor.yy714; - break; - case 349: /* literal_func ::= noarg_func NK_LP NK_RP */ -{ yylhsminor.yy714 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy729, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy729, NULL)); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; - break; - case 358: /* star_func_para_list ::= NK_STAR */ -{ yylhsminor.yy656 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy656 = yylhsminor.yy656; - break; - case 363: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 421: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==421); -{ yylhsminor.yy714 = createColumnNode(pCxt, &yymsp[-2].minor.yy729, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; - break; - case 364: /* predicate ::= expression compare_op expression */ - case 369: /* predicate ::= expression in_op in_predicate_value */ yytestcase(yyruleno==369); -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy714); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy688, releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), releaseRawExprNode(pCxt, yymsp[0].minor.yy714))); - } - yymsp[-2].minor.yy714 = yylhsminor.yy714; - break; - case 365: /* predicate ::= expression BETWEEN expression AND expression */ -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy714); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy714), releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), releaseRawExprNode(pCxt, yymsp[0].minor.yy714))); - } - yymsp[-4].minor.yy714 = yylhsminor.yy714; - break; - case 366: /* predicate ::= expression NOT BETWEEN expression AND expression */ -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy714); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy714), releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), releaseRawExprNode(pCxt, yymsp[0].minor.yy714))); - } - yymsp[-5].minor.yy714 = yylhsminor.yy714; - break; - case 367: /* predicate ::= expression IS NULL */ -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), NULL)); - } - yymsp[-2].minor.yy714 = yylhsminor.yy714; - break; - case 368: /* predicate ::= expression IS NOT NULL */ -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy714), NULL)); - } - yymsp[-3].minor.yy714 = yylhsminor.yy714; - break; - case 370: /* compare_op ::= NK_LT */ -{ yymsp[0].minor.yy688 = OP_TYPE_LOWER_THAN; } - break; - case 371: /* compare_op ::= NK_GT */ -{ yymsp[0].minor.yy688 = OP_TYPE_GREATER_THAN; } - break; - case 372: /* compare_op ::= NK_LE */ -{ yymsp[0].minor.yy688 = OP_TYPE_LOWER_EQUAL; } - break; - case 373: /* compare_op ::= NK_GE */ -{ yymsp[0].minor.yy688 = OP_TYPE_GREATER_EQUAL; } - break; - case 374: /* compare_op ::= NK_NE */ -{ yymsp[0].minor.yy688 = OP_TYPE_NOT_EQUAL; } - break; - case 375: /* compare_op ::= NK_EQ */ -{ yymsp[0].minor.yy688 = OP_TYPE_EQUAL; } - break; - case 376: /* compare_op ::= LIKE */ -{ yymsp[0].minor.yy688 = OP_TYPE_LIKE; } - break; - case 377: /* compare_op ::= NOT LIKE */ -{ yymsp[-1].minor.yy688 = OP_TYPE_NOT_LIKE; } - break; - case 378: /* compare_op ::= MATCH */ -{ yymsp[0].minor.yy688 = OP_TYPE_MATCH; } - break; - case 379: /* compare_op ::= NMATCH */ -{ yymsp[0].minor.yy688 = OP_TYPE_NMATCH; } - break; - case 380: /* compare_op ::= CONTAINS */ -{ yymsp[0].minor.yy688 = OP_TYPE_JSON_CONTAINS; } - break; - case 381: /* in_op ::= IN */ -{ yymsp[0].minor.yy688 = OP_TYPE_IN; } - break; - case 382: /* in_op ::= NOT IN */ -{ yymsp[-1].minor.yy688 = OP_TYPE_NOT_IN; } - break; - case 383: /* in_predicate_value ::= NK_LP expression_list NK_RP */ -{ yylhsminor.yy714 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy656)); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; - break; - case 385: /* boolean_value_expression ::= NOT boolean_primary */ -{ - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy714), NULL)); - } - yymsp[-1].minor.yy714 = yylhsminor.yy714; - break; - case 386: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy714); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), releaseRawExprNode(pCxt, yymsp[0].minor.yy714))); - } - yymsp[-2].minor.yy714 = yylhsminor.yy714; - break; - case 387: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ -{ - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy714); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy714); - yylhsminor.yy714 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), releaseRawExprNode(pCxt, yymsp[0].minor.yy714))); - } - yymsp[-2].minor.yy714 = yylhsminor.yy714; - break; - case 395: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ -{ yylhsminor.yy714 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy714, yymsp[0].minor.yy714, NULL); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; - break; - case 398: /* table_primary ::= table_name alias_opt */ -{ yylhsminor.yy714 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy729, &yymsp[0].minor.yy729); } - yymsp[-1].minor.yy714 = yylhsminor.yy714; - break; - case 399: /* table_primary ::= db_name NK_DOT table_name alias_opt */ -{ yylhsminor.yy714 = createRealTableNode(pCxt, &yymsp[-3].minor.yy729, &yymsp[-1].minor.yy729, &yymsp[0].minor.yy729); } - yymsp[-3].minor.yy714 = yylhsminor.yy714; - break; - case 400: /* table_primary ::= subquery alias_opt */ -{ yylhsminor.yy714 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy714), &yymsp[0].minor.yy729); } - yymsp[-1].minor.yy714 = yylhsminor.yy714; - break; - case 402: /* alias_opt ::= */ -{ yymsp[1].minor.yy729 = nil_token; } - break; - case 403: /* alias_opt ::= table_alias */ -{ yylhsminor.yy729 = yymsp[0].minor.yy729; } - yymsp[0].minor.yy729 = yylhsminor.yy729; - break; - case 404: /* alias_opt ::= AS table_alias */ -{ yymsp[-1].minor.yy729 = yymsp[0].minor.yy729; } - break; - case 405: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - case 406: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==406); -{ yymsp[-2].minor.yy714 = yymsp[-1].minor.yy714; } - break; - case 407: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ -{ yylhsminor.yy714 = createJoinTableNode(pCxt, yymsp[-4].minor.yy568, yymsp[-5].minor.yy714, yymsp[-2].minor.yy714, yymsp[0].minor.yy714); } - yymsp[-5].minor.yy714 = yylhsminor.yy714; - break; - case 408: /* join_type ::= */ -{ yymsp[1].minor.yy568 = JOIN_TYPE_INNER; } - break; - case 409: /* join_type ::= INNER */ -{ yymsp[0].minor.yy568 = JOIN_TYPE_INNER; } - break; - case 410: /* query_specification ::= SELECT set_quantifier_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[-11].minor.yy714 = createSelectStmt(pCxt, yymsp[-10].minor.yy215, yymsp[-9].minor.yy656, yymsp[-8].minor.yy714); - yymsp[-11].minor.yy714 = addWhereClause(pCxt, yymsp[-11].minor.yy714, yymsp[-7].minor.yy714); - yymsp[-11].minor.yy714 = addPartitionByClause(pCxt, yymsp[-11].minor.yy714, yymsp[-6].minor.yy656); - yymsp[-11].minor.yy714 = addWindowClauseClause(pCxt, yymsp[-11].minor.yy714, yymsp[-2].minor.yy714); - yymsp[-11].minor.yy714 = addGroupByClause(pCxt, yymsp[-11].minor.yy714, yymsp[-1].minor.yy656); - yymsp[-11].minor.yy714 = addHavingClause(pCxt, yymsp[-11].minor.yy714, yymsp[0].minor.yy714); - yymsp[-11].minor.yy714 = addRangeClause(pCxt, yymsp[-11].minor.yy714, yymsp[-5].minor.yy714); - yymsp[-11].minor.yy714 = addEveryClause(pCxt, yymsp[-11].minor.yy714, yymsp[-4].minor.yy714); - yymsp[-11].minor.yy714 = addFillClause(pCxt, yymsp[-11].minor.yy714, yymsp[-3].minor.yy714); - } - break; - case 413: /* set_quantifier_opt ::= ALL */ -{ yymsp[0].minor.yy215 = false; } - break; - case 414: /* select_list ::= NK_STAR */ -{ yymsp[0].minor.yy656 = NULL; } - break; - case 419: /* select_item ::= common_expression column_alias */ -{ yylhsminor.yy714 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy714), &yymsp[0].minor.yy729); } - yymsp[-1].minor.yy714 = yylhsminor.yy714; - break; - case 420: /* select_item ::= common_expression AS column_alias */ -{ yylhsminor.yy714 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), &yymsp[0].minor.yy729); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; - break; - case 425: /* partition_by_clause_opt ::= PARTITION BY expression_list */ - case 442: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==442); - case 458: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==458); -{ yymsp[-2].minor.yy656 = yymsp[0].minor.yy656; } - break; - case 427: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ -{ yymsp[-5].minor.yy714 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy714), releaseRawExprNode(pCxt, yymsp[-1].minor.yy714)); } - break; - case 428: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP */ -{ yymsp[-3].minor.yy714 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy714)); } - break; - case 429: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-5].minor.yy714 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy714), NULL, yymsp[-1].minor.yy714, yymsp[0].minor.yy714); } - break; - case 430: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-7].minor.yy714 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy714), releaseRawExprNode(pCxt, yymsp[-3].minor.yy714), yymsp[-1].minor.yy714, yymsp[0].minor.yy714); } - break; - case 432: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - case 450: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==450); -{ yymsp[-3].minor.yy714 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy714); } - break; - case 434: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ -{ yymsp[-3].minor.yy714 = createFillNode(pCxt, yymsp[-1].minor.yy256, NULL); } - break; - case 435: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ -{ yymsp[-5].minor.yy714 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy656)); } - break; - case 436: /* fill_mode ::= NONE */ -{ yymsp[0].minor.yy256 = FILL_MODE_NONE; } - break; - case 437: /* fill_mode ::= PREV */ -{ yymsp[0].minor.yy256 = FILL_MODE_PREV; } - break; - case 438: /* fill_mode ::= NULL */ -{ yymsp[0].minor.yy256 = FILL_MODE_NULL; } - break; - case 439: /* fill_mode ::= LINEAR */ -{ yymsp[0].minor.yy256 = FILL_MODE_LINEAR; } - break; - case 440: /* fill_mode ::= NEXT */ -{ yymsp[0].minor.yy256 = FILL_MODE_NEXT; } - break; - case 443: /* group_by_list ::= expression */ -{ yylhsminor.yy656 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy714))); } - yymsp[0].minor.yy656 = yylhsminor.yy656; - break; - case 444: /* group_by_list ::= group_by_list NK_COMMA expression */ -{ yylhsminor.yy656 = addNodeToList(pCxt, yymsp[-2].minor.yy656, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy714))); } - yymsp[-2].minor.yy656 = yylhsminor.yy656; - break; - case 448: /* range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP */ -{ yymsp[-5].minor.yy714 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy714), releaseRawExprNode(pCxt, yymsp[-1].minor.yy714)); } - break; - case 451: /* query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt */ -{ - yylhsminor.yy714 = addOrderByClause(pCxt, yymsp[-3].minor.yy714, yymsp[-2].minor.yy656); - yylhsminor.yy714 = addSlimitClause(pCxt, yylhsminor.yy714, yymsp[-1].minor.yy714); - yylhsminor.yy714 = addLimitClause(pCxt, yylhsminor.yy714, yymsp[0].minor.yy714); - } - yymsp[-3].minor.yy714 = yylhsminor.yy714; - break; - case 453: /* query_expression_body ::= query_expression_body UNION ALL query_expression_body */ -{ yylhsminor.yy714 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy714, yymsp[0].minor.yy714); } - yymsp[-3].minor.yy714 = yylhsminor.yy714; - break; - case 454: /* query_expression_body ::= query_expression_body UNION query_expression_body */ -{ yylhsminor.yy714 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy714, yymsp[0].minor.yy714); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; - break; - case 456: /* query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP */ -{ yymsp[-5].minor.yy714 = yymsp[-4].minor.yy714; } - yy_destructor(yypParser,363,&yymsp[-3].minor); - yy_destructor(yypParser,364,&yymsp[-2].minor); - yy_destructor(yypParser,365,&yymsp[-1].minor); - break; - case 460: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 464: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==464); -{ yymsp[-1].minor.yy714 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } - break; - case 461: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 465: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==465); -{ yymsp[-3].minor.yy714 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } - break; - case 462: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 466: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==466); -{ yymsp[-3].minor.yy714 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } - break; - case 467: /* subquery ::= NK_LP query_expression NK_RP */ -{ yylhsminor.yy714 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy714); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; - break; - case 471: /* sort_specification ::= expression ordering_specification_opt null_ordering_opt */ -{ yylhsminor.yy714 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy714), yymsp[-1].minor.yy372, yymsp[0].minor.yy193); } - yymsp[-2].minor.yy714 = yylhsminor.yy714; - break; - case 472: /* ordering_specification_opt ::= */ -{ yymsp[1].minor.yy372 = ORDER_ASC; } - break; - case 473: /* ordering_specification_opt ::= ASC */ -{ yymsp[0].minor.yy372 = ORDER_ASC; } - break; - case 474: /* ordering_specification_opt ::= DESC */ -{ yymsp[0].minor.yy372 = ORDER_DESC; } - break; - case 475: /* null_ordering_opt ::= */ -{ yymsp[1].minor.yy193 = NULL_ORDER_DEFAULT; } - break; - case 476: /* null_ordering_opt ::= NULLS FIRST */ -{ yymsp[-1].minor.yy193 = NULL_ORDER_FIRST; } - break; - case 477: /* null_ordering_opt ::= NULLS LAST */ -{ yymsp[-1].minor.yy193 = NULL_ORDER_LAST; } -======= -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 339: /* pseudo_column ::= table_name NK_DOT TBNAME */ -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy329)))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 345: /* function_expression ::= function_name NK_LP expression_list NK_RP */ - case 346: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==346); -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy329, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy329, yymsp[-1].minor.yy424)); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; - break; - case 347: /* function_expression ::= CAST NK_LP expression AS type_name NK_RP */ -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), yymsp[-1].minor.yy34)); } - yymsp[-5].minor.yy212 = yylhsminor.yy212; - break; - case 349: /* literal_func ::= noarg_func NK_LP NK_RP */ -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy329, NULL)); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 364: /* star_func_para_list ::= NK_STAR */ -{ yylhsminor.yy424 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy424 = yylhsminor.yy424; - break; - case 369: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 426: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==426); -{ yylhsminor.yy212 = createColumnNode(pCxt, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 370: /* predicate ::= expression compare_op expression */ - case 375: /* predicate ::= expression in_op in_predicate_value */ yytestcase(yyruleno==375); + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 336: /* column_reference ::= column_name */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy401, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy401)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 337: /* column_reference ::= table_name NK_DOT column_name */ +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy401, createColumnNode(pCxt, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy401)); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 338: /* pseudo_column ::= ROWTS */ + case 339: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==339); + case 341: /* pseudo_column ::= QSTARTTS */ yytestcase(yyruleno==341); + case 342: /* pseudo_column ::= QENDTS */ yytestcase(yyruleno==342); + case 343: /* pseudo_column ::= WSTARTTS */ yytestcase(yyruleno==343); + case 344: /* pseudo_column ::= WENDTS */ yytestcase(yyruleno==344); + case 345: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==345); + case 351: /* literal_func ::= NOW */ yytestcase(yyruleno==351); +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 340: /* pseudo_column ::= table_name NK_DOT TBNAME */ +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy401)))); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 346: /* function_expression ::= function_name NK_LP expression_list NK_RP */ + case 347: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==347); +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy401, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy401, yymsp[-1].minor.yy552)); } + yymsp[-3].minor.yy248 = yylhsminor.yy248; + break; + case 348: /* function_expression ::= CAST NK_LP expression AS type_name NK_RP */ +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), yymsp[-1].minor.yy224)); } + yymsp[-5].minor.yy248 = yylhsminor.yy248; + break; + case 350: /* literal_func ::= noarg_func NK_LP NK_RP */ +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy401, NULL)); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 365: /* star_func_para_list ::= NK_STAR */ +{ yylhsminor.yy552 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy552 = yylhsminor.yy552; + break; + case 370: /* star_func_para ::= table_name NK_DOT NK_STAR */ + case 427: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==427); +{ yylhsminor.yy248 = createColumnNode(pCxt, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 371: /* predicate ::= expression compare_op expression */ + case 376: /* predicate ::= expression in_op in_predicate_value */ yytestcase(yyruleno==376); { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy290, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy716, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 371: /* predicate ::= expression BETWEEN expression AND expression */ + case 372: /* predicate ::= expression BETWEEN expression AND expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy212), releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy248), releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; - case 372: /* predicate ::= expression NOT BETWEEN expression AND expression */ + case 373: /* predicate ::= expression NOT BETWEEN expression AND expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy212), releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy248), releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-5].minor.yy212 = yylhsminor.yy212; + yymsp[-5].minor.yy248 = yylhsminor.yy248; break; - case 373: /* predicate ::= expression IS NULL */ + case 374: /* predicate ::= expression IS NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), NULL)); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 374: /* predicate ::= expression IS NOT NULL */ + case 375: /* predicate ::= expression IS NOT NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), NULL)); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; - case 376: /* compare_op ::= NK_LT */ -{ yymsp[0].minor.yy290 = OP_TYPE_LOWER_THAN; } + case 377: /* compare_op ::= NK_LT */ +{ yymsp[0].minor.yy716 = OP_TYPE_LOWER_THAN; } break; - case 377: /* compare_op ::= NK_GT */ -{ yymsp[0].minor.yy290 = OP_TYPE_GREATER_THAN; } + case 378: /* compare_op ::= NK_GT */ +{ yymsp[0].minor.yy716 = OP_TYPE_GREATER_THAN; } break; - case 378: /* compare_op ::= NK_LE */ -{ yymsp[0].minor.yy290 = OP_TYPE_LOWER_EQUAL; } + case 379: /* compare_op ::= NK_LE */ +{ yymsp[0].minor.yy716 = OP_TYPE_LOWER_EQUAL; } break; - case 379: /* compare_op ::= NK_GE */ -{ yymsp[0].minor.yy290 = OP_TYPE_GREATER_EQUAL; } + case 380: /* compare_op ::= NK_GE */ +{ yymsp[0].minor.yy716 = OP_TYPE_GREATER_EQUAL; } break; - case 380: /* compare_op ::= NK_NE */ -{ yymsp[0].minor.yy290 = OP_TYPE_NOT_EQUAL; } + case 381: /* compare_op ::= NK_NE */ +{ yymsp[0].minor.yy716 = OP_TYPE_NOT_EQUAL; } break; - case 381: /* compare_op ::= NK_EQ */ -{ yymsp[0].minor.yy290 = OP_TYPE_EQUAL; } + case 382: /* compare_op ::= NK_EQ */ +{ yymsp[0].minor.yy716 = OP_TYPE_EQUAL; } break; - case 382: /* compare_op ::= LIKE */ -{ yymsp[0].minor.yy290 = OP_TYPE_LIKE; } + case 383: /* compare_op ::= LIKE */ +{ yymsp[0].minor.yy716 = OP_TYPE_LIKE; } break; - case 383: /* compare_op ::= NOT LIKE */ -{ yymsp[-1].minor.yy290 = OP_TYPE_NOT_LIKE; } + case 384: /* compare_op ::= NOT LIKE */ +{ yymsp[-1].minor.yy716 = OP_TYPE_NOT_LIKE; } break; - case 384: /* compare_op ::= MATCH */ -{ yymsp[0].minor.yy290 = OP_TYPE_MATCH; } + case 385: /* compare_op ::= MATCH */ +{ yymsp[0].minor.yy716 = OP_TYPE_MATCH; } break; - case 385: /* compare_op ::= NMATCH */ -{ yymsp[0].minor.yy290 = OP_TYPE_NMATCH; } + case 386: /* compare_op ::= NMATCH */ +{ yymsp[0].minor.yy716 = OP_TYPE_NMATCH; } break; - case 386: /* compare_op ::= CONTAINS */ -{ yymsp[0].minor.yy290 = OP_TYPE_JSON_CONTAINS; } + case 387: /* compare_op ::= CONTAINS */ +{ yymsp[0].minor.yy716 = OP_TYPE_JSON_CONTAINS; } break; - case 387: /* in_op ::= IN */ -{ yymsp[0].minor.yy290 = OP_TYPE_IN; } + case 388: /* in_op ::= IN */ +{ yymsp[0].minor.yy716 = OP_TYPE_IN; } break; - case 388: /* in_op ::= NOT IN */ -{ yymsp[-1].minor.yy290 = OP_TYPE_NOT_IN; } + case 389: /* in_op ::= NOT IN */ +{ yymsp[-1].minor.yy716 = OP_TYPE_NOT_IN; } break; - case 389: /* in_predicate_value ::= NK_LP expression_list NK_RP */ -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy424)); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 390: /* in_predicate_value ::= NK_LP expression_list NK_RP */ +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy552)); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 391: /* boolean_value_expression ::= NOT boolean_primary */ + case 392: /* boolean_value_expression ::= NOT boolean_primary */ { - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy212), NULL)); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy248), NULL)); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 392: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + case 393: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 393: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + case 394: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 401: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ -{ yylhsminor.yy212 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy212, yymsp[0].minor.yy212, NULL); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 402: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ +{ yylhsminor.yy248 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy248, yymsp[0].minor.yy248, NULL); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 404: /* table_primary ::= table_name alias_opt */ -{ yylhsminor.yy212 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy329, &yymsp[0].minor.yy329); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + case 405: /* table_primary ::= table_name alias_opt */ +{ yylhsminor.yy248 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy401, &yymsp[0].minor.yy401); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 405: /* table_primary ::= db_name NK_DOT table_name alias_opt */ -{ yylhsminor.yy212 = createRealTableNode(pCxt, &yymsp[-3].minor.yy329, &yymsp[-1].minor.yy329, &yymsp[0].minor.yy329); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; + case 406: /* table_primary ::= db_name NK_DOT table_name alias_opt */ +{ yylhsminor.yy248 = createRealTableNode(pCxt, &yymsp[-3].minor.yy401, &yymsp[-1].minor.yy401, &yymsp[0].minor.yy401); } + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; - case 406: /* table_primary ::= subquery alias_opt */ -{ yylhsminor.yy212 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy212), &yymsp[0].minor.yy329); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + case 407: /* table_primary ::= subquery alias_opt */ +{ yylhsminor.yy248 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy248), &yymsp[0].minor.yy401); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 408: /* alias_opt ::= */ -{ yymsp[1].minor.yy329 = nil_token; } + case 409: /* alias_opt ::= */ +{ yymsp[1].minor.yy401 = nil_token; } break; - case 409: /* alias_opt ::= table_alias */ -{ yylhsminor.yy329 = yymsp[0].minor.yy329; } - yymsp[0].minor.yy329 = yylhsminor.yy329; + case 410: /* alias_opt ::= table_alias */ +{ yylhsminor.yy401 = yymsp[0].minor.yy401; } + yymsp[0].minor.yy401 = yylhsminor.yy401; break; - case 410: /* alias_opt ::= AS table_alias */ -{ yymsp[-1].minor.yy329 = yymsp[0].minor.yy329; } + case 411: /* alias_opt ::= AS table_alias */ +{ yymsp[-1].minor.yy401 = yymsp[0].minor.yy401; } break; - case 411: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - case 412: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==412); -{ yymsp[-2].minor.yy212 = yymsp[-1].minor.yy212; } + case 412: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + case 413: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==413); +{ yymsp[-2].minor.yy248 = yymsp[-1].minor.yy248; } break; - case 413: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ -{ yylhsminor.yy212 = createJoinTableNode(pCxt, yymsp[-4].minor.yy162, yymsp[-5].minor.yy212, yymsp[-2].minor.yy212, yymsp[0].minor.yy212); } - yymsp[-5].minor.yy212 = yylhsminor.yy212; + case 414: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ +{ yylhsminor.yy248 = createJoinTableNode(pCxt, yymsp[-4].minor.yy52, yymsp[-5].minor.yy248, yymsp[-2].minor.yy248, yymsp[0].minor.yy248); } + yymsp[-5].minor.yy248 = yylhsminor.yy248; break; - case 414: /* join_type ::= */ -{ yymsp[1].minor.yy162 = JOIN_TYPE_INNER; } + case 415: /* join_type ::= */ +{ yymsp[1].minor.yy52 = JOIN_TYPE_INNER; } break; - case 415: /* join_type ::= INNER */ -{ yymsp[0].minor.yy162 = JOIN_TYPE_INNER; } + case 416: /* join_type ::= INNER */ +{ yymsp[0].minor.yy52 = JOIN_TYPE_INNER; } break; - case 416: /* query_specification ::= SELECT set_quantifier_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 */ + case 417: /* query_specification ::= SELECT set_quantifier_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[-11].minor.yy212 = createSelectStmt(pCxt, yymsp[-10].minor.yy737, yymsp[-9].minor.yy424, yymsp[-8].minor.yy212); - yymsp[-11].minor.yy212 = addWhereClause(pCxt, yymsp[-11].minor.yy212, yymsp[-7].minor.yy212); - yymsp[-11].minor.yy212 = addPartitionByClause(pCxt, yymsp[-11].minor.yy212, yymsp[-6].minor.yy424); - yymsp[-11].minor.yy212 = addWindowClauseClause(pCxt, yymsp[-11].minor.yy212, yymsp[-2].minor.yy212); - yymsp[-11].minor.yy212 = addGroupByClause(pCxt, yymsp[-11].minor.yy212, yymsp[-1].minor.yy424); - yymsp[-11].minor.yy212 = addHavingClause(pCxt, yymsp[-11].minor.yy212, yymsp[0].minor.yy212); - yymsp[-11].minor.yy212 = addRangeClause(pCxt, yymsp[-11].minor.yy212, yymsp[-5].minor.yy212); - yymsp[-11].minor.yy212 = addEveryClause(pCxt, yymsp[-11].minor.yy212, yymsp[-4].minor.yy212); - yymsp[-11].minor.yy212 = addFillClause(pCxt, yymsp[-11].minor.yy212, yymsp[-3].minor.yy212); + yymsp[-11].minor.yy248 = createSelectStmt(pCxt, yymsp[-10].minor.yy89, yymsp[-9].minor.yy552, yymsp[-8].minor.yy248); + yymsp[-11].minor.yy248 = addWhereClause(pCxt, yymsp[-11].minor.yy248, yymsp[-7].minor.yy248); + yymsp[-11].minor.yy248 = addPartitionByClause(pCxt, yymsp[-11].minor.yy248, yymsp[-6].minor.yy552); + yymsp[-11].minor.yy248 = addWindowClauseClause(pCxt, yymsp[-11].minor.yy248, yymsp[-2].minor.yy248); + yymsp[-11].minor.yy248 = addGroupByClause(pCxt, yymsp[-11].minor.yy248, yymsp[-1].minor.yy552); + yymsp[-11].minor.yy248 = addHavingClause(pCxt, yymsp[-11].minor.yy248, yymsp[0].minor.yy248); + yymsp[-11].minor.yy248 = addRangeClause(pCxt, yymsp[-11].minor.yy248, yymsp[-5].minor.yy248); + yymsp[-11].minor.yy248 = addEveryClause(pCxt, yymsp[-11].minor.yy248, yymsp[-4].minor.yy248); + yymsp[-11].minor.yy248 = addFillClause(pCxt, yymsp[-11].minor.yy248, yymsp[-3].minor.yy248); } break; - case 419: /* set_quantifier_opt ::= ALL */ -{ yymsp[0].minor.yy737 = false; } + case 420: /* set_quantifier_opt ::= ALL */ +{ yymsp[0].minor.yy89 = false; } break; - case 422: /* select_item ::= NK_STAR */ -{ yylhsminor.yy212 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 423: /* select_item ::= NK_STAR */ +{ yylhsminor.yy248 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 424: /* select_item ::= common_expression column_alias */ -{ yylhsminor.yy212 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy212), &yymsp[0].minor.yy329); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + case 425: /* select_item ::= common_expression column_alias */ +{ yylhsminor.yy248 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy248), &yymsp[0].minor.yy401); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 425: /* select_item ::= common_expression AS column_alias */ -{ yylhsminor.yy212 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), &yymsp[0].minor.yy329); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 426: /* select_item ::= common_expression AS column_alias */ +{ yylhsminor.yy248 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), &yymsp[0].minor.yy401); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 430: /* partition_by_clause_opt ::= PARTITION BY expression_list */ - case 447: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==447); - case 463: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==463); -{ yymsp[-2].minor.yy424 = yymsp[0].minor.yy424; } + case 431: /* partition_by_clause_opt ::= PARTITION BY expression_list */ + case 448: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==448); + case 464: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==464); +{ yymsp[-2].minor.yy552 = yymsp[0].minor.yy552; } break; - case 432: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ -{ yymsp[-5].minor.yy212 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), releaseRawExprNode(pCxt, yymsp[-1].minor.yy212)); } + case 433: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ +{ yymsp[-5].minor.yy248 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), releaseRawExprNode(pCxt, yymsp[-1].minor.yy248)); } break; - case 433: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP */ -{ yymsp[-3].minor.yy212 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy212)); } + case 434: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP */ +{ yymsp[-3].minor.yy248 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy248)); } break; - case 434: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-5].minor.yy212 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), NULL, yymsp[-1].minor.yy212, yymsp[0].minor.yy212); } + case 435: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-5].minor.yy248 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), NULL, yymsp[-1].minor.yy248, yymsp[0].minor.yy248); } break; - case 435: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-7].minor.yy212 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy212), releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), yymsp[-1].minor.yy212, yymsp[0].minor.yy212); } + case 436: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-7].minor.yy248 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy248), releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), yymsp[-1].minor.yy248, yymsp[0].minor.yy248); } break; - case 437: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - case 455: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==455); -{ yymsp[-3].minor.yy212 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy212); } + case 438: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + case 456: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==456); +{ yymsp[-3].minor.yy248 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy248); } break; - case 439: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ -{ yymsp[-3].minor.yy212 = createFillNode(pCxt, yymsp[-1].minor.yy294, NULL); } + case 440: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ +{ yymsp[-3].minor.yy248 = createFillNode(pCxt, yymsp[-1].minor.yy582, NULL); } break; - case 440: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ -{ yymsp[-5].minor.yy212 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy424)); } + case 441: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ +{ yymsp[-5].minor.yy248 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy552)); } break; - case 441: /* fill_mode ::= NONE */ -{ yymsp[0].minor.yy294 = FILL_MODE_NONE; } + case 442: /* fill_mode ::= NONE */ +{ yymsp[0].minor.yy582 = FILL_MODE_NONE; } break; - case 442: /* fill_mode ::= PREV */ -{ yymsp[0].minor.yy294 = FILL_MODE_PREV; } + case 443: /* fill_mode ::= PREV */ +{ yymsp[0].minor.yy582 = FILL_MODE_PREV; } break; - case 443: /* fill_mode ::= NULL */ -{ yymsp[0].minor.yy294 = FILL_MODE_NULL; } + case 444: /* fill_mode ::= NULL */ +{ yymsp[0].minor.yy582 = FILL_MODE_NULL; } break; - case 444: /* fill_mode ::= LINEAR */ -{ yymsp[0].minor.yy294 = FILL_MODE_LINEAR; } + case 445: /* fill_mode ::= LINEAR */ +{ yymsp[0].minor.yy582 = FILL_MODE_LINEAR; } break; - case 445: /* fill_mode ::= NEXT */ -{ yymsp[0].minor.yy294 = FILL_MODE_NEXT; } + case 446: /* fill_mode ::= NEXT */ +{ yymsp[0].minor.yy582 = FILL_MODE_NEXT; } break; - case 448: /* group_by_list ::= expression */ -{ yylhsminor.yy424 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); } - yymsp[0].minor.yy424 = yylhsminor.yy424; + case 449: /* group_by_list ::= expression */ +{ yylhsminor.yy552 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } + yymsp[0].minor.yy552 = yylhsminor.yy552; break; - case 449: /* group_by_list ::= group_by_list NK_COMMA expression */ -{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); } - yymsp[-2].minor.yy424 = yylhsminor.yy424; + case 450: /* group_by_list ::= group_by_list NK_COMMA expression */ +{ yylhsminor.yy552 = addNodeToList(pCxt, yymsp[-2].minor.yy552, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } + yymsp[-2].minor.yy552 = yylhsminor.yy552; break; - case 453: /* range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP */ -{ yymsp[-5].minor.yy212 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), releaseRawExprNode(pCxt, yymsp[-1].minor.yy212)); } + case 454: /* range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP */ +{ yymsp[-5].minor.yy248 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), releaseRawExprNode(pCxt, yymsp[-1].minor.yy248)); } break; - case 456: /* query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt */ + case 457: /* query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt */ { - yylhsminor.yy212 = addOrderByClause(pCxt, yymsp[-3].minor.yy212, yymsp[-2].minor.yy424); - yylhsminor.yy212 = addSlimitClause(pCxt, yylhsminor.yy212, yymsp[-1].minor.yy212); - yylhsminor.yy212 = addLimitClause(pCxt, yylhsminor.yy212, yymsp[0].minor.yy212); + yylhsminor.yy248 = addOrderByClause(pCxt, yymsp[-3].minor.yy248, yymsp[-2].minor.yy552); + yylhsminor.yy248 = addSlimitClause(pCxt, yylhsminor.yy248, yymsp[-1].minor.yy248); + yylhsminor.yy248 = addLimitClause(pCxt, yylhsminor.yy248, yymsp[0].minor.yy248); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; - case 458: /* query_expression_body ::= query_expression_body UNION ALL query_expression_body */ -{ yylhsminor.yy212 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy212, yymsp[0].minor.yy212); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; + case 459: /* query_expression_body ::= query_expression_body UNION ALL query_expression_body */ +{ yylhsminor.yy248 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy248, yymsp[0].minor.yy248); } + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; - case 459: /* query_expression_body ::= query_expression_body UNION query_expression_body */ -{ yylhsminor.yy212 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy212, yymsp[0].minor.yy212); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 460: /* query_expression_body ::= query_expression_body UNION query_expression_body */ +{ yylhsminor.yy248 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy248, yymsp[0].minor.yy248); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 461: /* query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP */ -{ yymsp[-5].minor.yy212 = yymsp[-4].minor.yy212; } - yy_destructor(yypParser,367,&yymsp[-3].minor); - yy_destructor(yypParser,368,&yymsp[-2].minor); - yy_destructor(yypParser,369,&yymsp[-1].minor); + case 462: /* query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP */ +{ yymsp[-5].minor.yy248 = yymsp[-4].minor.yy248; } + yy_destructor(yypParser,368,&yymsp[-3].minor); + yy_destructor(yypParser,369,&yymsp[-2].minor); + yy_destructor(yypParser,370,&yymsp[-1].minor); break; - case 465: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 469: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==469); -{ yymsp[-1].minor.yy212 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } + case 466: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ + case 470: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==470); +{ yymsp[-1].minor.yy248 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } break; - case 466: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 470: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==470); -{ yymsp[-3].minor.yy212 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } + case 467: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + case 471: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==471); +{ yymsp[-3].minor.yy248 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } break; - case 467: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 471: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==471); -{ yymsp[-3].minor.yy212 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } + case 468: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + case 472: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==472); +{ yymsp[-3].minor.yy248 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } break; - case 472: /* subquery ::= NK_LP query_expression NK_RP */ -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy212); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 473: /* subquery ::= NK_LP query_expression NK_RP */ +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy248); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 476: /* sort_specification ::= expression ordering_specification_opt null_ordering_opt */ -{ yylhsminor.yy212 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), yymsp[-1].minor.yy188, yymsp[0].minor.yy607); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 477: /* sort_specification ::= expression ordering_specification_opt null_ordering_opt */ +{ yylhsminor.yy248 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), yymsp[-1].minor.yy482, yymsp[0].minor.yy345); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 477: /* ordering_specification_opt ::= */ -{ yymsp[1].minor.yy188 = ORDER_ASC; } + case 478: /* ordering_specification_opt ::= */ +{ yymsp[1].minor.yy482 = ORDER_ASC; } break; - case 478: /* ordering_specification_opt ::= ASC */ -{ yymsp[0].minor.yy188 = ORDER_ASC; } + case 479: /* ordering_specification_opt ::= ASC */ +{ yymsp[0].minor.yy482 = ORDER_ASC; } break; - case 479: /* ordering_specification_opt ::= DESC */ -{ yymsp[0].minor.yy188 = ORDER_DESC; } + case 480: /* ordering_specification_opt ::= DESC */ +{ yymsp[0].minor.yy482 = ORDER_DESC; } break; - case 480: /* null_ordering_opt ::= */ -{ yymsp[1].minor.yy607 = NULL_ORDER_DEFAULT; } + case 481: /* null_ordering_opt ::= */ +{ yymsp[1].minor.yy345 = NULL_ORDER_DEFAULT; } break; - case 481: /* null_ordering_opt ::= NULLS FIRST */ -{ yymsp[-1].minor.yy607 = NULL_ORDER_FIRST; } + case 482: /* null_ordering_opt ::= NULLS FIRST */ +{ yymsp[-1].minor.yy345 = NULL_ORDER_FIRST; } break; - case 482: /* null_ordering_opt ::= NULLS LAST */ -{ yymsp[-1].minor.yy607 = NULL_ORDER_LAST; } ->>>>>>> a9161a5c7ba61dcd602cd2a629ff0ca86efe0812 + case 483: /* null_ordering_opt ::= NULLS LAST */ +{ yymsp[-1].minor.yy345 = NULL_ORDER_LAST; } break; default: break;