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

ASF GitHub Bot commented on TAJO-1191:
--------------------------------------

GitHub user gyias opened a pull request:

    https://github.com/apache/tajo/pull/278

    TAJO-1191: Change DateDatum timezone to UTC

    Currently, DateDatum is incorrectly treated as a local timezone based 
value. This change mainly updates plus & minus methods of some relevant classes 
and the class itself so that they don't convert a DateDatum value to UTC before 
executing an operation.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gyias/tajo datedatum

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/278.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #278
    
----
commit 70fef1aa1e8f347dcc955f86f86852f29e4a189f
Author: Jaewoong Jung <[email protected]>
Date:   2014-11-21T07:43:01Z

    Merge pull request #1 from apache/master
    
    Sync with original master

commit 90496c6c6b69f11af151d2e53052f792fec8dab3
Author: Jaewoong Jung <[email protected]>
Date:   2014-12-02T07:47:36Z

    Make DateDatum UTC-based

commit 0137df1b04d7dcb37d2fe3ccacf62f035247565c
Author: Jaewoong Jung <[email protected]>
Date:   2014-12-02T07:56:39Z

    Merge pull request #2 from apache/master
    
    Merge latest changes

commit dc74f756e497f77eb40c286cbfd4c834edfede86
Author: Jaewoong Jung <[email protected]>
Date:   2014-12-02T07:57:52Z

    Merge branch 'master' into datedatum

commit 6f0044bbe03085322011a6aac203273afec9c894
Author: Jaewoong Jung <[email protected]>
Date:   2014-12-02T08:29:00Z

    add a comment

commit 054510771c4308e890fb052a551d223f5e17d574
Author: Jaewoong Jung <[email protected]>
Date:   2014-12-03T06:31:32Z

    Fix IntervalDatum.java

----


> DateDatum meaninglessly converts time to a local time before adding a time 
> value
> --------------------------------------------------------------------------------
>
>                 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to