tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jihoon...@apache.org
Subject svn commit: r1744489 [39/43] - in /tajo/site/docs: 0.11.3/ 0.11.3/_sources/ 0.11.3/_sources/backup_and_restore/ 0.11.3/_sources/configuration/ 0.11.3/_sources/functions/ 0.11.3/_sources/index/ 0.11.3/_sources/partitioning/ 0.11.3/_sources/sql_language/...
Date Thu, 19 May 2016 02:00:27 GMT
Modified: tajo/site/docs/current/jdbc_driver.html
URL: http://svn.apache.org/viewvc/tajo/site/docs/current/jdbc_driver.html?rev=1744489&r1=1744488&r2=1744489&view=diff
==============================================================================
--- tajo/site/docs/current/jdbc_driver.html (original)
+++ tajo/site/docs/current/jdbc_driver.html Thu May 19 02:00:25 2016
@@ -7,7 +7,7 @@
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   
-  <title>Tajo JDBC Driver &mdash; Apache Tajo 0.11.0 documentation</title>
+  <title>Tajo JDBC Driver &mdash; Apache Tajo 0.11.3 documentation</title>
   
 
   
@@ -28,7 +28,7 @@
   
 
   
-    <link rel="top" title="Apache Tajo 0.11.0 documentation" href="index.html"/>
+    <link rel="top" title="Apache Tajo 0.11.3 documentation" href="index.html"/>
         <link rel="next" title="Tajo Client API" href="tajo_client_api.html"/>
         <link rel="prev" title="OpenStack Swift Integration" href="swift_integration.html"/>

 
@@ -215,26 +215,26 @@ In this section, we explain how to get J
 <h2>How to get JDBC driver<a class="headerlink" href="#how-to-get-jdbc-driver" title="Permalink
to this headline">¶</a></h2>
 <div class="section" id="direct-download">
 <h3>Direct Download<a class="headerlink" href="#direct-download" title="Permalink
to this headline">¶</a></h3>
-<p>You can directly download a JDBC driver jar file (<code class="docutils literal"><span
class="pre">tajo-jdbc-x.y.z.jar</span></code>) from <a class="reference
external" href="http://tajo.apache.org/downloads.html">Downloads</a>.</p>
+<p>You can directly download a JDBC driver jar file (<tt class="docutils literal"><span
class="pre">tajo-jdbc-x.y.z.jar</span></tt>) from <a class="reference external"
href="http://tajo.apache.org/downloads.html">Downloads</a>.</p>
 </div>
 <div class="section" id="from-binary-distribution">
 <h3>From Binary Distribution<a class="headerlink" href="#from-binary-distribution"
title="Permalink to this headline">¶</a></h3>
-<p>Tajo binary distribution provides JDBC jar file located in <code class="docutils
literal"><span class="pre">${TAJO_HOME}/share/jdbc-dist/tajo-jdbc-x.y.z.jar</span></code>.</p>
+<p>Tajo binary distribution provides JDBC jar file located in <tt class="docutils
literal"><span class="pre">${TAJO_HOME}/share/jdbc-dist/tajo-jdbc-x.y.z.jar</span></tt>.</p>
 </div>
 <div class="section" id="from-building-source-code">
 <h3>From Building Source Code<a class="headerlink" href="#from-building-source-code"
title="Permalink to this headline">¶</a></h3>
 <p>You can build Tajo from the source code and then get JAR files as follows:</p>
-<div class="highlight-bash"><div class="highlight"><pre>$ tar xzvf tajo-x.y.z-src.tar.gz
-$ mvn clean package -DskipTests -Pdist -Dtar
-$ ls -l tajo-dist/target/tajo-x.y.z/share/jdbc-dist/tajo-jdbc-x.y.z.jar
+<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$
</span>tar xzvf tajo-x.y.z-src.tar.gz
+<span class="nv">$ </span>mvn clean package -DskipTests -Pdist -Dtar
+<span class="nv">$ </span>ls -l tajo-dist/target/tajo-x.y.z/share/jdbc-dist/tajo-jdbc-x.y.z.jar
 </pre></div>
 </div>
 </div>
 </div>
 <div class="section" id="setting-the-classpath">
 <h2>Setting the CLASSPATH<a class="headerlink" href="#setting-the-classpath" title="Permalink
