dt-sql-parser 4.4.2 → 4.5.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/README.md +140 -3
  2. package/dist/lib/SQLParserBase.d.ts +13 -1
  3. package/dist/lib/SQLParserBase.js +40 -5
  4. package/dist/lib/flink/FlinkSqlLexer.d.ts +397 -399
  5. package/dist/lib/flink/FlinkSqlLexer.js +2489 -2504
  6. package/dist/lib/flink/FlinkSqlParser.d.ts +726 -728
  7. package/dist/lib/flink/FlinkSqlParser.js +4727 -5330
  8. package/dist/lib/flink/FlinkSqlParserListener.d.ts +132 -90
  9. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +84 -57
  10. package/dist/lib/hive/HiveSqlParser.d.ts +338 -239
  11. package/dist/lib/hive/HiveSqlParser.js +6466 -5794
  12. package/dist/lib/hive/HiveSqlParserListener.d.ts +88 -0
  13. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +56 -0
  14. package/dist/lib/impala/ImpalaSqlParser.d.ts +236 -125
  15. package/dist/lib/impala/ImpalaSqlParser.js +4257 -3483
  16. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +109 -14
  17. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +69 -8
  18. package/dist/lib/mysql/MySqlParser.d.ts +403 -306
  19. package/dist/lib/mysql/MySqlParser.js +10694 -10030
  20. package/dist/lib/mysql/MySqlParserListener.d.ts +121 -18
  21. package/dist/lib/mysql/MySqlParserVisitor.d.ts +75 -10
  22. package/dist/lib/postgresql/PostgreSqlParser.d.ts +256 -173
  23. package/dist/lib/postgresql/PostgreSqlParser.js +14934 -11710
  24. package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +97 -5
  25. package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +61 -3
  26. package/dist/lib/spark/SparkSqlParser.d.ts +314 -149
  27. package/dist/lib/spark/SparkSqlParser.js +6185 -5227
  28. package/dist/lib/spark/SparkSqlParserListener.d.ts +180 -5
  29. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +113 -3
  30. package/dist/lib/trino/TrinoSqlListener.d.ts +90 -37
  31. package/dist/lib/trino/TrinoSqlParser.d.ts +219 -165
  32. package/dist/lib/trino/TrinoSqlParser.js +4942 -4615
  33. package/dist/lib/trino/TrinoSqlVisitor.d.ts +55 -21
  34. package/dist/parser/common/basicSQL.d.ts +5 -5
  35. package/dist/parser/common/basicSQL.js +4 -2
  36. package/dist/parser/common/entityCollector.d.ts +91 -4
  37. package/dist/parser/common/entityCollector.js +227 -11
  38. package/dist/parser/common/textAndWord.d.ts +9 -1
  39. package/dist/parser/common/textAndWord.js +2 -0
  40. package/dist/parser/common/types.d.ts +2 -0
  41. package/dist/parser/common/types.js +2 -0
  42. package/dist/parser/flink/flinkEntityCollector.d.ts +10 -2
  43. package/dist/parser/flink/flinkEntityCollector.js +76 -14
  44. package/dist/parser/flink/index.js +5 -2
  45. package/dist/parser/hive/hiveEntityCollector.d.ts +13 -1
  46. package/dist/parser/hive/hiveEntityCollector.js +85 -12
  47. package/dist/parser/impala/impalaEntityCollector.d.ts +7 -1
  48. package/dist/parser/impala/impalaEntityCollector.js +63 -12
  49. package/dist/parser/impala/index.js +2 -1
  50. package/dist/parser/mysql/index.js +3 -1
  51. package/dist/parser/mysql/mysqlEntityCollector.d.ts +10 -1
  52. package/dist/parser/mysql/mysqlEntityCollector.js +65 -12
  53. package/dist/parser/mysql/mysqlErrorListener.js +2 -0
  54. package/dist/parser/postgresql/postgreEntityCollector.d.ts +12 -1
  55. package/dist/parser/postgresql/postgreEntityCollector.js +99 -22
  56. package/dist/parser/spark/index.js +3 -1
  57. package/dist/parser/spark/sparkEntityCollector.d.ts +13 -1
  58. package/dist/parser/spark/sparkEntityCollector.js +88 -12
  59. package/dist/parser/trino/trinoEntityCollector.d.ts +7 -1
  60. package/dist/parser/trino/trinoEntityCollector.js +53 -12
  61. package/package.json +1 -1
