dt-sql-parser 4.1.1 → 4.1.2-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 (42) hide show
  1. package/dist/lib/flink/FlinkSqlLexer.d.ts +357 -356
  2. package/dist/lib/flink/FlinkSqlLexer.js +2378 -2376
  3. package/dist/lib/flink/FlinkSqlParser.d.ts +436 -424
  4. package/dist/lib/flink/FlinkSqlParser.js +2087 -2005
  5. package/dist/lib/flink/FlinkSqlParserListener.d.ts +70 -70
  6. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +42 -42
  7. package/dist/lib/hive/HiveSqlParser.d.ts +10 -10
  8. package/dist/lib/hive/HiveSqlParser.js +35 -35
  9. package/dist/lib/hive/HiveSqlParserListener.d.ts +10 -10
  10. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +6 -6
  11. package/dist/lib/impala/ImpalaSqlLexer.js +582 -583
  12. package/dist/lib/impala/ImpalaSqlParser.d.ts +4 -4
  13. package/dist/lib/impala/ImpalaSqlParser.js +16 -16
  14. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +5 -5
  15. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +3 -3
  16. package/dist/lib/mysql/MySqlLexer.js +3472 -3473
  17. package/dist/lib/mysql/MySqlParser.d.ts +136 -136
  18. package/dist/lib/mysql/MySqlParser.js +469 -469
  19. package/dist/lib/mysql/MySqlParserListener.d.ts +105 -105
  20. package/dist/lib/mysql/MySqlParserVisitor.d.ts +63 -63
  21. package/dist/lib/postgresql/PostgreSqlLexer.d.ts +45 -42
  22. package/dist/lib/postgresql/PostgreSqlLexer.js +2130 -2108
  23. package/dist/lib/postgresql/PostgreSqlParser.d.ts +2896 -3009
  24. package/dist/lib/postgresql/PostgreSqlParser.js +20288 -20673
  25. package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +2104 -2186
  26. package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +1257 -1304
  27. package/dist/lib/spark/SparkSqlLexer.js +943 -944
  28. package/dist/lib/spark/SparkSqlParser.d.ts +67 -67
  29. package/dist/lib/spark/SparkSqlParser.js +220 -220
  30. package/dist/lib/spark/SparkSqlParserListener.d.ts +60 -60
  31. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +36 -36
  32. package/dist/lib/trino/TrinoSqlLexer.js +314 -316
  33. package/dist/lib/trino/TrinoSqlListener.d.ts +23 -23
  34. package/dist/lib/trino/TrinoSqlParser.d.ts +30 -30
  35. package/dist/lib/trino/TrinoSqlParser.js +101 -101
  36. package/dist/lib/trino/TrinoSqlVisitor.d.ts +14 -14
  37. package/dist/parser/postgresql/index.js +28 -28
  38. package/dist/parser/postgresql/postgreEntityCollector.d.ts +5 -5
  39. package/dist/parser/postgresql/postgreEntityCollector.js +7 -7
  40. package/dist/parser/postgresql/postgreErrorListener.js +28 -28
  41. package/package.json +1 -1
  42. package/CHANGELOG.md +0 -377
@@ -3224,7 +3224,7 @@ export class SparkSqlParser extends SQLParserBase {
3224
3224
  }
3225
3225
  }
3226
3226
  this.state = 1328;
3227
- this.zorderClause();
3227
+ this.zOrderClause();
3228
3228
  }
3229
3229
  break;
3230
3230
  case 91:
@@ -8192,7 +8192,7 @@ export class SparkSqlParser extends SQLParserBase {
8192
8192
  case 1:
8193
8193
  {
8194
8194
  this.state = 2330;
8195
- this.unpivotClause();
8195
+ this.unPivotClause();
8196
8196
  }
8197
8197
  break;
8198
8198
  }
@@ -9260,9 +9260,9 @@ export class SparkSqlParser extends SQLParserBase {
9260
9260
  }
9261
9261
  return localContext;
9262
9262
  }
