GitHub user charsyam opened a pull request:
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/
Alternatively you can review and apply these changes as the patch at:
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
Author: clark.kang <firstname.lastname@example.org>