Repository navigation
TimeSeries: Rename the outer column time_series to samples - #119225
Conversation
f4945ed to
c34c129
Compare
time_series to samplestime_series to samples
|
Workflow [PR], commit [4440ac1] Summary: ✅
AI ReviewSummaryThis PR renames the outer Findings❌ Blockers
Final Verdict❌ Changes requested. LLVM Coverage Report |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Compile time of recompiled translation units69 translation units recompiled, 193 s compile time in total, 69 of them have a recent master baseline. Median compile-time ratio to the baselines is ×1.06 (machine-speed difference or a change affecting every TU); per-TU deltas below are relative to that ratio. |
`04836_time_series_selector_whole_metric_pk_range` still inserted into `time_series` for `ts_prune`. `05175_timeseries_samples_column_rename` placed the storage `SETTINGS` after the `TimeSeries` targets, so they were parsed as query settings and `ATTACH TABLE` failed with `UNKNOWN_SETTING`. CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=119225&sha=c34c1299c83d66a6618bec8557fc3002037c09e5&name_0=PR PR: ClickHouse#119225
7b85aa2 to
2605205
Compare
2605205 to
07ee78e
Compare
07ee78e to
fde7941
Compare
|
03100_lwu_deletes_4_index - waiting for #119400 |
The rename is TimeSeries version 3. Tables of earlier versions keep the column `time_series`, and the table functions prometheusQuery and prometheusQueryRange return the column under the name used by the table.
fde7941 to
e456937
Compare
|
@groeneai Investigate CI failures |
|
Investigated the current head Root causeThe rename reached the
6/6 has none of those five files in its slice, and it is green. One misleading detail: each failing shard reports Remedy
<fill_query do_not_check_in_pr="119225">The preconditions hold for all five files: each has exactly one top-level Two caveats. This stops the red but does not recover the comparison: those five tests then measure the new server only, and become comparable again after the rename is on master. And the attribute goes inert on merge, since master runs pass Everything else on this head
|
…rver The fill queries insert into the outer column `samples`, which the master server of the performance comparison doesn't have yet, so they are marked with do_not_check_in_pr="119225". The attribute can be removed after the merge.
PromQL Compliance ReportBaseline: S3 master
Note: score is unchanged vs baseline. |
…ale-promql-perf-pr-marker Perf tests: remove stale do_not_check_in_pr for ClickHouse#119225
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Rename the outer column
time_seriestosamplesin TimeSeries table engine.A
sampleis a pair of atimestampand avalue, sosamplesis an array of such pairs. It matches to how this term is used in Prometheus. Recently we called such an arraytime_serieswhich was a bit confusing because atime seriesis normally a series of samples with its attached tags. So it feels right to rename this column.Command
INSERT INTO ts_new SELECT * FROM ts_oldwill still work (despite columns having different names) because the position of the columntime_series/samplesinSELECT * FROM tsis the sameWorkflow [PR]
Sync PR [sync-upstream/pr/119225]