Repository navigation
Add regression test for session_timezone on LowCardinality(DateTime) - #106614
Conversation
Follow-up to issue ClickHouse#106474. The reporter saw `session_timezone` ignored on a `LowCardinality(DateTime)` column on the public Fiddle (regression since v26.4). ClickGap could not reproduce on master or any release branch (26.5/26.4/26.3/25.8), and a fresh local repro on master HEAD also passes — both `DateTime` and `LowCardinality(DateTime)` render with `Asia/Tokyo` when `session_timezone` is set. The path was apparently fixed in master without a closing PR. Add a regression test to lock in the current correct behavior so any future regression in the dictionary serialization path is caught immediately. The test covers three call sites that exercise different serialization paths: - the original constant-column shape from the report - a `materialize`-wrapped variant exercising the dictionary serializer directly - a `Memory` table round-trip exercising the full insert/read serialization path Closes: ClickHouse#106474 Co-Authored-By: Claude Opus 4.8 <[email protected]>
Pre-PR validation gate
Session id: |
|
cc @yariks5s — could you review this? Test-only PR adding a regression test for issue #106474 ( |
|
Workflow [PR], commit [e79a0f9] Summary: ❌
AI ReviewSummaryThis PR adds stateless regression coverage for Final VerdictStatus: ✅ Approve |
LLVM Coverage Report
Changed lines: No C/C++ source files changed — skipping uncovered code analysis. Newly covered by added/modified tests: 346 line(s), 2 function(s) across 124 file(s) · Details Top files
|
|
CI finished on Cross-PR check: 9 hits across 8 distinct PRs in 30 days for this exact
Session: cron:our-pr-ci-monitor:20260606-060000 |
|
@groeneai I updated the issue with the reproducible, check. |
30aabdb
Issue #106474 reported
session_timezoneignored on aLowCardinality(DateTime)column (regression since v26.4). ClickGap could not reproduce on master or any release branch (26.5/26.4/26.3/25.8). A fresh local repro on master HEAD also passes — bothDateTimeandLowCardinality(DateTime)render withAsia/Tokyowhensession_timezoneis set. The bug appears to have been silently fixed in master without a closing PR.This adds a regression test so any future break in the dictionary serialization path is caught immediately. The test covers three serialization paths:
materialize-wrapped variant exercising the dictionary serializer directlyMemorytable round-trip exercising the full insert/read pathChangelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...