to this headline">¶</a></h2>
-<p>In order to use the JDBC driver, you should add <code class="docutils literal"><span
class="pre">tajo-jdbc-x.y.z.jar</span></code> in your <code class="docutils
literal"><span class="pre">CLASSPATH</span></code>.</p>
-<div class="highlight-bash"><div class="highlight"><pre><span class="nv">CLASSPATH</span><span
class="o">=</span>path/to/tajo-jdbc-x.y.z.jar:<span class="nv">$C</span>LASSPATH
+<p>In order to use the JDBC driver, you should add <tt class="docutils literal"><span
class="pre">tajo-jdbc-x.y.z.jar</span></tt> in your <tt class="docutils
literal"><span class="pre">CLASSPATH</span></tt>.</p>
+<div class="highlight-bash"><div class="highlight"><pre><span class="nv">CLASSPATH</span><span
class="o">=</span>path/to/tajo-jdbc-x.y.z.jar:<span class="nv">$CLASSPATH</span>
 </pre></div>
 </div>
 </div>
@@ -243,20 +243,20 @@ $ ls -l tajo-dist/target/tajo-x.y.z/shar
 <p>A Tajo cluster is represented by a URL. Tajo JDBC driver can take the following
URL forms:</p>
 <blockquote>
 <div><ul class="simple">
-<li><code class="docutils literal"><span class="pre">jdbc:tajo://host/</span></code></li>
-<li><code class="docutils literal"><span class="pre">jdbc:tajo://host/database</span></code></li>
-<li><code class="docutils literal"><span class="pre">jdbc:tajo://host:port/</span></code></li>
-<li><code class="docutils literal"><span class="pre">jdbc:tajo://host:port/database</span></code></li>
+<li><tt class="docutils literal"><span class="pre">jdbc:tajo://host/</span></tt></li>
+<li><tt class="docutils literal"><span class="pre">jdbc:tajo://host/database</span></tt></li>
+<li><tt class="docutils literal"><span class="pre">jdbc:tajo://host:port/</span></tt></li>
+<li><tt class="docutils literal"><span class="pre">jdbc:tajo://host:port/database</span></tt></li>
 </ul>
 </div></blockquote>
 <p>Each part of URL has the following meanings:</p>
 <blockquote>
 <div><ul class="simple">
-<li><code class="docutils literal"><span class="pre">host</span></code>
- The hostname of the TajoMaster. You can put hostname or ip address here.</li>
-<li><code class="docutils literal"><span class="pre">port</span></code>
- The port number that server is listening. Default port number is 26002.</li>
-<li><code class="docutils literal"><span class="pre">database</span></code>
- The database name. The default database name is <code class="docutils literal"><span
class="pre">default</span></code>.</li>
+<li><tt class="docutils literal"><span class="pre">host</span></tt>
- The hostname of the TajoMaster. You can put hostname or ip address here.</li>
+<li><tt class="docutils literal"><span class="pre">port</span></tt>
- The port number that server is listening. Default port number is 26002.</li>
+<li><tt class="docutils literal"><span class="pre">database</span></tt>
- The database name. The default database name is <tt class="docutils literal"><span
class="pre">default</span></tt>.</li>
 </ul>
-<p>To connect, you need to get <code class="docutils literal"><span class="pre">Connection</span></code>
instance from Java JDBC Driver Manager as follows:</p>
+<p>To connect, you need to get <tt class="docutils literal"><span class="pre">Connection</span></tt>
instance from Java JDBC Driver Manager as follows:</p>
 </div></blockquote>
 <div class="highlight-java"><div class="highlight"><pre><span class="n">Connection</span>
<span class="n">db</span> <span class="o">=</span> <span class="n">DriverManager</span><span
class="o">.</span><span class="na">getConnection</span><span class="o">(</span><span
class="n">url</span><span class="o">);</span>
 </pre></div>
@@ -264,7 +264,7 @@ $ ls -l tajo-dist/target/tajo-x.y.z/shar
 </div>
 <div class="section" id="connection-parameters">
 <h2>Connection Parameters<a class="headerlink" href="#connection-parameters" title="Permalink
