[ 
https://issues.apache.org/jira/browse/TAJO-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14233981#comment-14233981
 ] 

Hudson commented on TAJO-1191:
------------------------------

SUCCESS: Integrated in Tajo-master-build #480 (See 
[https://builds.apache.org/job/Tajo-master-build/480/])
TAJO-1191: Change DateDatum timezone to UTC. (Jaewoong Jung via hyunsik) 
(hyunsik: rev 97507e45883c9db2fec2f5a9a9e544384a86ccd0)
* tajo-common/src/main/java/org/apache/tajo/datum/DateDatum.java
* tajo-common/src/main/java/org/apache/tajo/datum/TimeDatum.java
* tajo-common/src/main/java/org/apache/tajo/datum/IntervalDatum.java
* CHANGES
* tajo-common/src/test/java/org/apache/tajo/datum/TestIntervalDatum.java


> 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)

Reply via email to