hogql-parser 1.3.74__tar.gz → 1.3.76__tar.gz

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.
@@ -260,7 +260,7 @@ void hogqlparserParserInitialize() {
260
260
  1,77,1,77,1,77,1,77,1,77,1,77,1,77,3,77,1548,8,77,1,77,1,77,3,77,1552,
261
261
  8,77,1,77,3,77,1555,8,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,3,77,1564,
262
262
  8,77,1,77,1,77,1,77,1,77,3,77,1570,8,77,1,77,1,77,1,77,1,77,1,77,1,77,
263
- 1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,3,77,1589,8,77,
263
+ 1,77,1,77,1,77,1,77,1,77,3,77,1583,8,77,1,77,1,77,1,77,1,77,1,77,1,77,
264
264
  1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,
265
265
  1,77,1,77,1,77,1,77,1,77,3,77,1610,8,77,1,77,1,77,1,77,1,77,1,77,1,77,
266
266
  1,77,1,77,1,77,3,77,1621,8,77,1,77,1,77,3,77,1625,8,77,1,77,1,77,1,77,
@@ -758,12 +758,12 @@ void hogqlparserParserInitialize() {
758
758
  1569,1568,1,0,0,0,1569,1570,1,0,0,0,1570,1571,1,0,0,0,1571,1572,5,25,
759
759
  0,0,1572,1573,5,39,0,0,1573,1664,3,154,77,21,1574,1575,10,19,0,0,1575,
760
760
  1576,5,166,0,0,1576,1664,3,154,77,20,1577,1578,10,18,0,0,1578,1579,5,
761
- 174,0,0,1579,1664,3,154,77,19,1580,1581,10,16,0,0,1581,1582,5,2,0,0,1582,
762
- 1664,3,154,77,17,1583,1584,10,15,0,0,1584,1585,5,78,0,0,1585,1664,3,154,
763
- 77,16,1586,1588,10,14,0,0,1587,1589,5,73,0,0,1588,1587,1,0,0,0,1588,1589,
764
- 1,0,0,0,1589,1590,1,0,0,0,1590,1591,5,9,0,0,1591,1592,3,154,77,0,1592,
765
- 1593,5,2,0,0,1593,1594,3,154,77,15,1594,1664,1,0,0,0,1595,1596,10,13,
766
- 0,0,1596,1597,5,177,0,0,1597,1598,3,154,77,0,1598,1599,5,150,0,0,1599,
761
+ 174,0,0,1579,1664,3,154,77,19,1580,1582,10,16,0,0,1581,1583,5,73,0,0,
762
+ 1582,1581,1,0,0,0,1582,1583,1,0,0,0,1583,1584,1,0,0,0,1584,1585,5,9,0,
763
+ 0,1585,1586,3,154,77,0,1586,1587,5,2,0,0,1587,1588,3,154,77,17,1588,1664,
764
+ 1,0,0,0,1589,1590,10,15,0,0,1590,1591,5,2,0,0,1591,1664,3,154,77,16,1592,
765
+ 1593,10,14,0,0,1593,1594,5,78,0,0,1594,1664,3,154,77,15,1595,1596,10,
766
+ 13,0,0,1596,1597,5,177,0,0,1597,1598,3,154,77,0,1598,1599,5,150,0,0,1599,
767
767
  1600,3,154,77,13,1600,1664,1,0,0,0,1601,1602,10,39,0,0,1602,1603,5,165,
768
768
  0,0,1603,1604,3,48,24,0,1604,1605,5,186,0,0,1605,1664,1,0,0,0,1606,1607,
769
769
  10,38,0,0,1607,1609,5,165,0,0,1608,1610,3,146,73,0,1609,1608,1,0,0,0,
@@ -784,8 +784,8 @@ void hogqlparserParserInitialize() {
784
784
  5,74,0,0,1657,1658,10,12,0,0,1658,1661,5,6,0,0,1659,1662,3,220,110,0,
785
785
  1660,1662,5,143,0,0,1661,1659,1,0,0,0,1661,1660,1,0,0,0,1662,1664,1,0,
786
786
  0,0,1663,1524,1,0,0,0,1663,1531,1,0,0,0,1663,1538,1,0,0,0,1663,1566,1,
787
- 0,0,0,1663,1574,1,0,0,0,1663,1577,1,0,0,0,1663,1580,1,0,0,0,1663,1583,
788
- 1,0,0,0,1663,1586,1,0,0,0,1663,1595,1,0,0,0,1663,1601,1,0,0,0,1663,1606,
787
+ 0,0,0,1663,1574,1,0,0,0,1663,1577,1,0,0,0,1663,1580,1,0,0,0,1663,1589,
788
+ 1,0,0,0,1663,1592,1,0,0,0,1663,1595,1,0,0,0,1663,1601,1,0,0,0,1663,1606,
789
789
  1,0,0,0,1663,1612,1,0,0,0,1663,1617,1,0,0,0,1663,1627,1,0,0,0,1663,1630,
790
790
  1,0,0,0,1663,1633,1,0,0,0,1663,1639,1,0,0,0,1663,1642,1,0,0,0,1663,1645,
791
791
  1,0,0,0,1663,1648,1,0,0,0,1663,1651,1,0,0,0,1663,1657,1,0,0,0,1664,1667,
@@ -934,7 +934,7 @@ void hogqlparserParserInitialize() {
934
934
  1110,1116,1122,1131,1135,1142,1148,1155,1159,1171,1176,1185,1189,1222,
935
935
  1270,1298,1362,1370,1376,1379,1382,1390,1400,1406,1409,1412,1420,1428,
936
936
  1431,1435,1438,1443,1452,1464,1472,1480,1484,1502,1506,1511,1522,1528,
937
- 1535,1547,1551,1554,1563,1569,1588,1609,1620,1624,1654,1661,1663,1665,
937
+ 1535,1547,1551,1554,1563,1569,1582,1609,1620,1624,1654,1661,1663,1665,
938
938
  1674,1678,1687,1691,1695,1700,1708,1712,1717,1724,1737,1746,1756,1763,
939
939
  1770,1783,1790,1794,1798,1803,1807,1810,1820,1828,1837,1840,1847,1863,
940
940
  1873,1881,1891,1894,1896,1898,1905,1918,1922,1939,1947,1955,1963,1970,
@@ -12923,55 +12923,55 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) {
12923
12923
  }
12924
12924
 
12925
12925
  case 7: {
12926
- auto newContext = _tracker.createInstance<ColumnExprAndContext>(_tracker.createInstance<ColumnExprContext>(parentContext, parentState));
12926
+ auto newContext = _tracker.createInstance<ColumnExprBetweenContext>(_tracker.createInstance<ColumnExprContext>(parentContext, parentState));
12927
12927
  _localctx = newContext;
12928
12928
  pushNewRecursionContext(newContext, startState, RuleColumnExpr);
12929
12929
  setState(1580);
12930
12930
 
12931
12931
  if (!(precpred(_ctx, 16))) throw FailedPredicateException(this, "precpred(_ctx, 16)");
12932
- setState(1581);
12933
- match(HogQLParser::AND);
12934
12932
  setState(1582);
12933
+ _errHandler->sync(this);
12934
+
12935
+ _la = _input->LA(1);
12936
+ if (_la == HogQLParser::NOT) {
12937
+ setState(1581);
12938
+ match(HogQLParser::NOT);
12939
+ }
12940
+ setState(1584);
12941
+ match(HogQLParser::BETWEEN);
12942
+ setState(1585);
12943
+ columnExpr(0);
12944
+ setState(1586);
12945
+ match(HogQLParser::AND);
12946
+ setState(1587);
12935
12947
  columnExpr(17);
12936
12948
  break;
12937
12949
  }
12938
12950
 
12939
12951
  case 8: {
12940
- auto newContext = _tracker.createInstance<ColumnExprOrContext>(_tracker.createInstance<ColumnExprContext>(parentContext, parentState));
12952
+ auto newContext = _tracker.createInstance<ColumnExprAndContext>(_tracker.createInstance<ColumnExprContext>(parentContext, parentState));
12941
12953
  _localctx = newContext;
12942
12954
  pushNewRecursionContext(newContext, startState, RuleColumnExpr);
12943
- setState(1583);
12955
+ setState(1589);
12944
12956
 
12945
12957
  if (!(precpred(_ctx, 15))) throw FailedPredicateException(this, "precpred(_ctx, 15)");
12946
- setState(1584);
12947
- match(HogQLParser::OR);
12948
- setState(1585);
12958
+ setState(1590);
12959
+ match(HogQLParser::AND);
12960
+ setState(1591);
12949
12961
  columnExpr(16);
12950
12962
  break;
12951
12963
  }
12952
12964
 
12953
12965
  case 9: {
12954
- auto newContext = _tracker.createInstance<ColumnExprBetweenContext>(_tracker.createInstance<ColumnExprContext>(parentContext, parentState));
12966
+ auto newContext = _tracker.createInstance<ColumnExprOrContext>(_tracker.createInstance<ColumnExprContext>(parentContext, parentState));
12955
12967
  _localctx = newContext;
12956
12968
  pushNewRecursionContext(newContext, startState, RuleColumnExpr);
12957
- setState(1586);
12969
+ setState(1592);
12958
12970
 
12959
12971
  if (!(precpred(_ctx, 14))) throw FailedPredicateException(this, "precpred(_ctx, 14)");
12960
- setState(1588);
12961
- _errHandler->sync(this);
12962
-
12963
- _la = _input->LA(1);
12964
- if (_la == HogQLParser::NOT) {
12965
- setState(1587);
12966
- match(HogQLParser::NOT);
12967
- }
12968
- setState(1590);
12969
- match(HogQLParser::BETWEEN);
12970
- setState(1591);
12971
- columnExpr(0);
12972
- setState(1592);
12973
- match(HogQLParser::AND);
12974
12972
  setState(1593);
12973
+ match(HogQLParser::OR);
12974
+ setState(1594);
12975
12975
  columnExpr(15);
12976
12976
  break;
12977
12977
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hogql_parser
3
- Version: 1.3.74
3
+ Version: 1.3.76
4
4
  Summary: HogQL parser for internal PostHog use
5
5
  Home-page: https://github.com/PostHog/posthog/tree/master/common/hogql_parser
6
6
  Author: PostHog Inc.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hogql_parser
3
- Version: 1.3.74
3
+ Version: 1.3.76
4
4
  Summary: HogQL parser for internal PostHog use
5
5
  Home-page: https://github.com/PostHog/posthog/tree/master/common/hogql_parser
6
6
  Author: PostHog Inc.
@@ -36,7 +36,7 @@ module = Extension(
36
36
 
37
37
  setup(
38
38
  name="hogql_parser",
39
- version="1.3.74",
39
+ version="1.3.76",
40
40
  url="https://github.com/PostHog/posthog/tree/master/common/hogql_parser",
41
41
  description="HogQL parser for internal PostHog use",
42
42
  author="PostHog Inc.",
File without changes
File without changes
File without changes
File without changes
File without changes