GitHub user hyunsik opened a pull request:

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

    TAJO-1241: Change default client and table time zone behavior.

    By default, TajoClient uses GMT as client time zone unless session variable 
TIMEZONE is specified. Also, by default Table uses GMT as table time zone 
unless table property timezone is specified.
    
    This patch changes these default behavior as follows:
    * TajoClient will use TimeZone.getDefault() by default.
    * Table implicitly uses ``tajo.timezone`` of TajoConf by default.
        * In other words, this default time zone does not affect the table 
property in catalog.
    
    I also added the documentation about time zone.
    * http://people.apache.org/~hyunsik/timezone/time_zone.html

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

    $ git pull https://github.com/hyunsik/tajo TAJO-1241

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

    https://github.com/apache/tajo/pull/295.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 #295
    
----
commit 021c872fbfedf90e5eb579dfe109590242fa1bae
Author: Hyunsik Choi <[email protected]>
Date:   2014-12-09T01:00:24Z

    Add session statement to parser.

commit 56b3016a579896e542a44289e59cc7cb769f8880
Author: Hyunsik Choi <[email protected]>
Date:   2014-12-09T09:09:27Z

    TAJO-1238: Add SET SESSION and RESET statement.

commit 46a99857a5adc7b30e532b6dd861157be8262d90
Author: Hyunsik Choi <[email protected]>
Date:   2014-12-09T09:09:38Z

    Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into 
TAJO-1238

commit 67b4bdedd3dae75db624e85783661c56ca3977cd
Author: Hyunsik Choi <[email protected]>
Date:   2014-12-09T09:47:27Z

    Fix initlal bugs.

commit 95ad5bea5019d195f0d5a8912f2072f1c18af43e
Author: Hyunsik Choi <[email protected]>
Date:   2014-12-09T09:47:48Z

    Merge branch 'TAJO-1238' of github.com:hyunsik/tajo into TZ_BUG

commit 73db3e1f0ca8ca7c062f49fc7cb747c8ee4ff120
Author: Hyunsik Choi <[email protected]>
Date:   2014-12-10T00:56:30Z

    Fixed all bugs.

commit e6239f36a4f70a2ad616f46381479d1a3275da31
Author: Hyunsik Choi <[email protected]>
Date:   2014-12-10T05:05:56Z

    Fixed some compilation bug and removed the reserved word 'default' from 
antlr.

commit 78078456483f769382da4785906dbbe08dda2ab6
Author: Hyunsik Choi <[email protected]>
Date:   2014-12-10T05:15:52Z

    Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into 
TAJO-1238

commit 467f1ef7e6ad0352700d4d122b703eec77823565
Author: Hyunsik Choi <[email protected]>
Date:   2014-12-10T07:36:25Z

    Merge branch 'TAJO-1238' of github.com:hyunsik/tajo into TZ_BUG

commit fb981a1ba64d0d233646edf716ceba678620c7bc
Author: Hyunsik Choi <[email protected]>
Date:   2014-12-10T08:17:03Z

    Fixed test bugs.

commit 601745d37bddcab39642b526a41de4e6bbc5926c
Author: Hyunsik Choi <[email protected]>
Date:   2014-12-10T20:10:38Z

    Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into 
TZ_BUG
    
    Conflicts:
        tajo-client/src/main/java/org/apache/tajo/client/SessionConnection.java
        tajo-client/src/main/proto/ClientProtos.proto
        tajo-core/src/main/java/org/apache/tajo/engine/parser/SQLAnalyzer.java
        
tajo-core/src/main/java/org/apache/tajo/master/TajoMasterClientService.java
        
tajo-core/src/test/java/org/apache/tajo/engine/query/TestSetSessionQuery.java
        tajo-core/src/test/resources/results/TestSQLAnalyzer/settimezone1.result
        tajo-core/src/test/resources/results/TestSQLAnalyzer/settimezone2.result
        tajo-core/src/test/resources/results/TestSQLAnalyzer/settimezone3.result

commit 2cd79ee333a19a0b177e5551f83dffa42689e1b5
Author: Hyunsik Choi <[email protected]>
Date:   2014-12-10T20:10:45Z

    Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into 
TZ_BUG

commit e4a30e4a274ef74094957b391305260ddacbacc7
Author: Hyunsik Choi <[email protected]>
Date:   2014-12-11T01:49:15Z

    Add documentation.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to