to this headline">¶</a></h2>
-<p>Connection parameters lets the JDBC Copnnection to enable or disable additional
features. You should use <code class="docutils literal"><span class="pre">java.util.Properties</span></code>
to pass your connection parameters into <code class="docutils literal"><span class="pre">Connection</span></code>.
The following example means that the transmission of ResultSet uses compression and its connection
timeout is 15 seconds.</p>
+<p>Connection parameters lets the JDBC Copnnection to enable or disable additional
features. You should use <tt class="docutils literal"><span class="pre">java.util.Properties</span></tt>
to pass your connection parameters into <tt class="docutils literal"><span class="pre">Connection</span></tt>.
The following example means that the transmission of ResultSet uses compression and its connection
timeout is 15 seconds.</p>
 <div class="highlight-java"><div class="highlight"><pre><span class="n">String</span>
<span class="n">url</span> <span class="o">=</span> <span class="s">&quot;jdbc:tajo://localhost/test&quot;</span><span
class="o">;</span>
 <span class="n">Properties</span> <span class="n">props</span> <span
class="o">=</span> <span class="k">new</span> <span class="n">Properties</span><span
class="o">();</span>
 <span class="n">props</span><span class="o">.</span><span class="na">setProperty</span><span
class="o">(</span><span class="s">&quot;useCompression&quot;</span><span
class="o">,</span><span class="s">&quot;true&quot;</span><span
class="o">);</span>  <span class="c1">// use compression for ResultSet</span>
@@ -275,25 +275,26 @@ $ ls -l tajo-dist/target/tajo-x.y.z/shar
 <p>The connection parameters that Tajo currently supports are as follows:</p>
 <blockquote>
 <div><ul class="simple">
-<li><code class="docutils literal"><span class="pre">useCompression</span>
<span class="pre">=</span> <span class="pre">bool</span></code>
- Enable compressed transfer for ResultSet.</li>
-<li><code class="docutils literal"><span class="pre">defaultRowFetchSize</span>
<span class="pre">=</span> <span class="pre">int</span></code>
- Determine the number of rows fetched in ResultSet by one fetch with trip to the Server.</li>
-<li><code class="docutils literal"><span class="pre">connectTimeout</span>
<span class="pre">=</span> <span class="pre">int</span> <span class="pre">(seconds)</span></code>
- The timeout value used for socket connect operations. If connecting to the server takes
longer than this value, the connection is broken. The timeout is specified in seconds and
a value of zero means that it is disabled.</li>
-<li><code class="docutils literal"><span class="pre">socketTimeout</span>
<span class="pre">=</span> <span class="pre">int</span> <span class="pre">(seconds)</span></code>
- The timeout value used for socket read operations. If reading from the server takes longer
than this value, the connection is closed. This can be used as both a brute force global query
timeout and a method of detecting network problems. The timeout is specified in seconds and
a value of zero means that it is disabled.</li>
-<li><code class="docutils literal"><span class="pre">retry</span>
<span class="pre">=</span> <span class="pre">int</span></code>
- Number of retry operation. Tajo JDBC driver is resilient against some network or connection
problems. It determines how many times the connection will retry.</li>
+<li><tt class="docutils literal"><span class="pre">useCompression</span>
<span class="pre">=</span> <span class="pre">bool</span></tt>
- Enable compressed transfer for ResultSet.</li>
+<li><tt class="docutils literal"><span class="pre">defaultRowFetchSize</span>
<span class="pre">=</span> <span class="pre">int</span></tt>
- Determine the number of rows fetched in ResultSet by one fetch with trip to the Server.</li>
+<li><tt class="docutils literal"><span class="pre">connectTimeout</span>
<span class="pre">=</span> <span class="pre">int</span> <span class="pre">(seconds)</span></tt>
- The timeout value used for socket connect operations. If connecting to the server takes
longer than this value, the connection is broken. The timeout is specified in seconds and
a value of zero means that it is disabled.</li>
+<li><tt class="docutils literal"><span class="pre">socketTimeout</span>
<span class="pre">=</span> <span class="pre">int</span> <span class="pre">(seconds)</span></tt>
- The timeout value used for socket read operations. If reading from the server takes longer
than this value, the connection is closed. This can be used as both a brute force global query
timeout and a method of detecting network problems. The timeout is specified in seconds and
a value of zero means that it is disabled.</li>
+<li><tt class="docutils literal"><span class="pre">retry</span> <span
class="pre">=</span> <span class="pre">int</span></tt> - Number
of retry operation. Tajo JDBC driver is resilient against some network or connection problems.
It determines how many times the connection will retry.</li>
+<li><tt class="docutils literal"><span class="pre">timezone</span>
<span class="pre">=</span> <span class="pre">string</span> <span
class="pre">(timezone</span> <span class="pre">id</span> <span class="pre">e,g,</span>
<span class="pre">'Asia/Tokyo')</span></tt> - Each connection has its own
client time zone setting.</li>
 </ul>
 </div></blockquote>
 </div>
 <div class="section" id="an-example-jdbc-client">
 <h2>An Example JDBC Client<a class="headerlink" href="#an-example-jdbc-client" title="Permalink
