| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Speed up working with timezones | shamteev | 12 days | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optimize timezone-aware query functions (timestamp_floor\_\*\_tz, format_timestamp_tz) Problem: queries using timezone functions on a non-Moscow/non-UTC zone (e.g. Europe/Bucharest) ran 10-20x slower than their non-timezone equivalents. For Moscow/UTC a lookup table handles the conversion; for any other zone the code falls back to live cctz calls. Cause, confirmed by flamegraph and code: 1. NDatetime::ToCivilTime performed two independent timezone lookups per call. cctz::convert(tp, tz) is defined as tz.lookup(tp).cs, and the function then called tz.lookup(tp) again for the offset/is_dst fields. Both pieces of data are already present in a single absolute_lookup result. 2. TimestampFloorDayTZInternal (and Month/Quarter/Year variants) located the start of the period via a binary search that called ToCivilTime on every iteration — \~18 iterations for the day case. Combined with (1) that is \~38 cctz lookups per call, and timestamp_floor_day_tz appears twice per row in a typical WHERE clause. * Changelog entry Type: fix 1. ToCivilTime now does a single tz.lookup(tp) and reuses both cs and the offset/is_dst fields. Behavior is identical; affects all callers. 2. TimestampFloor\{Day,Month,Quarter,Year\}TZ compute the period start directly (subtract the civil time-of-day, or build the first second of the period and convert it back), then verify the result. The binary search is kept as a fallback for the rare days that do not start at midnight (DST transitions at 00:00, historical offset shifts), so results are unchanged. commit_hash:295ee82832ab2a4a35920067e7c063d6992bb083 | ||||
| * | Make "GMT+03:00" known timezone format | d-dima | 2024-03-12 | 1 | -5/+14 |
| | | | | | cd2e9b766cd6579b0124ffe05b23a22513e19a93 | ||||
| * | Weekday Generation From Civil Second | andreyshspb | 2024-02-22 | 2 | -0/+13 |
| | | | | | | Weekday Generation From Civil Second 70003fbf387f8f0157cff5f0fa3ab4354871d703 | ||||
| * | Intermediate changes | robot-piglet | 2024-02-06 | 1 | -0/+17 |
| | | |||||
| * | feat contrib: aiogram 3 | armenqa | 2024-01-19 | 6 | -181/+0 |
| | | | | | Relates: https://st.yandex-team.ru/, https://st.yandex-team.ru/ | ||||
| * | parsing promos | moroznastya | 2023-12-05 | 3 | -4/+38 |
| | | |||||
| * | External build system generator release 65 | robot-ya-builder | 2023-12-05 | 1 | -3/+3 |
| | | | | | Update tools: yexport, os-yexport | ||||
| * | add darwin-arm64 CMakeLists | dcherednik | 2023-11-20 | 2 | -0/+34 |
| | | |||||
| * | Fix input variable missprint | svidyuk | 2023-08-30 | 4 | -0/+24 |
| | | |||||
| * | All .ll files support in LLVM_BC | svidyuk | 2023-08-30 | 4 | -24/+0 |
| | | |||||
| * | add ymake export to ydb | alexv-smirnov | 2023-06-13 | 2 | -0/+30 |
| | | |||||
| * | External build system generator release 29 | robot-ya-builder | 2023-04-19 | 1 | -1/+1 |
| | | | | Update tools: yexport | ||||
| * | Revert ymake build from ydb oss export | alexv-smirnov | 2023-03-28 | 2 | -30/+0 |
| | | |||||
| * | External build system generator release 21 | robot-ya-builder | 2023-03-17 | 1 | -3/+3 |
| | | | | Update tools: yexport | ||||
| * | add library/cpp/actors, ymake build to ydb oss export | alexv-smirnov | 2023-03-15 | 2 | -0/+30 |
| | | |||||
| * | Intermediate changes | robot-piglet | 2023-03-09 | 2 | -0/+34 |
| | | |||||
| * | Intermediate changes | robot-piglet | 2023-03-07 | 3 | -2/+2 |
| | | |||||
| * | External build system generator release 17 | robot-ya-builder | 2023-03-06 | 4 | -1/+19 |
| | | | | Update tools: yexport | ||||
| * | Intermediate changes | robot-piglet | 2023-02-07 | 3 | -9/+9 |
| | | |||||
| * | Intermediate changes | robot-piglet | 2023-02-07 | 3 | -9/+9 |
| | | |||||
| * | External build system generator release 12 | robot-ya-builder | 2023-01-31 | 1 | -1/+1 |
| | | | | Update tools: yexport | ||||
| * | External build system generator release 8 | robot-ya-builder | 2023-01-17 | 4 | -4/+4 |
| | | | | Update tools: yexport | ||||
| * | Sync linux-headers instead of using system ones | thegeorg | 2022-12-15 | 4 | -18/+87 |
| | | |||||
| * | intermediate changes | arcadia-devtools | 2022-03-15 | 2 | -37/+0 |
| | | | | | ref:ca7a95e8c9a9d780f96497136a152091d54e61b5 | ||||
| * | Improve SystemCommand check in YDB CLI, KIKIMR-14321 | pnv1 | 2022-03-01 | 1 | -0/+9 |
| | | | | | ref:fe5ed49138dce046a93c364cc8879fad3abf3eef | ||||
| * | intermediate changes | arcadia-devtools | 2022-02-18 | 1 | -0/+17 |
| | | | | | ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3 | ||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | barricade | 2022-02-10 | 2 | -92/+92 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | barricade | 2022-02-10 | 2 | -92/+92 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | yulika | 2022-02-10 | 3 | -49/+49 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | yulika | 2022-02-10 | 3 | -49/+49 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | d-dima | 2022-02-10 | 4 | -101/+101 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | d-dima | 2022-02-10 | 4 | -101/+101 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | gotmanov | 2022-02-10 | 5 | -211/+211 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | gotmanov | 2022-02-10 | 5 | -211/+211 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | tobo | 2022-02-10 | 1 | -8/+8 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | tobo | 2022-02-10 | 1 | -8/+8 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | petrk | 2022-02-10 | 8 | -358/+358 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | petrk | 2022-02-10 | 8 | -358/+358 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | floatdrop | 2022-02-10 | 2 | -11/+11 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | floatdrop | 2022-02-10 | 2 | -11/+11 |
| | | |||||
| * | Restoring authorship annotation for Nikita Slyusarev ↵ | Nikita Slyusarev | 2022-02-10 | 1 | -4/+4 |
| | | | | | <[email protected]>. Commit 2 of 2. | ||||
| * | Restoring authorship annotation for Nikita Slyusarev ↵ | Nikita Slyusarev | 2022-02-10 | 1 | -4/+4 |
| | | | | | <[email protected]>. Commit 1 of 2. | ||||
| * | Restoring authorship annotation for Ivan Komarov <[email protected]>. ↵ | Ivan Komarov | 2022-02-10 | 6 | -256/+256 |
| | | | | | Commit 2 of 2. | ||||
| * | Restoring authorship annotation for Ivan Komarov <[email protected]>. ↵ | Ivan Komarov | 2022-02-10 | 6 | -256/+256 |
| | | | | | Commit 1 of 2. | ||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | yazevnul | 2022-02-10 | 4 | -28/+28 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | yazevnul | 2022-02-10 | 4 | -28/+28 |
| | | |||||
| * | Restoring authorship annotation for Vlad Yaroslavlev <[email protected]>. ↵ | Vlad Yaroslavlev | 2022-02-10 | 1 | -1/+1 |
| | | | | | Commit 2 of 2. | ||||
| * | Restoring authorship annotation for Vlad Yaroslavlev <[email protected]>. ↵ | Vlad Yaroslavlev | 2022-02-10 | 1 | -1/+1 |
| | | | | | Commit 1 of 2. | ||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | eeight | 2022-02-10 | 2 | -2/+2 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | eeight | 2022-02-10 | 2 | -2/+2 |
| | | |||||
