You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Validate StarRocks macro set on a live cluster (syntax gaps the docs don't cover) #2398
Items the StarRocks docs are silent on — validate on the QA StarRocks cluster before declaring the macro set done:
cross join unnest(...) / cross join lateral json_each(...) — docs only show the comma-join lateral form; call sites use cross join {{ ... }}.
date_format / str_to_date pass-through of literal 'T'/'Z' in format strings (assumed standard MySQL behavior).
%f output width (6 digits assumed).
cast(varchar as date/datetime) NULL-on-failure behavior (documented for JSON/overflow, not exhaustively for varchar→date).
Confirm cluster version ≥ 3.3.5 (DATETIME µs floor).
Plan/Design
Build a small dbt integration test model exercising every starrocks__ variant with edge-case inputs (nulls, Z-suffix, offsets, malformed JSON, non-scalar JSON paths). Also verify last_value frame semantics with an explicit-frame test (SR ROWS default vs Trino RANGE).
Blocked by the implement-18-variants and fix-3-buggy-variants tasks. Related ready task: tk-verify-live-jwt-auth-test-in-qa-starrocks-cluste-de18c1 (cluster access).
P2. Part of #2375 (2026-07 dbt warehouse audit). Witan task: tk-validate-starrocks-macro-set-on-a-live-cluster-s-82d4c1.
Triage pass 2026-08-20 - this is now unblocked. The "Blocked by" line is stale.
Both blockers landed: #2396 (18 missing starrocks__ variants, fb61916 / PR #2417) and #2397 (3 buggy variants, f2de6a0 / PR #2401). macros/cross_db_functions.sql now carries 18 starrocks__ variants.
No validation artifact exists yet, so the issue itself is entirely open. git log --grep starrocks since 2026-07-06 shows only b2b_analytics MV and infra work (5d25df4, bddc05c, 626d57d), none of which exercises the edge cases listed here. Note that 7718399 actually removed the StarRocks smoke-test model, so there is no integration-test model exercising the macro set at present - standing one up is probably the first step.
The cluster-access side may already be handled: a starrocks_qa target exists at profiles.yml:80-99.
Activity
blarghmatey commentedon Aug 20, 2026
Triage pass 2026-08-20 - this is now unblocked. The "Blocked by" line is stale.
Both blockers landed: #2396 (18 missing
starrocks__variants, fb61916 / PR #2417) and #2397 (3 buggy variants, f2de6a0 / PR #2401).macros/cross_db_functions.sqlnow carries 18starrocks__variants.No validation artifact exists yet, so the issue itself is entirely open.
git log --grep starrockssince 2026-07-06 shows only b2b_analytics MV and infra work (5d25df4, bddc05c, 626d57d), none of which exercises the edge cases listed here. Note that 7718399 actually removed the StarRocks smoke-test model, so there is no integration-test model exercising the macro set at present - standing one up is probably the first step.The cluster-access side may already be handled: a
starrocks_qatarget exists atprofiles.yml:80-99.