[
https://issues.apache.org/jira/browse/TAJO-1062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14148897#comment-14148897
]
ASF GitHub Bot commented on TAJO-1062:
--------------------------------------
Github user mhthanh commented on a diff in the pull request:
https://github.com/apache/tajo/pull/156#discussion_r18077714
--- Diff: tajo-docs/src/main/sphinx/tsql/variables.rst ---
@@ -0,0 +1,66 @@
+*********************************
+Session Variables
+*********************************
+
+
+Each client connection to TajoMaster creates a unique session, and the
client and TajoMaster uses the session until disconnect. A session provides
session variables which are used for various configs per session.
+
+``tsql`` provides the meta command ``\set`` to manipulate session
variables. Just ``\set`` command shows all session variables. ::
+
+ default> \set
+ 'name1'='val1'
+ 'name2'='val2'
+ 'name3'='val3'
+ ...
+
+``\set key val`` will set the session variable named *key* with the value
*val*. ::
+
+ default> \set
+ 'CURRENT_DATABASE'='default'
+
+ default> \set key1 val1
+
+ default> \set
+ 'CURRENT_DATABASE'='default'
+ 'key1'='val1'
+
+
+Also, ``\unset key`` will unset the session variable named *key*.
+
+
+Now, tajo provides the following session variables.
--- End diff --
I think that we should use "Tajo" consistently everywhere instead of a mix
of "tajo" and "Tajo".
> Update TSQL documentation
> -------------------------
>
> Key: TAJO-1062
> URL: https://issues.apache.org/jira/browse/TAJO-1062
> Project: Tajo
> Issue Type: Sub-task
> Components: documentation
> Reporter: Jaehwa Jung
> Assignee: Jaehwa Jung
> Fix For: 0.9.0
>
>
> TSQL is very useful tool for tajo users. But currently, we don't provide
> enough informations to users. Thus, we need to add more informations to
> following documentation.
> http://tajo.apache.org/docs/current/cli.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)