-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEA] Implement kernel to support non-UTC time zone for LEGACY mode. #11562
Comments
also cc @res-life to help, this case is still unstable in non-utc environment |
Spark behavior:
GPU limitationGPU kernel is consistent with the Follow-upFor class LegacySimpleTimestampFormatter(
pattern: String,
zoneId: ZoneId,
locale: Locale,
lenient: Boolean = true) extends TimestampFormatter {
@transient private lazy val sdf = {
val formatter = new SimpleDateFormat(pattern, locale)
formatter.setTimeZone(TimeZone.getTimeZone(zoneId))
formatter.setLenient(lenient)
formatter
}
override def parse(s: String): Long = {
fromJavaTimestamp(new Timestamp(sdf.parse(s).getTime))
} WorkaroundDisable this case for branch 24.10 when TZ is not |
Let's use this issue to track the support for |
thanks! retargeted issue to 24.12 |
We do not want to implement a kernel just for Africa/Casablanca unless we implement it for all time zones!!! We picked Africa/Casablanca as an arbitrary time zone. It is one of the more complicated ones in terms of rules, but it is not there because a customer needs it. If we are going to develop a solution to a problem like this we want to develop a general purpose solution. |
The issue #6839 is for non-LEGACY mode. For legacy mode, from the code Spark has different behaviors between |
I think the priority for this issue is low. |
Describe the bug
this is failing non-utc test in 24.10, first seen in rapids_it-non-utc-pre_release, run:123
cpu = 231388876800, gpu = 231388873200
Steps/Code to reproduce bug
Please provide a list of steps or a code sample to reproduce the issue.
Avoid posting private or sensitive data.
Expected behavior
Pass or ignore the case
Environment details (please complete the following information)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: