You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nikolina Vraneš (Jira)" <ji...@apache.org> on 2026/07/15 12:59:00 UTC
[jira] [Updated] (SPARK-58139) Add BIN BY DST fall-back test coverage
[ https://issues.apache.org/jira/browse/SPARK-58139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikolina Vraneš updated SPARK-58139:
------------------------------------
Description:
BinBySuite covers a DST spring-forward (23-hour day) LTZ case but not the fall-back (25-hour day) case. They are asymmetric: spring-forward shortens a day and fall-back lengthens it, and bin_distribute_ratio divides overlap by real elapsed microseconds, so a bin over the 25-hour day must get a larger share than an adjacent 24-hour day.
Add test coverage for a 1-day LTZ bin across the 2024-11-03 fall-back in America/Los_Angeles, and a compound multi-day width across a DST transition. Test-only.
Sub-task of SPARK-57133.
> Add BIN BY DST fall-back test coverage
> --------------------------------------
>
> Key: SPARK-58139
> URL: https://issues.apache.org/jira/browse/SPARK-58139
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 5.0.0
> Reporter: Nikolina Vraneš
> Priority: Major
>
> BinBySuite covers a DST spring-forward (23-hour day) LTZ case but not the fall-back (25-hour day) case. They are asymmetric: spring-forward shortens a day and fall-back lengthens it, and bin_distribute_ratio divides overlap by real elapsed microseconds, so a bin over the 25-hour day must get a larger share than an adjacent 24-hour day.
> Add test coverage for a 1-day LTZ bin across the 2024-11-03 fall-back in America/Los_Angeles, and a compound multi-day width across a DST transition. Test-only.
> Sub-task of SPARK-57133.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org