:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(hogql): correct interval string parsing in rust and cpp parsers (#66373)
Robbie9f19cca85e1f
diff --git a/common/hogql_parser/package.json b/common/hogql_parser/package.jsonindex 7e5066bc534c..d1979b76a317 100644--- a/common/hogql_parser/package.json+++ b/common/hogql_parser/package.json@@ -1,6 +1,6 @@{"name": "@posthog/hogql-parser",- "version": "1.3.72",+ "version": "1.3.75","description": "WebAssembly HogQL Parser - Parse HogQL queries in JavaScript/TypeScript","keywords": ["antlr4",diff --git a/common/hogql_parser/parser_json.cpp b/common/hogql_parser/parser_json.cppindex af0f44291be1..80286c0cc8a9 100644--- a/common/hogql_parser/parser_json.cpp+++ b/common/hogql_parser/parser_json.cpp@@ -1821,12 +1821,23 @@ class HogQLParseTreeJSONConverter : public HogQLParserBaseVisitor {std::string count_str = text.substr(0, space_pos);std::string unit_str = text.substr(space_pos + 1);+ bool count_valid = !count_str.empty();for (char c : count_str) {if (!std::isdigit(static_cast<unsigned char>(c))) {- throw NotImplementedError(("Unsupported interval count: " + count_str).c_str());+ count_valid = false;+ break;}}- int countInt = std::stoi(count_str);+ if (!count_valid) {+ throw NotImplementedError(("Unsupported interval count: '" + count_str + "' is not a valid integer").c_str());+ }+ // ClickHouse stores intervals as Int64, so accept the full Int64 range (stoll, not int32 stoi).+ int64_t countInt;+ try {+ countInt = std::stoll(count_str);+ } catch (const std::out_of_range&) {+ throw NotImplementedError(("Unsupported interval count: '" + count_str + "' is too large").c_str());+ }std::string name;if (unit_str == "second" || unit_str == "seconds") {diff --git a/common/hogql_parser/setup.py b/common/hogql_parser/setup.pyindex 0683059bb66d..0f4719bc9949 100644--- a/common/hogql_parser/setup.py+++ b/common/hogql_parser/setup.py@@ -36,7 +36,7 @@ module = Extension(setup(name="hogql_parser",- version="1.3.72",+ version="1.3.75",url="https://github.com/PostHog/posthog/tree/master/common/hogql_parser",description="HogQL parser for internal PostHog use",author="PostHog Inc.",diff --git a/frontend/package.json b/frontend/package.jsonindex be6d7398e039..111cf9e62a83 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -68,7 +68,7 @@"@posthog/docs-onboarding": "workspace:*","@posthog/esbuilder": "workspace:*","@posthog/hedgehog-mode": "^0.0.52",- "@posthog/hogql-parser": "1.3.72",+ "@posthog/hogql-parser": "1.3.75","@posthog/hogvm": "workspace:*","@posthog/icons": "^0.37.2","@posthog/products-access-control": "workspace:*",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 55553253a408..1cefc856ab5a 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -592,8 +592,8 @@ importers:specifier: ^0.0.52'@posthog/hogql-parser':- specifier: 1.3.72- version: 1.3.72+ specifier: 1.3.75+ version: 1.3.75'@posthog/hogvm':specifier: workspace:*version: link:../common/hogvm/typescript@@ -9902,8 +9902,8 @@ packages:react: 18.3.1react-dom: 18.3.1- '@posthog/[email protected]':- resolution: {integrity: sha512-bdHVvxnSZmllOCYLBaxr6icvwhkHlUgCziaR/OdNjz+GYrtIUVwlg9pqFt4KrRf7M4mEh2SWc9WfHcsbN5E5yw==}+ '@posthog/[email protected]':+ resolution: {integrity: sha512-r282QitLBwxaT5YHGi6iAq1lCE5SMkg0Oq/qzvqNio4jh/P4lK70UpyTRMDZ6VFbqJWDg8Ly7T6TBUHxhmmiVg==}'@posthog/[email protected]':resolution: {integrity: sha512-xnusbGNz/5vSMUWdEViWuai7D/gxiMZSDDnP6s/acndMqzN+W4asPUgUNnTUps7OyAS1IKaO9zxhdikFrtooJA==}@@ -30364,7 +30364,7 @@ snapshots:transitivePeerDependencies:- prop-types- '@posthog/[email protected]': {}+ '@posthog/[email protected]': {}dependencies:diff --git a/posthog/hogql/test/_test_parser.py b/posthog/hogql/test/_test_parser.pyindex 6f9c6e583f60..383bdcaf977a 100644--- a/posthog/hogql/test/_test_parser.py+++ b/posthog/hogql/test/_test_parser.py@@ -6454,12 +6454,36 @@ def parser_test_factory(backend: HogQLParserBackend):def test_interval_combined_string_validates_count_and_unit(self):# `INTERVAL '<count> <unit>'` requires an ASCII-digit count and a literal-lowercase unit; each invalid input must surface the same error string in both parsers.cases = (- ("INTERVAL 'twenty days'", "Unsupported interval count: twenty"),- ("INTERVAL '-1 day'", "Unsupported interval count: -1"),- ("INTERVAL '1.5 days'", "Unsupported interval count: 1.5"),- # `stoi`'s `out_of_range::what()` differs by stdlib (libc++ adds `: out of range`, libstdc++ doesn't); match the platform-independent prefix only.- ("INTERVAL '99999999999999999999 day'", "Unknown error: stoi"),+ ("INTERVAL 'twenty days'", "Unsupported interval count: 'twenty' is not a valid integer"),+ ("INTERVAL '-1 day'", "Unsupported interval count: '-1' is not a valid integer"),+ ("INTERVAL '1.5 days'", "Unsupported interval count: '1.5' is not a valid integer"),+ # A space-but-empty count (`' '`, `' day'`) is reported the same way — the count before the space isn't a valid integer.+ ("INTERVAL ' '", "Unsupported interval count: '' is not a valid integer"),+ ("INTERVAL ' day'", "Unsupported interval count: '' is not a valid integer"),+ # ClickHouse stores intervals as Int64, so both parsers convert the count with `std::stoll` (i64); a value past Int64 max is rejected as too large. Both parsers emit this exact message (no leaked stdlib `stoll` text), so assert it in full.+ (+ "INTERVAL '9223372036854775808 day'",+ "Unsupported interval count: '9223372036854775808' is too large",+ ),+ (+ "INTERVAL '99999999999999999999 day'",+ "Unsupported interval count: '99999999999999999999' is too large",+ ),("INTERVAL '1 SECOND'", "Unsupported interval unit: SECOND"),+ # cpp accepts only the singular or single-`s` plural unit; a doubled plural is rejected. rust used to strip every trailing `s` and silently accept `dayss` as `day`.+ ("INTERVAL '1 dayss'", "Unsupported interval unit: dayss"),+ ("INTERVAL '1 secondss'", "Unsupported interval unit: secondss"),+ # A string with no internal space can't be `<count> <unit>`: cpp commits to ColumnExprIntervalString and its visitor rejects with this message. rust used to fall through to the expr+unit form and raise a "expected interval unit keyword" SyntaxError instead — same base class, so only the message asserts the divergence.+ ("INTERVAL ''", "Unsupported interval type: must be in the format '<count> <unit>'"),+ ("INTERVAL 'x'", "Unsupported interval type: must be in the format '<count> <unit>'"),+ ("now() - INTERVAL ''", "Unsupported interval type: must be in the format '<count> <unit>'"),+ # A nested string-valued interval (`INTERVAL INTERVAL '<count> <unit>' <unit>`) reaches the same count/unit validation through a different call site; assert the edge cases there too so the two sites can't drift.+ ("INTERVAL INTERVAL ' day' MONTH", "Unsupported interval count: '' is not a valid integer"),+ (+ "INTERVAL INTERVAL '9223372036854775808 day' MONTH",+ "Unsupported interval count: '9223372036854775808' is too large",+ ),+ ("INTERVAL INTERVAL '1 dayss' MONTH", "Unsupported interval unit: dayss"),)for src, expected_msg in cases:with self.assertRaises(ExposedHogQLError, msg=src) as cpp_cm:@@ -6471,6 +6495,19 @@ def parser_test_factory(backend: HogQLParserBackend):# Guard: valid combined-string and expr+unit forms still parse.for src in ("INTERVAL '1 day'", "INTERVAL '5 days'", "INTERVAL 1 day", "INTERVAL 1 DAY"):self._assert_ast(src, "expr")+ # Guard: a no-space string that is only the HEAD of a longer+ # unit-terminated value still parses as `ColumnExprInterval` (expr+unit)+ # on both backends — the fall-back to the string-form rejection must not+ # pre-empt these. `interval 'x' day` takes the same path with the unit+ # immediately after the string.+ # Counts past int32 (`2147483648`) up to Int64 max (`9223372036854775807`) must parse — ClickHouse stores intervals as Int64, so `std::stoll` accepts the whole range. This guards the boundary against the out_of_range reject case above.+ for src in (+ "INTERVAL 'a' || 'b' hour",+ "INTERVAL 'x' day",+ "INTERVAL '2147483648 day'",+ "INTERVAL '9223372036854775807 day'",+ ):+ self.assertEqual(parse_expr(src, backend="cpp-json"), parse_expr(src, backend=backend), msg=src)def test_in_cohort_falls_back_to_identifier_when_rhs_missing(self):# `IN COHORT` only commits when a columnExpr follows; otherwise `cohort` is the IN rhs identifier (`a IN cohort` → Compare(a, "in", Field('cohort'))).diff --git a/pyproject.toml b/pyproject.tomlindex 2d9f99ca207e..ab2eb9bd6220 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -66,8 +66,8 @@ dependencies = ["grimp~=3.14","grpcio~=1.71.0","gspread==6.2.1",- "hogql-parser==1.3.72",- "hogql-parser-rs==1.3.99", # built from rust/hogql/parser via the build-hogql-parser-rs workflow + published to PyPI; rebuild locally with `uv pip install -e rust/hogql/parser` when iterating+ "hogql-parser==1.3.75",+ "hogql-parser-rs==1.3.104", # built from rust/hogql/parser via the build-hogql-parser-rs workflow + published to PyPI; rebuild locally with `uv pip install -e rust/hogql/parser` when iterating"humanize~=4.12.3","infi-clickhouse-orm","jsonref==1.1.0",diff --git a/rust/Cargo.lock b/rust/Cargo.lockindex d405eeaa7b2d..7e7a83815ef9 100644--- a/rust/Cargo.lock+++ b/rust/Cargo.lock@@ -4450,7 +4450,7 @@ dependencies = [[[package]]name = "hogql_parser_rs"-version = "1.3.99"+version = "1.3.105"dependencies = ["pyo3","serde_json",diff --git a/rust/hogql/parser/Cargo.toml b/rust/hogql/parser/Cargo.tomlindex 1ebe7bbd95b3..80781e2e8804 100644--- a/rust/hogql/parser/Cargo.toml+++ b/rust/hogql/parser/Cargo.toml@@ -1,7 +1,7 @@[package]name = "hogql_parser_rs"-# Versioned independently from the cpp parser in `common/hogql_parser/setup.py`. Both started from the same HogQL grammar revision, but the Rust port is bumped on its own whenever the hand-rolled parser changes (cpp is currently 1.3.72, this is 1.3.99); each ships as its own PyPI wheel.-version = "1.3.99"+# Versioned independently from the cpp parser in `common/hogql_parser/setup.py`. Both started from the same HogQL grammar revision, but the Rust port is bumped on its own whenever the hand-rolled parser changes (cpp is currently 1.3.72, this is 1.3.105); each ships as its own PyPI wheel.+version = "1.3.105"edition = "2021"publish = falsediff --git a/rust/hogql/parser/pyproject.toml b/rust/hogql/parser/pyproject.tomlindex 6ee63a9a1ec3..6ec26c498c1f 100644--- a/rust/hogql/parser/pyproject.toml+++ b/rust/hogql/parser/pyproject.toml@@ -8,8 +8,8 @@ build-backend = "maturin"[project]name = "hogql_parser_rs"-# Mirrors `rust/hogql/parser/Cargo.toml` (always identical). Tracks but is NOT locked to `common/hogql_parser/setup.py`: the Rust port is versioned independently and bumped on its own whenever the hand-rolled parser changes (cpp is currently 1.3.72, this is 1.3.99).-version = "1.3.99"+# Mirrors `rust/hogql/parser/Cargo.toml` (always identical). Tracks but is NOT locked to `common/hogql_parser/setup.py`: the Rust port is versioned independently and bumped on its own whenever the hand-rolled parser changes (cpp is currently 1.3.72, this is 1.3.105).+version = "1.3.105"description = "Hand-rolled Rust HogQL parser with C++-parity AST output"readme = "README.md"requires-python = ">=3.12"diff --git a/rust/hogql/parser/src/parse.rs b/rust/hogql/parser/src/parse.rsindex 292760235ad4..9457ea8aec46 100644--- a/rust/hogql/parser/src/parse.rs+++ b/rust/hogql/parser/src/parse.rs@@ -1399,15 +1399,18 @@ pub(crate) fn interval_call_name(unit: &str) -> Option<&'static str> {/// (`INTERVAL 5 SECOND`) uses the case-insensitive helper because/// keywords come from the lexer (which is case-insensitive).pub(crate) fn interval_call_name_case_sensitive(unit: &str) -> Option<&'static str> {- match unit.trim_end_matches('s') {- "second" => Some("toIntervalSecond"),- "minute" => Some("toIntervalMinute"),- "hour" => Some("toIntervalHour"),- "day" => Some("toIntervalDay"),- "week" => Some("toIntervalWeek"),- "month" => Some("toIntervalMonth"),- "quarter" => Some("toIntervalQuarter"),- "year" => Some("toIntervalYear"),+ // cpp matches each unit against exactly its singular OR single-`s` plural.+ // `trim_end_matches('s')` would strip *every* trailing `s`, over-accepting+ // doubled plurals (`dayss`, `secondss`) that cpp rejects.+ match unit {+ "second" | "seconds" => Some("toIntervalSecond"),+ "minute" | "minutes" => Some("toIntervalMinute"),+ "hour" | "hours" => Some("toIntervalHour"),+ "day" | "days" => Some("toIntervalDay"),+ "week" | "weeks" => Some("toIntervalWeek"),+ "month" | "months" => Some("toIntervalMonth"),+ "quarter" | "quarters" => Some("toIntervalQuarter"),+ "year" | "years" => Some("toIntervalYear"),_ => None,}}diff --git a/rust/hogql/parser/src/parse/expr.rs b/rust/hogql/parser/src/parse/expr.rsindex e96df1171d7a..2f5c136d202a 100644--- a/rust/hogql/parser/src/parse/expr.rs+++ b/rust/hogql/parser/src/parse/expr.rs@@ -1281,75 +1281,46 @@ impl<'a, E: Emitter + Clone> Parser<'a, E> {));}if let Some((count_str, unit)) = raw.split_once(' ') {- // cpp's `visitColumnExprIntervalString` requires the- // count to be a non-negative decimal integer (`isdigit`- // per char, `stoi` for the convert), and matches the- // unit against a literal-lowercase set (so `SECOND`- // rejects with "Unsupported interval unit: SECOND").- // Rust used to lowercase the unit and silently- // substitute `Constant(0)` for any unparseable count- // — `INTERVAL 'twenty days'` quietly became "0 days".- let count_valid =- !count_str.is_empty() && count_str.bytes().all(|b| b.is_ascii_digit());- if !count_valid {+ // `INTERVAL '<count> <unit>'` carries both inside one string;+ // cpp's `visitColumnExprIntervalString` validates and emits it.+ return self.emit_interval_combined_string(count_str, unit, str_tok);+ }+ // The string has no internal space (the split failed) and — per the+ // branch guard — no trailing unit keyword. cpp's ALL(*) still prefers+ // `ColumnExprInterval` (expr+unit) when the no-space string is only the+ // HEAD of a longer unit-terminated value (`interval 'a' || 'b' hour`),+ // so try that form first. If it fails (no unit keyword closes the+ // value, e.g. bare `interval ''` / `interval 'x' + 1`), cpp falls back+ // to `ColumnExprIntervalString`, whose visitor rejects a string that+ // isn't `<count> <unit>`. Reproduce that rejection rather than leaking+ // the expr+unit form's "expected interval unit keyword" syntax error.+ // A fatal error from the value parse (a committed nested rejection)+ // surfaces as-is, matching cpp.+ let cp = self.checkpoint();+ return match self.parse_interval_value_unit_form() {+ Ok(v) => Ok(v),+ Err(e) if e.fatal => Err(e),+ Err(_) => {+ self.restore(cp)?;self.bump()?;- return Err(ParseError::not_implemented_fatal(- format!("Unsupported interval count: {count_str}"),+ Err(ParseError::not_implemented_fatal(+ "Unsupported interval type: must be in the format '<count> <unit>'",str_tok.start,str_tok.end,- ));+ ))}- let count: i64 = match count_str.parse() {- Ok(n) => n,- Err(_) => {- self.bump()?;- return Err(ParseError::not_implemented_fatal(- "Unknown error: stoi: out of range",- str_tok.start,- str_tok.end,- ));- }- };- // cpp's unit check is literal-lowercase — case-sensitive- // against the lowercase singular / plural forms. Match- // that here rather than `interval_call_name`'s- // case-insensitive helper.- let unit_name = interval_call_name_case_sensitive(unit);- if let Some(unit_name) = unit_name {- self.bump()?;- return Ok(self- .emit- .call(unit_name, vec![self.emit.constant(self.emit.int(count))]));- }- // Unit not lowercase / not recognised — cpp errors- // here even though the count was valid.- self.bump()?;- return Err(ParseError::not_implemented_fatal(- format!("Unsupported interval unit: {unit}"),- str_tok.start,- str_tok.end,- ));- }- // Reaching here means the string has no internal space (the split- // failed) and — per the branch guard — no trailing unit keyword:- // cpp's `ColumnExprIntervalString`, which `visitColumnExprIntervalString`- // rejects (it isn't `<count> <unit>`). The unvisited-clause case- // (`{x} order by interval 'p'`) was already handled by the- // suppress short-circuit above, so a strict reject is all that's- // left — fall through to the expr+unit form: parse the string as- // the value expression and let the trailing unit keyword- // close the INTERVAL.- }- // `INTERVAL <expr> <unit>` — the grammar admits a full- // columnExpr for the value, so we parse at BP=0 (greedy).- // The unit-keyword tokens (SECOND/MINUTE/…/YEAR) aren't binary- // or postfix operators, so the Pratt loop naturally halts- // before them. AND/OR/BETWEEN that surround the INTERVAL in- // an outer expression bind correctly because the SECOND- // keyword terminates the interval value before they're seen- // — the outer call gets to those operators after parse_interval_expr- // returns.- //+ };+ }+ self.parse_interval_value_unit_form()+ }++ /// `INTERVAL <expr> <unit>` (cpp's `ColumnExprInterval`): parse a full+ /// columnExpr value at BP=0 (greedy), then require one of the eight singular+ /// unit keywords. The unit-keyword tokens (`SECOND`/`MINUTE`/…/`YEAR`) aren't+ /// binary or postfix operators, so the Pratt loop halts before them; AND / OR+ /// / BETWEEN that surround the INTERVAL in an outer expression bind correctly+ /// because the unit keyword terminates the value before they're seen.+ fn parse_interval_value_unit_form(&mut self) -> Result<E::Value, ParseError> {// Flag the value's leading primary so a nested INTERVAL there yields// the unit to us rather than eating it (see `parse_primary`). One-shot:// `parse_primary` takes it, so only that first primary is affected.@@ -1369,7 +1340,7 @@ impl<'a, E: Emitter + Clone> Parser<'a, E> {// identifier / quoted identifier is never a unit — cpp rejects// all of those (`INTERVAL 1 hours`, `INTERVAL 1 "hour"`). The// plural-tolerant `INTERVAL '5 days'` form is the *string*- // branch above, handled before this point.+ // branch in `parse_interval_expr`, handled before this point.let unit_tok = self.bump()?;let unit_name = match unit_tok.kind {TokenKind::Keyword(@@ -1430,35 +1401,51 @@ impl<'a, E: Emitter + Clone> Parser<'a, E> {str_tok.end,));};- let count_valid = !count_str.is_empty() && count_str.bytes().all(|b| b.is_ascii_digit());- if !count_valid {- self.bump()?;+ self.emit_interval_combined_string(count_str, unit, str_tok)+ }++ /// Validate and emit a `<count> <unit>` combined-string INTERVAL (cpp's+ /// `visitColumnExprIntervalString`). `str_tok` is the string literal at the+ /// cursor; it is consumed here, and anchors every error. Shared by the+ /// top-level combined-string branch of `parse_interval_expr` and the nested+ /// `parse_interval_string_only`.+ ///+ /// The count must be a non-empty run of ASCII digits (cpp digit-checks each+ /// char). ClickHouse stores intervals as Int64, so the count is accepted+ /// across the full Int64 range; a digit string past Int64 max is rejected as+ /// too large. The unit is matched case-sensitively against cpp's+ /// literal-lowercase singular / plural set (so `SECOND` rejects).+ fn emit_interval_combined_string(+ &mut self,+ count_str: &str,+ unit: &str,+ str_tok: Token,+ ) -> Result<E::Value, ParseError> {+ self.bump()?;+ if count_str.is_empty() || !count_str.bytes().all(|b| b.is_ascii_digit()) {return Err(ParseError::not_implemented_fatal(- format!("Unsupported interval count: {count_str}"),+ format!("Unsupported interval count: '{count_str}' is not a valid integer"),str_tok.start,str_tok.end,));}- let count: i64 = match count_str.parse() {+ let count: i64 = match count_str.parse::<i64>() {Ok(n) => n,Err(_) => {- self.bump()?;return Err(ParseError::not_implemented_fatal(- "Unknown error: stoi: out of range",+ format!("Unsupported interval count: '{count_str}' is too large"),str_tok.start,str_tok.end,));}};let Some(unit_name) = interval_call_name_case_sensitive(unit) else {- self.bump()?;return Err(ParseError::not_implemented_fatal(format!("Unsupported interval unit: {unit}"),str_tok.start,str_tok.end,));};- self.bump()?;Ok(self.emit.call(unit_name, vec![self.emit.constant(self.emit.int(count))]))diff --git a/uv.lock b/uv.lockindex e422e61583d8..b2d45f828b85 100644--- a/uv.lock+++ b/uv.lock@@ -3133,28 +3133,28 @@ provides-extras = ["dev"][[package]]name = "hogql-parser"-version = "1.3.72"+version = "1.3.75"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/db/4d/75af6a39d54c3b680375351c32514d340f6d458dd2496d693993b34fdd47/hogql_parser-1.3.72.tar.gz", hash = "sha256:e3571e3f53585a9e50ba16d5154926ada9f40ef5c508facc6d5d7decb4c1935c", size = 92397, upload-time = "2026-06-17T16:09:35.837Z" }+sdist = { url = "https://files.pythonhosted.org/packages/e8/10/20388a0121c0c74578ed84dc038234e476c5e02e79bd38e1b8634516cdde/hogql_parser-1.3.75.tar.gz", hash = "sha256:75a0659864276bc32241af6d55e7521654598a5e950265ace095bab239bd6c76", size = 92415, upload-time = "2026-06-29T11:06:56.774Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/5e/87/e9fac8e518fd7d01d31ad265448b80c6b31f64778329bacf8a45fd13080f/hogql_parser-1.3.72-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:a914a0665db7f1fc81946533ba539b80f890586b6fbd9ef72290448ac0c6425e", size = 655637, upload-time = "2026-06-17T16:09:29.382Z" },- { url = "https://files.pythonhosted.org/packages/c0/cd/87894a31170f2bc2c697ff3bf0342c3ff773d5a8c04405f528eecdb9a7f1/hogql_parser-1.3.72-cp313-cp313-macosx_15_0_x86_64.whl", hash = "sha256:c876f1ba0e57ca50f32063249e5cb0040810f47ab8f2e13e3c4e59cd354888fc", size = 664876, upload-time = "2026-06-17T16:09:30.752Z" },- { url = "https://files.pythonhosted.org/packages/a0/06/138bd75b093df9d84c01d00312213e6387b9e3bb9356cc37bff1114fac6c/hogql_parser-1.3.72-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:89c99ac6e508bc9178e457cff2bceeb1a61dbde9433277cb90a72eff3623cdd7", size = 5078592, upload-time = "2026-06-17T16:09:32.396Z" },- { url = "https://files.pythonhosted.org/packages/f7/8e/d8c49b857c012b290b256c026d6c0815e0f62fdc11e7da4b6e0956e4d74d/hogql_parser-1.3.72-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:ab496ef7efc234ca0c0e18953cd8f3333a459061cbe0455db3fd5aa1341b0584", size = 5184443, upload-time = "2026-06-17T16:09:34.438Z" },+ { url = "https://files.pythonhosted.org/packages/f5/27/88e28a44da703c326a4f1ad71bf09adae666e338e3234bec01b7130f90e6/hogql_parser-1.3.75-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:f204115d79eb38f2965aefdeb4b1a4b0f6b49f08443aabe79f3b3ec42512707a", size = 655879, upload-time = "2026-06-29T11:06:50.397Z" },+ { url = "https://files.pythonhosted.org/packages/df/3a/0acc7ebad37dd6e501396f74b5e75d78d3a3ea4ba04a702b6dad11622505/hogql_parser-1.3.75-cp313-cp313-macosx_15_0_x86_64.whl", hash = "sha256:cf0a41135034813b6b06865ccdd9a421bc3c560abfeb57616cd9f8676ac77a72", size = 665051, upload-time = "2026-06-29T11:06:51.716Z" },+ { url = "https://files.pythonhosted.org/packages/04/4d/9a2a78a2560866836078813638db3f5f9c5eeaa2e955803eff0b334bc31f/hogql_parser-1.3.75-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:f78e6f013f4d738e3095690c8472837af8f79c49ecb140302ba591df47d89fa9", size = 5084029, upload-time = "2026-06-29T11:06:53.362Z" },+ { url = "https://files.pythonhosted.org/packages/7c/fb/818cd2e8c34e588651e3a62bac4f60618926b860a03081a9b15f600896f3/hogql_parser-1.3.75-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:7b55c19c4533ee17261d00d9322fdd2b998dfa4af135f885e25db576d7642435", size = 5190293, upload-time = "2026-06-29T11:06:55.334Z" },][[package]]name = "hogql-parser-rs"-version = "1.3.99"+version = "1.3.104"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/19/89/3724e75e34ebcf5309f05ff3d2dd8f85ef84bbc21bd385f98f16689c9ae3/hogql_parser_rs-1.3.99.tar.gz", hash = "sha256:aaf8cbbf3d9e77706b3c8b35f016a3b39da6529f8172b1dccc5a7ed6b5489728", size = 301257, upload-time = "2026-06-23T16:17:47.323Z" }+sdist = { url = "https://files.pythonhosted.org/packages/41/e7/c8a0fb39e0bc66c0ab877683bfb75055252911ef6b774ec73c7803499943/hogql_parser_rs-1.3.104.tar.gz", hash = "sha256:838dbac97b9ed948697de3ce80ba7cd0ecf5cfec95f8f11922cc0c6c3afc01f0", size = 301109, upload-time = "2026-06-26T16:21:40.298Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/69/b0/7d4d58eea85de62802baaeb32c36b3c6c759966d6bf7d86a7cd0592e19c3/hogql_parser_rs-1.3.99-cp312-abi3-macosx_10_12_x86_64.whl", hash = "sha256:03bc570d3febd063e13619f69630f1ca979a4eeb65648611b0a0636db500fd0a", size = 741679, upload-time = "2026-06-23T16:17:36.031Z" },- { url = "https://files.pythonhosted.org/packages/ea/79/ff03eb9dbc1a49eb1ce9798e357d6c70756965d53ab7c0f281871020d7c9/hogql_parser_rs-1.3.99-cp312-abi3-macosx_11_0_arm64.whl", hash = "sha256:27790a9533636a0cbe00edc62ac1df882a08f503ea35ce01f519a76a7738ad6c", size = 698323, upload-time = "2026-06-23T16:17:37.838Z" },- { url = "https://files.pythonhosted.org/packages/60/16/4bd3ef88afdfc9eab8fdb0f50d3f5c28f74c0de034513005aa9dea1be120/hogql_parser_rs-1.3.99-cp312-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:211db8cdc9b996b85f945a92ccc2716f4ae39d4bcce4c3b80d76b4a8ddd9ec3b", size = 2501932, upload-time = "2026-06-23T16:17:40.181Z" },- { url = "https://files.pythonhosted.org/packages/21/a5/6c26c5af1d47e9be5077149bbf5d67d3d80ea23e766018164b87d9a89353/hogql_parser_rs-1.3.99-cp312-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:c8639d89da19b8760e5b89a79ac4b37d52272f45d61c5b7f78f65cecf171f275", size = 2763536, upload-time = "2026-06-23T16:17:42.159Z" },- { url = "https://files.pythonhosted.org/packages/f5/38/154333afcab0b24ff9c34e6058ad3d208daa2c9749f463dac8f036cb0f90/hogql_parser_rs-1.3.99-cp312-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:334a43a4dd4488e578efa7fc79198399acc8eca8d20b736788eb291108d5888c", size = 2675863, upload-time = "2026-06-23T16:17:43.839Z" },- { url = "https://files.pythonhosted.org/packages/8f/a6/e984a79999a15dedb70140ba72a658863927d239bc94052c468656fa1254/hogql_parser_rs-1.3.99-cp312-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:0b2f18f897dfd0467980e4e21a5889ccf727fa24d9ec10d8995e280151f16284", size = 2725837, upload-time = "2026-06-23T16:17:45.703Z" },+ { url = "https://files.pythonhosted.org/packages/e8/26/6809a725eb3c7202dc6ba1580a368e4d38dd8d80f4b598851ce83966f4e3/hogql_parser_rs-1.3.104-cp312-abi3-macosx_10_12_x86_64.whl", hash = "sha256:8dc7861d65c6b3cb89cb89144fcfea7e2c4c4f4e396977adc18bb33552f43fad", size = 741269, upload-time = "2026-06-26T16:21:31.534Z" },+ { url = "https://files.pythonhosted.org/packages/30/6a/09525f13d929b7ce90f427a9619944f825dffc5c8cbb62c23433c4b9cd56/hogql_parser_rs-1.3.104-cp312-abi3-macosx_11_0_arm64.whl", hash = "sha256:9363210d6f8b45e812c46ae798b6fcaaf656e416b86c91b4fe62c42ec09a987c", size = 698617, upload-time = "2026-06-26T16:21:33.263Z" },+ { url = "https://files.pythonhosted.org/packages/88/be/bd91222d719e99ba9b410f1bbae6f3efc8293d5e1d1339c8f7877a421c4b/hogql_parser_rs-1.3.104-cp312-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:33d05cdb34b3ac5c38ff32ef722c1a9677d04d038d77e547ee18efaad8c29540", size = 2500855, upload-time = "2026-06-26T16:21:34.623Z" },+ { url = "https://files.pythonhosted.org/packages/28/fe/7e082d94e0917870edbe16d7f6653aba14199b2879e33160e30b95d3eae8/hogql_parser_rs-1.3.104-cp312-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:3ecf1bfde158efaa89365761c70c7759f24707acd6b4b5d1dfd08109021d9728", size = 2763723, upload-time = "2026-06-26T16:21:36.025Z" },+ { url = "https://files.pythonhosted.org/packages/15/51/22c973ec0493b9f4030b5d244020921d851abb987efe8a9bcbcfaf22c75e/hogql_parser_rs-1.3.104-cp312-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:ab6b23a788b8d7d416c74404d517e7c47e946d32c4a9d74c844b19b16138f0e2", size = 2675311, upload-time = "2026-06-26T16:21:37.493Z" },+ { url = "https://files.pythonhosted.org/packages/db/63/660cbfdc58bce5b7567e144d6fd055603989d7772031ddb19b39fb450932/hogql_parser_rs-1.3.104-cp312-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:2e403e1771cb3e36021877d512c5d8e5053401adc5b66a9b1a54254916257db8", size = 2724715, upload-time = "2026-06-26T16:21:38.974Z" },][[package]]@@ -5877,8 +5877,8 @@ requires-dist = [{ name = "grimp", specifier = "~=3.14" },{ name = "grpcio", specifier = "~=1.71.0" },{ name = "gspread", specifier = "==6.2.1" },- { name = "hogql-parser", specifier = "==1.3.72" },- { name = "hogql-parser-rs", specifier = "==1.3.99" },+ { name = "hogql-parser", specifier = "==1.3.75" },+ { name = "hogql-parser-rs", specifier = "==1.3.104" },{ name = "humanize", specifier = "~=4.12.3" },{ name = "infi-clickhouse-orm", git = "https://github.com/PostHog/infi.clickhouse_orm?rev=4e3996becf66bf5c26580aff12a80425d9d56fe5" },{ name = "jsonref", specifier = "==1.1.0" },