@@ -1033,291 +1033,299 @@ export declare class MySqlParser extends SQLParserBase {
1033
1033
  static readonly RULE_tableSources = 131;
1034
1034
  static readonly RULE_tableSource = 132;
1035
1035
  static readonly RULE_tableSourceItem = 133;
1036
- static readonly RULE_fullColumnNames = 134;
1037
- static readonly RULE_indexHint = 135;
1038
- static readonly RULE_indexHintType = 136;
1039
- static readonly RULE_joinPart = 137;
1040
- static readonly RULE_joinSpec = 138;
1041
- static readonly RULE_queryExpression = 139;
1042
- static readonly RULE_querySpecification = 140;
1043
- static readonly RULE_unionStatement = 141;
1044
- static readonly RULE_lateralStatement = 142;
1045
- static readonly RULE_jsonTable = 143;
1046
- static readonly RULE_jsonColumnList = 144;
1047
- static readonly RULE_jsonColumn = 145;
1048
- static readonly RULE_jsonOnEmpty = 146;
1049
- static readonly RULE_jsonOnError = 147;
1050
- static readonly RULE_selectSpec = 148;
1051
- static readonly RULE_selectElements = 149;
1052
- static readonly RULE_selectElement = 150;
1053
- static readonly RULE_intoClause = 151;
1054
- static readonly RULE_selectFieldsInto = 152;
1055
- static readonly RULE_selectLinesInto = 153;
1056
- static readonly RULE_fromClause = 154;
1057
- static readonly RULE_groupByClause = 155;
1058
- static readonly RULE_havingClause = 156;
1059
- static readonly RULE_windowClause = 157;
1060
- static readonly RULE_groupByItem = 158;
1061
- static readonly RULE_limitClause = 159;
1062
- static readonly RULE_limitClauseAtom = 160;
1063
- static readonly RULE_startTransaction = 161;
1064
- static readonly RULE_beginWork = 162;
1065
- static readonly RULE_commitWork = 163;
1066
- static readonly RULE_rollbackWork = 164;
1067
- static readonly RULE_savePointStatement = 165;
1068
- static readonly RULE_rollbackStatement = 166;
1069
- static readonly RULE_releaseStatement = 167;
1070
- static readonly RULE_lockTables = 168;
1071
- static readonly RULE_unlockTables = 169;
1072
- static readonly RULE_setAutocommitStatement = 170;
1073
- static readonly RULE_setTransactionStatement = 171;
1074
- static readonly RULE_transactionMode = 172;
1075
- static readonly RULE_lockTableElement = 173;
1076
- static readonly RULE_lockAction = 174;
1077
- static readonly RULE_transactionOption = 175;
1078
- static readonly RULE_transactionLevel = 176;
1079
- static readonly RULE_changeMaster = 177;
1080
- static readonly RULE_changeReplicationFilter = 178;
1081
- static readonly RULE_changeReplicationSource = 179;
1082
- static readonly RULE_purgeBinaryLogs = 180;
1083
- static readonly RULE_startSlaveOrReplica = 181;
1084
- static readonly RULE_stopSlaveOrReplica = 182;
1085
- static readonly RULE_startGroupReplication = 183;
1086
- static readonly RULE_stopGroupReplication = 184;
1087
- static readonly RULE_masterOption = 185;
1088
- static readonly RULE_stringMasterOption = 186;
1089
- static readonly RULE_decimalMasterOption = 187;
1090
- static readonly RULE_boolMasterOption = 188;
1091
- static readonly RULE_v8NewMasterOption = 189;
1092
- static readonly RULE_replicationSourceOption = 190;
1093
- static readonly RULE_stringSourceOption = 191;
1094
- static readonly RULE_decimalSourceOption = 192;
1095
- static readonly RULE_boolSourceOption = 193;
1096
- static readonly RULE_otherSourceOption = 194;
1097
- static readonly RULE_channelOption = 195;
1098
- static readonly RULE_replicationFilter = 196;
1099
- static readonly RULE_tablePair = 197;
1100
- static readonly RULE_threadType = 198;
1101
- static readonly RULE_untilOption = 199;
1102
- static readonly RULE_connectionOptions = 200;
1103
- static readonly RULE_gtuidSet = 201;
1104
- static readonly RULE_xaStartTransaction = 202;
1105
- static readonly RULE_xaEndTransaction = 203;
1106
- static readonly RULE_xaPrepareStatement = 204;
1107
- static readonly RULE_xaCommitWork = 205;
1108
- static readonly RULE_xaRollbackWork = 206;
1109
- static readonly RULE_xaRecoverWork = 207;
1110
- static readonly RULE_prepareStatement = 208;
1111
- static readonly RULE_executeStatement = 209;
1112
- static readonly RULE_deallocatePrepare = 210;
1113
- static readonly RULE_routineBody = 211;
1114
- static readonly RULE_blockStatement = 212;
1115
- static readonly RULE_caseStatement = 213;
1116
- static readonly RULE_ifStatement = 214;
1117
- static readonly RULE_iterateStatement = 215;
1118
- static readonly RULE_leaveStatement = 216;
1119
- static readonly RULE_loopStatement = 217;
1120
- static readonly RULE_repeatStatement = 218;
1121
- static readonly RULE_returnStatement = 219;
1122
- static readonly RULE_whileStatement = 220;
1123
- static readonly RULE_cursorStatement = 221;
1124
- static readonly RULE_declareVariable = 222;
1125
- static readonly RULE_declareCondition = 223;
1126
- static readonly RULE_declareCursor = 224;
1127
- static readonly RULE_declareHandler = 225;
1128
- static readonly RULE_handlerConditionValue = 226;
1129
- static readonly RULE_procedureSqlStatement = 227;
1130
- static readonly RULE_caseAlternative = 228;
1131
- static readonly RULE_elseIfAlternative = 229;
1132
- static readonly RULE_alterUser = 230;
1133
- static readonly RULE_createUser = 231;
1134
- static readonly RULE_dropUser = 232;
1135
- static readonly RULE_grantStatement = 233;
1136
- static readonly RULE_roleOption = 234;
1137
- static readonly RULE_grantProxy = 235;
1138
- static readonly RULE_alterResourceGroup = 236;
1139
- static readonly RULE_createResourceGroup = 237;
1140
- static readonly RULE_dropResourceGroup = 238;
1141
- static readonly RULE_setResourceGroup = 239;
1142
- static readonly RULE_resourceGroupVCpuSpec = 240;
1143
- static readonly RULE_renameUser = 241;
1144
- static readonly RULE_revokeStatement = 242;
1145
- static readonly RULE_ignoreUnknownUser = 243;
1146
- static readonly RULE_privilegeObjectType = 244;
1147
- static readonly RULE_setPasswordStatement = 245;
1148
- static readonly RULE_userSpecification = 246;
1149
- static readonly RULE_alterUserAuthOption = 247;
1150
- static readonly RULE_createUserAuthOption = 248;
1151
- static readonly RULE_createUserInitialAuthOption = 249;
1152
- static readonly RULE_userAuthOption = 250;
1153
- static readonly RULE_authOptionClause = 251;
1154
- static readonly RULE_authenticationRule = 252;
1155
- static readonly RULE_tlsOption = 253;
1156
- static readonly RULE_userResourceOption = 254;
1157
- static readonly RULE_userPasswordOption = 255;
1158
- static readonly RULE_userLockOption = 256;
1159
- static readonly RULE_factorAuthOption = 257;
1160
- static readonly RULE_registrationOption = 258;
1161
- static readonly RULE_factor = 259;
1162
- static readonly RULE_privilegeClause = 260;
1163
- static readonly RULE_privilege = 261;
1164
- static readonly RULE_privilegeLevel = 262;
1165
- static readonly RULE_renameUserClause = 263;
1166
- static readonly RULE_analyzeTable = 264;
1167
- static readonly RULE_checkTable = 265;
1168
- static readonly RULE_checksumTable = 266;
1169
- static readonly RULE_optimizeTable = 267;
1170
- static readonly RULE_repairTable = 268;
1171
- static readonly RULE_tableActionOption = 269;
1172
- static readonly RULE_checkTableOption = 270;
1173
- static readonly RULE_installComponent = 271;
1174
- static readonly RULE_variableExpr = 272;
1175
- static readonly RULE_uninstallComponent = 273;
1176
- static readonly RULE_installPlugin = 274;
1177
- static readonly RULE_uninstallPlugin = 275;
1178
- static readonly RULE_cloneStatement = 276;
1179
- static readonly RULE_setStatement = 277;
1180
- static readonly RULE_showStatement = 278;
1181
- static readonly RULE_variableClause = 279;
1182
- static readonly RULE_showCommonEntity = 280;
1183
- static readonly RULE_showFilter = 281;
1184
- static readonly RULE_showGlobalInfoClause = 282;
1185
- static readonly RULE_showSchemaEntity = 283;
1186
- static readonly RULE_showProfileType = 284;
1187
- static readonly RULE_binLogStatement = 285;
1188
- static readonly RULE_cacheIndexStatement = 286;
1189
- static readonly RULE_flushStatement = 287;
1190
- static readonly RULE_killStatement = 288;
1191
- static readonly RULE_loadIndexIntoCache = 289;
1192
- static readonly RULE_resetStatement = 290;
1193
- static readonly RULE_resetOption = 291;
1194
- static readonly RULE_resetPersist = 292;
1195
- static readonly RULE_resetAllChannel = 293;
1196
- static readonly RULE_reStartStatement = 294;
1197
- static readonly RULE_shutdownStatement = 295;
1198
- static readonly RULE_tableIndex = 296;
1199
- static readonly RULE_flushOption = 297;
1200
- static readonly RULE_flushTableOption = 298;
1201
- static readonly RULE_loadedTableIndexes = 299;
1202
- static readonly RULE_simpleDescribeStatement = 300;
1203
- static readonly RULE_fullDescribeStatement = 301;
1204
- static readonly RULE_analyzeDescribeStatement = 302;
1205
- static readonly RULE_helpStatement = 303;
1206
- static readonly RULE_useStatement = 304;
1207
- static readonly RULE_signalStatement = 305;
1208
- static readonly RULE_resignalStatement = 306;
1209
- static readonly RULE_signalConditionInformation = 307;
1210
- static readonly RULE_withStatement = 308;
1211
- static readonly RULE_tableStatement = 309;
1212
- static readonly RULE_diagnosticsStatement = 310;
1213
- static readonly RULE_diagnosticsConditionInformationName = 311;
1214
- static readonly RULE_describeObjectClause = 312;
1215
- static readonly RULE_databaseNameCreate = 313;
1216
- static readonly RULE_databaseName = 314;
1217
- static readonly RULE_functionNameCreate = 315;
1218
- static readonly RULE_functionName = 316;
1219
- static readonly RULE_viewNameCreate = 317;
1220
- static readonly RULE_viewName = 318;
1221
- static readonly RULE_indexNameCreate = 319;
1222
- static readonly RULE_indexNames = 320;
1223
- static readonly RULE_indexName = 321;
1224
- static readonly RULE_groupNameCreate = 322;
1225
- static readonly RULE_groupName = 323;
1226
- static readonly RULE_tableNameCreate = 324;
1227
- static readonly RULE_tableNames = 325;
1228
- static readonly RULE_tableName = 326;
1229
- static readonly RULE_userOrRoleNames = 327;
1230
- static readonly RULE_userOrRoleName = 328;
1231
- static readonly RULE_columnNameCreate = 329;
1232
- static readonly RULE_columnNames = 330;
1233
- static readonly RULE_columnName = 331;
1234
- static readonly RULE_tableSpaceNameCreate = 332;
1235
- static readonly RULE_tableSpaceName = 333;
1236
- static readonly RULE_partitionNameCreate = 334;
1237
- static readonly RULE_partitionNames = 335;
1238
- static readonly RULE_partitionName = 336;
1239
- static readonly RULE_indexColumnName = 337;
1240
- static readonly RULE_userHostPort = 338;
1241
- static readonly RULE_userAtHost = 339;
1242
- static readonly RULE_simpleUserName = 340;
1243
- static readonly RULE_hostName = 341;
1244
- static readonly RULE_userName = 342;
1245
- static readonly RULE_mysqlVariable = 343;
1246
- static readonly RULE_charsetName = 344;
1247
- static readonly RULE_collationName = 345;
1248
- static readonly RULE_engineName = 346;
1249
- static readonly RULE_engineNameBase = 347;
1250
- static readonly RULE_uuidSet = 348;
1251
- static readonly RULE_xid = 349;
1252
- static readonly RULE_xuidStringId = 350;
1253
- static readonly RULE_fullId = 351;
1254
- static readonly RULE_uidList = 352;
1255
- static readonly RULE_uid = 353;
1256
- static readonly RULE_simpleId = 354;
1257
- static readonly RULE_dottedId = 355;
1258
- static readonly RULE_decimalLiteral = 356;
1259
- static readonly RULE_fileSizeLiteral = 357;
1260
- static readonly RULE_stringLiteral = 358;
1261
- static readonly RULE_booleanLiteral = 359;
1262
- static readonly RULE_hexadecimalLiteral = 360;
1263
- static readonly RULE_nullNotNull = 361;
1264
- static readonly RULE_constant = 362;
1265
- static readonly RULE_dataType = 363;
1266
- static readonly RULE_collectionOptions = 364;
1267
- static readonly RULE_convertedDataType = 365;
1268
- static readonly RULE_lengthOneDimension = 366;
1269
- static readonly RULE_lengthTwoDimension = 367;
1270
- static readonly RULE_lengthTwoOptionalDimension = 368;
1271
- static readonly RULE_indexColumnNames = 369;
1272
- static readonly RULE_expressions = 370;
1273
- static readonly RULE_valuesOrValueList = 371;
1274
- static readonly RULE_expressionsWithDefaults = 372;
1275
- static readonly RULE_expressionOrDefault = 373;
1276
- static readonly RULE_constants = 374;
1277
- static readonly RULE_simpleStrings = 375;
1278
- static readonly RULE_userVariables = 376;
1279
- static readonly RULE_defaultValue = 377;
1280
- static readonly RULE_currentTimestamp = 378;
1281
- static readonly RULE_ifExists = 379;
1282
- static readonly RULE_ifNotExists = 380;
1283
- static readonly RULE_orReplace = 381;
1284
- static readonly RULE_functionCall = 382;
1285
- static readonly RULE_specificFunction = 383;
1286
- static readonly RULE_caseFuncAlternative = 384;
1287
- static readonly RULE_levelsInWeightString = 385;
1288
- static readonly RULE_levelInWeightListElement = 386;
1289
- static readonly RULE_aggregateWindowedFunction = 387;
1290
- static readonly RULE_nonAggregateWindowedFunction = 388;
1291
- static readonly RULE_overClause = 389;
1292
- static readonly RULE_windowSpec = 390;
1293
- static readonly RULE_windowName = 391;
1294
- static readonly RULE_frameClause = 392;
1295
- static readonly RULE_frameUnits = 393;
1296
- static readonly RULE_frameExtent = 394;
1297
- static readonly RULE_frameBetween = 395;
1298
- static readonly RULE_frameRange = 396;
1299
- static readonly RULE_partitionClause = 397;
1300
- static readonly RULE_scalarFunctionName = 398;
1301
- static readonly RULE_passwordFunctionClause = 399;
1302
- static readonly RULE_functionArgs = 400;
1303
- static readonly RULE_functionArg = 401;
1304
- static readonly RULE_expression = 402;
1305
- static readonly RULE_predicate = 403;
1306
- static readonly RULE_expressionAtom = 404;
1307
- static readonly RULE_unaryOperator = 405;
1308
- static readonly RULE_comparisonOperator = 406;
1309
- static readonly RULE_comparisonBase = 407;
1310
- static readonly RULE_logicalOperator = 408;
1311
- static readonly RULE_bitOperator = 409;
1312
- static readonly RULE_mathOperator = 410;
1313
- static readonly RULE_jsonOperator = 411;
1314
- static readonly RULE_charsetNameBase = 412;
1315
- static readonly RULE_transactionLevelBase = 413;
1316
- static readonly RULE_privilegesBase = 414;
1317
- static readonly RULE_intervalTypeBase = 415;
1318
- static readonly RULE_dataTypeBase = 416;
1319
- static readonly RULE_keywordsCanBeId = 417;
1320
- static readonly RULE_functionNameBase = 418;
1036
+ static readonly RULE_atomSubQueryTableSource = 134;
1037
+ static readonly RULE_fullColumnNames = 135;
1038
+ static readonly RULE_indexHint = 136;
1039
+ static readonly RULE_indexHintType = 137;
1040
+ static readonly RULE_joinPart = 138;
1041
+ static readonly RULE_joinSpec = 139;
1042
+ static readonly RULE_queryExpression = 140;
1043
+ static readonly RULE_querySpecification = 141;
1044
+ static readonly RULE_unionStatement = 142;
1045
+ static readonly RULE_lateralStatement = 143;
1046
+ static readonly RULE_jsonTable = 144;
1047
+ static readonly RULE_jsonColumnList = 145;
1048
+ static readonly RULE_jsonColumn = 146;
1049
+ static readonly RULE_jsonOnEmpty = 147;
1050
+ static readonly RULE_jsonOnError = 148;
1051
+ static readonly RULE_selectSpec = 149;
1052
+ static readonly RULE_selectElements = 150;
1053
+ static readonly RULE_selectElement = 151;
1054
+ static readonly RULE_tableAllColumns = 152;
1055
+ static readonly RULE_pureAllColumns = 153;
1056
+ static readonly RULE_selectLiteralColumnName = 154;
1057
+ static readonly RULE_selectExpressionColumnName = 155;
1058
+ static readonly RULE_intoClause = 156;
1059
+ static readonly RULE_selectFieldsInto = 157;
1060
+ static readonly RULE_selectLinesInto = 158;
1061
+ static readonly RULE_fromClause = 159;
1062
+ static readonly RULE_groupByClause = 160;
1063
+ static readonly RULE_havingClause = 161;
1064
+ static readonly RULE_windowClause = 162;
1065
+ static readonly RULE_groupByItem = 163;
1066
+ static readonly RULE_limitClause = 164;
1067
+ static readonly RULE_limitClauseAtom = 165;
1068
+ static readonly RULE_startTransaction = 166;
1069
+ static readonly RULE_beginWork = 167;
1070
+ static readonly RULE_commitWork = 168;
1071
+ static readonly RULE_rollbackWork = 169;
1072
+ static readonly RULE_savePointStatement = 170;
1073
+ static readonly RULE_rollbackStatement = 171;
1074
+ static readonly RULE_releaseStatement = 172;
1075
+ static readonly RULE_lockTables = 173;
1076
+ static readonly RULE_unlockTables = 174;
1077
+ static readonly RULE_setAutocommitStatement = 175;
1078
+ static readonly RULE_setTransactionStatement = 176;
1079
+ static readonly RULE_transactionMode = 177;
1080
+ static readonly RULE_lockTableElement = 178;
1081
+ static readonly RULE_lockAction = 179;
1082
+ static readonly RULE_transactionOption = 180;
1083
+ static readonly RULE_transactionLevel = 181;
1084
+ static readonly RULE_changeMaster = 182;
1085
+ static readonly RULE_changeReplicationFilter = 183;
1086
+ static readonly RULE_changeReplicationSource = 184;
1087
+ static readonly RULE_purgeBinaryLogs = 185;
1088
+ static readonly RULE_startSlaveOrReplica = 186;
1089
+ static readonly RULE_stopSlaveOrReplica = 187;
1090
+ static readonly RULE_startGroupReplication = 188;
1091
+ static readonly RULE_stopGroupReplication = 189;
1092
+ static readonly RULE_masterOption = 190;
1093
+ static readonly RULE_stringMasterOption = 191;
1094
+ static readonly RULE_decimalMasterOption = 192;
1095
+ static readonly RULE_boolMasterOption = 193;
1096
+ static readonly RULE_v8NewMasterOption = 194;
1097
+ static readonly RULE_replicationSourceOption = 195;
1098
+ static readonly RULE_stringSourceOption = 196;
1099
+ static readonly RULE_decimalSourceOption = 197;
1100
+ static readonly RULE_boolSourceOption = 198;
1101
+ static readonly RULE_otherSourceOption = 199;
1102
+ static readonly RULE_channelOption = 200;
1103
+ static readonly RULE_replicationFilter = 201;
1104
+ static readonly RULE_tablePair = 202;
1105
+ static readonly RULE_threadType = 203;
1106
+ static readonly RULE_untilOption = 204;
1107
+ static readonly RULE_connectionOptions = 205;
1108
+ static readonly RULE_gtuidSet = 206;
1109
+ static readonly RULE_xaStartTransaction = 207;
1110
+ static readonly RULE_xaEndTransaction = 208;
1111
+ static readonly RULE_xaPrepareStatement = 209;
1112
+ static readonly RULE_xaCommitWork = 210;
1113
+ static readonly RULE_xaRollbackWork = 211;
1114
+ static readonly RULE_xaRecoverWork = 212;
1115
+ static readonly RULE_prepareStatement = 213;
1116
+ static readonly RULE_executeStatement = 214;
1117
+ static readonly RULE_deallocatePrepare = 215;
1118
+ static readonly RULE_routineBody = 216;
1119
+ static readonly RULE_blockStatement = 217;
1120
+ static readonly RULE_caseStatement = 218;
1121
+ static readonly RULE_ifStatement = 219;
1122
+ static readonly RULE_iterateStatement = 220;
1123
+ static readonly RULE_leaveStatement = 221;
1124
+ static readonly RULE_loopStatement = 222;
1125
+ static readonly RULE_repeatStatement = 223;
1126
+ static readonly RULE_returnStatement = 224;
1127
+ static readonly RULE_whileStatement = 225;
1128
+ static readonly RULE_cursorStatement = 226;
1129
+ static readonly RULE_declareVariable = 227;
1130
+ static readonly RULE_declareCondition = 228;
1131
+ static readonly RULE_declareCursor = 229;
1132
+ static readonly RULE_declareHandler = 230;
1133
+ static readonly RULE_handlerConditionValue = 231;
1134
+ static readonly RULE_procedureSqlStatement = 232;
1135
+ static readonly RULE_caseAlternative = 233;
1136
+ static readonly RULE_elseIfAlternative = 234;
1137
+ static readonly RULE_alterUser = 235;
1138
+ static readonly RULE_createUser = 236;
1139
+ static readonly RULE_dropUser = 237;
1140
+ static readonly RULE_grantStatement = 238;
1141
+ static readonly RULE_roleOption = 239;
1142
+ static readonly RULE_grantProxy = 240;
1143
+ static readonly RULE_alterResourceGroup = 241;
1144
+ static readonly RULE_createResourceGroup = 242;
1145
+ static readonly RULE_dropResourceGroup = 243;
1146
+ static readonly RULE_setResourceGroup = 244;
1147
+ static readonly RULE_resourceGroupVCpuSpec = 245;
1148
+ static readonly RULE_renameUser = 246;
1149
+ static readonly RULE_revokeStatement = 247;
1150
+ static readonly RULE_ignoreUnknownUser = 248;
1151
+ static readonly RULE_privilegeObjectType = 249;
1152
+ static readonly RULE_setPasswordStatement = 250;
1153
+ static readonly RULE_userSpecification = 251;
1154
+ static readonly RULE_alterUserAuthOption = 252;
1155
+ static readonly RULE_createUserAuthOption = 253;
1156
+ static readonly RULE_createUserInitialAuthOption = 254;
1157
+ static readonly RULE_userAuthOption = 255;
1158
+ static readonly RULE_authOptionClause = 256;
1159
+ static readonly RULE_authenticationRule = 257;
1160
+ static readonly RULE_tlsOption = 258;
1161
+ static readonly RULE_userResourceOption = 259;
1162
+ static readonly RULE_userPasswordOption = 260;
1163
+ static readonly RULE_userLockOption = 261;
1164
+ static readonly RULE_factorAuthOption = 262;
1165
+ static readonly RULE_registrationOption = 263;
1166
+ static readonly RULE_factor = 264;
1167
+ static readonly RULE_privilegeClause = 265;
1168
+ static readonly RULE_privilege = 266;
1169
+ static readonly RULE_privilegeLevel = 267;
1170
+ static readonly RULE_renameUserClause = 268;
1171
+ static readonly RULE_analyzeTable = 269;
1172
+ static readonly RULE_checkTable = 270;
1173
+ static readonly RULE_checksumTable = 271;
1174
+ static readonly RULE_optimizeTable = 272;
1175
+ static readonly RULE_repairTable = 273;
1176
+ static readonly RULE_tableActionOption = 274;
1177
+ static readonly RULE_checkTableOption = 275;
1178
+ static readonly RULE_installComponent = 276;
1179
+ static readonly RULE_variableExpr = 277;
1180
+ static readonly RULE_uninstallComponent = 278;
1181
+ static readonly RULE_installPlugin = 279;
1182
+ static readonly RULE_uninstallPlugin = 280;
1183
+ static readonly RULE_cloneStatement = 281;
1184
+ static readonly RULE_setStatement = 282;
1185
+ static readonly RULE_showStatement = 283;
1186
+ static readonly RULE_variableClause = 284;
1187
+ static readonly RULE_showCommonEntity = 285;
1188
+ static readonly RULE_showFilter = 286;
1189
+ static readonly RULE_showGlobalInfoClause = 287;
1190
+ static readonly RULE_showSchemaEntity = 288;
1191
+ static readonly RULE_showProfileType = 289;
1192
+ static readonly RULE_binLogStatement = 290;
1193
+ static readonly RULE_cacheIndexStatement = 291;
1194
+ static readonly RULE_flushStatement = 292;
1195
+ static readonly RULE_killStatement = 293;
1196
+ static readonly RULE_loadIndexIntoCache = 294;
1197
+ static readonly RULE_resetStatement = 295;
1198
+ static readonly RULE_resetOption = 296;
1199
+ static readonly RULE_resetPersist = 297;
1200
+ static readonly RULE_resetAllChannel = 298;
1201
+ static readonly RULE_reStartStatement = 299;
1202
+ static readonly RULE_shutdownStatement = 300;
1203
+ static readonly RULE_tableIndex = 301;
1204
+ static readonly RULE_flushOption = 302;
1205
+ static readonly RULE_flushTableOption = 303;
1206
+ static readonly RULE_loadedTableIndexes = 304;
1207
+ static readonly RULE_simpleDescribeStatement = 305;
1208
+ static readonly RULE_fullDescribeStatement = 306;
1209
+ static readonly RULE_analyzeDescribeStatement = 307;
1210
+ static readonly RULE_helpStatement = 308;
1211
+ static readonly RULE_useStatement = 309;
1212
+ static readonly RULE_signalStatement = 310;
1213
+ static readonly RULE_resignalStatement = 311;
1214
+ static readonly RULE_signalConditionInformation = 312;
1215
+ static readonly RULE_withStatement = 313;
1216
+ static readonly RULE_tableStatement = 314;
1217
+ static readonly RULE_diagnosticsStatement = 315;
1218
+ static readonly RULE_diagnosticsConditionInformationName = 316;
1219
+ static readonly RULE_describeObjectClause = 317;
1220
+ static readonly RULE_databaseNameCreate = 318;
1221
+ static readonly RULE_databaseName = 319;
1222
+ static readonly RULE_functionNameCreate = 320;
1223
+ static readonly RULE_functionName = 321;
1224
+ static readonly RULE_viewNameCreate = 322;
1225
+ static readonly RULE_viewName = 323;
1226
+ static readonly RULE_indexNameCreate = 324;
1227
+ static readonly RULE_indexNames = 325;
1228
+ static readonly RULE_indexName = 326;
1229
+ static readonly RULE_groupNameCreate = 327;
1230
+ static readonly RULE_groupName = 328;
1231
+ static readonly RULE_tableNameCreate = 329;
1232
+ static readonly RULE_tableNames = 330;
1233
+ static readonly RULE_tableName = 331;
1234
+ static readonly RULE_userOrRoleNames = 332;
1235
+ static readonly RULE_userOrRoleName = 333;
1236
+ static readonly RULE_columnNameCreate = 334;
1237
+ static readonly RULE_columnNames = 335;
1238
+ static readonly RULE_emptyColumn = 336;
1239
+ static readonly RULE_columnName = 337;
1240
+ static readonly RULE_columnNamePath = 338;
1241
+ static readonly RULE_columnNamePathAllowEmpty = 339;
1242
+ static readonly RULE_tableSpaceNameCreate = 340;
1243
+ static readonly RULE_tableSpaceName = 341;
1244
+ static readonly RULE_partitionNameCreate = 342;
1245
+ static readonly RULE_partitionNames = 343;
1246
+ static readonly RULE_partitionName = 344;
1247
+ static readonly RULE_indexColumnName = 345;
1248
+ static readonly RULE_userHostPort = 346;
1249
+ static readonly RULE_userAtHost = 347;
1250
+ static readonly RULE_simpleUserName = 348;
1251
+ static readonly RULE_hostName = 349;
1252
+ static readonly RULE_userName = 350;
1253
+ static readonly RULE_mysqlVariable = 351;
1254
+ static readonly RULE_charsetName = 352;
1255
+ static readonly RULE_collationName = 353;
1256
+ static readonly RULE_engineName = 354;
1257
+ static readonly RULE_engineNameBase = 355;
1258
+ static readonly RULE_uuidSet = 356;
1259
+ static readonly RULE_xid = 357;
1260
+ static readonly RULE_xuidStringId = 358;
1261
+ static readonly RULE_fullId = 359;
1262
+ static readonly RULE_uidList = 360;
1263
+ static readonly RULE_uid = 361;
1264
+ static readonly RULE_simpleId = 362;
1265
+ static readonly RULE_dottedId = 363;
1266
+ static readonly RULE_decimalLiteral = 364;
1267
+ static readonly RULE_fileSizeLiteral = 365;
1268
+ static readonly RULE_stringLiteral = 366;
1269
+ static readonly RULE_booleanLiteral = 367;
1270
+ static readonly RULE_hexadecimalLiteral = 368;
1271
+ static readonly RULE_nullNotNull = 369;
1272
+ static readonly RULE_constant = 370;
1273
+ static readonly RULE_dataType = 371;
1274
+ static readonly RULE_collectionOptions = 372;
1275
+ static readonly RULE_convertedDataType = 373;
1276
+ static readonly RULE_lengthOneDimension = 374;
1277
+ static readonly RULE_lengthTwoDimension = 375;
1278
+ static readonly RULE_lengthTwoOptionalDimension = 376;
1279
+ static readonly RULE_indexColumnNames = 377;
1280
+ static readonly RULE_expressions = 378;
1281
+ static readonly RULE_valuesOrValueList = 379;
1282
+ static readonly RULE_expressionsWithDefaults = 380;
1283
+ static readonly RULE_expressionOrDefault = 381;
1284
+ static readonly RULE_constants = 382;
1285
+ static readonly RULE_simpleStrings = 383;
1286
+ static readonly RULE_userVariables = 384;
1287
+ static readonly RULE_defaultValue = 385;
1288
+ static readonly RULE_currentTimestamp = 386;
1289
+ static readonly RULE_ifExists = 387;
1290
+ static readonly RULE_ifNotExists = 388;
1291
+ static readonly RULE_orReplace = 389;
1292
+ static readonly RULE_functionCall = 390;
1293
+ static readonly RULE_specificFunction = 391;
1294
+ static readonly RULE_caseFuncAlternative = 392;
1295
+ static readonly RULE_levelsInWeightString = 393;
1296
+ static readonly RULE_levelInWeightListElement = 394;
1297
+ static readonly RULE_aggregateWindowedFunction = 395;
1298
+ static readonly RULE_nonAggregateWindowedFunction = 396;
1299
+ static readonly RULE_overClause = 397;
1300
+ static readonly RULE_windowSpec = 398;
1301
+ static readonly RULE_windowName = 399;
1302
+ static readonly RULE_frameClause = 400;
1303
+ static readonly RULE_frameUnits = 401;
1304
+ static readonly RULE_frameExtent = 402;
1305
+ static readonly RULE_frameBetween = 403;
1306
+ static readonly RULE_frameRange = 404;
1307
+ static readonly RULE_partitionClause = 405;
1308
+ static readonly RULE_scalarFunctionName = 406;
1309
+ static readonly RULE_passwordFunctionClause = 407;
1310
+ static readonly RULE_functionArgs = 408;
1311
+ static readonly RULE_functionArg = 409;
1312
+ static readonly RULE_expression = 410;
1313
+ static readonly RULE_predicate = 411;
1314
+ static readonly RULE_expressionAtom = 412;
1315
+ static readonly RULE_unaryOperator = 413;
1316
+ static readonly RULE_comparisonOperator = 414;
1317
+ static readonly RULE_comparisonBase = 415;
1318
+ static readonly RULE_logicalOperator = 416;
1319
+ static readonly RULE_bitOperator = 417;
1320
+ static readonly RULE_mathOperator = 418;
1321
+ static readonly RULE_jsonOperator = 419;
1322
+ static readonly RULE_charsetNameBase = 420;
1323
+ static readonly RULE_transactionLevelBase = 421;
1324
+ static readonly RULE_privilegesBase = 422;
1325
+ static readonly RULE_intervalTypeBase = 423;
1326
+ static readonly RULE_dataTypeBase = 424;
1327
+ static readonly RULE_keywordsCanBeId = 425;
1328
+ static readonly RULE_functionNameBase = 426;
1321
1329
  static readonly literalNames: (string | null)[];
1322
1330
  static readonly symbolicNames: (string | null)[];
1323
1331
  static readonly ruleNames: string[];
@@ -1464,6 +1472,7 @@ export declare class MySqlParser extends SQLParserBase {
1464
1472
  tableSources(): TableSourcesContext;
1465
1473
  tableSource(): TableSourceContext;
1466
1474
  tableSourceItem(): TableSourceItemContext;
1475
+ atomSubQueryTableSource(): AtomSubQueryTableSourceContext;
1467
1476
  fullColumnNames(): FullColumnNamesContext;
1468
1477
  indexHint(): IndexHintContext;
1469
1478
  indexHintType(): IndexHintTypeContext;
@@ -1481,6 +1490,10 @@ export declare class MySqlParser extends SQLParserBase {
1481
1490
  selectSpec(): SelectSpecContext;
1482
1491
  selectElements(): SelectElementsContext;
1483
1492
  selectElement(): SelectElementContext;
1493
+ tableAllColumns(): TableAllColumnsContext;
1494
+ pureAllColumns(): PureAllColumnsContext;
1495
+ selectLiteralColumnName(): SelectLiteralColumnNameContext;
1496
+ selectExpressionColumnName(): SelectExpressionColumnNameContext;
1484
1497
  intoClause(): IntoClauseContext;
1485
1498
  selectFieldsInto(): SelectFieldsIntoContext;
1486
1499
  selectLinesInto(): SelectLinesIntoContext;
@@ -1661,7 +1674,10 @@ export declare class MySqlParser extends SQLParserBase {
1661
1674
  userOrRoleName(): UserOrRoleNameContext;
1662
1675
  columnNameCreate(): ColumnNameCreateContext;
1663
1676
  columnNames(): ColumnNamesContext;
1677
+ emptyColumn(): EmptyColumnContext;
1664
1678
  columnName(): ColumnNameContext;
1679
+ columnNamePath(): ColumnNamePathContext;
1680
+ columnNamePathAllowEmpty(): ColumnNamePathAllowEmptyContext;
1665
1681
  tableSpaceNameCreate(): TableSpaceNameCreateContext;
1666
1682
  tableSpaceName(): TableSpaceNameContext;
1667
1683
  partitionNameCreate(): PartitionNameCreateContext;
@@ -1755,7 +1771,9 @@ export declare class MySqlParser extends SQLParserBase {
1755
1771
  sempred(localContext: antlr.RuleContext | null, ruleIndex: number, predIndex: number): boolean;
1756
1772
  private queryExpressionBody_sempred;
1757
1773
  private queryItem_sempred;
1774
+ private selectElement_sempred;
1758
1775
  private columnName_sempred;
1776
+ private columnNamePathAllowEmpty_sempred;
1759
1777
  private expression_sempred;
1760
1778
  private predicate_sempred;
1761
1779
  private expressionAtom_sempred;
@@ -5419,13 +5437,10 @@ export declare class TableSourceItemContext extends antlr.ParserRuleContext {
5419
5437
  copyFrom(ctx: TableSourceItemContext): void;
5420
5438
  }
5421
5439
  export declare class SubqueryTableItemContext extends TableSourceItemContext {
5422
- _parenthesisSubquery?: SelectStatementContext;
5423
5440
  _alias?: UidContext;
5424
5441
  constructor(ctx: TableSourceItemContext);
5442
+ atomSubQueryTableSource(): AtomSubQueryTableSourceContext;
5425
5443
  uid(): UidContext;
5426
- selectStatement(): SelectStatementContext | null;
5427
- LR_BRACKET(): antlr.TerminalNode | null;
5428
- RR_BRACKET(): antlr.TerminalNode | null;
5429
5444
  KW_LATERAL(): antlr.TerminalNode | null;
5430
5445
  KW_AS(): antlr.TerminalNode | null;
5431
5446
  fullColumnNames(): FullColumnNamesContext | null;
@@ -5460,6 +5475,17 @@ export declare class TableSourcesItemContext extends TableSourceItemContext {
5460
5475
  exitRule(listener: MySqlParserListener): void;
5461
5476
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5462
5477
  }
5478
+ export declare class AtomSubQueryTableSourceContext extends antlr.ParserRuleContext {
5479
+ _parenthesisSubquery?: SelectStatementContext;
5480
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5481
+ selectStatement(): SelectStatementContext;
5482
+ LR_BRACKET(): antlr.TerminalNode | null;
5483
+ RR_BRACKET(): antlr.TerminalNode | null;
5484
+ get ruleIndex(): number;
5485
+ enterRule(listener: MySqlParserListener): void;
5486
+ exitRule(listener: MySqlParserListener): void;
5487
+ accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5488
+ }
5463
5489
  export declare class FullColumnNamesContext extends antlr.ParserRuleContext {
5464
5490
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5465
5491
  LR_BRACKET(): antlr.TerminalNode;
@@ -5559,6 +5585,7 @@ export declare class JoinSpecContext extends antlr.ParserRuleContext {
5559
5585
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5560
5586
  KW_ON(): antlr.TerminalNode | null;
5561
5587
  expression(): ExpressionContext | null;
5588
+ columnNamePathAllowEmpty(): ColumnNamePathAllowEmptyContext | null;
5562
5589
  KW_USING(): antlr.TerminalNode | null;
5563
5590
  LR_BRACKET(): antlr.TerminalNode | null;
5564
5591
  columnNames(): ColumnNamesContext | null;
@@ -5724,11 +5751,10 @@ export declare class SelectSpecContext extends antlr.ParserRuleContext {
5724
5751
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5725
5752
  }
5726
5753
  export declare class SelectElementsContext extends antlr.ParserRuleContext {
5727
- _star?: Token | null;
5728
5754
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5755
+ pureAllColumns(): PureAllColumnsContext | null;
5729
5756
  selectElement(): SelectElementContext[];
5730
5757
  selectElement(i: number): SelectElementContext | null;
5731
- STAR(): antlr.TerminalNode | null;
5732
5758
  COMMA(): antlr.TerminalNode[];
5733
5759
  COMMA(i: number): antlr.TerminalNode | null;
5734
5760
  get ruleIndex(): number;
@@ -5741,44 +5767,85 @@ export declare class SelectElementContext extends antlr.ParserRuleContext {
5741
5767
  get ruleIndex(): number;
5742
5768
  copyFrom(ctx: SelectElementContext): void;
5743
5769
  }
5744
- export declare class SelectExpressionElementContext extends SelectElementContext {
5770
+ export declare class SelectElement_exprContext extends SelectElementContext {
5745
5771
  _alias?: UidContext;
5746
5772
  constructor(ctx: SelectElementContext);
5747
- expression(): ExpressionContext;
5748
- LOCAL_ID(): antlr.TerminalNode | null;
5749
- VAR_ASSIGN(): antlr.TerminalNode | null;
5773
+ selectExpressionColumnName(): SelectExpressionColumnNameContext;
5750
5774
  uid(): UidContext | null;
5751
5775
  KW_AS(): antlr.TerminalNode | null;
5752
5776
  enterRule(listener: MySqlParserListener): void;
5753
5777
  exitRule(listener: MySqlParserListener): void;
5754
5778
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5755
5779
  }
5756
- export declare class SelectFunctionElementContext extends SelectElementContext {
5780
+ export declare class SelectElement_labelContext extends SelectElementContext {
5757
5781
  _alias?: UidContext;
5758
5782
  constructor(ctx: SelectElementContext);
5759
- functionCall(): FunctionCallContext;
5783
+ selectLiteralColumnName(): SelectLiteralColumnNameContext;
5760
5784
  uid(): UidContext | null;
5761
5785
  KW_AS(): antlr.TerminalNode | null;
5762
5786
  enterRule(listener: MySqlParserListener): void;
5763
5787
  exitRule(listener: MySqlParserListener): void;
5764
5788
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5765
5789
  }
5766
- export declare class SelectStarElementContext extends SelectElementContext {
5767
- _select_element?: FullIdContext;
5790
+ export declare class SelectElement_dot_emptyContext extends SelectElementContext {
5768
5791
  constructor(ctx: SelectElementContext);
5792
+ uid(): UidContext;
5769
5793
  DOT(): antlr.TerminalNode;
5770
- STAR(): antlr.TerminalNode;
5771
- fullId(): FullIdContext;
5794
+ emptyColumn(): EmptyColumnContext;
5772
5795
  enterRule(listener: MySqlParserListener): void;
5773
5796
  exitRule(listener: MySqlParserListener): void;
5774
5797
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5775
5798
  }
5776
- export declare class SelectColumnElementContext extends SelectElementContext {
5777
- _alias?: UidContext;
5799
+ export declare class SelectElement_starContext extends SelectElementContext {
5778
5800
  constructor(ctx: SelectElementContext);
5801
+ tableAllColumns(): TableAllColumnsContext;
5802
+ enterRule(listener: MySqlParserListener): void;
5803
+ exitRule(listener: MySqlParserListener): void;
5804
+ accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5805
+ }
5806
+ export declare class TableAllColumnsContext extends antlr.ParserRuleContext {
5807
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5808
+ fullId(): FullIdContext;
5809
+ DOT(): antlr.TerminalNode;
5810
+ STAR(): antlr.TerminalNode;
5811
+ get ruleIndex(): number;
5812
+ enterRule(listener: MySqlParserListener): void;
5813
+ exitRule(listener: MySqlParserListener): void;
5814
+ accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5815
+ }
5816
+ export declare class PureAllColumnsContext extends antlr.ParserRuleContext {
5817
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5818
+ STAR(): antlr.TerminalNode;
5819
+ get ruleIndex(): number;
5820
+ enterRule(listener: MySqlParserListener): void;
5821
+ exitRule(listener: MySqlParserListener): void;
5822
+ accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5823
+ }
5824
+ export declare class SelectLiteralColumnNameContext extends antlr.ParserRuleContext {
5825
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5779
5826
  columnName(): ColumnNameContext;
5780
- uid(): UidContext | null;
5781
- KW_AS(): antlr.TerminalNode | null;
5827
+ get ruleIndex(): number;
5828
+ enterRule(listener: MySqlParserListener): void;
5829
+ exitRule(listener: MySqlParserListener): void;
5830
+ accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5831
+ }
5832
+ export declare class SelectExpressionColumnNameContext extends antlr.ParserRuleContext {
5833
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5834
+ get ruleIndex(): number;
5835
+ copyFrom(ctx: SelectExpressionColumnNameContext): void;
5836
+ }
5837
+ export declare class SelectExpressionElementContext extends SelectExpressionColumnNameContext {
5838
+ constructor(ctx: SelectExpressionColumnNameContext);
5839
+ expression(): ExpressionContext;
5840
+ LOCAL_ID(): antlr.TerminalNode | null;
5841
+ VAR_ASSIGN(): antlr.TerminalNode | null;
5842
+ enterRule(listener: MySqlParserListener): void;
5843
+ exitRule(listener: MySqlParserListener): void;
5844
+ accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5845
+ }
5846
+ export declare class SelectFunctionElementContext extends SelectExpressionColumnNameContext {
5847
+ constructor(ctx: SelectExpressionColumnNameContext);
5848
+ functionCall(): FunctionCallContext;
5782
5849
  enterRule(listener: MySqlParserListener): void;
5783
5850
  exitRule(listener: MySqlParserListener): void;
5784
5851
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
@@ -5865,6 +5932,7 @@ export declare class FromClauseContext extends antlr.ParserRuleContext {
5865
5932
  KW_FROM(): antlr.TerminalNode | null;
5866
5933
  tableSources(): TableSourcesContext | null;
5867
5934
  KW_WHERE(): antlr.TerminalNode | null;
5935
+ columnNamePathAllowEmpty(): ColumnNamePathAllowEmptyContext | null;
5868
5936
  expression(): ExpressionContext | null;
5869
5937
  get ruleIndex(): number;
5870
5938
  enterRule(listener: MySqlParserListener): void;
@@ -9328,7 +9396,25 @@ export declare class ColumnNamesContext extends antlr.ParserRuleContext {
9328
9396
  exitRule(listener: MySqlParserListener): void;
9329
9397
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
9330
9398
  }
9399
+ export declare class EmptyColumnContext extends antlr.ParserRuleContext {
9400
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
9401
+ get ruleIndex(): number;
9402
+ enterRule(listener: MySqlParserListener): void;
9403
+ exitRule(listener: MySqlParserListener): void;
9404
+ accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
9405
+ }
9331
9406
  export declare class ColumnNameContext extends antlr.ParserRuleContext {
9407
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
9408
+ uid(): UidContext | null;
9409
+ dottedId(): DottedIdContext[];
9410
+ dottedId(i: number): DottedIdContext | null;
9411
+ emptyColumn(): EmptyColumnContext | null;
9412
+ get ruleIndex(): number;
9413
+ enterRule(listener: MySqlParserListener): void;
9414
+ exitRule(listener: MySqlParserListener): void;
9415
+ accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
9416
+ }
9417
+ export declare class ColumnNamePathContext extends antlr.ParserRuleContext {
9332
9418
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
9333
9419
  uid(): UidContext | null;
9334
9420
  dottedId(): DottedIdContext[];
@@ -9338,6 +9424,17 @@ export declare class ColumnNameContext extends antlr.ParserRuleContext {
9338
9424
  exitRule(listener: MySqlParserListener): void;
9339
9425
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
9340
9426
  }
9427
+ export declare class ColumnNamePathAllowEmptyContext extends antlr.ParserRuleContext {
9428
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
9429
+ emptyColumn(): EmptyColumnContext | null;
9430
+ uid(): UidContext | null;
9431
+ dottedId(): DottedIdContext[];
9432
+ dottedId(i: number): DottedIdContext | null;
9433
+ get ruleIndex(): number;
9434
+ enterRule(listener: MySqlParserListener): void;
9435
+ exitRule(listener: MySqlParserListener): void;
9436
+ accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
9437
+ }
9341
9438
  export declare class TableSpaceNameCreateContext extends antlr.ParserRuleContext {
9342
9439
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
9343
9440
  uid(): UidContext;
@@ -10809,7 +10906,7 @@ export declare class CollateExpressionAtomContext extends ExpressionAtomContext
10809
10906
  }
10810
10907
  export declare class ColumnNameExpressionAtomContext extends ExpressionAtomContext {
10811
10908
  constructor(ctx: ExpressionAtomContext);
10812
- columnName(): ColumnNameContext;
10909
+ columnNamePath(): ColumnNamePathContext;
10813
10910
  enterRule(listener: MySqlParserListener): void;
10814
10911
  exitRule(listener: MySqlParserListener): void;
10815
10912
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;