Commit 234ca84
authored
refactor(query): pass timezone by reference to avoid Arc churn (#18998)
- Refactor the timezone plumbing so DateConverter, timestamp arithmetic helpers, JSON/date formatting, and all scalar/window consumers accept &TimeZone; cloning happens only when a jiff API needs ownership. This removes dozens of
redundant Arc bumps and keeps behavior identical.
- Update every downstream caller (functions, formats, window transforms, system/cloud history tables) to pass references, fixing the prior mismatches and addressing the jiff range clamp sites.1 parent c95fdeb commit 234ca84
File tree
9 files changed
+185
-232
lines changed- src/query
- expression/src
- types
- utils
- formats/src/output_format
- functions/src/scalars/timestamp/src
- service/src
- pipelines/processors/transforms/window
- table_functions/cloud
- storages/system/src
9 files changed
+185
-232
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
0 commit comments