Modified: tajo/site/docs/devel/tsql/meta_command.html URL: http://svn.apache.org/viewvc/tajo/site/docs/devel/tsql/meta_command.html?rev=1650343&r1=1650342&r2=1650343&view=diff ============================================================================== --- tajo/site/docs/devel/tsql/meta_command.html (original) +++ tajo/site/docs/devel/tsql/meta_command.html Thu Jan 8 17:49:23 2015 @@ -180,7 +180,7 @@ <div class="section" id="meta-commands"> <h1>Meta Commands<a class="headerlink" href="#meta-commands" title="Permalink to this headline">¶</a></h1> -<p>In tsql, any command that begins with an unquoted backslash (‘’) is a tsql meta-command that is processed by tsql itself.</p> +<p>In tsql, any command that begins with an unquoted backslash (‘\’) is a tsql meta-command that is processed by tsql itself.</p> <p>In the current implementation, there are meta commands as follows:</p> <div class="highlight-python"><div class="highlight"><pre>default> \? @@ -225,7 +225,7 @@ Documentations </div> <div class="section" id="basic-usages"> <h2>Basic usages<a class="headerlink" href="#basic-usages" title="Permalink to this headline">¶</a></h2> -<p><code class="docutils literal"><span class="pre">\l</span></code> command shows a list of all databases as follows:</p> +<p><tt class="docutils literal"><span class="pre">\l</span></tt> command shows a list of all databases as follows:</p> <div class="highlight-python"><div class="highlight"><pre>default> \l default tpch @@ -233,7 +233,7 @@ work1 default> </pre></div> </div> -<p><code class="docutils literal"><span class="pre">\d</span></code> command shows a list of tables in the current database as follows:</p> +<p><tt class="docutils literal"><span class="pre">\d</span></tt> command shows a list of tables in the current database as follows:</p> <div class="highlight-python"><div class="highlight"><pre>default> \d customer lineitem @@ -245,7 +245,7 @@ region supplier </pre></div> </div> -<p><code class="docutils literal"><span class="pre">\d</span> <span class="pre">[table</span> <span class="pre">name]</span></code> command also shows a table description as follows:</p> +<p><tt class="docutils literal"><span class="pre">\d</span> <span class="pre">[table</span> <span class="pre">name]</span></tt> command also shows a table description as follows:</p> <div class="highlight-python"><div class="highlight"><pre>default> \d orders table name: orders @@ -265,13 +265,13 @@ o_shippriority INT4 o_comment TEXT </pre></div> </div> -<p>The prompt <code class="docutils literal"><span class="pre">default></span></code> indicates the current database. Basically, all SQL statements and meta commands work in the current database. Also, you can change the current database with <code class="docutils literal"><span class="pre">\c</span></code> command.</p> +<p>The prompt <tt class="docutils literal"><span class="pre">default></span></tt> indicates the current database. Basically, all SQL statements and meta commands work in the current database. Also, you can change the current database with <tt class="docutils literal"><span class="pre">\c</span></tt> command.</p> <div class="highlight-sql"><div class="highlight"><pre>default> \c work1 You are now connected to database "test" as user "hyunsik". work1> </pre></div> </div> -<p><code class="docutils literal"><span class="pre">\df</span></code> command shows a list of all built-in functions as follows:</p> +<p><tt class="docutils literal"><span class="pre">\df</span></tt> command shows a list of all built-in functions as follows:</p> <div class="highlight-python"><div class="highlight"><pre>default> \df Name | Result type | Argument types | Description | Type -----------------+-----------------+-----------------------+-----------------------------------------------+----------- @@ -289,7 +289,7 @@ work1> For Reference, many details have been omitted in order to present a clear picture of the process. </pre></div> </div> -<p><code class="docutils literal"><span class="pre">\df</span> <span class="pre">[function</span> <span class="pre">name]</span></code> command also shows a function description as follows:</p> +<p><tt class="docutils literal"><span class="pre">\df</span> <span class="pre">[function</span> <span class="pre">name]</span></tt> command also shows a function description as follows:</p> <div class="highlight-python"><div class="highlight"><pre>default> \df round; Name | Result type | Argument types | Description | Type -----------------+-----------------+-----------------------+-----------------------------------------------+-----------
Modified: tajo/site/docs/devel/tsql/single_command.html URL: http://svn.apache.org/viewvc/tajo/site/docs/devel/tsql/single_command.html?rev=1650343&r1=1650342&r2=1650343&view=diff ============================================================================== --- tajo/site/docs/devel/tsql/single_command.html (original) +++ tajo/site/docs/devel/tsql/single_command.html Thu Jan 8 17:49:23 2015 @@ -180,7 +180,7 @@ <div class="section" id="executing-a-single-command"> <h1>Executing a single command<a class="headerlink" href="#executing-a-single-command" title="Permalink to this headline">¶</a></h1> -<p>You may want to run more queries without entering tsql prompt. Tsql provides the <code class="docutils literal"><span class="pre">-c</span></code> argument for above requirement. And Tajo assumes that queries are separated by semicolon as follows:</p> +<p>You may want to run more queries without entering tsql prompt. Tsql provides the <tt class="docutils literal"><span class="pre">-c</span></tt> argument for above requirement. And Tajo assumes that queries are separated by semicolon as follows:</p> <div class="highlight-sql"><div class="highlight"><pre>$ bin/tsql -c "select count(*) from table1; select sum(score) from table1;" Progress: 0%, response time: 0.217 sec Progress: 0%, response time: 0.218 sec Modified: tajo/site/docs/devel/tsql/variables.html URL: http://svn.apache.org/viewvc/tajo/site/docs/devel/tsql/variables.html?rev=1650343&r1=1650342&r2=1650343&view=diff ============================================================================== --- tajo/site/docs/devel/tsql/variables.html (original) +++ tajo/site/docs/devel/tsql/variables.html Thu Jan 8 17:49:23 2015 @@ -181,7 +181,7 @@ <div class="section" id="session-variables"> <h1>Session Variables<a class="headerlink" href="#session-variables" title="Permalink to this headline">¶</a></h1> <p>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.</p> -<p><code class="docutils literal"><span class="pre">tsql</span></code> provides the meta command <code class="docutils literal"><span class="pre">\set</span></code> to manipulate session variables. Just <code class="docutils literal"><span class="pre">\set</span></code> command shows all session variables.</p> +<p><tt class="docutils literal"><span class="pre">tsql</span></tt> provides the meta command <tt class="docutils literal"><span class="pre">\set</span></tt> to manipulate session variables. Just <tt class="docutils literal"><span class="pre">\set</span></tt> command shows all session variables.</p> <div class="highlight-python"><div class="highlight"><pre>default> \set 'name1'='val1' 'name2'='val2' @@ -189,7 +189,7 @@ ... </pre></div> </div> -<p><code class="docutils literal"><span class="pre">\set</span> <span class="pre">key</span> <span class="pre">val</span></code> will set the session variable named <em>key</em> with the value <em>val</em>.</p> +<p><tt class="docutils literal"><span class="pre">\set</span> <span class="pre">key</span> <span class="pre">val</span></tt> will set the session variable named <em>key</em> with the value <em>val</em>.</p> <div class="highlight-python"><div class="highlight"><pre>default> \set 'CURRENT_DATABASE'='default' @@ -200,41 +200,41 @@ default> \set 'key1'='val1' </pre></div> </div> -<p>Also, <code class="docutils literal"><span class="pre">\unset</span> <span class="pre">key</span></code> will unset the session variable named <em>key</em>.</p> +<p>Also, <tt class="docutils literal"><span class="pre">\unset</span> <span class="pre">key</span></tt> will unset the session variable named <em>key</em>.</p> <p>Now, tajo provides the following session variables.</p> <ul class="simple"> -<li><code class="docutils literal"><span class="pre">DIST_QUERY_BROADCAST_JOIN_THRESHOLD</span></code></li> -<li><code class="docutils literal"><span class="pre">DIST_QUERY_JOIN_TASK_VOLUME</span></code></li> -<li><code class="docutils literal"><span class="pre">DIST_QUERY_SORT_TASK_VOLUME</span></code></li> -<li><code class="docutils literal"><span class="pre">DIST_QUERY_GROUPBY_TASK_VOLUME</span></code></li> -<li><code class="docutils literal"><span class="pre">DIST_QUERY_JOIN_PARTITION_VOLUME</span></code></li> -<li><code class="docutils literal"><span class="pre">DIST_QUERY_GROUPBY_PARTITION_VOLUME</span></code></li> -<li><code class="docutils literal"><span class="pre">DIST_QUERY_TABLE_PARTITION_VOLUME</span></code></li> -<li><code class="docutils literal"><span class="pre">EXECUTOR_EXTERNAL_SORT_BUFFER_SIZE</span></code></li> -<li><code class="docutils literal"><span class="pre">EXECUTOR_HASH_JOIN_SIZE_THRESHOLD</span></code></li> -<li><code class="docutils literal"><span class="pre">EXECUTOR_INNER_HASH_JOIN_SIZE_THRESHOLD</span></code></li> -<li><code class="docutils literal"><span class="pre">EXECUTOR_OUTER_HASH_JOIN_SIZE_THRESHOLD</span></code></li> -<li><code class="docutils literal"><span class="pre">EXECUTOR_GROUPBY_INMEMORY_HASH_THRESHOLD</span></code></li> -<li><code class="docutils literal"><span class="pre">MAX_OUTPUT_FILE_SIZE</span></code></li> -<li><code class="docutils literal"><span class="pre">CODEGEN</span></code></li> -<li><code class="docutils literal"><span class="pre">CLIENT_SESSION_EXPIRY_TIME</span></code></li> -<li><code class="docutils literal"><span class="pre">CLI_MAX_COLUMN</span></code></li> -<li><code class="docutils literal"><span class="pre">CLI_NULL_CHAR</span></code></li> -<li><code class="docutils literal"><span class="pre">CLI_PRINT_PAUSE_NUM_RECORDS</span></code></li> -<li><code class="docutils literal"><span class="pre">CLI_PRINT_PAUSE</span></code></li> -<li><code class="docutils literal"><span class="pre">CLI_PRINT_ERROR_TRACE</span></code></li> -<li><code class="docutils literal"><span class="pre">CLI_OUTPUT_FORMATTER_CLASS</span></code></li> -<li><code class="docutils literal"><span class="pre">CLI_ERROR_STOP</span></code></li> -<li><code class="docutils literal"><span class="pre">TIMEZONE</span></code></li> -<li><code class="docutils literal"><span class="pre">DATE_ORDER</span></code></li> -<li><code class="docutils literal"><span class="pre">TEXT_NULL</span></code></li> -<li><code class="docutils literal"><span class="pre">DEBUG_ENABLED</span></code></li> -<li><code class="docutils literal"><span class="pre">TEST_BROADCAST_JOIN_ENABLED</span></code></li> -<li><code class="docutils literal"><span class="pre">TEST_JOIN_OPT_ENABLED</span></code></li> -<li><code class="docutils literal"><span class="pre">TEST_FILTER_PUSHDOWN_ENABLED</span></code></li> -<li><code class="docutils literal"><span class="pre">TEST_MIN_TASK_NUM</span></code></li> -<li><code class="docutils literal"><span class="pre">BEHAVIOR_ARITHMETIC_ABORT</span></code></li> -<li><code class="docutils literal"><span class="pre">RESULT_SET_FETCH_ROWNUM</span></code></li> +<li><tt class="docutils literal"><span class="pre">DIST_QUERY_BROADCAST_JOIN_THRESHOLD</span></tt></li> +<li><tt class="docutils literal"><span class="pre">DIST_QUERY_JOIN_TASK_VOLUME</span></tt></li> +<li><tt class="docutils literal"><span class="pre">DIST_QUERY_SORT_TASK_VOLUME</span></tt></li> +<li><tt class="docutils literal"><span class="pre">DIST_QUERY_GROUPBY_TASK_VOLUME</span></tt></li> +<li><tt class="docutils literal"><span class="pre">DIST_QUERY_JOIN_PARTITION_VOLUME</span></tt></li> +<li><tt class="docutils literal"><span class="pre">DIST_QUERY_GROUPBY_PARTITION_VOLUME</span></tt></li> +<li><tt class="docutils literal"><span class="pre">DIST_QUERY_TABLE_PARTITION_VOLUME</span></tt></li> +<li><tt class="docutils literal"><span class="pre">EXECUTOR_EXTERNAL_SORT_BUFFER_SIZE</span></tt></li> +<li><tt class="docutils literal"><span class="pre">EXECUTOR_HASH_JOIN_SIZE_THRESHOLD</span></tt></li> +<li><tt class="docutils literal"><span class="pre">EXECUTOR_INNER_HASH_JOIN_SIZE_THRESHOLD</span></tt></li> +<li><tt class="docutils literal"><span class="pre">EXECUTOR_OUTER_HASH_JOIN_SIZE_THRESHOLD</span></tt></li> +<li><tt class="docutils literal"><span class="pre">EXECUTOR_GROUPBY_INMEMORY_HASH_THRESHOLD</span></tt></li> +<li><tt class="docutils literal"><span class="pre">MAX_OUTPUT_FILE_SIZE</span></tt></li> +<li><tt class="docutils literal"><span class="pre">CODEGEN</span></tt></li> +<li><tt class="docutils literal"><span class="pre">CLIENT_SESSION_EXPIRY_TIME</span></tt></li> +<li><tt class="docutils literal"><span class="pre">CLI_MAX_COLUMN</span></tt></li> +<li><tt class="docutils literal"><span class="pre">CLI_NULL_CHAR</span></tt></li> +<li><tt class="docutils literal"><span class="pre">CLI_PRINT_PAUSE_NUM_RECORDS</span></tt></li> +<li><tt class="docutils literal"><span class="pre">CLI_PRINT_PAUSE</span></tt></li> +<li><tt class="docutils literal"><span class="pre">CLI_PRINT_ERROR_TRACE</span></tt></li> +<li><tt class="docutils literal"><span class="pre">CLI_OUTPUT_FORMATTER_CLASS</span></tt></li> +<li><tt class="docutils literal"><span class="pre">CLI_ERROR_STOP</span></tt></li> +<li><tt class="docutils literal"><span class="pre">TIMEZONE</span></tt></li> +<li><tt class="docutils literal"><span class="pre">DATE_ORDER</span></tt></li> +<li><tt class="docutils literal"><span class="pre">TEXT_NULL</span></tt></li> +<li><tt class="docutils literal"><span class="pre">DEBUG_ENABLED</span></tt></li> +<li><tt class="docutils literal"><span class="pre">TEST_BROADCAST_JOIN_ENABLED</span></tt></li> +<li><tt class="docutils literal"><span class="pre">TEST_JOIN_OPT_ENABLED</span></tt></li> +<li><tt class="docutils literal"><span class="pre">TEST_FILTER_PUSHDOWN_ENABLED</span></tt></li> +<li><tt class="docutils literal"><span class="pre">TEST_MIN_TASK_NUM</span></tt></li> +<li><tt class="docutils literal"><span class="pre">BEHAVIOR_ARITHMETIC_ABORT</span></tt></li> +<li><tt class="docutils literal"><span class="pre">RESULT_SET_FETCH_ROWNUM</span></tt></li> </ul> </div>
