Modified: tajo/site/docs/devel/table_management/rcfile.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/table_management/rcfile.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/table_management/rcfile.html (original)
+++ tajo/site/docs/devel/table_management/rcfile.html Tue Sep  1 06:42:40 2015
@@ -111,7 +111,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>
@@ -212,8 +214,8 @@
 which shares many similarities with SequenceFile.</p>
 <div class="section" id="how-to-create-a-rcfile-table">
 <h2>How to Create a RCFile Table?<a class="headerlink" 
href="#how-to-create-a-rcfile-table" title="Permalink to this 
headline">¶</a></h2>
-<p>If you are not familiar with the <code class="docutils literal"><span 
class="pre">CREATE</span> <span class="pre">TABLE</span></code> statement, 
please refer to the Data Definition Language <a class="reference internal" 
href="../sql_language/ddl.html"><em>Data Definition Language</em></a>.</p>
-<p>In order to specify a certain file format for your table, you need to use 
the <code class="docutils literal"><span class="pre">USING</span></code> clause 
in your <code class="docutils literal"><span class="pre">CREATE</span> <span 
class="pre">TABLE</span></code>
+<p>If you are not familiar with the <tt class="docutils literal"><span 
class="pre">CREATE</span> <span class="pre">TABLE</span></tt> statement, please 
refer to the Data Definition Language <a class="reference internal" 
href="../sql_language/ddl.html"><em>Data Definition Language</em></a>.</p>
+<p>In order to specify a certain file format for your table, you need to use 
the <tt class="docutils literal"><span class="pre">USING</span></tt> clause in 
your <tt class="docutils literal"><span class="pre">CREATE</span> <span 
class="pre">TABLE</span></tt>
 statement. Below is an example statement for creating a table using RCFile.</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">TABLE</span> <span 
class="n">table1</span> <span class="p">(</span>
   <span class="n">id</span> <span class="nb">int</span><span class="p">,</span>
@@ -227,12 +229,12 @@ statement. Below is an example statement
 <div class="section" id="physical-properties">
 <h2>Physical Properties<a class="headerlink" href="#physical-properties" 
title="Permalink to this headline">¶</a></h2>
 <p>Some table storage formats provide parameters for enabling or disabling 
features and adjusting physical parameters.
-The <code class="docutils literal"><span class="pre">WITH</span></code> clause 
in the CREATE TABLE statement allows users to set those parameters.</p>
+The <tt class="docutils literal"><span class="pre">WITH</span></tt> clause in 
the CREATE TABLE statement allows users to set those parameters.</p>
 <p>Now, the RCFile storage type provides the following physical properties.</p>
 <ul class="simple">
-<li><code class="docutils literal"><span 
class="pre">rcfile.serde</span></code> : custom (De)serializer class. <code 
class="docutils literal"><span 
class="pre">org.apache.tajo.storage.BinarySerializerDeserializer</span></code> 
is the default (de)serializer class.</li>
-<li><code class="docutils literal"><span class="pre">rcfile.null</span></code> 
: NULL character. It is only used when a table uses <code class="docutils 
literal"><span 
class="pre">org.apache.tajo.storage.TextSerializerDeserializer</span></code>. 
The default NULL character is an empty string <code class="docutils 
literal"><span class="pre">''</span></code>. Hive&#8217;s default NULL 
character is <code class="docutils literal"><span 
class="pre">'\\N'</span></code>.</li>
-<li><code class="docutils literal"><span 
class="pre">compression.codec</span></code> : Compression codec. You can enable 
compression feature and set specified compression algorithm. The compression 
algorithm used to compress files. The compression codec name should be the 
fully qualified class name inherited from <a class="reference external" 
href="https://hadoop.apache.org/docs/current/api/org/apache/hadoop/io/compress/CompressionCodec.html";>org.apache.hadoop.io.compress.CompressionCodec</a>.
 By default, compression is disabled.</li>
+<li><tt class="docutils literal"><span class="pre">rcfile.serde</span></tt> : 
custom (De)serializer class. <tt class="docutils literal"><span 
class="pre">org.apache.tajo.storage.BinarySerializerDeserializer</span></tt> is 
the default (de)serializer class.</li>
+<li><tt class="docutils literal"><span class="pre">rcfile.null</span></tt> : 
NULL character. It is only used when a table uses <tt class="docutils 
literal"><span 
class="pre">org.apache.tajo.storage.TextSerializerDeserializer</span></tt>. The 
default NULL character is an empty string <tt class="docutils literal"><span 
class="pre">''</span></tt>. Hive&#8217;s default NULL character is <tt 
class="docutils literal"><span class="pre">'\\N'</span></tt>.</li>
+<li><tt class="docutils literal"><span 
class="pre">compression.codec</span></tt> : Compression codec. You can enable 
compression feature and set specified compression algorithm. The compression 
algorithm used to compress files. The compression codec name should be the 
fully qualified class name inherited from <a class="reference external" 
href="https://hadoop.apache.org/docs/current/api/org/apache/hadoop/io/compress/CompressionCodec.html";>org.apache.hadoop.io.compress.CompressionCodec</a>.
 By default, compression is disabled.</li>
 </ul>
 <p>The following is an example for creating a table using RCFile that uses 
compression.</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">TABLE</span> <span 
class="n">table1</span> <span class="p">(</span>
@@ -248,14 +250,14 @@ The <code class="docutils literal"><span
 <h2>RCFile (De)serializers<a class="headerlink" href="#rcfile-de-serializers" 
title="Permalink to this headline">¶</a></h2>
 <p>Tajo provides two built-in (De)serializer for RCFile:</p>
 <ul class="simple">
-<li><code class="docutils literal"><span 
class="pre">org.apache.tajo.storage.TextSerializerDeserializer</span></code>: 
stores column values in a plain-text form.</li>
-<li><code class="docutils literal"><span 
class="pre">org.apache.tajo.storage.BinarySerializerDeserializer</span></code>: 
stores column values in a binary file format.</li>
+<li><tt class="docutils literal"><span 
class="pre">org.apache.tajo.storage.TextSerializerDeserializer</span></tt>: 
stores column values in a plain-text form.</li>
+<li><tt class="docutils literal"><span 
class="pre">org.apache.tajo.storage.BinarySerializerDeserializer</span></tt>: 
stores column values in a binary file format.</li>
 </ul>
 <p>The RCFile format can store some metadata in the RCFile header. Tajo writes 
the (de)serializer class name into
 the metadata header of each RCFile when the RCFile is created in Tajo.</p>
 <div class="admonition note">
 <p class="first admonition-title">Note</p>
-<p class="last"><code class="docutils literal"><span 
class="pre">org.apache.tajo.storage.BinarySerializerDeserializer</span></code> 
is the default (de) serializer for RCFile.</p>
+<p class="last"><tt class="docutils literal"><span 
class="pre">org.apache.tajo.storage.BinarySerializerDeserializer</span></tt> is 
the default (de) serializer for RCFile.</p>
 </div>
 </div>
 <div class="section" id="compatibility-issues-with-apache-hive">
@@ -266,16 +268,16 @@ In other words, Tajo can process RCFiles
 by setting a physical property.</p>
 <p>In Hive, there are two SerDe, and they correspond to the following 
(de)serializer in Tajo.</p>
 <ul class="simple">
-<li><code class="docutils literal"><span 
class="pre">org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe</span></code>: 
corresponds to <code class="docutils literal"><span 
class="pre">TextSerializerDeserializer</span></code> in Tajo.</li>
-<li><code class="docutils literal"><span 
class="pre">org.apache.hadoop.hive.serde2.columnar.LazyBinaryColumnarSerDe</span></code>:
 corresponds to <code class="docutils literal"><span 
class="pre">BinarySerializerDeserializer</span></code> in Tajo.</li>
+<li><tt class="docutils literal"><span 
class="pre">org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe</span></tt>: 
corresponds to <tt class="docutils literal"><span 
class="pre">TextSerializerDeserializer</span></tt> in Tajo.</li>
+<li><tt class="docutils literal"><span 
class="pre">org.apache.hadoop.hive.serde2.columnar.LazyBinaryColumnarSerDe</span></tt>:
 corresponds to <tt class="docutils literal"><span 
class="pre">BinarySerializerDeserializer</span></tt> in Tajo.</li>
 </ul>
 <p>The compatibility issue mostly occurs when a user creates an external table 
pointing to data of an existing table.
 The following section explains two cases: 1) the case where Tajo reads RCFile 
written by Hive, and
 2) the case where Hive reads RCFile written by Tajo.</p>
 <div class="section" id="when-tajo-reads-rcfile-generated-in-hive">
 <h3>When Tajo reads RCFile generated in Hive<a class="headerlink" 
