[
https://issues.apache.org/jira/browse/TAJO-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14233982#comment-14233982
]
Hudson commented on TAJO-1191:
------------------------------
FAILURE: Integrated in Tajo-master-CODEGEN-build #121 (See
[https://builds.apache.org/job/Tajo-master-CODEGEN-build/121/])
TAJO-1191: Change DateDatum timezone to UTC. (Jaewoong Jung via hyunsik)
(hyunsik: rev 97507e45883c9db2fec2f5a9a9e544384a86ccd0)
* tajo-common/src/main/java/org/apache/tajo/datum/IntervalDatum.java
* tajo-common/src/main/java/org/apache/tajo/datum/TimeDatum.java
* tajo-common/src/main/java/org/apache/tajo/datum/DateDatum.java
* tajo-common/src/test/java/org/apache/tajo/datum/TestIntervalDatum.java
* CHANGES
> 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
> Fix For: 0.9.1
>
>
> 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)