[
https://issues.apache.org/jira/browse/TAJO-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jaewoong Jung updated TAJO-1191:
--------------------------------
Description:
When DateDatum#plus adds a time value to the self instance, it meaninglessly
converts the time value to a local time and then converts the added value back
to UTC, which results in error when the user time zone has a negative time
offset.
----
(Update 12/2/2014)
After some discussions with Hyunsik and Jong-young, we concluded that DateDatum
values must be treated as UTC values, not local times. The actual code change
is almost the same as I originally intended, but the overall direction of this
issue and upcoming ones are focused on aligning Tajo's timezone policy for
date/time data types with PostgreSQL's.
Changing the summary accordingly.
was:When DateDatum#plus adds a time value to the self instance, it
meaninglessly converts the time value to a local time and then converts the
added value back to UTC, which results in error when the user time zone has a
negative time offset.
Summary: Change DateDatum timezone to UTC (was: DateDatum
meaninglessly converts time to a local time before adding a time value)
> Change DateDatum timezone to UTC
> --------------------------------
>
> Key: TAJO-1191
> URL: https://issues.apache.org/jira/browse/TAJO-1191
> Project: Tajo
> Issue Type: Bug
> Reporter: Jaewoong Jung
> Assignee: Jaewoong Jung
> Priority: Minor
>
> When DateDatum#plus adds a time value to the self instance, it meaninglessly
> converts the time value to a local time and then converts the added value
> back to UTC, which results in error when the user time zone has a negative
> time offset.
> ----
> (Update 12/2/2014)
> After some discussions with Hyunsik and Jong-young, we concluded that
> DateDatum values must be treated as UTC values, not local times. The actual
> code change is almost the same as I originally intended, but the overall
> direction of this issue and upcoming ones are focused on aligning Tajo's
> timezone policy for date/time data types with PostgreSQL's.
> Changing the summary accordingly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)