GitHub user charsyam opened a pull request:
https://github.com/apache/tajo/pull/452
TAJO-1419: Tsql session command doesn't work
This has some problems.
1] case sensitive.
-> Tajo Session Vars distinguish session key name.
-> so "\set timezone GMT+1" is not valid command
-> "\set TIMEZONE GMT+1" is valid.
2] client side var
-> currently client side vars are stored in TajoCliContext with set command
-> but ResultSet just using client session information that are stored in
Server Session.
-> and "SET TIME ZONE 'GMT+1'" command save TIMEZONE Setting as Server
Session.
so If timezone value is stored in client side, it is strange.
so, I changed TIMEZONE from CLISIDE_VAR to SERVER_VAR.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/charsyam/tajo feature/TAJO-1419
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/452.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 #452
----
commit 22750cdcc11c42f7117b543a2933477d0e9be63d
Author: clark.kang <[email protected]>
Date: 2015-03-23T03:41:18Z
fix TAJO-1419
----
---
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.
---