Skip to content

Commit bed9e0c

Browse files
asubiottoampagent
andauthored
Benchmark lowercase label equality in PolarSignals (#11295)
## Summary Adds a PolarSignals query matching the existing equality case with `lower(labels.comm)`, so the suite can compare lowercase filtering with raw equality. ## Checks - Standard sf=1 runner executes both queries. - Complete results match across baseline/patched Vortex and Parquet controls. AI-assisted contribution. Signed-off-by: Alfonso Subiotto <[email protected]> Co-authored-by: Amp <[email protected]>
1 parent 5852636 commit bed9e0c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎vortex-bench/sql/polarsignals.sql‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,14 @@ SELECT DISTINCT producer, sample_type, sample_unit, period_type, period_unit, te
104104
FROM stacktraces
105105
WHERE time_nanos >= arrow_cast(0, 'Timestamp(Nanosecond, Some("UTC"))')
106106
AND time_nanos <= arrow_cast(250000000000, 'Timestamp(Nanosecond, Some("UTC"))');
107+
-- Q10: Q2 with a lowercase label equality filter.
108+
SELECT locations, value, period, time_nanos, labels.comm FROM stacktraces
109+
WHERE time_nanos >= arrow_cast(0, 'Timestamp(Nanosecond, Some("UTC"))')
110+
AND time_nanos <= arrow_cast(250000000000, 'Timestamp(Nanosecond, Some("UTC"))')
111+
AND producer = 'parca_agent'
112+
AND sample_type = 'samples'
113+
AND sample_unit = 'count'
114+
AND period_type = 'cpu'
115+
AND period_unit = 'nanoseconds'
116+
AND temporality = 'delta'
117+
AND lower(labels.comm) = 'comm_0';

0 commit comments

Comments
 (0)