to this headline">¶</a></h2>
-<p>The JDBC driver class name is <code class="docutils literal"><span class="pre">org.apache.tajo.jdbc.TajoDriver</span></code>.
-You can get the driver <code class="docutils literal"><span class="pre">Class.forName(&quot;org.apache.tajo.jdbc.TajoDriver&quot;)</span></code>.
-The connection url should be <code class="docutils literal"><span class="pre">jdbc:tajo://&lt;TajoMaster</span>
<span class="pre">hostname&gt;:&lt;TajoMaster</span> <span class="pre">client</span>
<span class="pre">rpc</span> <span class="pre">port&gt;/&lt;database</span>
<span class="pre">name&gt;</span></code>.
-The default TajoMaster client rpc port is <code class="docutils literal"><span class="pre">26002</span></code>.
+<p>The JDBC driver class name is <tt class="docutils literal"><span class="pre">org.apache.tajo.jdbc.TajoDriver</span></tt>.
+You can get the driver <tt class="docutils literal"><span class="pre">Class.forName(&quot;org.apache.tajo.jdbc.TajoDriver&quot;)</span></tt>.
+The connection url should be <tt class="docutils literal"><span class="pre">jdbc:tajo://&lt;TajoMaster</span>
<span class="pre">hostname&gt;:&lt;TajoMaster</span> <span class="pre">client</span>
<span class="pre">rpc</span> <span class="pre">port&gt;/&lt;database</span>
<span class="pre">name&gt;</span></tt>.
+The default TajoMaster client rpc port is <tt class="docutils literal"><span class="pre">26002</span></tt>.
 If you want to change the listening port, please refer <a class="reference internal" href="configuration/cluster_setup.html"><em>Cluster
Setup</em></a>.</p>
 <div class="admonition note">
 <p class="first admonition-title">Note</p>
 <p class="last">Currently, Tajo does not support the concept of database and namespace.
-All tables are contained in <code class="docutils literal"><span class="pre">default</span></code>
database. So, you don&#8217;t need to specify any database name.</p>
+All tables are contained in <tt class="docutils literal"><span class="pre">default</span></tt>
database. So, you don&#8217;t need to specify any database name.</p>
 </div>
 <p>The following shows an example of JDBC Client.</p>
 <div class="highlight-java"><div class="highlight"><pre><span class="kn">import</span>
<span class="nn">java.sql.Connection</span><span class="o">;</span>
@@ -353,7 +354,7 @@ All tables are contained in <code class=
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2015, Apache Tajo Team.
+        &copy; Copyright 2016, Apache Tajo Team.
     </p>
   </div>
 