9263
- unpivotClause() {
9264
- let localContext = new UnpivotClauseContext(this.context, this.state);
9265
- this.enterRule(localContext, 168, SparkSqlParser.RULE_unpivotClause);
9263
+ unPivotClause() {
9264
+ let localContext = new UnPivotClauseContext(this.context, this.state);
9265
+ this.enterRule(localContext, 168, SparkSqlParser.RULE_unPivotClause);
9266
9266
  let _la;
9267
9267
  try {
9268
9268
  this.enterOuterAlt(localContext, 1);
@@ -9275,13 +9275,13 @@ export class SparkSqlParser extends SQLParserBase {
9275
9275
  if (_la === 104 || _la === 141) {
9276
9276
  {
9277
9277
  this.state = 2490;
9278
- localContext._nullOperator = this.unpivotNullClause();
9278
+ localContext._nullOperator = this.unPivotNullClause();
9279
9279
  }
9280
9280
  }
9281
9281
  this.state = 2493;
9282
9282
  this.match(SparkSqlParser.LEFT_PAREN);
9283
9283
  this.state = 2494;
9284
- localContext._operator = this.unpivotOperator();
9284
+ localContext._operator = this.unPivotOperator();
9285
9285
  this.state = 2495;
9286
9286
  this.match(SparkSqlParser.RIGHT_PAREN);
9287
9287
  this.state = 2500;
@@ -9321,9 +9321,9 @@ export class SparkSqlParser extends SQLParserBase {
9321
9321
  }
9322
9322
  return localContext;
9323
9323
  }
9324
- unpivotNullClause() {
9325
- let localContext = new UnpivotNullClauseContext(this.context, this.state);
9326
- this.enterRule(localContext, 170, SparkSqlParser.RULE_unpivotNullClause);
9324
+ unPivotNullClause() {
9325
+ let localContext = new UnPivotNullClauseContext(this.context, this.state);
9326
+ this.enterRule(localContext, 170, SparkSqlParser.RULE_unPivotNullClause);
9327
9327
  let _la;
9328
9328
  try {
9329
9329
  this.enterOuterAlt(localContext, 1);
@@ -9356,9 +9356,9 @@ export class SparkSqlParser extends SQLParserBase {
9356
9356
  }
9357
9357
  return localContext;
9358
9358
  }
9359
- unpivotOperator() {
9360
- let localContext = new UnpivotOperatorContext(this.context, this.state);
9361
- this.enterRule(localContext, 172, SparkSqlParser.RULE_unpivotOperator);
9359
+ unPivotOperator() {
9360
+ let localContext = new UnPivotOperatorContext(this.context, this.state);
9361
+ this.enterRule(localContext, 172, SparkSqlParser.RULE_unPivotOperator);
9362
9362
  try {
9363
9363
  this.enterOuterAlt(localContext, 1);
9364
9364
  {
@@ -9710,13 +9710,13 @@ export class SparkSqlParser extends SQLParserBase {
9710
9710
  case SparkSqlParser.BACKQUOTED_IDENTIFIER:
9711
9711
  {
9712
9712
  this.state = 2505;
9713
- this.unpivotSingleValueColumnClause();
9713
+ this.unPivotSingleValueColumnClause();
9714
9714
  }
9715
9715
  break;
9716
9716
  case SparkSqlParser.LEFT_PAREN:
9717
9717
  {
9718
9718
  this.state = 2506;
9719
- this.unpivotMultiValueColumnClause();
9719
+ this.unPivotMultiValueColumnClause();
9720
9720
  }
9721
9721
  break;
9722
9722
  default:
@@ -9739,26 +9739,26 @@ export class SparkSqlParser extends SQLParserBase {
9739
9739
  }
9740
9740
  return localContext;
9741
9741
  }
9742
- unpivotSingleValueColumnClause() {
9743
- let localContext = new UnpivotSingleValueColumnClauseContext(this.context, this.state);
9744
- this.enterRule(localContext, 174, SparkSqlParser.RULE_unpivotSingleValueColumnClause);
9742
+ unPivotSingleValueColumnClause() {
9743
+ let localContext = new UnPivotSingleValueColumnClauseContext(this.context, this.state);
9744
+ this.enterRule(localContext, 174, SparkSqlParser.RULE_unPivotSingleValueColumnClause);
9745
9745
  let _la;
9746
9746
  try {
9747
9747
  this.enterOuterAlt(localContext, 1);
9748
9748
  {
9749
9749
  this.state = 2509;
9750
- this.unpivotValueColumn();
9750
+ this.unPivotValueColumn();
9751
9751
  this.state = 2510;
9752
9752
  this.match(SparkSqlParser.KW_FOR);
9753
9753
  this.state = 2511;
9754
- this.unpivotNameColumn();
9754
+ this.unPivotNameColumn();
9755
9755
  this.state = 2512;
9756
9756
  this.match(SparkSqlParser.KW_IN);
9757
9757
  this.state = 2513;
9758
9758
  this.match(SparkSqlParser.LEFT_PAREN);
9759
9759
  this.state = 2514;
9760
- localContext._unpivotColumnAndAlias = this.unpivotColumnAndAlias();
9761
- localContext._unpivotColumns.push(localContext._unpivotColumnAndAlias);
9760
+ localContext._unPivotColumnAndAlias = this.unPivotColumnAndAlias();
9761
+ localContext._unPivotColumns.push(localContext._unPivotColumnAndAlias);
9762
9762
  this.state = 2519;
9763
9763
  this.errorHandler.sync(this);
9764
9764
  _la = this.tokenStream.LA(1);
@@ -9768,8 +9768,8 @@ export class SparkSqlParser extends SQLParserBase {
9768
9768
  this.state = 2515;
9769
9769
  this.match(SparkSqlParser.COMMA);
9770
9770
  this.state = 2516;
9771
- localContext._unpivotColumnAndAlias = this.unpivotColumnAndAlias();
9772
- localContext._unpivotColumns.push(localContext._unpivotColumnAndAlias);
9771
+ localContext._unPivotColumnAndAlias = this.unPivotColumnAndAlias();
9772
+ localContext._unPivotColumns.push(localContext._unPivotColumnAndAlias);
9773
9773
  }
9774
9774
  }
9775
9775
  this.state = 2521;
@@ -9795,9 +9795,9 @@ export class SparkSqlParser extends SQLParserBase {
9795
9795
  }
9796
9796
  return localContext;
9797
9797
  }
9798
- unpivotMultiValueColumnClause() {
9799
- let localContext = new UnpivotMultiValueColumnClauseContext(this.context, this.state);
9800
- this.enterRule(localContext, 176, SparkSqlParser.RULE_unpivotMultiValueColumnClause);
9798
+ unPivotMultiValueColumnClause() {
9799
+ let localContext = new UnPivotMultiValueColumnClauseContext(this.context, this.state);
9800
+ this.enterRule(localContext, 176, SparkSqlParser.RULE_unPivotMultiValueColumnClause);
9801
9801
  let _la;
9802
9802
  try {
9803
9803
  this.enterOuterAlt(localContext, 1);
@@ -9805,8 +9805,8 @@ export class SparkSqlParser extends SQLParserBase {
9805
9805
  this.state = 2524;
9806
9806
  this.match(SparkSqlParser.LEFT_PAREN);
9807
9807
  this.state = 2525;
9808
- localContext._unpivotValueColumn = this.unpivotValueColumn();
9809
- localContext._unpivotValueColumns.push(localContext._unpivotValueColumn);
9808
+ localContext._unPivotValueColumn = this.unPivotValueColumn();
9809
+ localContext._unPivotValueColumns.push(localContext._unPivotValueColumn);
9810
9810
  this.state = 2530;
9811
9811
  this.errorHandler.sync(this);
9812
9812
  _la = this.tokenStream.LA(1);
@@ -9816,8 +9816,8 @@ export class SparkSqlParser extends SQLParserBase {
9816
9816
  this.state = 2526;
9817
9817
  this.match(SparkSqlParser.COMMA);
9818
9818
  this.state = 2527;
9819
- localContext._unpivotValueColumn = this.unpivotValueColumn();
9820
- localContext._unpivotValueColumns.push(localContext._unpivotValueColumn);
9819
+ localContext._unPivotValueColumn = this.unPivotValueColumn();
9820
+ localContext._unPivotValueColumns.push(localContext._unPivotValueColumn);
9821
9821
  }
9822
9822
  }
9823
9823
  this.state = 2532;
@@ -9829,14 +9829,14 @@ export class SparkSqlParser extends SQLParserBase {
9829
9829
  this.state = 2534;
9830
9830
  this.match(SparkSqlParser.KW_FOR);
9831
9831
  this.state = 2535;
9832
- this.unpivotNameColumn();
9832
+ this.unPivotNameColumn();
9833
9833
  this.state = 2536;
9834
9834
  this.match(SparkSqlParser.KW_IN);
9835
9835
  this.state = 2537;
9836
9836
  this.match(SparkSqlParser.LEFT_PAREN);
9837
9837
  this.state = 2538;
9838
- localContext._unpivotColumnSet = this.unpivotColumnSet();
9839
- localContext._unpivotColumnSets.push(localContext._unpivotColumnSet);
9838
+ localContext._unPivotColumnSet = this.unPivotColumnSet();
9839
+ localContext._unPivotColumnSets.push(localContext._unPivotColumnSet);
9840
9840
  this.state = 2543;
9841
9841
  this.errorHandler.sync(this);
9842
9842
  _la = this.tokenStream.LA(1);
@@ -9846,8 +9846,8 @@ export class SparkSqlParser extends SQLParserBase {
9846
9846
  this.state = 2539;
9847
9847
  this.match(SparkSqlParser.COMMA);
9848
9848
  this.state = 2540;
9849
- localContext._unpivotColumnSet = this.unpivotColumnSet();
9850
- localContext._unpivotColumnSets.push(localContext._unpivotColumnSet);
9849
+ localContext._unPivotColumnSet = this.unPivotColumnSet();
9850
+ localContext._unPivotColumnSets.push(localContext._unPivotColumnSet);
9851
9851
  }
9852
9852
  }
9853
9853
  this.state = 2545;
@@ -9873,9 +9873,9 @@ export class SparkSqlParser extends SQLParserBase {
9873
9873
  }
9874
9874
  return localContext;
9875
9875
  }
9876
- unpivotColumnSet() {
9877
- let localContext = new UnpivotColumnSetContext(this.context, this.state);
9878
- this.enterRule(localContext, 178, SparkSqlParser.RULE_unpivotColumnSet);
9876
+ unPivotColumnSet() {
9877
+ let localContext = new UnPivotColumnSetContext(this.context, this.state);
9878
+ this.enterRule(localContext, 178, SparkSqlParser.RULE_unPivotColumnSet);
9879
9879
  let _la;
9880
9880
  try {
9881
9881
  this.enterOuterAlt(localContext, 1);
@@ -9883,8 +9883,8 @@ export class SparkSqlParser extends SQLParserBase {
9883
9883
  this.state = 2548;
9884
9884
  this.match(SparkSqlParser.LEFT_PAREN);
9885
9885
  this.state = 2549;
9886
- localContext._unpivotColumn = this.unpivotColumn();
9887
- localContext._unpivotColumns.push(localContext._unpivotColumn);
9886
+ localContext._unPivotColumn = this.unPivotColumn();
9887
+ localContext._unPivotColumns.push(localContext._unPivotColumn);
9888
9888
  this.state = 2554;
9889
9889
  this.errorHandler.sync(this);
9890
9890
  _la = this.tokenStream.LA(1);
@@ -9894,8 +9894,8 @@ export class SparkSqlParser extends SQLParserBase {
9894
9894
  this.state = 2550;
9895
9895
  this.match(SparkSqlParser.COMMA);
9896
9896
  this.state = 2551;
9897
- localContext._unpivotColumn = this.unpivotColumn();
9898
- localContext._unpivotColumns.push(localContext._unpivotColumn);
9897
+ localContext._unPivotColumn = this.unPivotColumn();
9898
+ localContext._unPivotColumns.push(localContext._unPivotColumn);
9899
9899
  }
9900
9900
  }
9901
9901
  this.state = 2556;
@@ -9910,7 +9910,7 @@ export class SparkSqlParser extends SQLParserBase {
9910
9910
  if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967040) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4294967295) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 4160749567) !== 0) || ((((_la - 128)) & ~0x1F) === 0 && ((1 << (_la - 128)) & 4294967295) !== 0) || ((((_la - 160)) & ~0x1F) === 0 && ((1 << (_la - 160)) & 4294967295) !== 0) || ((((_la - 192)) & ~0x1F) === 0 && ((1 << (_la - 192)) & 4294967279) !== 0) || ((((_la - 224)) & ~0x1F) === 0 && ((1 << (_la - 224)) & 4294967295) !== 0) || ((((_la - 256)) & ~0x1F) === 0 && ((1 << (_la - 256)) & 4294967167) !== 0) || ((((_la - 288)) & ~0x1F) === 0 && ((1 << (_la - 288)) & 4294967263) !== 0) || ((((_la - 320)) & ~0x1F) === 0 && ((1 << (_la - 320)) & 4294967295) !== 0) || ((((_la - 378)) & ~0x1F) === 0 && ((1 << (_la - 378)) & 3073) !== 0)) {
9911
9911
  {
9912
9912
  this.state = 2558;
9913
- this.unpivotAlias();
9913
+ this.unPivotAlias();
9914
9914
  }
9915
9915
  }
9916
9916
  }
@@ -9930,9 +9930,9 @@ export class SparkSqlParser extends SQLParserBase {
9930
9930
  }
9931
9931
  return localContext;
9932
9932
  }
9933
- unpivotValueColumn() {
9934
- let localContext = new UnpivotValueColumnContext(this.context, this.state);
9935
- this.enterRule(localContext, 180, SparkSqlParser.RULE_unpivotValueColumn);
9933
+ unPivotValueColumn() {
9934
+ let localContext = new UnPivotValueColumnContext(this.context, this.state);
9935
+ this.enterRule(localContext, 180, SparkSqlParser.RULE_unPivotValueColumn);
9936
9936
  try {
9937
9937
  this.enterOuterAlt(localContext, 1);
9938
9938
  {
@@ -9955,9 +9955,9 @@ export class SparkSqlParser extends SQLParserBase {
9955
9955
  }
9956
9956
  return localContext;
9957
9957
  }
9958
- unpivotNameColumn() {
9959
- let localContext = new UnpivotNameColumnContext(this.context, this.state);
9960
- this.enterRule(localContext, 182, SparkSqlParser.RULE_unpivotNameColumn);
9958
+ unPivotNameColumn() {
9959
+ let localContext = new UnPivotNameColumnContext(this.context, this.state);
9960
+ this.enterRule(localContext, 182, SparkSqlParser.RULE_unPivotNameColumn);
9961
9961
  try {
9962
9962
  this.enterOuterAlt(localContext, 1);
9963
9963
  {
@@ -9980,22 +9980,22 @@ export class SparkSqlParser extends SQLParserBase {
9980
9980
  }
9981
9981
  return localContext;
9982
9982
  }
9983
- unpivotColumnAndAlias() {
9984
- let localContext = new UnpivotColumnAndAliasContext(this.context, this.state);
9985
- this.enterRule(localContext, 184, SparkSqlParser.RULE_unpivotColumnAndAlias);
9983
+ unPivotColumnAndAlias() {
9984
+ let localContext = new UnPivotColumnAndAliasContext(this.context, this.state);
9985
+ this.enterRule(localContext, 184, SparkSqlParser.RULE_unPivotColumnAndAlias);
9986
9986
  let _la;
9987
9987
  try {
9988
9988
  this.enterOuterAlt(localContext, 1);
9989
9989
  {
9990
9990
  this.state = 2565;
9991
- this.unpivotColumn();
9991
+ this.unPivotColumn();
9992
9992
  this.state = 2567;
9993
9993
  this.errorHandler.sync(this);
9994
9994
  _la = this.tokenStream.LA(1);
9995
9995
  if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967040) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4294967295) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 4160749567) !== 0) || ((((_la - 128)) & ~0x1F) === 0 && ((1 << (_la - 128)) & 4294967295) !== 0) || ((((_la - 160)) & ~0x1F) === 0 && ((1 << (_la - 160)) & 4294967295) !== 0) || ((((_la - 192)) & ~0x1F) === 0 && ((1 << (_la - 192)) & 4294967279) !== 0) || ((((_la - 224)) & ~0x1F) === 0 && ((1 << (_la - 224)) & 4294967295) !== 0) || ((((_la - 256)) & ~0x1F) === 0 && ((1 << (_la - 256)) & 4294967167) !== 0) || ((((_la - 288)) & ~0x1F) === 0 && ((1 << (_la - 288)) & 4294967263) !== 0) || ((((_la - 320)) & ~0x1F) === 0 && ((1 << (_la - 320)) & 4294967295) !== 0) || ((((_la - 378)) & ~0x1F) === 0 && ((1 << (_la - 378)) & 3073) !== 0)) {
9996
9996
  {
9997
9997
  this.state = 2566;
9998
- this.unpivotAlias();
9998
+ this.unPivotAlias();
9999
9999
  }
10000
10000
  }
10001
10001
  }
@@ -10015,9 +10015,9 @@ export class SparkSqlParser extends SQLParserBase {
10015
10015
  }
10016
10016
  return localContext;
10017
10017
  }
10018
- unpivotColumn() {
10019
- let localContext = new UnpivotColumnContext(this.context, this.state);
10020
- this.enterRule(localContext, 186, SparkSqlParser.RULE_unpivotColumn);
10018
+ unPivotColumn() {
10019
+ let localContext = new UnPivotColumnContext(this.context, this.state);
10020
+ this.enterRule(localContext, 186, SparkSqlParser.RULE_unPivotColumn);
10021
10021
  try {
10022
10022
  this.enterOuterAlt(localContext, 1);
10023
10023
  {
@@ -10040,9 +10040,9 @@ export class SparkSqlParser extends SQLParserBase {
10040
10040
  }
10041
10041
  return localContext;
10042
10042
  }
10043
- unpivotAlias() {
10044
- let localContext = new UnpivotAliasContext(this.context, this.state);
10045
- this.enterRule(localContext, 188, SparkSqlParser.RULE_unpivotAlias);
10043
+ unPivotAlias() {
10044
+ let localContext = new UnPivotAliasContext(this.context, this.state);
10045
+ this.enterRule(localContext, 188, SparkSqlParser.RULE_unPivotAlias);
10046
10046
  try {
10047
10047
  this.enterOuterAlt(localContext, 1);
10048
10048
  {
@@ -10374,7 +10374,7 @@ export class SparkSqlParser extends SQLParserBase {
10374
10374
  this.enterOuterAlt(localContext, 3);
10375
10375
  {
10376
10376
  this.state = 2632;
10377
- this.unpivotClause();
10377
+ this.unPivotClause();
10378
10378
  }
10379
10379
  break;
10380
10380
  default:
@@ -16573,9 +16573,9 @@ export class SparkSqlParser extends SQLParserBase {
16573
16573
  }
16574
16574
  return localContext;
16575
16575
  }
16576
- zorderClause() {
16577
- let localContext = new ZorderClauseContext(this.context, this.state);
16578
- this.enterRule(localContext, 354, SparkSqlParser.RULE_zorderClause);
16576
+ zOrderClause() {
16577
+ let localContext = new ZOrderClauseContext(this.context, this.state);
16578
+ this.enterRule(localContext, 354, SparkSqlParser.RULE_zOrderClause);
16579
16579
  try {
16580
16580
  this.enterOuterAlt(localContext, 1);
16581
16581
  {
@@ -18405,17 +18405,17 @@ SparkSqlParser.RULE_groupingSet = 80;
18405
18405
  SparkSqlParser.RULE_pivotClause = 81;
18406
18406
  SparkSqlParser.RULE_pivotColumn = 82;
18407
18407
  SparkSqlParser.RULE_pivotValue = 83;
18408
- SparkSqlParser.RULE_unpivotClause = 84;
18409
- SparkSqlParser.RULE_unpivotNullClause = 85;
18410
- SparkSqlParser.RULE_unpivotOperator = 86;
18411
- SparkSqlParser.RULE_unpivotSingleValueColumnClause = 87;
18412
- SparkSqlParser.RULE_unpivotMultiValueColumnClause = 88;
18413
- SparkSqlParser.RULE_unpivotColumnSet = 89;
18414
- SparkSqlParser.RULE_unpivotValueColumn = 90;
18415
- SparkSqlParser.RULE_unpivotNameColumn = 91;
18416
- SparkSqlParser.RULE_unpivotColumnAndAlias = 92;
18417
- SparkSqlParser.RULE_unpivotColumn = 93;
18418
- SparkSqlParser.RULE_unpivotAlias = 94;
18408
+ SparkSqlParser.RULE_unPivotClause = 84;
18409
+ SparkSqlParser.RULE_unPivotNullClause = 85;
18410
+ SparkSqlParser.RULE_unPivotOperator = 86;
18411
+ SparkSqlParser.RULE_unPivotSingleValueColumnClause = 87;
18412
+ SparkSqlParser.RULE_unPivotMultiValueColumnClause = 88;
18413
+ SparkSqlParser.RULE_unPivotColumnSet = 89;
18414
+ SparkSqlParser.RULE_unPivotValueColumn = 90;
18415
+ SparkSqlParser.RULE_unPivotNameColumn = 91;
18416
+ SparkSqlParser.RULE_unPivotColumnAndAlias = 92;
18417
+ SparkSqlParser.RULE_unPivotColumn = 93;
18418
+ SparkSqlParser.RULE_unPivotAlias = 94;
18419
18419
  SparkSqlParser.RULE_ifNotExists = 95;
18420
18420
  SparkSqlParser.RULE_ifExists = 96;
18421
18421
  SparkSqlParser.RULE_lateralView = 97;
@@ -18498,7 +18498,7 @@ SparkSqlParser.RULE_complexColTypeList = 173;
18498
18498
  SparkSqlParser.RULE_complexColType = 174;
18499
18499
  SparkSqlParser.RULE_whenClause = 175;
18500
18500
  SparkSqlParser.RULE_windowClause = 176;
18501
- SparkSqlParser.RULE_zorderClause = 177;
18501
+ SparkSqlParser.RULE_zOrderClause = 177;
18502
18502
  SparkSqlParser.RULE_namedWindow = 178;
18503
18503
  SparkSqlParser.RULE_windowSpec = 179;
18504
18504
  SparkSqlParser.RULE_windowFrame = 180;
@@ -18687,10 +18687,10 @@ SparkSqlParser.ruleNames = [
18687
18687
  "assignmentList", "assignment", "whereClause", "havingClause", "hint",
18688
18688
  "hintStatement", "fromClause", "functionKind", "temporalClause",
18689
18689
  "aggregationClause", "groupByClause", "groupingAnalytics", "groupingElement",
18690
- "groupingSet", "pivotClause", "pivotColumn", "pivotValue", "unpivotClause",
18691
- "unpivotNullClause", "unpivotOperator", "unpivotSingleValueColumnClause",
18692
- "unpivotMultiValueColumnClause", "unpivotColumnSet", "unpivotValueColumn",
18693
- "unpivotNameColumn", "unpivotColumnAndAlias", "unpivotColumn", "unpivotAlias",
18690
+ "groupingSet", "pivotClause", "pivotColumn", "pivotValue", "unPivotClause",
18691
+ "unPivotNullClause", "unPivotOperator", "unPivotSingleValueColumnClause",
18692
+ "unPivotMultiValueColumnClause", "unPivotColumnSet", "unPivotValueColumn",
18693
+ "unPivotNameColumn", "unPivotColumnAndAlias", "unPivotColumn", "unPivotAlias",
18694
18694
  "ifNotExists", "ifExists", "lateralView", "setQuantifier", "relation",
18695
18695
  "relationExtension", "joinRelation", "joinType", "joinCriteria",
18696
18696
  "sample", "sampleMethod", "identifierList", "identifierSeq", "orderedIdentifierList",
@@ -18714,7 +18714,7 @@ SparkSqlParser.ruleNames = [
18714
18714
  "defaultExpression", "variableDefaultExpression", "colTypeList",
18715
18715
  "columnType", "createOrReplaceTableColTypeList", "createOrReplaceTableColType",
18716
18716
  "colDefinitionOption", "generationExpression", "complexColTypeList",
18717
- "complexColType", "whenClause", "windowClause", "zorderClause",
18717
+ "complexColType", "whenClause", "windowClause", "zOrderClause",
18718
18718
  "namedWindow", "windowSpec", "windowFrame", "frameBound", "qualifiedNameList",
18719
18719
  "functionName", "functionNameCreate", "qualifiedName", "errorCapturingIdentifier",
18720
18720
  "errorCapturingIdentifierExtra", "identifier", "strictIdentifier",
@@ -23060,8 +23060,8 @@ export class OptimizeTableContext extends StatementContext {
23060
23060
  tableName() {
23061
23061
  return this.getRuleContext(0, TableNameContext);
23062
23062
  }
23063
- zorderClause() {
23064
- return this.getRuleContext(0, ZorderClauseContext);
23063
+ zOrderClause() {
23064
+ return this.getRuleContext(0, ZOrderClauseContext);
23065
23065
  }
23066
23066
  whereClause() {
23067
23067
  return this.getRuleContext(0, WhereClauseContext);
@@ -27988,8 +27988,8 @@ export class FromClauseContext extends antlr.ParserRuleContext {
27988
27988
  pivotClause() {
27989
27989
  return this.getRuleContext(0, PivotClauseContext);
27990
27990
  }
27991
- unpivotClause() {
27992
- return this.getRuleContext(0, UnpivotClauseContext);
27991
+ unPivotClause() {
27992
+ return this.getRuleContext(0, UnPivotClauseContext);
27993
27993
  }
27994
27994
  get ruleIndex() {
27995
27995
  return SparkSqlParser.RULE_fromClause;
@@ -28519,7 +28519,7 @@ export class PivotValueContext extends antlr.ParserRuleContext {
28519
28519
  }
28520
28520
  }
28521
28521
  }
28522
- export class UnpivotClauseContext extends antlr.ParserRuleContext {
28522
+ export class UnPivotClauseContext extends antlr.ParserRuleContext {
28523
28523
  constructor(parent, invokingState) {
28524
28524
  super(parent, invokingState);
28525
28525
  }
@@ -28532,41 +28532,41 @@ export class UnpivotClauseContext extends antlr.ParserRuleContext {
28532
28532
  RIGHT_PAREN() {
28533
28533
  return this.getToken(SparkSqlParser.RIGHT_PAREN, 0);
28534
28534
  }
28535
- unpivotOperator() {
28536
- return this.getRuleContext(0, UnpivotOperatorContext);
28535
+ unPivotOperator() {
28536
+ return this.getRuleContext(0, UnPivotOperatorContext);
28537
28537
  }
28538
28538
  identifier() {
28539
28539
  return this.getRuleContext(0, IdentifierContext);
28540
28540
  }
28541
- unpivotNullClause() {
28542
- return this.getRuleContext(0, UnpivotNullClauseContext);
28541
+ unPivotNullClause() {
28542
+ return this.getRuleContext(0, UnPivotNullClauseContext);
28543
28543
  }
28544
28544
  KW_AS() {
28545
28545
  return this.getToken(SparkSqlParser.KW_AS, 0);
28546
28546
  }
28547
28547
  get ruleIndex() {
28548
- return SparkSqlParser.RULE_unpivotClause;
28548
+ return SparkSqlParser.RULE_unPivotClause;
28549
28549
  }
28550
28550
  enterRule(listener) {
28551
- if (listener.enterUnpivotClause) {
28552
- listener.enterUnpivotClause(this);
28551
+ if (listener.enterUnPivotClause) {
28552
+ listener.enterUnPivotClause(this);
28553
28553
  }
28554
28554
  }
28555
28555
  exitRule(listener) {
28556
- if (listener.exitUnpivotClause) {
28557
- listener.exitUnpivotClause(this);
28556
+ if (listener.exitUnPivotClause) {
28557
+ listener.exitUnPivotClause(this);
28558
28558
  }
28559
28559
  }
28560
28560
  accept(visitor) {
28561
- if (visitor.visitUnpivotClause) {
28562
- return visitor.visitUnpivotClause(this);
28561
+ if (visitor.visitUnPivotClause) {
28562
+ return visitor.visitUnPivotClause(this);
28563
28563
  }
28564
28564
  else {
28565
28565
  return visitor.visitChildren(this);
28566
28566
  }
28567
28567
  }
28568
28568
  }
28569
- export class UnpivotNullClauseContext extends antlr.ParserRuleContext {
28569
+ export class UnPivotNullClauseContext extends antlr.ParserRuleContext {
28570
28570
  constructor(parent, invokingState) {
28571
28571
  super(parent, invokingState);
28572
28572
  }
@@ -28580,72 +28580,72 @@ export class UnpivotNullClauseContext extends antlr.ParserRuleContext {
28580
28580
  return this.getToken(SparkSqlParser.KW_EXCLUDE, 0);
28581
28581
  }
28582
28582
  get ruleIndex() {
28583
- return SparkSqlParser.RULE_unpivotNullClause;
28583
+ return SparkSqlParser.RULE_unPivotNullClause;
28584
28584
  }
28585
28585
  enterRule(listener) {
28586
- if (listener.enterUnpivotNullClause) {
28587
- listener.enterUnpivotNullClause(this);
28586
+ if (listener.enterUnPivotNullClause) {
28587
+ listener.enterUnPivotNullClause(this);
28588
28588
  }
28589
28589
  }
28590
28590
  exitRule(listener) {
28591
- if (listener.exitUnpivotNullClause) {
28592
- listener.exitUnpivotNullClause(this);
28591
+ if (listener.exitUnPivotNullClause) {
28592
+ listener.exitUnPivotNullClause(this);
28593
28593
  }
28594
28594
  }
28595
28595
  accept(visitor) {
28596
- if (visitor.visitUnpivotNullClause) {
28597
- return visitor.visitUnpivotNullClause(this);
28596
+ if (visitor.visitUnPivotNullClause) {
28597
+ return visitor.visitUnPivotNullClause(this);
28598
28598
  }
28599
28599
  else {
28600
28600
  return visitor.visitChildren(this);
28601
28601
  }
28602
28602
  }
28603
28603
  }
28604
- export class UnpivotOperatorContext extends antlr.ParserRuleContext {
28604
+ export class UnPivotOperatorContext extends antlr.ParserRuleContext {
28605
28605
  constructor(parent, invokingState) {
28606
28606
  super(parent, invokingState);
28607
28607
  }
28608
- unpivotSingleValueColumnClause() {
28609
- return this.getRuleContext(0, UnpivotSingleValueColumnClauseContext);
28608
+ unPivotSingleValueColumnClause() {
28609
+ return this.getRuleContext(0, UnPivotSingleValueColumnClauseContext);
28610
28610
  }
28611
- unpivotMultiValueColumnClause() {
28612
- return this.getRuleContext(0, UnpivotMultiValueColumnClauseContext);
28611
+ unPivotMultiValueColumnClause() {
28612
+ return this.getRuleContext(0, UnPivotMultiValueColumnClauseContext);
28613
28613
  }
28614
28614
  get ruleIndex() {
28615
- return SparkSqlParser.RULE_unpivotOperator;
28615
+ return SparkSqlParser.RULE_unPivotOperator;
28616
28616
  }
28617
28617
  enterRule(listener) {
28618
- if (listener.enterUnpivotOperator) {
28619
- listener.enterUnpivotOperator(this);
28618
+ if (listener.enterUnPivotOperator) {
28619
+ listener.enterUnPivotOperator(this);
28620
28620
  }
28621
28621
  }
28622
28622
  exitRule(listener) {
28623
- if (listener.exitUnpivotOperator) {
28624
- listener.exitUnpivotOperator(this);
28623
+ if (listener.exitUnPivotOperator) {
28624
+ listener.exitUnPivotOperator(this);
28625
28625
  }
28626
28626
  }
28627
28627
  accept(visitor) {
28628
- if (visitor.visitUnpivotOperator) {
28629
- return visitor.visitUnpivotOperator(this);
28628
+ if (visitor.visitUnPivotOperator) {
28629
+ return visitor.visitUnPivotOperator(this);
28630
28630
  }
28631
28631
  else {
28632
28632
  return visitor.visitChildren(this);
28633
28633
  }
28634
28634
  }
28635
28635
  }
28636
- export class UnpivotSingleValueColumnClauseContext extends antlr.ParserRuleContext {
28636
+ export class UnPivotSingleValueColumnClauseContext extends antlr.ParserRuleContext {
28637
28637
  constructor(parent, invokingState) {
28638
28638
  super(parent, invokingState);
28639
- this._unpivotColumns = [];
28639
+ this._unPivotColumns = [];
28640
28640
  }
28641
- unpivotValueColumn() {
28642
- return this.getRuleContext(0, UnpivotValueColumnContext);
28641
+ unPivotValueColumn() {
28642
+ return this.getRuleContext(0, UnPivotValueColumnContext);
28643
28643
  }
28644
28644
  KW_FOR() {
28645
28645
  return this.getToken(SparkSqlParser.KW_FOR, 0);
28646
28646
  }
28647
- unpivotNameColumn() {
28648
- return this.getRuleContext(0, UnpivotNameColumnContext);
28647
+ unPivotNameColumn() {
28648
+ return this.getRuleContext(0, UnPivotNameColumnContext);
28649
28649
  }
28650
28650
  KW_IN() {
28651
28651
  return this.getToken(SparkSqlParser.KW_IN, 0);
@@ -28656,11 +28656,11 @@ export class UnpivotSingleValueColumnClauseContext extends antlr.ParserRuleConte
28656
28656
  RIGHT_PAREN() {
28657
28657
  return this.getToken(SparkSqlParser.RIGHT_PAREN, 0);
28658
28658
  }
28659
- unpivotColumnAndAlias(i) {
28659
+ unPivotColumnAndAlias(i) {
28660
28660
  if (i === undefined) {
28661
- return this.getRuleContexts(UnpivotColumnAndAliasContext);
28661
+ return this.getRuleContexts(UnPivotColumnAndAliasContext);
28662
28662
  }
28663
- return this.getRuleContext(i, UnpivotColumnAndAliasContext);
28663
+ return this.getRuleContext(i, UnPivotColumnAndAliasContext);
28664
28664
  }
28665
28665
  COMMA(i) {
28666
28666
  if (i === undefined) {
@@ -28671,32 +28671,32 @@ export class UnpivotSingleValueColumnClauseContext extends antlr.ParserRuleConte
28671
28671
  }
28672
28672
  }
28673
28673
  get ruleIndex() {
28674
- return SparkSqlParser.RULE_unpivotSingleValueColumnClause;
28674
+ return SparkSqlParser.RULE_unPivotSingleValueColumnClause;
28675
28675
  }
28676
28676
  enterRule(listener) {
28677
- if (listener.enterUnpivotSingleValueColumnClause) {
28678
- listener.enterUnpivotSingleValueColumnClause(this);
28677
+ if (listener.enterUnPivotSingleValueColumnClause) {
28678
+ listener.enterUnPivotSingleValueColumnClause(this);
28679
28679
  }
28680
28680
  }
28681
28681
  exitRule(listener) {
28682
- if (listener.exitUnpivotSingleValueColumnClause) {
28683
- listener.exitUnpivotSingleValueColumnClause(this);
28682
+ if (listener.exitUnPivotSingleValueColumnClause) {
28683
+ listener.exitUnPivotSingleValueColumnClause(this);
28684
28684
  }
28685
28685
  }
28686
28686
  accept(visitor) {
28687
- if (visitor.visitUnpivotSingleValueColumnClause) {
28688
- return visitor.visitUnpivotSingleValueColumnClause(this);
28687
+ if (visitor.visitUnPivotSingleValueColumnClause) {
28688
+ return visitor.visitUnPivotSingleValueColumnClause(this);
28689
28689
  }
28690
28690
  else {
28691
28691
  return visitor.visitChildren(this);
28692
28692
  }
28693
28693
  }
28694
28694
  }
28695
- export class UnpivotMultiValueColumnClauseContext extends antlr.ParserRuleContext {
28695
+ export class UnPivotMultiValueColumnClauseContext extends antlr.ParserRuleContext {
28696
28696
  constructor(parent, invokingState) {
28697
28697
  super(parent, invokingState);
28698
- this._unpivotValueColumns = [];
28699
- this._unpivotColumnSets = [];
28698
+ this._unPivotValueColumns = [];
28699
+ this._unPivotColumnSets = [];
28700
28700
  }
28701
28701
  LEFT_PAREN(i) {
28702
28702
  if (i === undefined) {
@@ -28717,23 +28717,23 @@ export class UnpivotMultiValueColumnClauseContext extends antlr.ParserRuleContex
28717
28717
  KW_FOR() {
28718
28718
  return this.getToken(SparkSqlParser.KW_FOR, 0);
28719
28719
  }
28720
- unpivotNameColumn() {
28721
- return this.getRuleContext(0, UnpivotNameColumnContext);
28720
+ unPivotNameColumn() {
28721
+ return this.getRuleContext(0, UnPivotNameColumnContext);
28722
28722
  }
28723
28723
  KW_IN() {
28724
28724
  return this.getToken(SparkSqlParser.KW_IN, 0);
28725
28725
  }
28726
- unpivotValueColumn(i) {
28726
+ unPivotValueColumn(i) {
28727
28727
  if (i === undefined) {
28728
- return this.getRuleContexts(UnpivotValueColumnContext);
28728
+ return this.getRuleContexts(UnPivotValueColumnContext);
28729
28729
  }
28730
- return this.getRuleContext(i, UnpivotValueColumnContext);
28730
+ return this.getRuleContext(i, UnPivotValueColumnContext);
28731
28731
  }
28732
- unpivotColumnSet(i) {
28732
+ unPivotColumnSet(i) {
28733
28733
  if (i === undefined) {
28734
- return this.getRuleContexts(UnpivotColumnSetContext);
28734
+ return this.getRuleContexts(UnPivotColumnSetContext);
28735
28735
  }
28736
- return this.getRuleContext(i, UnpivotColumnSetContext);
28736
+ return this.getRuleContext(i, UnPivotColumnSetContext);
28737
28737
  }
28738
28738
  COMMA(i) {
28739
28739
  if (i === undefined) {
@@ -28744,31 +28744,31 @@ export class UnpivotMultiValueColumnClauseContext extends antlr.ParserRuleContex
28744
28744
  }
28745
28745
  }
28746
28746
  get ruleIndex() {
28747
- return SparkSqlParser.RULE_unpivotMultiValueColumnClause;
28747
+ return SparkSqlParser.RULE_unPivotMultiValueColumnClause;
28748
28748
  }
28749
28749
  enterRule(listener) {
28750
- if (listener.enterUnpivotMultiValueColumnClause) {
28751
- listener.enterUnpivotMultiValueColumnClause(this);
28750
+ if (listener.enterUnPivotMultiValueColumnClause) {
28751
+ listener.enterUnPivotMultiValueColumnClause(this);
28752
28752
  }
28753
28753
  }
28754
28754
  exitRule(listener) {
28755
- if (listener.exitUnpivotMultiValueColumnClause) {
28756
- listener.exitUnpivotMultiValueColumnClause(this);
28755
+ if (listener.exitUnPivotMultiValueColumnClause) {
28756
+ listener.exitUnPivotMultiValueColumnClause(this);
28757
28757
  }
28758
28758
  }
28759
28759
  accept(visitor) {
28760
- if (visitor.visitUnpivotMultiValueColumnClause) {
28761
- return visitor.visitUnpivotMultiValueColumnClause(this);
28760
+ if (visitor.visitUnPivotMultiValueColumnClause) {
28761
+ return visitor.visitUnPivotMultiValueColumnClause(this);
28762
28762
  }
28763
28763
  else {
28764
28764
  return visitor.visitChildren(this);
28765
28765
  }
28766
28766
  }
28767
28767
  }
28768
- export class UnpivotColumnSetContext extends antlr.ParserRuleContext {
28768
+ export class UnPivotColumnSetContext extends antlr.ParserRuleContext {
28769
28769
  constructor(parent, invokingState) {
28770
28770
  super(parent, invokingState);
28771
- this._unpivotColumns = [];
28771
+ this._unPivotColumns = [];
28772
28772
  }
28773
28773
  LEFT_PAREN() {
28774
28774
  return this.getToken(SparkSqlParser.LEFT_PAREN, 0);
@@ -28776,11 +28776,11 @@ export class UnpivotColumnSetContext extends antlr.ParserRuleContext {
28776
28776
  RIGHT_PAREN() {
28777
28777
  return this.getToken(SparkSqlParser.RIGHT_PAREN, 0);
28778
28778
  }
28779
- unpivotColumn(i) {
28779
+ unPivotColumn(i) {
28780
28780
  if (i === undefined) {
28781
- return this.getRuleContexts(UnpivotColumnContext);
28781
+ return this.getRuleContexts(UnPivotColumnContext);
28782
28782
  }
28783
- return this.getRuleContext(i, UnpivotColumnContext);
28783
+ return this.getRuleContext(i, UnPivotColumnContext);
28784
28784
  }
28785
28785
  COMMA(i) {
28786
28786
  if (i === undefined) {
@@ -28790,32 +28790,32 @@ export class UnpivotColumnSetContext extends antlr.ParserRuleContext {
28790
28790
  return this.getToken(SparkSqlParser.COMMA, i);
28791
28791
  }
28792
28792
  }
28793
- unpivotAlias() {
28794
- return this.getRuleContext(0, UnpivotAliasContext);
28793
+ unPivotAlias() {
28794
+ return this.getRuleContext(0, UnPivotAliasContext);
28795
28795
  }
28796
28796
  get ruleIndex() {
28797
- return SparkSqlParser.RULE_unpivotColumnSet;
28797
+ return SparkSqlParser.RULE_unPivotColumnSet;
28798
28798
  }
28799
28799
  enterRule(listener) {
28800
- if (listener.enterUnpivotColumnSet) {
28801
- listener.enterUnpivotColumnSet(this);
28800
+ if (listener.enterUnPivotColumnSet) {
28801
+ listener.enterUnPivotColumnSet(this);
28802
28802
  }
28803
28803
  }
28804
28804
  exitRule(listener) {
28805
- if (listener.exitUnpivotColumnSet) {
28806
- listener.exitUnpivotColumnSet(this);
28805
+ if (listener.exitUnPivotColumnSet) {
28806
+ listener.exitUnPivotColumnSet(this);
28807
28807
  }
28808
28808
  }
28809
28809
  accept(visitor) {
28810
- if (visitor.visitUnpivotColumnSet) {
28811
- return visitor.visitUnpivotColumnSet(this);
28810
+ if (visitor.visitUnPivotColumnSet) {
28811
+ return visitor.visitUnPivotColumnSet(this);
28812
28812
  }
28813
28813
  else {
28814
28814
  return visitor.visitChildren(this);
28815
28815
  }
28816
28816
  }
28817
28817
  }
28818
- export class UnpivotValueColumnContext extends antlr.ParserRuleContext {
28818
+ export class UnPivotValueColumnContext extends antlr.ParserRuleContext {
28819
28819
  constructor(parent, invokingState) {
28820
28820
  super(parent, invokingState);
28821
28821
  }
@@ -28823,28 +28823,28 @@ export class UnpivotValueColumnContext extends antlr.ParserRuleContext {
28823
28823
  return this.getRuleContext(0, IdentifierContext);
28824
28824
  }
28825
28825
  get ruleIndex() {
28826
- return SparkSqlParser.RULE_unpivotValueColumn;
28826
+ return SparkSqlParser.RULE_unPivotValueColumn;
28827
28827
  }
28828
28828
  enterRule(listener) {
28829
- if (listener.enterUnpivotValueColumn) {
28830
- listener.enterUnpivotValueColumn(this);
28829
+ if (listener.enterUnPivotValueColumn) {
28830
+ listener.enterUnPivotValueColumn(this);
28831
28831
  }
28832
28832
  }
28833
28833
  exitRule(listener) {
28834
- if (listener.exitUnpivotValueColumn) {
28835
- listener.exitUnpivotValueColumn(this);
28834
+ if (listener.exitUnPivotValueColumn) {
28835
+ listener.exitUnPivotValueColumn(this);
28836
28836
  }
28837
28837
  }
28838
28838
  accept(visitor) {
28839
- if (visitor.visitUnpivotValueColumn) {
28840
- return visitor.visitUnpivotValueColumn(this);
28839
+ if (visitor.visitUnPivotValueColumn) {
28840
+ return visitor.visitUnPivotValueColumn(this);
28841
28841
  }
28842
28842
  else {
28843
28843
  return visitor.visitChildren(this);
28844
28844
  }
28845
28845
  }
28846
28846
  }
28847
- export class UnpivotNameColumnContext extends antlr.ParserRuleContext {
28847
+ export class UnPivotNameColumnContext extends antlr.ParserRuleContext {
28848
28848
  constructor(parent, invokingState) {
28849
28849
  super(parent, invokingState);
28850
28850
  }
@@ -28852,60 +28852,60 @@ export class UnpivotNameColumnContext extends antlr.ParserRuleContext {
28852
28852
  return this.getRuleContext(0, IdentifierContext);
28853
28853
  }
28854
28854
  get ruleIndex() {
28855
- return SparkSqlParser.RULE_unpivotNameColumn;
28855
+ return SparkSqlParser.RULE_unPivotNameColumn;
28856
28856
  }
28857
28857
  enterRule(listener) {
28858
- if (listener.enterUnpivotNameColumn) {
28859
- listener.enterUnpivotNameColumn(this);
28858
+ if (listener.enterUnPivotNameColumn) {
28859
+ listener.enterUnPivotNameColumn(this);
28860
28860
  }
28861
28861
  }
28862
28862
  exitRule(listener) {
28863
- if (listener.exitUnpivotNameColumn) {
28864
- listener.exitUnpivotNameColumn(this);
28863
+ if (listener.exitUnPivotNameColumn) {
28864
+ listener.exitUnPivotNameColumn(this);
28865
28865
  }
28866
28866
  }
28867
28867
  accept(visitor) {
28868
- if (visitor.visitUnpivotNameColumn) {
28869
- return visitor.visitUnpivotNameColumn(this);
28868
+ if (visitor.visitUnPivotNameColumn) {
28869
+ return visitor.visitUnPivotNameColumn(this);
28870
28870
  }
28871
28871
  else {
28872
28872
  return visitor.visitChildren(this);
28873
28873
  }
28874
28874
  }
28875
28875
  }
28876
- export class UnpivotColumnAndAliasContext extends antlr.ParserRuleContext {
28876
+ export class UnPivotColumnAndAliasContext extends antlr.ParserRuleContext {
28877
28877
  constructor(parent, invokingState) {
28878
28878
  super(parent, invokingState);
28879
28879
  }
28880
- unpivotColumn() {
28881
- return this.getRuleContext(0, UnpivotColumnContext);
28880
+ unPivotColumn() {
28881
+ return this.getRuleContext(0, UnPivotColumnContext);
28882
28882
  }
28883
- unpivotAlias() {
28884
- return this.getRuleContext(0, UnpivotAliasContext);
28883
+ unPivotAlias() {
28884
+ return this.getRuleContext(0, UnPivotAliasContext);
28885
28885
  }
28886
28886
  get ruleIndex() {
28887
- return SparkSqlParser.RULE_unpivotColumnAndAlias;
28887
+ return SparkSqlParser.RULE_unPivotColumnAndAlias;
28888
28888
  }
28889
28889
  enterRule(listener) {
28890
- if (listener.enterUnpivotColumnAndAlias) {
28891
- listener.enterUnpivotColumnAndAlias(this);
28890
+ if (listener.enterUnPivotColumnAndAlias) {
28891
+ listener.enterUnPivotColumnAndAlias(this);
28892
28892
  }
28893
28893
  }
28894
28894
  exitRule(listener) {
28895
- if (listener.exitUnpivotColumnAndAlias) {
28896
- listener.exitUnpivotColumnAndAlias(this);
28895
+ if (listener.exitUnPivotColumnAndAlias) {
28896
+ listener.exitUnPivotColumnAndAlias(this);
28897
28897
  }
28898
28898
  }
28899
28899
  accept(visitor) {
28900
- if (visitor.visitUnpivotColumnAndAlias) {
28901
- return visitor.visitUnpivotColumnAndAlias(this);
28900
+ if (visitor.visitUnPivotColumnAndAlias) {
28901
+ return visitor.visitUnPivotColumnAndAlias(this);
28902
28902
  }
28903
28903
  else {
28904
28904
  return visitor.visitChildren(this);
28905
28905
  }
28906
28906
  }
28907
28907
  }
28908
- export class UnpivotColumnContext extends antlr.ParserRuleContext {
28908
+ export class UnPivotColumnContext extends antlr.ParserRuleContext {
28909
28909
  constructor(parent, invokingState) {
28910
28910
  super(parent, invokingState);
28911
28911
  }
@@ -28913,28 +28913,28 @@ export class UnpivotColumnContext extends antlr.ParserRuleContext {
28913
28913
  return this.getRuleContext(0, MultipartIdentifierContext);
28914
28914
  }
28915
28915
  get ruleIndex() {
28916
- return SparkSqlParser.RULE_unpivotColumn;
28916
+ return SparkSqlParser.RULE_unPivotColumn;
28917
28917
  }
28918
28918
  enterRule(listener) {
28919
- if (listener.enterUnpivotColumn) {
28920
- listener.enterUnpivotColumn(this);
28919
+ if (listener.enterUnPivotColumn) {
28920
+ listener.enterUnPivotColumn(this);
28921
28921
  }
28922
28922
  }
28923
28923
  exitRule(listener) {
28924
- if (listener.exitUnpivotColumn) {
28925
- listener.exitUnpivotColumn(this);
28924
+ if (listener.exitUnPivotColumn) {
28925
+ listener.exitUnPivotColumn(this);
28926
28926
  }
28927
28927
  }
28928
28928
  accept(visitor) {
28929
- if (visitor.visitUnpivotColumn) {
28930
- return visitor.visitUnpivotColumn(this);
28929
+ if (visitor.visitUnPivotColumn) {
28930
+ return visitor.visitUnPivotColumn(this);
28931
28931
  }
28932
28932
  else {
28933
28933
  return visitor.visitChildren(this);
28934
28934
  }
28935
28935
  }
28936
28936
  }
28937
- export class UnpivotAliasContext extends antlr.ParserRuleContext {
28937
+ export class UnPivotAliasContext extends antlr.ParserRuleContext {
28938
28938
  constructor(parent, invokingState) {
28939
28939
  super(parent, invokingState);
28940
28940
  }
@@ -28945,21 +28945,21 @@ export class UnpivotAliasContext extends antlr.ParserRuleContext {
28945
28945
  return this.getToken(SparkSqlParser.KW_AS, 0);
28946
28946
  }
28947
28947
  get ruleIndex() {
28948
- return SparkSqlParser.RULE_unpivotAlias;
28948
+ return SparkSqlParser.RULE_unPivotAlias;
28949
28949
  }
28950
28950
  enterRule(listener) {
28951
- if (listener.enterUnpivotAlias) {
28952
- listener.enterUnpivotAlias(this);
28951
+ if (listener.enterUnPivotAlias) {
28952
+ listener.enterUnPivotAlias(this);
28953
28953
  }
28954
28954
  }
28955
28955
  exitRule(listener) {
28956
- if (listener.exitUnpivotAlias) {
28957
- listener.exitUnpivotAlias(this);
28956
+ if (listener.exitUnPivotAlias) {
28957
+ listener.exitUnPivotAlias(this);
28958
28958
  }
28959
28959
  }
28960
28960
  accept(visitor) {
28961
- if (visitor.visitUnpivotAlias) {
28962
- return visitor.visitUnpivotAlias(this);
28961
+ if (visitor.visitUnPivotAlias) {
28962
+ return visitor.visitUnPivotAlias(this);
28963
28963
  }
28964
28964
  else {
28965
28965
  return visitor.visitChildren(this);
@@ -29187,8 +29187,8 @@ export class RelationExtensionContext extends antlr.ParserRuleContext {
29187
29187
  pivotClause() {
29188
29188
  return this.getRuleContext(0, PivotClauseContext);
29189
29189
  }
29190
- unpivotClause() {
29191
- return this.getRuleContext(0, UnpivotClauseContext);
29190
+ unPivotClause() {
29191
+ return this.getRuleContext(0, UnPivotClauseContext);
29192
29192
  }
29193
29193
  get ruleIndex() {
29194
29194
  return SparkSqlParser.RULE_relationExtension;
@@ -33004,7 +33004,7 @@ export class WindowClauseContext extends antlr.ParserRuleContext {
33004
33004
  }
33005
33005
  }
33006
33006
  }
33007
- export class ZorderClauseContext extends antlr.ParserRuleContext {
33007
+ export class ZOrderClauseContext extends antlr.ParserRuleContext {
33008
33008
  constructor(parent, invokingState) {
33009
33009
  super(parent, invokingState);
33010
33010
  }
@@ -33018,21 +33018,21 @@ export class ZorderClauseContext extends antlr.ParserRuleContext {
33018
33018
  return this.getRuleContext(0, ColumnNameSeqContext);
33019
33019
  }
33020
33020
  get ruleIndex() {
33021
- return SparkSqlParser.RULE_zorderClause;
33021
+ return SparkSqlParser.RULE_zOrderClause;
33022
33022
  }
33023
33023
  enterRule(listener) {
33024
- if (listener.enterZorderClause) {
33025
- listener.enterZorderClause(this);
33024
+ if (listener.enterZOrderClause) {
33025
+ listener.enterZOrderClause(this);
33026
33026
  }
33027
33027
  }
33028
33028
  exitRule(listener) {
33029
- if (listener.exitZorderClause) {
33030
- listener.exitZorderClause(this);
33029
+ if (listener.exitZOrderClause) {
33030
+ listener.exitZOrderClause(this);
33031
33031
  }
33032
33032
  }
33033
33033
  accept(visitor) {
33034
- if (visitor.visitZorderClause) {
33035
- return visitor.visitZorderClause(this);
33034
+ if (visitor.visitZOrderClause) {
33035
+ return visitor.visitZOrderClause(this);
33036
33036
  }
33037
33037
  else {
33038
33038
  return visitor.visitChildren(this);