href="#when-tajo-reads-rcfile-generated-in-hive" title="Permalink to this 
headline">¶</a></h3>
-<p>To create an external RCFile table generated with <code class="docutils 
literal"><span class="pre">ColumnarSerDe</span></code> in Hive,
-you should set the physical property <code class="docutils literal"><span 
class="pre">rcfile.serde</span></code> in Tajo as follows:</p>
+<p>To create an external RCFile table generated with <tt class="docutils 
literal"><span class="pre">ColumnarSerDe</span></tt> in Hive,
+you should set the physical property <tt class="docutils literal"><span 
class="pre">rcfile.serde</span></tt> in Tajo as follows:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">EXTERNAL</span> <span 
class="k">TABLE</span> <span class="n">table1</span> <span class="p">(</span>
   <span class="n">id</span> <span class="nb">int</span><span class="p">,</span>
   <span class="n">name</span> <span class="nb">text</span><span 
class="p">,</span>
@@ -285,8 +287,8 @@ you should set the physical property <co
 <span class="k">LOCATION</span> <span class="s1">&#39;....&#39;</span><span 
class="p">;</span>
 </pre></div>
 </div>
-<p>To create an external RCFile table generated with <code class="docutils 
literal"><span class="pre">LazyBinaryColumnarSerDe</span></code> in Hive,
-you should set the physical property <code class="docutils literal"><span 
class="pre">rcfile.serde</span></code> in Tajo as follows:</p>
+<p>To create an external RCFile table generated with <tt class="docutils 
literal"><span class="pre">LazyBinaryColumnarSerDe</span></tt> in Hive,
+you should set the physical property <tt class="docutils literal"><span 
class="pre">rcfile.serde</span></tt> in Tajo as follows:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">EXTERNAL</span> <span 
class="k">TABLE</span> <span class="n">table1</span> <span class="p">(</span>
   <span class="n">id</span> <span class="nb">int</span><span class="p">,</span>
   <span class="n">name</span> <span class="nb">text</span><span 
class="p">,</span>
@@ -298,14 +300,14 @@ you should set the physical property <co
 </div>
 <div class="admonition note">
 <p class="first admonition-title">Note</p>
-<p class="last">As we mentioned above, <code class="docutils literal"><span 
class="pre">BinarySerializerDeserializer</span></code> is the default (de) 
serializer for RCFile.
-So, you can omit the <code class="docutils literal"><span 
class="pre">rcfile.serde</span></code> only for <code class="docutils 
literal"><span 
class="pre">org.apache.tajo.storage.BinarySerializerDeserializer</span></code>.</p>
+<p class="last">As we mentioned above, <tt class="docutils literal"><span 
class="pre">BinarySerializerDeserializer</span></tt> is the default (de) 
serializer for RCFile.
+So, you can omit the <tt class="docutils literal"><span 
class="pre">rcfile.serde</span></tt> only for <tt class="docutils 
literal"><span 
class="pre">org.apache.tajo.storage.BinarySerializerDeserializer</span></tt>.</p>
 </div>
 </div>
 <div class="section" id="when-hive-reads-rcfile-generated-in-tajo">
 <h3>When Hive reads RCFile generated in Tajo<a class="headerlink" 
href="#when-hive-reads-rcfile-generated-in-tajo" title="Permalink to this 
headline">¶</a></h3>
-<p>To create an external RCFile table written by Tajo with <code 
class="docutils literal"><span 
class="pre">TextSerializerDeserializer</span></code>,
-you should set the <code class="docutils literal"><span 
class="pre">SERDE</span></code> as follows:</p>
+<p>To create an external RCFile table written by Tajo with <tt class="docutils 
literal"><span class="pre">TextSerializerDeserializer</span></tt>,
+you should set the <tt class="docutils literal"><span 
class="pre">SERDE</span></tt> as follows:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">TABLE</span> <span 
class="n">table1</span> <span class="p">(</span>
   <span class="n">id</span> <span class="nb">int</span><span class="p">,</span>
   <span class="n">name</span> <span class="n">string</span><span 
class="p">,</span>
@@ -315,8 +317,8 @@ you should set the <code class="docutils
 <span class="k">LOCATION</span> <span 
class="s1">&#39;&lt;hdfs_location&gt;&#39;</span><span class="p">;</span>
 </pre></div>
 </div>
-<p>To create an external RCFile table written by Tajo with <code 
class="docutils literal"><span 
class="pre">BinarySerializerDeserializer</span></code>,
-you should set the <code class="docutils literal"><span 
class="pre">SERDE</span></code> as follows:</p>
+<p>To create an external RCFile table written by Tajo with <tt class="docutils 
literal"><span class="pre">BinarySerializerDeserializer</span></tt>,
+you should set the <tt class="docutils literal"><span 
class="pre">SERDE</span></tt> as follows:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">TABLE</span> <span 
class="n">table1</span> <span class="p">(</span>
   <span class="n">id</span> <span class="nb">int</span><span class="p">,</span>
   <span class="n">name</span> <span class="n">string</span><span 
class="p">,</span>

Modified: tajo/site/docs/devel/table_management/sequencefile.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/table_management/sequencefile.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/table_management/sequencefile.html (original)
+++ tajo/site/docs/devel/table_management/sequencefile.html Tue Sep  1 06:42:40 
2015
@@ -111,7 +111,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>
@@ -212,7 +214,7 @@
 <h2>Introduce<a class="headerlink" href="#introduce" title="Permalink to this 
headline">¶</a></h2>
 <p>SequenceFiles are flat files consisting of binary key/value pairs.
 SequenceFile is basic file format which provided by Hadoop, and Hive also 
provides it to create a table.</p>
-<p>The <code class="docutils literal"><span class="pre">USING</span> <span 
class="pre">sequencefile</span></code> keywords let you create a SequecneFile. 
Here is an example statement to create a table using <code class="docutils 
literal"><span class="pre">SequecneFile</span></code>:</p>
+<p>The <tt class="docutils literal"><span class="pre">USING</span> <span 
class="pre">sequencefile</span></tt> keywords let you create a SequecneFile. 
Here is an example statement to create a table using <tt class="docutils 
literal"><span class="pre">SequecneFile</span></tt>:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">TABLE</span> <span 
class="n">table1</span> <span class="p">(</span><span class="n">id</span> <span 
class="nb">int</span><span class="p">,</span> <span class="n">name</span> <span 
class="nb">text</span><span class="p">,</span> <span class="n">score</span> 
<span class="nb">float</span><span class="p">,</span> <span 
class="k">type</span> <span class="nb">text</span><span class="p">)</span>
 <span class="k">USING</span> <span class="n">sequencefile</span><span 
class="p">;</span>
 </pre></div>
@@ -232,7 +234,7 @@ SequenceFile is basic file format which
 <li>BinarySerializerDeserializer: This class can read and write data in binary 
file format.</li>
 </ul>
 </div></blockquote>
-<p>The default is the SerDe for plain text file in Tajo. The above example 
statement created the table using TextSerializerDeserializer.If you want to use 
BinarySerializerDeserializer, you can specify it by <code class="docutils 
literal"><span class="pre">sequencefile.serde</span></code> keywords:</p>
+<p>The default is the SerDe for plain text file in Tajo. The above example 
statement created the table using TextSerializerDeserializer.If you want to use 
BinarySerializerDeserializer, you can specify it by <tt class="docutils 
literal"><span class="pre">sequencefile.serde</span></tt> keywords:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">TABLE</span> <span 
class="n">table1</span> <span class="p">(</span><span class="n">id</span> <span 
class="nb">int</span><span class="p">,</span> <span class="n">name</span> <span 
class="nb">text</span><span class="p">,</span> <span class="n">score</span> 
<span class="nb">float</span><span class="p">,</span> <span 
class="k">type</span> <span class="nb">text</span><span class="p">)</span>
 <span class="k">USING</span> <span class="n">sequencefile</span> <span 
class="k">with</span> <span class="p">(</span><span 
class="s1">&#39;sequencefile.serde&#39;</span><span class="o">=</span><span 
class="s1">&#39;org.apache.tajo.storage.BinarySerializerDeserializer&#39;</span><span
 class="p">)</span>
 </pre></div>
@@ -255,7 +257,7 @@ SequenceFile is basic file format which
 <li>BlockCompressWriter : Block-compressed files, both keys &amp; values are 
collected in &#8216;blocks&#8217; separately and compressed. The size of the 
&#8216;block&#8217; is configurable.</li>
 </ul>
 </div></blockquote>
-<p>The default is Uncompressed Writer in Tajo. If you want to use 
RecordCompressWriter, you can specify it by <code class="docutils 
literal"><span class="pre">compression.type</span></code> keywords and  <code 
class="docutils literal"><span class="pre">compression.codec</span></code> 
keywords:</p>
+<p>The default is Uncompressed Writer in Tajo. If you want to use 
RecordCompressWriter, you can specify it by <tt class="docutils literal"><span 
class="pre">compression.type</span></tt> keywords and  <tt class="docutils 
literal"><span class="pre">compression.codec</span></tt> keywords:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">TABLE</span> <span 
class="n">table1</span> <span class="p">(</span><span class="n">id</span> <span 
class="nb">int</span><span class="p">,</span> <span class="n">name</span> <span 
class="nb">text</span><span class="p">,</span> <span class="n">score</span> 
<span class="nb">float</span><span class="p">,</span> <span 
class="k">type</span> <span class="nb">text</span><span class="p">)</span>
 <span class="k">USING</span> <span class="n">sequencefile</span> <span 
class="k">with</span> <span class="p">(</span><span 
class="s1">&#39;compression.type&#39;</span><span class="o">=</span><span 
class="s1">&#39;RECORD&#39;</span><span class="p">,</span><span 
class="s1">&#39;compression.codec&#39;</span><span class="o">=</span><span 
class="s1">&#39;org.apache.hadoop.io.compress.SnappyCodec&#39;</span><span 
class="p">)</span>
 </pre></div>
@@ -267,7 +269,7 @@ SequenceFile is basic file format which
 <span class="n">hive</span><span class="o">&gt;</span> <span 
class="k">CREATE</span> <span class="k">TABLE</span> <span 
class="n">table1</span> <span class="p">(</span><span class="n">id</span> <span 
class="nb">int</span><span class="p">,</span> <span class="n">name</span> <span 
class="n">string</span><span class="p">,</span> <span class="n">score</span> 
<span class="nb">float</span><span class="p">,</span> <span 
class="k">type</span> <span class="n">string</span><span class="p">)</span> 
<span class="n">STORED</span> <span class="k">AS</span> <span 
class="n">sequencefile</span><span class="p">;;</span>
 </pre></div>
 </div>
-<p>And if you want to use BlockCompressWriter, you can specify it by <code 
class="docutils literal"><span class="pre">compression.type</span></code> 
keywords and  <code class="docutils literal"><span 
class="pre">compression.codec</span></code> keywords:</p>
+<p>And if you want to use BlockCompressWriter, you can specify it by <tt 
class="docutils literal"><span class="pre">compression.type</span></tt> 
keywords and  <tt class="docutils literal"><span 
class="pre">compression.codec</span></tt> keywords:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">TABLE</span> <span 
class="n">table1</span> <span class="p">(</span><span class="n">id</span> <span 
class="nb">int</span><span class="p">,</span> <span class="n">name</span> <span 
class="nb">text</span><span class="p">,</span> <span class="n">score</span> 
<span class="nb">float</span><span class="p">,</span> <span 
class="k">type</span> <span class="nb">text</span><span class="p">)</span>
 <span class="k">USING</span> <span class="n">sequencefile</span> <span 
class="k">with</span> <span class="p">(</span><span 
class="s1">&#39;compression.type&#39;</span><span class="o">=</span><span 
class="s1">&#39;BLOCK&#39;</span><span class="p">,</span><span 
class="s1">&#39;compression.codec&#39;</span><span class="o">=</span><span 
class="s1">&#39;org.apache.hadoop.io.compress.SnappyCodec&#39;</span><span 
class="p">)</span>
 </pre></div>

Modified: tajo/site/docs/devel/table_management/table_overview.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/table_management/table_overview.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/table_management/table_overview.html (original)
+++ tajo/site/docs/devel/table_management/table_overview.html Tue Sep  1 
06:42:40 2015
@@ -111,7 +111,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>
@@ -216,7 +218,7 @@
 </div>
 <div class="section" id="managed-table">
 <h2>Managed Table<a class="headerlink" href="#managed-table" title="Permalink 
to this headline">¶</a></h2>
-<p><code class="docutils literal"><span class="pre">CREATE</span> <span 
class="pre">TABLE</span></code> statement with <code class="docutils 
literal"><span class="pre">EXTERNAL</span></code> keyword lets you create a 
table located in the warehouse directory specified by the configuration 
property <code class="docutils literal"><span 
class="pre">tajo.warehouse.directory</span></code> or <code class="docutils 
literal"><span class="pre">${tajo.root}/warehouse</span></code> by default. For 
example:</p>
+<p><tt class="docutils literal"><span class="pre">CREATE</span> <span 
class="pre">TABLE</span></tt> statement with <tt class="docutils literal"><span 
class="pre">EXTERNAL</span></tt> keyword lets you create a table located in the 
warehouse directory specified by the configuration property <tt class="docutils 
literal"><span class="pre">tajo.warehouse.directory</span></tt> or <tt 
class="docutils literal"><span class="pre">${tajo.root}/warehouse</span></tt> 
by default. For example:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">TABLE</span> <span 
class="n">employee</span> <span class="p">(</span>
  <span class="n">id</span> <span class="nb">int</span><span class="p">,</span>
  <span class="n">name</span> <span class="nb">text</span><span 
class="p">,</span>
@@ -227,7 +229,7 @@
 </div>
 <div class="section" id="external-table">
 <h2>External Table<a class="headerlink" href="#external-table" 
title="Permalink to this headline">¶</a></h2>
-<p><code class="docutils literal"><span class="pre">CREATE</span> <span 
class="pre">EXTERNAL</span> <span class="pre">TABLE</span></code> statement 
lets you create a table located in a specify location so that Tajo does not use 
a default data warehouse location for the table. External tables are in common 
used if you already have data generated. LOCATION clause must be required for 
an external table.</p>
+<p><tt class="docutils literal"><span class="pre">CREATE</span> <span 
class="pre">EXTERNAL</span> <span class="pre">TABLE</span></tt> statement lets 
you create a table located in a specify location so that Tajo does not use a 
default data warehouse location for the table. External tables are in common 
used if you already have data generated. LOCATION clause must be required for 
an external table.</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">EXTERNAL</span> <span 
class="k">TABLE</span> <span class="n">employee</span> <span class="p">(</span>
  <span class="n">id</span> <span class="nb">int</span><span class="p">,</span>
  <span class="n">name</span> <span class="nb">text</span><span 
class="p">,</span>
@@ -238,17 +240,17 @@
 <p>The location can be a directory located in HDFS, Amazon S3, HBase, or local 
file system (if a Tajo cluster runs in a single machine). URI examples are as 
follows:</p>
 <blockquote>
 <div><ul class="simple">
-<li>HDFS - <code class="docutils literal"><span 
class="pre">hdfs://hostname:8020/table1</span></code></li>
-<li>Amazon S3 - <code class="docutils literal"><span 
class="pre">s3://bucket-name/table1</span></code></li>
-<li>local file system - <code class="docutils literal"><span 
class="pre">file:///dir/table1</span></code></li>
-<li>Openstack Swift - <code class="docutils literal"><span 
class="pre">swift://bucket-name/table1</span></code></li>
+<li>HDFS - <tt class="docutils literal"><span 
class="pre">hdfs://hostname:8020/table1</span></tt></li>
+<li>Amazon S3 - <tt class="docutils literal"><span 
class="pre">s3://bucket-name/table1</span></tt></li>
+<li>local file system - <tt class="docutils literal"><span 
class="pre">file:///dir/table1</span></tt></li>
+<li>Openstack Swift - <tt class="docutils literal"><span 
class="pre">swift://bucket-name/table1</span></tt></li>
 </ul>
 </div></blockquote>
 </div>
 <div class="section" id="table-properties">
 <h2>Table Properties<a class="headerlink" href="#table-properties" 
title="Permalink to this headline">¶</a></h2>
 <p>All table formats provide parameters for enabling or disabling features and 
adjusting physical parameters.
-The <code class="docutils literal"><span class="pre">WITH</span></code> clause 
in the CREATE TABLE statement allows users to set those properties.</p>
+The <tt class="docutils literal"><span class="pre">WITH</span></tt> clause in 
the CREATE TABLE statement allows users to set those properties.</p>
 <p>The following example is to set a custom field delimiter, NULL character, 
and compression codec:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">TABLE</span> <span 
class="n">table1</span> <span class="p">(</span>
  <span class="n">id</span> <span class="nb">int</span><span class="p">,</span>
@@ -273,7 +275,7 @@ The <code class="docutils literal"><span
 </div>
 <div class="section" id="time-zone">
 <h3>Time zone<a class="headerlink" href="#time-zone" title="Permalink to this 
headline">¶</a></h3>
-<p>In Tajo, a table property <code class="docutils literal"><span 
class="pre">timezone</span></code> allows users to specify a time zone that the 
table uses for reading or writing.</p>
+<p>In Tajo, a table property <tt class="docutils literal"><span 
class="pre">timezone</span></tt> allows users to specify a time zone that the 
table uses for reading or writing.</p>
 <p>You can specify a table time zone as follows:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">EXTERNAL</span> <span 
class="k">TABLE</span> <span class="n">table1</span> <span class="p">(</span>
  <span class="n">t_timestamp</span>  <span class="k">TIMESTAMP</span><span 
class="p">,</span>

Modified: tajo/site/docs/devel/table_management/tablespaces.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/table_management/tablespaces.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/table_management/tablespaces.html (original)
+++ tajo/site/docs/devel/table_management/tablespaces.html Tue Sep  1 06:42:40 
2015
@@ -111,7 +111,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>
@@ -209,8 +211,8 @@
 <p>Tablespaces in Tajo allow users to define locations in the storage system 
where the files or data objects representing database objects can be stored. 
Once defined, a tablespace can be referred to by name when creating a database 
or a table. Especially, it is very useful when a Tajo cluster instance should 
use heterogeneous storage systems such as HDFS, MySQL, and Oracle.</p>
 <div class="section" id="configuration">
 <h2>Configuration<a class="headerlink" href="#configuration" title="Permalink 
to this headline">¶</a></h2>
-<p>By default, Tajo use in <code class="docutils literal"><span 
class="pre">${tajo.rootdir}/warehouse</span></code> in <code class="docutils 
literal"><span class="pre">conf/tajo-site.xml</span></code> as a default 
tablespace. It also allows users to register additional tablespaces.</p>
-<p><code class="docutils literal"><span 
class="pre">conf/storage-site.json</span></code> file.</p>
+<p>By default, Tajo use in <tt class="docutils literal"><span 
class="pre">${tajo.rootdir}/warehouse</span></tt> in <tt class="docutils 
literal"><span class="pre">conf/tajo-site.xml</span></tt> as a default 
tablespace. It also allows users to register additional tablespaces.</p>
+<p><tt class="docutils literal"><span 
class="pre">conf/storage-site.json</span></tt> file.</p>
 <p>The configuration file has the following struct:</p>
 <div class="highlight-json"><div class="highlight"><pre><span 
class="p">{</span>
   <span class="nt">&quot;spaces&quot;</span><span class="p">:</span> <span 
class="p">{</span>

Modified: tajo/site/docs/devel/table_management/text.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/table_management/text.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/table_management/text.html (original)
+++ tajo/site/docs/devel/table_management/text.html Tue Sep  1 06:42:40 2015
@@ -111,7 +111,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>
@@ -209,14 +211,14 @@
   <div class="section" id="text">
 <h1>TEXT<a class="headerlink" href="#text" title="Permalink to this 
headline">¶</a></h1>
 <p>A character-separated values plain-text file represents a tabular data set 
consisting of rows and columns.
-Each row is a plan-text line. A line is usually broken by a character line 
feed <code class="docutils literal"><span class="pre">\n</span></code> or 
carriage-return <code class="docutils literal"><span 
class="pre">\r</span></code>.
-The line feed <code class="docutils literal"><span 
class="pre">\n</span></code> is the default delimiter in Tajo. Each record 
consists of multiple fields, separated by
-some other character or string, most commonly a literal vertical bar <code 
class="docutils literal"><span class="pre">|</span></code>, comma <code 
class="docutils literal"><span class="pre">,</span></code> or tab <code 
class="docutils literal"><span class="pre">\t</span></code>.
+Each row is a plan-text line. A line is usually broken by a character line 
feed <tt class="docutils literal"><span class="pre">\n</span></tt> or 
carriage-return <tt class="docutils literal"><span class="pre">\r</span></tt>.
+The line feed <tt class="docutils literal"><span class="pre">\n</span></tt> is 
the default delimiter in Tajo. Each record consists of multiple fields, 
separated by
+some other character or string, most commonly a literal vertical bar <tt 
class="docutils literal"><span class="pre">|</span></tt>, comma <tt 
class="docutils literal"><span class="pre">,</span></tt> or tab <tt 
class="docutils literal"><span class="pre">\t</span></tt>.
 The vertical bar is used as the default field delimiter in Tajo.</p>
 <div class="section" id="how-to-create-a-text-table">
 <h2>How to Create a TEXT Table ?<a class="headerlink" 
href="#how-to-create-a-text-table" title="Permalink to this 
headline">¶</a></h2>
-<p>If you are not familiar with the <code class="docutils literal"><span 
class="pre">CREATE</span> <span class="pre">TABLE</span></code> statement, 
please refer to the Data Definition Language <a class="reference internal" 
href="../sql_language/ddl.html"><em>Data Definition Language</em></a>.</p>
-<p>In order to specify a certain file format for your table, you need to use 
the <code class="docutils literal"><span class="pre">USING</span></code> clause 
in your <code class="docutils literal"><span class="pre">CREATE</span> <span 
class="pre">TABLE</span></code>
+<p>If you are not familiar with the <tt class="docutils literal"><span 
class="pre">CREATE</span> <span class="pre">TABLE</span></tt> statement, please 
refer to the Data Definition Language <a class="reference internal" 
href="../sql_language/ddl.html"><em>Data Definition Language</em></a>.</p>
+<p>In order to specify a certain file format for your table, you need to use 
the <tt class="docutils literal"><span class="pre">USING</span></tt> clause in 
your <tt class="docutils literal"><span class="pre">CREATE</span> <span 
class="pre">TABLE</span></tt>
 statement. The below is an example statement for creating a table using 
<em>TEXT</em> format.</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">TABLE</span>
  <span class="n">table1</span> <span class="p">(</span>
@@ -231,23 +233,23 @@ statement. The below is an example state
 <div class="section" id="physical-properties">
 <h2>Physical Properties<a class="headerlink" href="#physical-properties" 
title="Permalink to this headline">¶</a></h2>
 <p>Some table storage formats provide parameters for enabling or disabling 
features and adjusting physical parameters.
-The <code class="docutils literal"><span class="pre">WITH</span></code> clause 
in the CREATE TABLE statement allows users to set those parameters.</p>
+The <tt class="docutils literal"><span class="pre">WITH</span></tt> clause in 
the CREATE TABLE statement allows users to set those parameters.</p>
 <p><em>TEXT</em> format provides the following physical properties.</p>
 <ul class="simple">
-<li><code class="docutils literal"><span 
class="pre">text.delimiter</span></code>: delimiter character. <code 
class="docutils literal"><span class="pre">|</span></code> or <code 
class="docutils literal"><span class="pre">\u0001</span></code> is usually 
used, and the default field delimiter is <code class="docutils literal"><span 
class="pre">|</span></code>.</li>
-<li><code class="docutils literal"><span class="pre">text.null</span></code>: 
<code class="docutils literal"><span class="pre">NULL</span></code> character. 
The default <code class="docutils literal"><span class="pre">NULL</span></code> 
character is an empty string <code class="docutils literal"><span 
class="pre">''</span></code>. Hive&#8217;s default <code class="docutils 
literal"><span class="pre">NULL</span></code> character is <code 
class="docutils literal"><span class="pre">'\\N'</span></code>.</li>
-<li><code class="docutils literal"><span 
class="pre">compression.codec</span></code>: Compression codec. You can enable 
compression feature and set specified compression algorithm. The compression 
algorithm used to compress files. The compression codec name should be the 
fully qualified class name inherited from <a class="reference external" 
href="https://hadoop.apache.org/docs/current/api/org/apache/hadoop/io/compress/CompressionCodec.html";>org.apache.hadoop.io.compress.CompressionCodec</a>.
 By default, compression is disabled.</li>
-<li><code class="docutils literal"><span class="pre">text.serde</span></code>: 
custom (De)serializer class. <code class="docutils literal"><span 
class="pre">org.apache.tajo.storage.text.CSVLineSerDe</span></code> is the 
default (De)serializer class.</li>
-<li><code class="docutils literal"><span class="pre">timezone</span></code>: 
the time zone that the table uses for writting. When table rows are read or 
written, <code class="docutils literal"><span 
class="pre">`timestamp`</span></code> and <code class="docutils literal"><span 
class="pre">`time`</span></code> column values are adjusted by this timezone if 
it is set. Time zone can be an abbreviation form like &#8216;PST&#8217; or 
&#8216;DST&#8217;. Also, it accepts an offset-based form like 
&#8216;UTC+9&#8217; or a location-based form like &#8216;Asia/Seoul&#8217;.</li>
-<li><code class="docutils literal"><span 
class="pre">text.error-tolerance.max-num</span></code>: the maximum number of 
permissible parsing errors. This value should be an integer value. By default, 
<code class="docutils literal"><span 
class="pre">text.error-tolerance.max-num</span></code> is <code class="docutils 
literal"><span class="pre">0</span></code>. According to the value, parsing 
errors will be handled in different ways.<ul>
-<li>If <code class="docutils literal"><span 
class="pre">text.error-tolerance.max-num</span> <span class="pre">&lt;</span> 
<span class="pre">0</span></code>, all parsing errors are ignored.</li>
-<li>If <code class="docutils literal"><span 
class="pre">text.error-tolerance.max-num</span> <span class="pre">==</span> 
<span class="pre">0</span></code>, any parsing error is not allowed. If any 
error occurs, the query will be failed. (default)</li>
-<li>If <code class="docutils literal"><span 
class="pre">text.error-tolerance.max-num</span> <span class="pre">&gt;</span> 
<span class="pre">0</span></code>, the given number of parsing errors in each 
task will be pemissible.</li>
+<li><tt class="docutils literal"><span class="pre">text.delimiter</span></tt>: 
delimiter character. <tt class="docutils literal"><span 
class="pre">|</span></tt> or <tt class="docutils literal"><span 
class="pre">\u0001</span></tt> is usually used, and the default field delimiter 
is <tt class="docutils literal"><span class="pre">|</span></tt>.</li>
+<li><tt class="docutils literal"><span class="pre">text.null</span></tt>: <tt 
class="docutils literal"><span class="pre">NULL</span></tt> character. The 
default <tt class="docutils literal"><span class="pre">NULL</span></tt> 
character is an empty string <tt class="docutils literal"><span 
class="pre">''</span></tt>. Hive&#8217;s default <tt class="docutils 
literal"><span class="pre">NULL</span></tt> character is <tt class="docutils 
literal"><span class="pre">'\\N'</span></tt>.</li>
+<li><tt class="docutils literal"><span 
class="pre">compression.codec</span></tt>: Compression codec. You can enable 
compression feature and set specified compression algorithm. The compression 
algorithm used to compress files. The compression codec name should be the 
fully qualified class name inherited from <a class="reference external" 
href="https://hadoop.apache.org/docs/current/api/org/apache/hadoop/io/compress/CompressionCodec.html";>org.apache.hadoop.io.compress.CompressionCodec</a>.
 By default, compression is disabled.</li>
+<li><tt class="docutils literal"><span class="pre">text.serde</span></tt>: 
custom (De)serializer class. <tt class="docutils literal"><span 
class="pre">org.apache.tajo.storage.text.CSVLineSerDe</span></tt> is the 
default (De)serializer class.</li>
+<li><tt class="docutils literal"><span class="pre">timezone</span></tt>: the 
time zone that the table uses for writting. When table rows are read or 
written, <tt class="docutils literal"><span class="pre">`timestamp`</span></tt> 
and <tt class="docutils literal"><span class="pre">`time`</span></tt> column 
values are adjusted by this timezone if it is set. Time zone can be an 
abbreviation form like &#8216;PST&#8217; or &#8216;DST&#8217;. Also, it accepts 
an offset-based form like &#8216;UTC+9&#8217; or a location-based form like 
&#8216;Asia/Seoul&#8217;.</li>
+<li><tt class="docutils literal"><span 
class="pre">text.error-tolerance.max-num</span></tt>: the maximum number of 
permissible parsing errors. This value should be an integer value. By default, 
<tt class="docutils literal"><span 
class="pre">text.error-tolerance.max-num</span></tt> is <tt class="docutils 
literal"><span class="pre">0</span></tt>. According to the value, parsing 
errors will be handled in different ways.<ul>
+<li>If <tt class="docutils literal"><span 
class="pre">text.error-tolerance.max-num</span> <span class="pre">&lt;</span> 
<span class="pre">0</span></tt>, all parsing errors are ignored.</li>
+<li>If <tt class="docutils literal"><span 
class="pre">text.error-tolerance.max-num</span> <span class="pre">==</span> 
<span class="pre">0</span></tt>, any parsing error is not allowed. If any error 
occurs, the query will be failed. (default)</li>
+<li>If <tt class="docutils literal"><span 
class="pre">text.error-tolerance.max-num</span> <span class="pre">&gt;</span> 
<span class="pre">0</span></tt>, the given number of parsing errors in each 
task will be pemissible.</li>
 </ul>
 </li>
-<li><code class="docutils literal"><span 
class="pre">text.skip.headerlines</span></code>: Number of header lines to be 
skipped. Some text files often have a header which has a kind of metadata(e.g.: 
column names), thus this option can be useful.</li>
+<li><tt class="docutils literal"><span 
class="pre">text.skip.headerlines</span></tt>: Number of header lines to be 
skipped. Some text files often have a header which has a kind of metadata(e.g.: 
column names), thus this option can be useful.</li>
 </ul>
-<p>The following example is to set a custom field delimiter, <code 
class="docutils literal"><span class="pre">NULL</span></code> character, and 
compression codec:</p>
+<p>The following example is to set a custom field delimiter, <tt 
class="docutils literal"><span class="pre">NULL</span></tt> character, and 
compression codec:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">TABLE</span> <span 
class="n">table1</span> <span class="p">(</span>
  <span class="n">id</span> <span class="nb">int</span><span class="p">,</span>
  <span class="n">name</span> <span class="nb">text</span><span 
class="p">,</span>
@@ -260,7 +262,7 @@ The <code class="docutils literal"><span
 </div>
 <div class="admonition warning">
 <p class="first admonition-title">Warning</p>
-<p class="last">Be careful when using <code class="docutils literal"><span 
class="pre">\n</span></code> as the field delimiter because <em>TEXT</em> 
format tables use <code class="docutils literal"><span 
class="pre">\n</span></code> as the line delimiter.
+<p class="last">Be careful when using <tt class="docutils literal"><span 
class="pre">\n</span></tt> as the field delimiter because <em>TEXT</em> format 
tables use <tt class="docutils literal"><span class="pre">\n</span></tt> as the 
line delimiter.
 At the moment, Tajo does not provide a way to specify the line delimiter.</p>
 </div>
 </div>
@@ -269,7 +271,7 @@ At the moment, Tajo does not provide a w
 <p>The <em>TEXT</em> format not only provides reading and writing interfaces 
for text data but also allows users to process custom
 plan-text file formats with user-defined (De)serializer classes.
 For example, with custom (de)serializers, Tajo can process JSON file formats 
or any specialized plan-text file formats.</p>
-<p>In order to specify a custom (De)serializer, set a physical property <code 
class="docutils literal"><span class="pre">text.serde</span></code>.
+<p>In order to specify a custom (De)serializer, set a physical property <tt 
class="docutils literal"><span class="pre">text.serde</span></tt>.
 The property value should be a fully qualified class name.</p>
 <p>For example:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">TABLE</span> <span 
class="n">table1</span> <span class="p">(</span>
@@ -283,24 +285,24 @@ The property value should be a fully qua
 </div>
 <div class="section" id="null-value-handling-issues">
 <h2>Null Value Handling Issues<a class="headerlink" 
href="#null-value-handling-issues" title="Permalink to this 
headline">¶</a></h2>
-<p>In default, <code class="docutils literal"><span 
class="pre">NULL</span></code> character in <em>TEXT</em> format is an empty 
string <code class="docutils literal"><span class="pre">''</span></code>.
-In other words, an empty field is basically recognized as a <code 
class="docutils literal"><span class="pre">NULL</span></code> value in Tajo.
-If a field domain is <code class="docutils literal"><span 
class="pre">TEXT</span></code>, an empty field is recognized as a string value 
<code class="docutils literal"><span class="pre">''</span></code> instead of 
<code class="docutils literal"><span class="pre">NULL</span></code> value.
-Besides, You can also use your own <code class="docutils literal"><span 
class="pre">NULL</span></code> character by specifying a physical property 
<code class="docutils literal"><span class="pre">text.null</span></code>.</p>
+<p>In default, <tt class="docutils literal"><span class="pre">NULL</span></tt> 
character in <em>TEXT</em> format is an empty string <tt class="docutils 
literal"><span class="pre">''</span></tt>.
+In other words, an empty field is basically recognized as a <tt 
class="docutils literal"><span class="pre">NULL</span></tt> value in Tajo.
+If a field domain is <tt class="docutils literal"><span 
class="pre">TEXT</span></tt>, an empty field is recognized as a string value 
<tt class="docutils literal"><span class="pre">''</span></tt> instead of <tt 
class="docutils literal"><span class="pre">NULL</span></tt> value.
+Besides, You can also use your own <tt class="docutils literal"><span 
class="pre">NULL</span></tt> character by specifying a physical property <tt 
class="docutils literal"><span class="pre">text.null</span></tt>.</p>
 </div>
 <div class="section" id="compatibility-issues-with-apache-hive">
 <h2>Compatibility Issues with Apache Hive™<a class="headerlink" 
href="#compatibility-issues-with-apache-hive" title="Permalink to this 
headline">¶</a></h2>
 <p><em>TEXT</em> tables generated in Tajo can be processed directly by Apache 
Hive™ without further processing.
 In this section, we explain some compatibility issue for users who use both 
Hive and Tajo.</p>
 <p>If you set a custom field delimiter, the <em>TEXT</em> tables cannot be 
directly used in Hive.
-In order to specify the custom field delimiter in Hive, you need to use <code 
class="docutils literal"><span class="pre">ROW</span> <span 
class="pre">FORMAT</span> <span class="pre">DELIMITED</span> <span 
class="pre">FIELDS</span> <span class="pre">TERMINATED</span> <span 
class="pre">BY</span></code>
-clause in a Hive&#8217;s <code class="docutils literal"><span 
class="pre">CREATE</span> <span class="pre">TABLE</span></code> statement as 
follows:</p>
+In order to specify the custom field delimiter in Hive, you need to use <tt 
class="docutils literal"><span class="pre">ROW</span> <span 
class="pre">FORMAT</span> <span class="pre">DELIMITED</span> <span 
class="pre">FIELDS</span> <span class="pre">TERMINATED</span> <span 
class="pre">BY</span></tt>
+clause in a Hive&#8217;s <tt class="docutils literal"><span 
class="pre">CREATE</span> <span class="pre">TABLE</span></tt> statement as 
follows:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">TABLE</span> <span 
class="n">table1</span> <span class="p">(</span><span class="n">id</span> <span 
class="nb">int</span><span class="p">,</span> <span class="n">name</span> <span 
class="n">string</span><span class="p">,</span> <span class="n">score</span> 
<span class="nb">float</span><span class="p">,</span> <span 
class="k">type</span> <span class="n">string</span><span class="p">)</span>
 <span class="k">ROW</span> <span class="n">FORMAT</span> <span 
class="n">DELIMITED</span> <span class="n">FIELDS</span> <span 
class="n">TERMINATED</span> <span class="k">BY</span> <span 
class="s1">&#39;|&#39;</span>
 <span class="n">STORED</span> <span class="k">AS</span> <span 
class="nb">TEXT</span>
 </pre></div>
 </div>
-<p>To the best of our knowledge, there is not way to specify a custom <code 
class="docutils literal"><span class="pre">NULL</span></code> character in 
Hive.</p>
+<p>To the best of our knowledge, there is not way to specify a custom <tt 
class="docutils literal"><span class="pre">NULL</span></tt> character in 
Hive.</p>
 </div>
 </div>
 

Modified: tajo/site/docs/devel/table_partitioning.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/table_partitioning.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/table_partitioning.html (original)
+++ tajo/site/docs/devel/table_partitioning.html Tue Sep  1 06:42:40 2015
@@ -110,7 +110,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>

Modified: tajo/site/docs/devel/tajo_client_api.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/tajo_client_api.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/tajo_client_api.html (original)
+++ tajo/site/docs/devel/tajo_client_api.html Tue Sep  1 06:42:40 2015
@@ -110,7 +110,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>

Modified: tajo/site/docs/devel/time_zone.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/time_zone.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/time_zone.html (original)
+++ tajo/site/docs/devel/time_zone.html Tue Sep  1 06:42:40 2015
@@ -110,7 +110,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>
@@ -203,7 +205,7 @@
             
   <div class="section" id="time-zone">
 <h1>Time Zone<a class="headerlink" href="#time-zone" title="Permalink to this 
headline">¶</a></h1>
-<p>Time zone affects some data types (e.g., <code class="docutils 
literal"><span class="pre">Timestamp</span></code> and <code class="docutils 
literal"><span class="pre">Time</span></code>) and operations (e.g., <code 
class="docutils literal"><span class="pre">to_char</span></code>). Tables can 
have different time zones. Internally, Tajo translates all table rows to UTC 
values and processes them. It becomes easier for Tajo to handle multiple 
different time zones.</p>
+<p>Time zone affects some data types (e.g., <tt class="docutils literal"><span 
class="pre">Timestamp</span></tt> and <tt class="docutils literal"><span 
class="pre">Time</span></tt>) and operations (e.g., <tt class="docutils 
literal"><span class="pre">to_char</span></tt>). Tables can have different time 
zones. Internally, Tajo translates all table rows to UTC values and processes 
them. It becomes easier for Tajo to handle multiple different time zones.</p>
 <p>In Tajo, there are some time zong settings.</p>
 <div class="section" id="server-cluster-time-zone">
 <h2>Server Cluster Time Zone<a class="headerlink" 
href="#server-cluster-time-zone" title="Permalink to this headline">¶</a></h2>
@@ -217,8 +219,8 @@
 </div>
 <div class="section" id="table-time-zone">
 <h2>Table Time Zone<a class="headerlink" href="#table-time-zone" 
title="Permalink to this headline">¶</a></h2>
-<p>In Tajo, a table property <code class="docutils literal"><span 
class="pre">timezone</span></code> allows users to specify a time zone that the 
table uses for reading or writing.
-When each table row are read or written, <code class="docutils literal"><span 
class="pre">`timestamp`</span></code> and <code class="docutils literal"><span 
class="pre">`time`</span></code> column values are adjusted by a given time 
zone if it is set.</p>
+<p>In Tajo, a table property <tt class="docutils literal"><span 
class="pre">timezone</span></tt> allows users to specify a time zone that the 
table uses for reading or writing.
+When each table row are read or written, <tt class="docutils literal"><span 
class="pre">`timestamp`</span></tt> and <tt class="docutils literal"><span 
class="pre">`time`</span></tt> column values are adjusted by a given time zone 
if it is set.</p>
 <p>You can specify a table time zone as follows:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">EXTERNAL</span> <span 
class="k">TABLE</span> <span class="n">table1</span> <span class="p">(</span>
  <span class="n">t_timestamp</span>  <span class="k">TIMESTAMP</span><span 
class="p">,</span>
@@ -230,13 +232,13 @@ When each table row are read or written,
 </div>
 <div class="section" id="client-time-zone">
 <h2>Client Time Zone<a class="headerlink" href="#client-time-zone" 
title="Permalink to this headline">¶</a></h2>
-<p>Each client has its own time zone setting. It translates retrieved 
timestamp and time values by time zone. In order to set client time zone, you 
should set the session variable <code class="docutils literal"><span 
class="pre">TIMEZONE</span></code>. There are some ways to set this session 
variable.</p>
-<p>In <code class="docutils literal"><span class="pre">tsql</span></code>, you 
can use <code class="docutils literal"><span class="pre">\set</span> <span 
class="pre">timezone</span></code> meta command as follows:</p>
+<p>Each client has its own time zone setting. It translates retrieved 
timestamp and time values by time zone. In order to set client time zone, you 
should set the session variable <tt class="docutils literal"><span 
class="pre">TIMEZONE</span></tt>. There are some ways to set this session 
variable.</p>
+<p>In <tt class="docutils literal"><span class="pre">tsql</span></tt>, you can 
use <tt class="docutils literal"><span class="pre">\set</span> <span 
class="pre">timezone</span></tt> meta command as follows:</p>
 <p><strong>tsql</strong></p>
 <div class="highlight-sh"><div class="highlight"><pre>default&gt; <span 
class="se">\s</span>et timezone GMT+9
 </pre></div>
 </div>
-<p>The following ways use SQL statements. So, this way is available in <code 
class="docutils literal"><span class="pre">tsql</span></code>, JDBC, and Tajo 
Java API.</p>
+<p>The following ways use SQL statements. So, this way is available in <tt 
class="docutils literal"><span class="pre">tsql</span></tt>, JDBC, and Tajo 
Java API.</p>
 <p><strong>SQL</strong></p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">SET</span> <span class="n">TIME</span> <span class="k">ZONE</span> 
<span class="s1">&#39;GMT+9&#39;</span><span class="p">;</span>
 
@@ -260,20 +262,20 @@ When each table row are read or written,
 </div>
 <div class="section" id="examples-of-time-zone">
 <h2>Examples of Time Zone<a class="headerlink" href="#examples-of-time-zone" 
title="Permalink to this headline">¶</a></h2>
-<p>For example, consider that there is a list of delimited text lines where 
each rows are written with <code class="docutils literal"><span 
class="pre">Asia/Seoul</span></code> time zone (i.e., GMT + 9).</p>
+<p>For example, consider that there is a list of delimited text lines where 
each rows are written with <tt class="docutils literal"><span 
class="pre">Asia/Seoul</span></tt> time zone (i.e., GMT + 9).</p>
 <div class="highlight-text"><div class="highlight"><pre>1980-4-1 
01:50:30.010|1980-04-01
 80/4/1 1:50:30 AM|80/4/1
 1980 April 1 1:50:30|1980-04-01
 </pre></div>
 </div>
-<p>In order to register the table, we should put a table property <code 
class="docutils literal"><span 
class="pre">'timezone'='Asia/Seoul'</span></code> in <code class="docutils 
literal"><span class="pre">CREATE</span> <span class="pre">TABLE</span></code> 
statement as follows:</p>
+<p>In order to register the table, we should put a table property <tt 
class="docutils literal"><span class="pre">'timezone'='Asia/Seoul'</span></tt> 
in <tt class="docutils literal"><span class="pre">CREATE</span> <span 
class="pre">TABLE</span></tt> statement as follows:</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">EXTERNAL</span> <span 
class="k">TABLE</span> <span class="n">table1</span> <span class="p">(</span>
  <span class="n">t_timestamp</span>  <span class="k">TIMESTAMP</span><span 
class="p">,</span>
  <span class="n">t_date</span>    <span class="nb">DATE</span>
 <span class="p">)</span> <span class="k">USING</span> <span 
class="nb">TEXT</span> <span class="k">WITH</span><span class="p">(</span><span 
class="s1">&#39;text.delimiter&#39;</span><span class="o">=</span><span 
class="s1">&#39;|&#39;</span><span class="p">,</span> <span 
class="s1">&#39;timezone&#39;</span><span class="o">=</span><span 
class="s1">&#39;ASIA/Seoul&#39;</span><span class="p">)</span> <span 
class="k">LOCATION</span> <span class="s1">&#39;/path-to-table/&#39;</span>
 </pre></div>
 </div>
-<p>By default, <code class="docutils literal"><span 
class="pre">tsql</span></code> and <code class="docutils literal"><span 
class="pre">TajoClient</span></code> API use UTC time zone. So, timestamp 
values in the result are adjusted by the time zone offset. But, date is not 
adjusted because date type does not consider time zone.</p>
+<p>By default, <tt class="docutils literal"><span class="pre">tsql</span></tt> 
and <tt class="docutils literal"><span class="pre">TajoClient</span></tt> API 
use UTC time zone. So, timestamp values in the result are adjusted by the time 
zone offset. But, date is not adjusted because date type does not consider time 
zone.</p>
 <div class="highlight-sql"><div class="highlight"><pre><span 
class="k">default</span><span class="o">&gt;</span> <span 
class="k">SELECT</span> <span class="o">*</span> <span class="k">FROM</span> 
<span class="n">table1</span>
 <span class="n">t_timestamp</span><span class="p">,</span>            <span 
class="n">t_date</span>
 <span class="c1">----------------------------------</span>

Modified: tajo/site/docs/devel/tsql.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/tsql.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/tsql.html (original)
+++ tajo/site/docs/devel/tsql.html Tue Sep  1 06:42:40 2015
@@ -110,7 +110,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>

Modified: tajo/site/docs/devel/tsql/admin_command.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/tsql/admin_command.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/tsql/admin_command.html (original)
+++ tajo/site/docs/devel/tsql/admin_command.html Tue Sep  1 06:42:40 2015
@@ -111,7 +111,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>
@@ -222,14 +224,14 @@ usage: admin [options]
 </div>
 <div class="section" id="basic-usages">
 <h3>Basic usages<a class="headerlink" href="#basic-usages" title="Permalink to 
this headline">¶</a></h3>
-<p><code class="docutils literal"><span class="pre">-list</span></code> option 
shows a list of all running queries as follows:</p>
+<p><tt class="docutils literal"><span class="pre">-list</span></tt> option 
shows a list of all running queries as follows:</p>
 <div class="highlight-python"><div class="highlight"><pre>default&gt; \admin 
-list
 QueryId              State               StartTime           Query
 -------------------- ------------------- ------------------- 
-----------------------------
 q_1411357607375_0006 QUERY_RUNNING       2014-09-23 07:19:40 select count(*) 
from lineitem
 </pre></div>
 </div>
-<p><code class="docutils literal"><span class="pre">-desc</span></code> option 
shows a detailed description of a specified running query as follows:</p>
+<p><tt class="docutils literal"><span class="pre">-desc</span></tt> option 
shows a detailed description of a specified running query as follows:</p>
 <div class="highlight-python"><div class="highlight"><pre>default&gt; \admin 
-desc q_1411357607375_0006
 Id: 1
 Query Id: q_1411357607375_0006
@@ -241,12 +243,12 @@ Query Statement:
 select count(*) from lineitem
 </pre></div>
 </div>
-<p><code class="docutils literal"><span class="pre">-kill</span></code> option 
kills a specified running query as follows:</p>
+<p><tt class="docutils literal"><span class="pre">-kill</span></tt> option 
kills a specified running query as follows:</p>
 <div class="highlight-python"><div class="highlight"><pre>default&gt; \admin 
-kill q_1411357607375_0007
 q_1411357607375_0007 is killed successfully.
 </pre></div>
 </div>
-<p><code class="docutils literal"><span class="pre">-showmasters</span></code> 
option shows a list of all tajo masters as follows:</p>
+<p><tt class="docutils literal"><span class="pre">-showmasters</span></tt> 
option shows a list of all tajo masters as follows:</p>
 <div class="highlight-python"><div class="highlight"><pre>default&gt; \admin 
-showmasters
 grtajo01
 </pre></div>

Modified: tajo/site/docs/devel/tsql/background_command.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/tsql/background_command.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/tsql/background_command.html (original)
+++ tajo/site/docs/devel/tsql/background_command.html Tue Sep  1 06:42:40 2015
@@ -111,7 +111,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>

Modified: tajo/site/docs/devel/tsql/dfs_command.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/tsql/dfs_command.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/tsql/dfs_command.html (original)
+++ tajo/site/docs/devel/tsql/dfs_command.html Tue Sep  1 06:42:40 2015
@@ -111,7 +111,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>
@@ -206,7 +208,7 @@
             
   <div class="section" id="executing-hdfs-commands">
 <h1>Executing HDFS commands<a class="headerlink" 
href="#executing-hdfs-commands" title="Permalink to this headline">¶</a></h1>
-<p>You can run the hadoop dfs command (FsShell) within tsql. <code 
class="docutils literal"><span class="pre">\dfs</span></code> command provides 
a shortcut to the hadoop dfs commands. If you want to use this command, just 
specify FsShell arguments and add the semicolon at the end as follows:</p>
+<p>You can run the hadoop dfs command (FsShell) within tsql. <tt 
class="docutils literal"><span class="pre">\dfs</span></tt> command provides a 
shortcut to the hadoop dfs commands. If you want to use this command, just 
specify FsShell arguments and add the semicolon at the end as follows:</p>
 <div class="highlight-sql"><div class="highlight"><pre>default&gt; \dfs -ls /
 Found 3 items
 drwxr-xr-x   - tajo supergroup          0 2014-08-14 04:04 /tajo

Modified: tajo/site/docs/devel/tsql/execute_file.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/tsql/execute_file.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/tsql/execute_file.html (original)
+++ tajo/site/docs/devel/tsql/execute_file.html Tue Sep  1 06:42:40 2015
@@ -111,7 +111,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>
@@ -208,7 +210,7 @@
 <h1>Executing Queries from Files<a class="headerlink" 
href="#executing-queries-from-files" title="Permalink to this 
headline">¶</a></h1>
 <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">-f</span></code> command 
allows tsql to execute more than one SQL statements stored in a text file as 
follows:</p>
+<p><tt class="docutils literal"><span class="pre">-f</span></tt> command 
allows tsql to execute more than one SQL statements stored in a text file as 
follows:</p>
 <div class="highlight-sql"><div class="highlight"><pre>$ cat aggregation.sql
 select count(*) from table1;
 select sum(score) from table1;

Modified: tajo/site/docs/devel/tsql/intro.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/tsql/intro.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/tsql/intro.html (original)
+++ tajo/site/docs/devel/tsql/intro.html Tue Sep  1 06:42:40 2015
@@ -111,7 +111,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>
@@ -211,16 +213,16 @@
 <div class="highlight-bash"><div class="highlight"><pre>bin/tsql <span 
class="o">[</span>options<span class="o">]</span> <span 
class="o">[</span>database name<span class="o">]</span>
 </pre></div>
 </div>
-<p>If a <em>database_name</em> is given, tsql connects to the database at 
startup time. Otherwise, tsql connects to <code class="docutils literal"><span 
class="pre">default</span></code> database.</p>
+<p>If a <em>database_name</em> is given, tsql connects to the database at 
startup time. Otherwise, tsql connects to <tt class="docutils literal"><span 
class="pre">default</span></tt> database.</p>
 <p>Options</p>
 <ul class="simple">
-<li><code class="docutils literal"><span class="pre">-c</span> <span 
class="pre">&quot;quoted</span> <span class="pre">sql&quot;</span></code> : 
Execute quoted sql statements, and then the shell will exist.</li>
-<li><code class="docutils literal"><span class="pre">-f</span> <span 
class="pre">filename</span> <span class="pre">(--file</span> <span 
class="pre">filename)</span></code> : Use the file named filename as the source 
of commands instead of interactive shell.</li>
-<li><code class="docutils literal"><span class="pre">-h</span> <span 
class="pre">hostname</span> <span class="pre">(--host</span> <span 
class="pre">hostname)</span></code> : Specifies the host name of the machine on 
which the Tajo master is running.</li>
-<li><code class="docutils literal"><span class="pre">-p</span> <span 
class="pre">port</span> <span class="pre">(--port</span> <span 
class="pre">port)</span></code> : Specifies the TCP port. If it is not set, the 
port will be 26002 by default.</li>
-<li><code class="docutils literal"><span class="pre">-conf</span> <span 
class="pre">configuration</span> <span class="pre">(--conf</span> <span 
class="pre">configuration)</span></code> : Setting Tajo configuration 
value.</li>
-<li><code class="docutils literal"><span class="pre">-param</span> <span 
class="pre">parameter</span> <span class="pre">(--param</span> <span 
class="pre">parameter)</span></code> : Use a parameter value in SQL file.</li>
-<li><code class="docutils literal"><span class="pre">-B</span> <span 
class="pre">(--background)</span></code> : Execute as background process.</li>
+<li><tt class="docutils literal"><span class="pre">-c</span> <span 
class="pre">&quot;quoted</span> <span class="pre">sql&quot;</span></tt> : 
Execute quoted sql statements, and then the shell will exist.</li>
+<li><tt class="docutils literal"><span class="pre">-f</span> <span 
class="pre">filename</span> <span class="pre">(--file</span> <span 
class="pre">filename)</span></tt> : Use the file named filename as the source 
of commands instead of interactive shell.</li>
+<li><tt class="docutils literal"><span class="pre">-h</span> <span 
class="pre">hostname</span> <span class="pre">(--host</span> <span 
class="pre">hostname)</span></tt> : Specifies the host name of the machine on 
which the Tajo master is running.</li>
+<li><tt class="docutils literal"><span class="pre">-p</span> <span 
class="pre">port</span> <span class="pre">(--port</span> <span 
class="pre">port)</span></tt> : Specifies the TCP port. If it is not set, the 
port will be 26002 by default.</li>
+<li><tt class="docutils literal"><span class="pre">-conf</span> <span 
class="pre">configuration</span> <span class="pre">(--conf</span> <span 
class="pre">configuration)</span></tt> : Setting Tajo configuration value.</li>
+<li><tt class="docutils literal"><span class="pre">-param</span> <span 
class="pre">parameter</span> <span class="pre">(--param</span> <span 
class="pre">parameter)</span></tt> : Use a parameter value in SQL file.</li>
+<li><tt class="docutils literal"><span class="pre">-B</span> <span 
class="pre">(--background)</span></tt> : Execute as background process.</li>
 </ul>
 </div>
 <div class="section" id="entering-tsql-shell">

Modified: tajo/site/docs/devel/tsql/meta_command.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/tsql/meta_command.html?rev=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/tsql/meta_command.html (original)
+++ tajo/site/docs/devel/tsql/meta_command.html Tue Sep  1 06:42:40 2015
@@ -111,7 +111,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>
@@ -251,7 +253,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&gt; \l
 default
 tpch
@@ -259,7 +261,7 @@ work1
 default&gt;
 </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&gt; \d
 customer
 lineitem
@@ -271,7 +273,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&gt; \d orders
 
 table name: orders
@@ -291,13 +293,13 @@ o_shippriority  INT4
 o_comment       TEXT
 </pre></div>
 </div>
-<p>The prompt <code class="docutils literal"><span 
class="pre">default&gt;</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&gt;</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&gt; \c work1
 You are now connected to database &quot;test&quot; as user &quot;hyunsik&quot;.
 work1&gt;
 </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&gt; \df
  Name            | Result type     | Argument types        | Description       
                            | Type
 
-----------------+-----------------+-----------------------+-----------------------------------------------+-----------
@@ -315,7 +317,7 @@ work1&gt;
 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&gt; \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=1700399&r1=1700398&r2=1700399&view=diff
==============================================================================
--- tajo/site/docs/devel/tsql/single_command.html (original)
+++ tajo/site/docs/devel/tsql/single_command.html Tue Sep  1 06:42:40 2015
@@ -111,7 +111,9 @@
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
-<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-functions">Built-in Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-scalar-functions">Built-in Scalar 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-aggregation-functions">Built-in Aggregation 
Functions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions.html#built-in-window-functions">Built-in Window 
Functions</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../functions.html#user-defined-functions">User-defined Functions</a></li>
 </ul>
 </li>
@@ -206,7 +208,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 
&quot;select count(*) from table1; select sum(score) from table1;&quot;
 Progress: 0%, response time: 0.217 sec
 Progress: 0%, response time: 0.218 sec


Reply via email to