@@ -373,7 +374,7 @@ All tables are contained in <code class=
     <script type="text/javascript">
         var DOCUMENTATION_OPTIONS = {
             URL_ROOT:'./',
-            VERSION:'0.11.0',
+            VERSION:'0.11.3',
             COLLAPSE_INDEX:false,
             FILE_SUFFIX:'.html',
             HAS_SOURCE:  true

Modified: tajo/site/docs/current/objects.inv
URL: http://svn.apache.org/viewvc/tajo/site/docs/current/objects.inv?rev=1744489&r1=1744488&r2=1744489&view=diff
==============================================================================
Binary files - no diff available.

Modified: tajo/site/docs/current/partitioning/column_partitioning.html
URL: http://svn.apache.org/viewvc/tajo/site/docs/current/partitioning/column_partitioning.html?rev=1744489&r1=1744488&r2=1744489&view=diff
==============================================================================
--- tajo/site/docs/current/partitioning/column_partitioning.html (original)
+++ tajo/site/docs/current/partitioning/column_partitioning.html Thu May 19 02:00:25 2016
@@ -7,7 +7,7 @@
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   
-  <title>Column Partitioning &mdash; Apache Tajo 0.11.0 documentation</title>
+  <title>Column Partitioning &mdash; Apache Tajo 0.11.3 documentation</title>
   
 
   
@@ -28,7 +28,7 @@
   
 
   
-    <link rel="top" title="Apache Tajo 0.11.0 documentation" href="../index.html"/>
+    <link rel="top" title="Apache Tajo 0.11.3 documentation" href="../index.html"/>
         <link rel="up" title="Table Partitioning" href="../table_partitioning.html"/>
         <link rel="next" title="Range Partitioning" href="range_partitioning.html"/>
         <link rel="prev" title="Introduction to Partitioning" href="intro_to_partitioning.html"/>

@@ -214,8 +214,8 @@
 <p>The column table partition is designed to support the partition of Apache Hive™.</p>
 <div class="section" id="how-to-create-a-column-partitioned-table">
 <h2>How to Create a Column Partitioned Table<a class="headerlink" href="#how-to-create-a-column-partitioned-table"
title="Permalink to this headline">¶</a></h2>
-<p>You can create a partitioned table by using the <code class="docutils literal"><span
class="pre">PARTITION</span> <span class="pre">BY</span></code>
clause. For a column partitioned table, you should use
-the <code class="docutils literal"><span class="pre">PARTITION</span> <span
class="pre">BY</span> <span class="pre">COLUMN</span></code> clause
with partition keys.</p>
+<p>You can create a partitioned table by using the <tt class="docutils literal"><span
class="pre">PARTITION</span> <span class="pre">BY</span></tt> clause.
For a column partitioned table, you should use
+the <tt class="docutils literal"><span class="pre">PARTITION</span> <span
class="pre">BY</span> <span class="pre">COLUMN</span></tt> clause
with partition keys.</p>
 <p>For example, assume a table with the following schema.</p>
 <div class="highlight-sql"><div class="highlight"><pre><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>
@@ -250,30 +250,30 @@ the <code class="docutils literal"><span
 </pre></div>
 </div>
 <p>The statement above creates the student table with id, name, grade, etc. The table
is also partitioned and data is stored in parquet files.</p>
-<p>You might have noticed that while the partitioning key columns are a part of the
table DDL, they’re only listed in the <code class="docutils literal"><span class="pre">PARTITION</span>
<span class="pre">BY</span></code> clause. In Tajo, as data is written to
disk, each partition of data will be automatically split out into different folders, e.g.
country=USA/city=NEWYORK. During a read operation, Tajo will use the folder structure to quickly
locate the right partitions and also return the partitioning columns as columns in the result
set.</p>
+<p>You might have noticed that while the partitioning key columns are a part of the
table DDL, they’re only listed in the <tt class="docutils literal"><span class="pre">PARTITION</span>
<span class="pre">BY</span></tt> clause. In Tajo, as data is written to
disk, each partition of data will be automatically split out into different folders, e.g.
country=USA/city=NEWYORK. During a read operation, Tajo will use the folder structure to quickly
locate the right partitions and also return the partitioning columns as columns in the result
set.</p>
 </div>
 <div class="section" id="querying-partitioned-tables">
 <h2>Querying Partitioned Tables<a class="headerlink" href="#querying-partitioned-tables"
title="Permalink to this headline">¶</a></h2>
-<p>If a table created using the <code class="docutils literal"><span class="pre">PARTITION</span>
<span class="pre">BY</span></code> clause, a query can do partition pruning
and scan only a fraction of the table relevant to the partitions specified by the query. Tajo
currently does partition pruning if the partition predicates are specified in the WHERE clause.
For example, if table student is partitioned on column country and column city, the following
query retrieves rows in <code class="docutils literal"><span class="pre">country=KOREA\city=SEOUL</span></code>
directory.</p>
+<p>If a table created using the <tt class="docutils literal"><span class="pre">PARTITION</span>
<span class="pre">BY</span></tt> clause, a query can do partition pruning
and scan only a fraction of the table relevant to the partitions specified by the query. Tajo
currently does partition pruning if the partition predicates are specified in the WHERE clause.
For example, if table student is partitioned on column country and column city, the following
query retrieves rows in <tt class="docutils literal"><span class="pre">country=KOREA\city=SEOUL</span></tt>
directory.</p>
 <div class="highlight-sql"><div class="highlight"><pre><span class="k">SELECT</span>
<span class="o">*</span> <span class="k">FROM</span> <span class="n">student</span>
<span class="k">WHERE</span> <span class="n">country</span> <span
class="o">=</span> <span class="s1">&#39;KOREA&#39;</span> <span
class="k">AND</span> <span class="n">city</span> <span class="o">=</span>
<span class="s1">&#39;SEOUL&#39;</span><span class="p">;</span>
 </pre></div>
 </div>
-<p>The following predicates in the <code class="docutils literal"><span class="pre">WHERE</span></code>
clause can be used to prune column partitions during query planning phase.</p>
+<p>The following predicates in the <tt class="docutils literal"><span class="pre">WHERE</span></tt>
clause can be used to prune column partitions during query planning phase.</p>
 <ul class="simple">
-<li><code class="docutils literal"><span class="pre">=</span></code></li>
-<li><code class="docutils literal"><span class="pre">&lt;&gt;</span></code></li>
-<li><code class="docutils literal"><span class="pre">&gt;</span></code></li>
-<li><code class="docutils literal"><span class="pre">&lt;</span></code></li>
-<li><code class="docutils literal"><span class="pre">&gt;=</span></code></li>
-<li><code class="docutils literal"><span class="pre">&lt;=</span></code></li>
+<li><tt class="docutils literal"><span class="pre">=</span></tt></li>
+<li><tt class="docutils literal"><span class="pre">&lt;&gt;</span></tt></li>
+<li><tt class="docutils literal"><span class="pre">&gt;</span></tt></li>
+<li><tt class="docutils literal"><span class="pre">&lt;</span></tt></li>
+<li><tt class="docutils literal"><span class="pre">&gt;=</span></tt></li>
+<li><tt class="docutils literal"><span class="pre">&lt;=</span></tt></li>
 <li>LIKE predicates with a leading wild-card character</li>
 <li>IN list predicates</li>
 </ul>
 </div>
 <div class="section" id="add-data-to-partition-table">
 <h2>Add data to Partition Table<a class="headerlink" href="#add-data-to-partition-table"
title="Permalink to this headline">¶</a></h2>
-<p>Tajo provides a very useful feature of dynamic partitioning. You don&#8217;t
need to use any syntax with both <code class="docutils literal"><span class="pre">INSERT</span>
<span class="pre">INTO</span> <span class="pre">...</span> <span
class="pre">SELECT</span></code> and <code class="docutils literal"><span
class="pre">Create</span> <span class="pre">Table</span> <span class="pre">As</span>
<span class="pre">Select(CTAS)</span></code> statments for dynamic partitioning.
Tajo will automatically filter the data, create directories, move filtered data to appropriate
directory and create partition over it.</p>
-<p>For example, assume there are both <code class="docutils literal"><span
class="pre">student_source</span></code> and <code class="docutils literal"><span
class="pre">student</span></code> tables composed of the following schema.</p>
+<p>Tajo provides a very useful feature of dynamic partitioning. You don&#8217;t
need to use any syntax with both <tt class="docutils literal"><span class="pre">INSERT</span>
<span class="pre">INTO</span> <span class="pre">...</span> <span
class="pre">SELECT</span></tt> and <tt class="docutils literal"><span
class="pre">Create</span> <span class="pre">Table</span> <span class="pre">As</span>
<span class="pre">Select(CTAS)</span></tt> statments for dynamic partitioning.
Tajo will automatically filter the data, create directories, move filtered data to appropriate
directory and create partition over it.</p>
+<p>For example, assume there are both <tt class="docutils literal"><span class="pre">student_source</span></tt>
and <tt class="docutils literal"><span class="pre">student</span></tt>
tables composed of the following schema.</p>
 <div class="highlight-sql"><div class="highlight"><pre><span class="k">CREATE</span>
<span class="k">TABLE</span> <span class="n">student_source</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>
@@ -396,7 +396,7 @@ columns::default.student.country (TEXT),
 </div>
 <div class="section" id="how-to-add-data-to-partition-table">
 <h3>How to add data to partition table<a class="headerlink" href="#how-to-add-data-to-partition-table"
title="Permalink to this headline">¶</a></h3>
-<p>In Tajo, you can add data dynamically to partition table of Hive with both <code
class="docutils literal"><span class="pre">INSERT</span> <span class="pre">INTO</span>
<span class="pre">...</span> <span class="pre">SELECT</span></code>
and <code class="docutils literal"><span class="pre">Create</span> <span
class="pre">Table</span> <span class="pre">As</span> <span class="pre">Select</span>
<span class="pre">(CTAS)</span></code> statments. Tajo will automatically
filter the data to HiveMetastore, create directories and move filtered data to appropriate
directory on the distributed file system.</p>
+<p>In Tajo, you can add data dynamically to partition table of Hive with both <tt
class="docutils literal"><span class="pre">INSERT</span> <span class="pre">INTO</span>
<span class="pre">...</span> <span class="pre">SELECT</span></tt>
and <tt class="docutils literal"><span class="pre">Create</span> <span
class="pre">Table</span> <span class="pre">As</span> <span class="pre">Select</span>
<span class="pre">(CTAS)</span></tt> statments. Tajo will automatically
filter the data to HiveMetastore, create directories and move filtered data to appropriate
directory on the distributed file system.</p>
 </div>
 </div>
 </div>
@@ -419,7 +419,7 @@ columns::default.student.country (TEXT),
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2015, Apache Tajo Team.
+        &copy; Copyright 2016, Apache Tajo Team.
     </p>
   </div>
 
@@ -439,7 +439,7 @@ columns::default.student.country (TEXT),
     <script type="text/javascript">
         var DOCUMENTATION_OPTIONS = {
             URL_ROOT:'../',
-            VERSION:'0.11.0',
+            VERSION:'0.11.3',
             COLLAPSE_INDEX:false,
             FILE_SUFFIX:'.html',
             HAS_SOURCE:  true

Modified: tajo/site/docs/current/partitioning/hash_partitioning.html
URL: http://svn.apache.org/viewvc/tajo/site/docs/current/partitioning/hash_partitioning.html?rev=1744489&r1=1744488&r2=1744489&view=diff
==============================================================================
--- tajo/site/docs/current/partitioning/hash_partitioning.html (original)
+++ tajo/site/docs/current/partitioning/hash_partitioning.html Thu May 19 02:00:25 2016
@@ -7,7 +7,7 @@
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   
-  <title>Hash Partitioning &mdash; Apache Tajo 0.11.0 documentation</title>
+  <title>Hash Partitioning &mdash; Apache Tajo 0.11.3 documentation</title>
   
 
   
@@ -28,7 +28,7 @@
   
 
   
-    <link rel="top" title="Apache Tajo 0.11.0 documentation" href="../index.html"/>
+    <link rel="top" title="Apache Tajo 0.11.3 documentation" href="../index.html"/>
         <link rel="up" title="Table Partitioning" href="../table_partitioning.html"/>
         <link rel="next" title="Storage Plugin" href="../storage_plugins.html"/>
         <link rel="prev" title="Range Partitioning" href="range_partitioning.html"/>

@@ -234,7 +234,7 @@
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2015, Apache Tajo Team.
+        &copy; Copyright 2016, Apache Tajo Team.
     </p>
   </div>
 
@@ -254,7 +254,7 @@
     <script type="text/javascript">
         var DOCUMENTATION_OPTIONS = {
             URL_ROOT:'../',
-            VERSION:'0.11.0',
+            VERSION:'0.11.3',
             COLLAPSE_INDEX:false,
             FILE_SUFFIX:'.html',
             HAS_SOURCE:  true

Modified: tajo/site/docs/current/partitioning/intro_to_partitioning.html
URL: http://svn.apache.org/viewvc/tajo/site/docs/current/partitioning/intro_to_partitioning.html?rev=1744489&r1=1744488&r2=1744489&view=diff
==============================================================================
--- tajo/site/docs/current/partitioning/intro_to_partitioning.html (original)
+++ tajo/site/docs/current/partitioning/intro_to_partitioning.html Thu May 19 02:00:25 2016
@@ -7,7 +7,7 @@
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   
-  <title>Introduction to Partitioning &mdash; Apache Tajo 0.11.0 documentation</title>
+  <title>Introduction to Partitioning &mdash; Apache Tajo 0.11.3 documentation</title>
   
 
   
@@ -28,7 +28,7 @@
   
 
   
-    <link rel="top" title="Apache Tajo 0.11.0 documentation" href="../index.html"/>
+    <link rel="top" title="Apache Tajo 0.11.3 documentation" href="../index.html"/>
         <link rel="up" title="Table Partitioning" href="../table_partitioning.html"/>
         <link rel="next" title="Column Partitioning" href="column_partitioning.html"/>
         <link rel="prev" title="Table Partitioning" href="../table_partitioning.html"/>

@@ -245,7 +245,7 @@ Currently, Apache Tajo only provides Apa
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2015, Apache Tajo Team.
+        &copy; Copyright 2016, Apache Tajo Team.
     </p>
   </div>
 
@@ -265,7 +265,7 @@ Currently, Apache Tajo only provides Apa
     <script type="text/javascript">
         var DOCUMENTATION_OPTIONS = {
             URL_ROOT:'../',
-            VERSION:'0.11.0',
+            VERSION:'0.11.3',
             COLLAPSE_INDEX:false,
             FILE_SUFFIX:'.html',
             HAS_SOURCE:  true

Modified: tajo/site/docs/current/partitioning/range_partitioning.html
URL: http://svn.apache.org/viewvc/tajo/site/docs/current/partitioning/range_partitioning.html?rev=1744489&r1=1744488&r2=1744489&view=diff
==============================================================================
--- tajo/site/docs/current/partitioning/range_partitioning.html (original)
+++ tajo/site/docs/current/partitioning/range_partitioning.html Thu May 19 02:00:25 2016
@@ -7,7 +7,7 @@
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   
-  <title>Range Partitioning &mdash; Apache Tajo 0.11.0 documentation</title>
+  <title>Range Partitioning &mdash; Apache Tajo 0.11.3 documentation</title>
   
 
   
@@ -28,7 +28,7 @@
   
 
   
-    <link rel="top" title="Apache Tajo 0.11.0 documentation" href="../index.html"/>
+    <link rel="top" title="Apache Tajo 0.11.3 documentation" href="../index.html"/>
         <link rel="up" title="Table Partitioning" href="../table_partitioning.html"/>
         <link rel="next" title="Hash Partitioning" href="hash_partitioning.html"/>
         <link rel="prev" title="Column Partitioning" href="column_partitioning.html"/>

@@ -234,7 +234,7 @@
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2015, Apache Tajo Team.
+        &copy; Copyright 2016, Apache Tajo Team.
     </p>
   </div>
 
@@ -254,7 +254,7 @@
     <script type="text/javascript">
         var DOCUMENTATION_OPTIONS = {
             URL_ROOT:'../',
-            VERSION:'0.11.0',
+            VERSION:'0.11.3',
             COLLAPSE_INDEX:false,
             FILE_SUFFIX:'.html',
             HAS_SOURCE:  true

Modified: tajo/site/docs/current/search.html
URL: http://svn.apache.org/viewvc/tajo/site/docs/current/search.html?rev=1744489&r1=1744488&r2=1744489&view=diff
==============================================================================
--- tajo/site/docs/current/search.html (original)
+++ tajo/site/docs/current/search.html Thu May 19 02:00:25 2016
@@ -7,7 +7,7 @@
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   
-  <title>Search &mdash; Apache Tajo 0.11.0 documentation</title>
+  <title>Search &mdash; Apache Tajo 0.11.3 documentation</title>
   
 
   
@@ -28,7 +28,7 @@
   
 
   
-    <link rel="top" title="Apache Tajo 0.11.0 documentation" href="index.html"/> 
+    <link rel="top" title="Apache Tajo 0.11.3 documentation" href="index.html"/> 
 
   
   <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
@@ -224,7 +224,7 @@
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2015, Apache Tajo Team.
+        &copy; Copyright 2016, Apache Tajo Team.
     </p>
   </div>
 
@@ -244,7 +244,7 @@
     <script type="text/javascript">
         var DOCUMENTATION_OPTIONS = {
             URL_ROOT:'./',
-            VERSION:'0.11.0',
+            VERSION:'0.11.3',
             COLLAPSE_INDEX:false,
             FILE_SUFFIX:'.html',
             HAS_SOURCE:  true



Mime
View raw message