Modified: tajo/site/docs/current/functions/math_func_and_operators.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/functions/math_func_and_operators.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/functions/math_func_and_operators.html (original) +++ tajo/site/docs/current/functions/math_func_and_operators.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> @@ -163,9 +165,486 @@ <div class="section" id="math-functions-and-operators"> <h1>Math Functions and Operators<a class="headerlink" href="#math-functions-and-operators" title="Permalink to this headline">¶</a></h1> -<div class="admonition-todo admonition" id="index-0"> -<p class="first last admonition-title">Todo</p> +<dl class="function"> +<dt id="abs"> +<tt class="descname">abs</tt><big>(</big><em>number int|float</em><big>)</big><a class="headerlink" href="#abs" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns absolute value</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – input number</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">same as a parameter type</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="k">abs</span><span class="p">(</span><span class="o">-</span><span class="mi">9</span><span class="p">);</span> +<span class="o">></span> <span class="mi">9</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="acos"> +<tt class="descname">acos</tt><big>(</big><em>number float</em><big>)</big><a class="headerlink" href="#acos" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns the arc cosine of number value</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – input number as radian</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">acos</span><span class="p">(</span><span class="mi">0</span><span class="p">.</span><span class="mi">3</span><span class="p">);</span> +<span class="o">></span> <span class="mi">1</span><span class="p">.</span><span class="mi">2661036727794992</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="asin"> +<tt class="descname">asin</tt><big>(</big><em>number float</em><big>)</big><a class="headerlink" href="#asin" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns the arc sine of number value</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – input number as radian</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">acos</span><span class="p">(</span><span class="mi">0</span><span class="p">.</span><span class="mi">8</span><span class="p">);</span> +<span class="o">></span> <span class="mi">0</span><span class="p">.</span><span class="mi">9272952180016123</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="atan"> +<tt class="descname">atan</tt><big>(</big><em>number float8</em><big>)</big><a class="headerlink" href="#atan" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns the arc tangent of number value</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – input number as radian</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">atan</span><span class="p">(</span><span class="mi">0</span><span class="p">.</span><span class="mi">8</span><span class="p">);</span> +<span class="o">></span> <span class="mi">0</span><span class="p">.</span><span class="mi">6747409422235527</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="atan2"> +<tt class="descname">atan2</tt><big>(</big><em>y float</em>, <em>x float</em><big>)</big><a class="headerlink" href="#atan2" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta)</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> +<li><strong>y</strong> – the ordinate(y axis) coordinate</li> +<li><strong>x</strong> – the abscissa(x axis) coordinate</li> +</ul> +</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">float8</p> +</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">atan2</span><span class="p">(</span><span class="mi">2</span><span class="p">.</span><span class="mi">7</span><span class="p">,</span> <span class="mi">0</span><span class="p">.</span><span class="mi">3</span><span class="p">);</span> +<span class="o">></span> <span class="mi">1</span><span class="p">.</span><span class="mi">460139105621001</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="cbrt"> +<tt class="descname">cbrt</tt><big>(</big><em>number float</em><big>)</big><a class="headerlink" href="#cbrt" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns the cube root of a number</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – target real number</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">cbrt</span><span class="p">(</span><span class="mi">27</span><span class="p">.</span><span class="mi">0</span><span class="p">);</span> +<span class="o">></span> <span class="mi">3</span><span class="p">.</span><span class="mi">0</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="ceil"> +<tt class="descname">ceil</tt><big>(</big><em>number float</em><big>)</big><a class="headerlink" href="#ceil" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns a smallest integer not less than argument</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – target real number</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">int8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">ceil</span><span class="p">(</span><span class="o">-</span><span class="mi">42</span><span class="p">.</span><span class="mi">8</span><span class="p">);</span> +<span class="o">></span> <span class="o">-</span><span class="mi">42</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="cos"> +<tt class="descname">cos</tt><big>(</big><em>number float</em><big>)</big><a class="headerlink" href="#cos" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns the cosine of a number</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – target real number</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">cos</span><span class="p">(</span><span class="mi">0</span><span class="p">.</span><span class="mi">7</span><span class="p">);</span> +<span class="o">></span> <span class="mi">0</span><span class="p">.</span><span class="mi">7648421872844885</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="degrees"> +<tt class="descname">degrees</tt><big>(</big><em>number float</em><big>)</big><a class="headerlink" href="#degrees" title="Permalink to this definition">¶</a></dt> +<dd><p>Converts radians to degrees</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – radian value</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">degrees</span><span class="p">(</span><span class="mi">0</span><span class="p">.</span><span class="mi">8</span><span class="p">);</span> +<span class="o">></span> <span class="mi">45</span><span class="p">.</span><span class="mi">83662361046586</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="div"> +<tt class="descname">div</tt><big>(</big><em>num1 int</em>, <em>num2 int</em><big>)</big><a class="headerlink" href="#div" title="Permalink to this definition">¶</a></dt> +<dd><p>Integer division truncates resut</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> +<li><strong>num1</strong> – number to be divided</li> +<li><strong>num2</strong> – number to divide</li> +</ul> +</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">int8</p> +</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">div</span><span class="p">(</span><span class="mi">8</span><span class="p">,</span><span class="mi">3</span><span class="p">);</span> +<span class="o">></span> <span class="mi">2</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="exp"> +<tt class="descname">exp</tt><big>(</big><em>number float</em><big>)</big><a class="headerlink" href="#exp" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns Euler’s number e raised to the power of a number</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – input number</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">exp</span><span class="p">(</span><span class="mi">1</span><span class="p">.</span><span class="mi">0</span><span class="p">);</span> +<span class="o">></span> <span class="mi">2</span><span class="p">.</span><span class="mi">718281828459045</span> +</pre></div> </div> +</dd></dl> + +<dl class="function"> +<dt id="floor"> +<tt class="descname">floor</tt><big>(</big><em>number float</em><big>)</big><a class="headerlink" href="#floor" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns a largest integer not greater than argument</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – target real number</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">int8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">floor</span><span class="p">(</span><span class="mi">53</span><span class="p">.</span><span class="mi">1</span><span class="p">);</span> +<span class="o">></span> <span class="mi">53</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="mod"> +<tt class="descname">mod</tt><big>(</big><em>num1 int</em>, <em>num2 int</em><big>)</big><a class="headerlink" href="#mod" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns remainder of num1 / num2</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> +<li><strong>num1</strong> – number to be divided</li> +<li><strong>num2</strong> – number to divide</li> +</ul> +</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">int8</p> +</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="k">mod</span><span class="p">(</span><span class="mi">10</span><span class="p">,</span><span class="mi">3</span><span class="p">);</span> +<span class="o">></span> <span class="mi">1</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="pi"> +<tt class="descname">pi</tt><big>(</big><big>)</big><a class="headerlink" href="#pi" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns constant value of pi</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">float8</td> +</tr> +<tr class="field-even field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">pi</span><span class="p">();</span> +<span class="o">></span> <span class="mi">3</span><span class="p">.</span><span class="mi">141592653589793</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="pow"> +<tt class="descname">pow</tt><big>(</big><em>x float</em>, <em>y float</em><big>)</big><a class="headerlink" href="#pow" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns value of x raised to the power of y</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> +<li><strong>x</strong> – base number</li> +<li><strong>y</strong> – exponent</li> +</ul> +</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">float8</p> +</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">pow</span><span class="p">(</span><span class="mi">2</span><span class="p">.</span><span class="mi">0</span><span class="p">,</span> <span class="mi">10</span><span class="p">.</span><span class="mi">0</span><span class="p">);</span> +<span class="o">></span> <span class="mi">1024</span><span class="p">.</span><span class="mi">0</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="radians"> +<tt class="descname">radians</tt><big>(</big><em>number float</em><big>)</big><a class="headerlink" href="#radians" title="Permalink to this definition">¶</a></dt> +<dd><p>Converts degrees to radians</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – degree value</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">radians</span><span class="p">(</span><span class="mi">45</span><span class="p">.</span><span class="mi">0</span><span class="p">);</span> +<span class="o">></span> <span class="mi">0</span><span class="p">.</span><span class="mi">7853981633974483</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="round"> +<tt class="descname">round</tt><big>(</big><em>number int|float</em><big>)</big><a class="headerlink" href="#round" title="Permalink to this definition">¶</a></dt> +<dd><p>Rounds to nearest integer</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – target number</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">int8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">round</span><span class="p">(</span><span class="mi">5</span><span class="p">.</span><span class="mi">1</span><span class="p">);</span> +<span class="o">></span> <span class="mi">5</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="sign"> +<tt class="descname">sign</tt><big>(</big><em>number int|float</em><big>)</big><a class="headerlink" href="#sign" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns sign of argument as -1, 0, 1</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – target number</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">sign</span><span class="p">(</span><span class="o">-</span><span class="mi">8</span><span class="p">.</span><span class="mi">4</span><span class="p">);</span> +<span class="o">></span> <span class="o">-</span><span class="mi">1</span><span class="p">.</span><span class="mi">0</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="sin"> +<tt class="descname">sin</tt><big>(</big><em>number float</em><big>)</big><a class="headerlink" href="#sin" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns the sine of number value</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – target number</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">sin</span><span class="p">(</span><span class="mi">1</span><span class="p">.</span><span class="mi">0</span><span class="p">);</span> +<span class="o">></span> <span class="mi">0</span><span class="p">.</span><span class="mi">8414709848078965</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="sqrt"> +<tt class="descname">sqrt</tt><big>(</big><em>number float8</em><big>)</big><a class="headerlink" href="#sqrt" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns the square root of a number</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – target number</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">sqrt</span><span class="p">(</span><span class="mi">256</span><span class="p">.</span><span class="mi">0</span><span class="p">);</span> +<span class="o">></span> <span class="mi">16</span><span class="p">.</span><span class="mi">0</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="tan"> +<tt class="descname">tan</tt><big>(</big><em>number float</em><big>)</big><a class="headerlink" href="#tan" title="Permalink to this definition">¶</a></dt> +<dd><p>Returns the tangent of number value</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> – target number</td> +</tr> +<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float8</td> +</tr> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> +</tr> +</tbody> +</table> +<div class="highlight-sql"><div class="highlight"><pre><span class="k">select</span> <span class="n">tan</span><span class="p">(</span><span class="mi">0</span><span class="p">.</span><span class="mi">2</span><span class="p">);</span> +<span class="o">></span> <span class="mi">0</span><span class="p">.</span><span class="mi">2027100355086725</span> +</pre></div> +</div> +</dd></dl> + </div>
Modified: tajo/site/docs/current/functions/network_func_and_operators.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/functions/network_func_and_operators.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/functions/network_func_and_operators.html (original) +++ tajo/site/docs/current/functions/network_func_and_operators.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> @@ -171,10 +173,10 @@ all the workers. (Please refer the install instruction in <a class="reference external" href="http://dev.maxmind.com/geoip/legacy/downloadable/">http://dev.maxmind.com/geoip/legacy/downloadable/</a>)</p> <p>Once the GeoIP database is installed, you should specify the install location in <tt class="docutils literal"><span class="pre">conf/tajo-site.xml</span></tt> as follows.</p> -<div class="highlight-python"><div class="highlight"><pre><property> - <name>tajo.function.geoip-database-location</name> - <value>/path/to/geoip/database/file</value> -</property> +<div class="highlight-python"><div class="highlight"><pre><span class="o"><</span><span class="nb">property</span><span class="o">></span> + <span class="o"><</span><span class="n">name</span><span class="o">></span><span class="n">tajo</span><span class="o">.</span><span class="n">function</span><span class="o">.</span><span class="n">geoip</span><span class="o">-</span><span class="n">database</span><span class="o">-</span><span class="n">location</span><span class="o"></</span><span class="n">name</span><span class="o">></span> + <span class="o"><</span><span class="n">value</span><span class="o">>/</span><span class="n">path</span><span class="o">/</span><span class="n">to</span><span class="o">/</span><span class="n">geoip</span><span class="o">/</span><span class="n">database</span><span class="o">/</span><span class="nb">file</span><span class="o"></</span><span class="n">value</span><span class="o">></span> +<span class="o"></</span><span class="nb">property</span><span class="o">></span> </pre></div> </div> </div> @@ -192,7 +194,7 @@ as follows.</p> </tr> <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">text</td> </tr> -<tr class="field-odd field"><th class="field-name">Example:</th><td class="field-body"></td> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> </tr> </tbody> </table> @@ -214,7 +216,7 @@ as follows.</p> </tr> <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">text</td> </tr> -<tr class="field-odd field"><th class="field-name">Example:</th><td class="field-body"></td> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> </tr> </tbody> </table> @@ -241,7 +243,7 @@ as follows.</p> <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">boolean</p> </td> </tr> -<tr class="field-odd field"><th class="field-name">Example:</th><td class="field-body"></td> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> </tr> </tbody> </table> @@ -268,7 +270,7 @@ as follows.</p> <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">boolean</p> </td> </tr> -<tr class="field-odd field"><th class="field-name">Example:</th><td class="field-body"></td> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> </tr> </tbody> </table> Modified: tajo/site/docs/current/functions/string_func_and_operators.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/functions/string_func_and_operators.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/functions/string_func_and_operators.html (original) +++ tajo/site/docs/current/functions/string_func_and_operators.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> @@ -180,13 +182,12 @@ <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">text</p> </td> </tr> -<tr class="field-odd field"><th class="field-name">Example:</th><td class="field-body"></td> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> </tr> </tbody> </table> -<div class="highlight-sql"><div class="highlight"><pre>select âTaâ || âjoâ; -> 'Tajo' -</pre></div> +<div class="highlight-sql"><pre>select âTaâ || âjoâ; +> 'Tajo'</pre> </div> </dd></dl> @@ -202,15 +203,14 @@ </tr> <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">int4</td> </tr> -<tr class="field-odd field"><th class="field-name">Alias:</th><td class="field-body">character_length</td> +<tr class="field-odd field"><th class="field-name">Alias :</th><td class="field-body">character_length</td> </tr> -<tr class="field-even field"><th class="field-name">Example:</th><td class="field-body"></td> +<tr class="field-even field"><th class="field-name">Example :</th><td class="field-body"></td> </tr> </tbody> </table> -<div class="highlight-sql"><div class="highlight"><pre>select char_length(âTajoâ); -> 4 -</pre></div> +<div class="highlight-sql"><pre>select char_length(âTajoâ); +> 4</pre> </div> </dd></dl> @@ -231,13 +231,12 @@ <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">text</p> </td> </tr> -<tr class="field-odd field"><th class="field-name">Example:</th><td class="field-body"></td> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> </tr> </tbody> </table> -<div class="highlight-sql"><div class="highlight"><pre>select trim(both âxâ from âxTajoxxâ); -> Tajo -</pre></div> +<div class="highlight-sql"><pre>select trim(both âxâ from âxTajoxxâ); +> Tajo</pre> </div> </dd></dl> @@ -258,16 +257,15 @@ <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">text</p> </td> </tr> -<tr class="field-odd field"><th class="field-name">Alias:</th><td class="field-body"><p class="first">trim</p> +<tr class="field-odd field"><th class="field-name">Alias :</th><td class="field-body"><p class="first">trim</p> </td> </tr> -<tr class="field-even field"><th class="field-name">Example:</th><td class="field-body"></td> +<tr class="field-even field"><th class="field-name">Example :</th><td class="field-body"></td> </tr> </tbody> </table> -<div class="highlight-sql"><div class="highlight"><pre>select btrim(âxTajoxxâ, âxâ); -> Tajo -</pre></div> +<div class="highlight-sql"><pre>select btrim(âxTajoxxâ, âxâ); +> Tajo</pre> </div> </dd></dl> @@ -288,13 +286,12 @@ <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">text</p> </td> </tr> -<tr class="field-odd field"><th class="field-name">Example:</th><td class="field-body"></td> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> </tr> </tbody> </table> -<div class="highlight-sql"><div class="highlight"><pre>select ltrim(âxxTajoâ, âxâ); -> Tajo -</pre></div> +<div class="highlight-sql"><pre>select ltrim(âxxTajoâ, âxâ); +> Tajo</pre> </div> </dd></dl> @@ -315,7 +312,7 @@ <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">text</p> </td> </tr> -<tr class="field-odd field"><th class="field-name">Example:</th><td class="field-body"></td> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> </tr> </tbody> </table> @@ -343,13 +340,12 @@ <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">text</p> </td> </tr> -<tr class="field-odd field"><th class="field-name">Example:</th><td class="field-body"></td> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> </tr> </tbody> </table> -<div class="highlight-sql"><div class="highlight"><pre>select split_part(âab_bc_cdâ,â_â,2); -> bc -</pre></div> +<div class="highlight-sql"><pre>select split_part(âab_bc_cdâ,â_â,2); +> bc</pre> </div> </dd></dl> @@ -371,13 +367,12 @@ <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">text</p> </td> </tr> -<tr class="field-odd field"><th class="field-name">Example:</th><td class="field-body"></td> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> </tr> </tbody> </table> -<div class="highlight-sql"><div class="highlight"><pre>select regexp_replace(âabcdefâ, â(Ëab|ef$)â, âââ); -> âcdâ -</pre></div> +<div class="highlight-sql"><pre>select regexp_replace(âabcdefâ, â(Ëab|ef$)â, âââ); +> âcdâ</pre> </div> </dd></dl> @@ -393,7 +388,7 @@ </tr> <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">text</td> </tr> -<tr class="field-odd field"><th class="field-name">Example:</th><td class="field-body"></td> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> </tr> </tbody> </table> @@ -415,7 +410,7 @@ </tr> <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">text</td> </tr> -<tr class="field-odd field"><th class="field-name">Example:</th><td class="field-body"></td> +<tr class="field-odd field"><th class="field-name">Example :</th><td class="field-body"></td> </tr> </tbody> </table> Modified: tajo/site/docs/current/genindex.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/genindex.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/genindex.html (original) +++ tajo/site/docs/current/genindex.html Wed Sep 24 02:16:42 2014 @@ -1,6 +1,8 @@ + + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -73,6 +75,7 @@ <li class="toctree-l2"><a class="reference internal" href="configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="cli.html">Tajo Shell (TSQL)</a><ul> @@ -159,16 +162,50 @@ <h1 id="index">Index</h1> <div class="genindex-jumpbox"> - <a href="#B"><strong>B</strong></a> + <a href="#A"><strong>A</strong></a> + | <a href="#B"><strong>B</strong></a> | <a href="#C"><strong>C</strong></a> + | <a href="#D"><strong>D</strong></a> + | <a href="#E"><strong>E</strong></a> + | <a href="#F"><strong>F</strong></a> | <a href="#G"><strong>G</strong></a> | <a href="#L"><strong>L</strong></a> + | <a href="#M"><strong>M</strong></a> + | <a href="#P"><strong>P</strong></a> | <a href="#R"><strong>R</strong></a> | <a href="#S"><strong>S</strong></a> | <a href="#T"><strong>T</strong></a> | <a href="#U"><strong>U</strong></a> </div> +<h2 id="A">A</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="functions/math_func_and_operators.html#abs">abs() (built-in function)</a> + </dt> + + + <dt><a href="functions/math_func_and_operators.html#acos">acos() (built-in function)</a> + </dt> + + + <dt><a href="functions/math_func_and_operators.html#asin">asin() (built-in function)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="functions/math_func_and_operators.html#atan">atan() (built-in function)</a> + </dt> + + + <dt><a href="functions/math_func_and_operators.html#atan2">atan2() (built-in function)</a> + </dt> + + </dl></td> +</tr></table> + <h2 id="B">B</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%" valign="top"><dl> @@ -183,9 +220,59 @@ <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%" valign="top"><dl> + <dt><a href="functions/math_func_and_operators.html#cbrt">cbrt() (built-in function)</a> + </dt> + + + <dt><a href="functions/math_func_and_operators.html#ceil">ceil() (built-in function)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + <dt><a href="functions/string_func_and_operators.html#char_length">char_length() (built-in function)</a> </dt> + + <dt><a href="functions/math_func_and_operators.html#cos">cos() (built-in function)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="D">D</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="functions/math_func_and_operators.html#degrees">degrees() (built-in function)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="functions/math_func_and_operators.html#div">div() (built-in function)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="E">E</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="functions/math_func_and_operators.html#exp">exp() (built-in function)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="F">F</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="functions/math_func_and_operators.html#floor">floor() (built-in function)</a> + </dt> + </dl></td> </tr></table> @@ -221,16 +308,50 @@ </dl></td> </tr></table> +<h2 id="M">M</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="functions/math_func_and_operators.html#mod">mod() (built-in function)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="P">P</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="functions/math_func_and_operators.html#pi">pi() (built-in function)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="functions/math_func_and_operators.html#pow">pow() (built-in function)</a> + </dt> + + </dl></td> +</tr></table> + <h2 id="R">R</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%" valign="top"><dl> + <dt><a href="functions/math_func_and_operators.html#radians">radians() (built-in function)</a> + </dt> + + <dt><a href="functions/string_func_and_operators.html#regexp_replace">regexp_replace() (built-in function)</a> </dt> </dl></td> <td style="width: 33%" valign="top"><dl> + <dt><a href="functions/math_func_and_operators.html#round">round() (built-in function)</a> + </dt> + + <dt><a href="functions/string_func_and_operators.html#rtrim">rtrim() (built-in function)</a> </dt> @@ -241,9 +362,23 @@ <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%" valign="top"><dl> + <dt><a href="functions/math_func_and_operators.html#sign">sign() (built-in function)</a> + </dt> + + + <dt><a href="functions/math_func_and_operators.html#sin">sin() (built-in function)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + <dt><a href="functions/string_func_and_operators.html#split_part">split_part() (built-in function)</a> </dt> + + <dt><a href="functions/math_func_and_operators.html#sqrt">sqrt() (built-in function)</a> + </dt> + </dl></td> </tr></table> @@ -251,6 +386,12 @@ <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%" valign="top"><dl> + <dt><a href="functions/math_func_and_operators.html#tan">tan() (built-in function)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + <dt><a href="functions/string_func_and_operators.html#trim">trim() (built-in function)</a> </dt> @@ -302,7 +443,7 @@ <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { - URL_ROOT:'./', + URL_ROOT:'', VERSION:'0.8.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', Modified: tajo/site/docs/current/getting_started.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/getting_started.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/getting_started.html (original) +++ tajo/site/docs/current/getting_started.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -74,6 +75,7 @@ <li class="toctree-l2"><a class="reference internal" href="configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="cli.html">Tajo Shell (TSQL)</a><ul> @@ -209,7 +211,7 @@ <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { - URL_ROOT:'./', + URL_ROOT:'', VERSION:'0.8.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', Modified: tajo/site/docs/current/getting_started/building.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/getting_started/building.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/getting_started/building.html (original) +++ tajo/site/docs/current/getting_started/building.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> Modified: tajo/site/docs/current/getting_started/downloading_source.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/getting_started/downloading_source.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/getting_started/downloading_source.html (original) +++ tajo/site/docs/current/getting_started/downloading_source.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> @@ -170,14 +172,14 @@ Click on the suggested mirror link. This will take you to a mirror of Tajo Releases. Download the file that ends in .tar.gz to your local filesystem; e.g. tajo-x.y.z-src.tar.gz.</p> <p>Decompress and untar your download and then change into the unpacked directory.</p> -<div class="highlight-python"><div class="highlight"><pre>tar xzvf tajo-x.y.z-src.tar.gz +<div class="highlight-python"><div class="highlight"><pre><span class="n">tar</span> <span class="n">xzvf</span> <span class="n">tajo</span><span class="o">-</span><span class="n">x</span><span class="o">.</span><span class="n">y</span><span class="o">.</span><span class="n">z</span><span class="o">-</span><span class="n">src</span><span class="o">.</span><span class="n">tar</span><span class="o">.</span><span class="n">gz</span> </pre></div> </div> </div> <div class="section" id="get-the-source-code-via-git"> <h2>Get the source code via Git<a class="headerlink" href="#get-the-source-code-via-git" title="Permalink to this headline">¶</a></h2> <p>The development codebase can also be downloaded from <a class="reference external" href="https://git-wip-us.apache.org/repos/asf/tajo.git">the Apache git repository</a> as follows:</p> -<div class="highlight-python"><div class="highlight"><pre>git clone https://git-wip-us.apache.org/repos/asf/tajo.git +<div class="highlight-python"><div class="highlight"><pre><span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">git</span><span class="o">-</span><span class="n">wip</span><span class="o">-</span><span class="n">us</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="o">/</span><span class="n">repos</span><span class="o">/</span><span class="n">asf</span><span class="o">/</span><span class="n">tajo</span><span class="o">.</span><span class="n">git</span> </pre></div> </div> <p>A read-only git repository is also mirrored on <a class="reference external" href="https://github.com/apache/tajo">Github</a>.</p> Modified: tajo/site/docs/current/getting_started/first_query.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/getting_started/first_query.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/getting_started/first_query.html (original) +++ tajo/site/docs/current/getting_started/first_query.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> @@ -176,47 +178,45 @@ </pre></div> </div> <p>Apache Tajo⢠provides a SQL shell which allows users to interactively submit SQL queries. In order to use this shell, please execute <tt class="docutils literal"><span class="pre">bin/tsql</span></tt></p> -<div class="highlight-python"><div class="highlight"><pre>$ $TAJO_HOME/bin/tsql -tajo> -</pre></div> +<div class="highlight-python"><pre>$ $TAJO_HOME/bin/tsql +tajo></pre> </div> <p>In order to load the table we created above, we should think of a schema of the table. Here, we assume the schema as (int, text, float, text).</p> -<div class="highlight-python"><div class="highlight"><pre>$ $TAJO_HOME/bin/tsql +<div class="highlight-python"><pre>$ $TAJO_HOME/bin/tsql tajo> create external table table1 ( id int, name text, score float, type text) - using csv with ('csvfile.delimiter'='|') location 'file:/home/x/table1'; -</pre></div> + using csv with ('csvfile.delimiter'='|') location 'file:/home/x/table1';</pre> </div> <p>To load an external table, you need to use âcreate external tableâ statement. In the location clause, you should use the absolute directory path with an appropriate scheme. If the table resides in HDFS, you should use âhdfsâ instead of âfileâ.</p> <p>If you want to know DDL statements in more detail, please see Query Language.</p> -<div class="highlight-python"><div class="highlight"><pre> tajo> \d - table1 +<div class="highlight-python"><div class="highlight"><pre> <span class="n">tajo</span><span class="o">></span> \<span class="n">d</span> + <span class="n">table1</span> -``\d`` command shows the list of tables. :: +<span class="sb">``</span>\<span class="n">d</span><span class="sb">``</span> <span class="n">command</span> <span class="n">shows</span> <span class="n">the</span> <span class="nb">list</span> <span class="n">of</span> <span class="n">tables</span><span class="o">.</span> <span class="p">::</span> - tajo> \d table1 + <span class="n">tajo</span><span class="o">></span> \<span class="n">d</span> <span class="n">table1</span> - table name: table1 - table path: file:/home/x/table1 - store type: CSV - number of rows: 0 - volume (bytes): 78 B - schema: - id INT - name TEXT - score FLOAT - type TEXT + <span class="n">table</span> <span class="n">name</span><span class="p">:</span> <span class="n">table1</span> + <span class="n">table</span> <span class="n">path</span><span class="p">:</span> <span class="nb">file</span><span class="p">:</span><span class="o">/</span><span class="n">home</span><span class="o">/</span><span class="n">x</span><span class="o">/</span><span class="n">table1</span> + <span class="n">store</span> <span class="nb">type</span><span class="p">:</span> <span class="n">CSV</span> + <span class="n">number</span> <span class="n">of</span> <span class="n">rows</span><span class="p">:</span> <span class="mi">0</span> + <span class="n">volume</span> <span class="p">(</span><span class="nb">bytes</span><span class="p">):</span> <span class="mi">78</span> <span class="n">B</span> + <span class="n">schema</span><span class="p">:</span> + <span class="nb">id</span> <span class="n">INT</span> + <span class="n">name</span> <span class="n">TEXT</span> + <span class="n">score</span> <span class="n">FLOAT</span> + <span class="nb">type</span> <span class="n">TEXT</span> </pre></div> </div> <p><tt class="docutils literal"><span class="pre">\d</span> <span class="pre">[table</span> <span class="pre">name]</span></tt> command shows the description of a given table.</p> <p>Also, you can execute SQL queries as follows:</p> -<div class="highlight-python"><div class="highlight"><pre>tajo> select * from table1 where id > 2; +<div class="highlight-python"><pre>tajo> select * from table1 where id > 2; final state: QUERY_SUCCEEDED, init time: 0.069 sec, response time: 0.397 sec result: file:/tmp/tajo-hadoop/staging/q_1363768615503_0001_000001/RESULT, 3 rows ( 35B) @@ -227,8 +227,7 @@ id, name, score, type 5, mno, 5.6, e tajo> \q -bye -</pre></div> +bye</pre> </div> <p>Feel free to enjoy Tajo with SQL standards. If you want to know more explanation for SQL supported by Tajo, please refer <a class="reference internal" href="../sql_language.html"><em>SQL Language</em></a>.</p> Modified: tajo/site/docs/current/getting_started/local_setup.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/getting_started/local_setup.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/getting_started/local_setup.html (original) +++ tajo/site/docs/current/getting_started/local_setup.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> Modified: tajo/site/docs/current/getting_started/prerequisites.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/getting_started/prerequisites.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/getting_started/prerequisites.html (original) +++ tajo/site/docs/current/getting_started/prerequisites.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> Modified: tajo/site/docs/current/hcatalog_integration.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/hcatalog_integration.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/hcatalog_integration.html (original) +++ tajo/site/docs/current/hcatalog_integration.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -74,6 +75,7 @@ <li class="toctree-l2"><a class="reference internal" href="configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="cli.html">Tajo Shell (TSQL)</a><ul> @@ -171,27 +173,25 @@ This instruction would take no more than <p>First, you need to compile the source code with hcatalog profile. Currently, Tajo supports hcatalog-0.11.0 and hcatalog-0.12.0 profile. So, if you want to use Hive 0.11.0, you need to set <tt class="docutils literal"><span class="pre">-Phcatalog-0.11.0</span></tt> as the maven profile</p> -<div class="highlight-python"><div class="highlight"><pre>$ mvn clean package -DskipTests -Pdist -Dtar -Phcatalog-0.11.0 -</pre></div> +<div class="highlight-python"><pre>$ mvn clean package -DskipTests -Pdist -Dtar -Phcatalog-0.11.0</pre> </div> <p>Or, if you want to use Hive 0.12.0, you need to set <tt class="docutils literal"><span class="pre">-Phcatalog-0.12.0</span></tt> as the maven profile</p> -<div class="highlight-python"><div class="highlight"><pre>$ mvn clean package -DskipTests -Pdist -Dtar -Phcatalog-0.12.0 -</pre></div> +<div class="highlight-python"><pre>$ mvn clean package -DskipTests -Pdist -Dtar -Phcatalog-0.12.0</pre> </div> <p>Then, you need to set your Hive home directory to the environment variable <tt class="docutils literal"><span class="pre">HIVE_HOME</span></tt> in conf/tajo-env.sh as follows:</p> -<div class="highlight-python"><div class="highlight"><pre>export HIVE_HOME=/path/to/your/hive/directory +<div class="highlight-python"><div class="highlight"><pre><span class="n">export</span> <span class="n">HIVE_HOME</span><span class="o">=/</span><span class="n">path</span><span class="o">/</span><span class="n">to</span><span class="o">/</span><span class="n">your</span><span class="o">/</span><span class="n">hive</span><span class="o">/</span><span class="n">directory</span> </pre></div> </div> <p>If you need to use jdbc to connect HiveMetaStore, you have to prepare MySQL jdbc driver. Next, you should set the path of MySQL JDBC driver jar file to the environment variable HIVE_JDBC_DRIVER_DIR in conf/tajo-env.sh as follows:</p> -<div class="highlight-python"><div class="highlight"><pre>export HIVE_JDBC_DRIVER_DIR==/path/to/your/mysql_jdbc_driver/mysql-connector-java-x.x.x-bin.jar +<div class="highlight-python"><div class="highlight"><pre><span class="n">export</span> <span class="n">HIVE_JDBC_DRIVER_DIR</span><span class="o">==/</span><span class="n">path</span><span class="o">/</span><span class="n">to</span><span class="o">/</span><span class="n">your</span><span class="o">/</span><span class="n">mysql_jdbc_driver</span><span class="o">/</span><span class="n">mysql</span><span class="o">-</span><span class="n">connector</span><span class="o">-</span><span class="n">java</span><span class="o">-</span><span class="n">x</span><span class="o">.</span><span class="n">x</span><span class="o">.</span><span class="n">x</span><span class="o">-</span><span class="nb">bin</span><span class="o">.</span><span class="n">jar</span> </pre></div> </div> <p>Finally, you should specify HCatalogStore as Tajo catalog driver class in <tt class="docutils literal"><span class="pre">conf/catalog-site.xml</span></tt> as follows:</p> -<div class="highlight-python"><div class="highlight"><pre><property> - <name>tajo.catalog.store.class</name> - <value>org.apache.tajo.catalog.store.HCatalogStore</value> -</property> +<div class="highlight-python"><div class="highlight"><pre><span class="o"><</span><span class="nb">property</span><span class="o">></span> + <span class="o"><</span><span class="n">name</span><span class="o">></span><span class="n">tajo</span><span class="o">.</span><span class="n">catalog</span><span class="o">.</span><span class="n">store</span><span class="o">.</span><span class="n">class</span><span class="o"></</span><span class="n">name</span><span class="o">></span> + <span class="o"><</span><span class="n">value</span><span class="o">></span><span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">tajo</span><span class="o">.</span><span class="n">catalog</span><span class="o">.</span><span class="n">store</span><span class="o">.</span><span class="n">HCatalogStore</span><span class="o"></</span><span class="n">value</span><span class="o">></span> +<span class="o"></</span><span class="nb">property</span><span class="o">></span> </pre></div> </div> </div> @@ -233,7 +233,7 @@ Next, you should set the path of MySQL J <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { - URL_ROOT:'./', + URL_ROOT:'', VERSION:'0.8.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', Modified: tajo/site/docs/current/index.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/index.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/index.html (original) +++ tajo/site/docs/current/index.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -73,6 +74,7 @@ <li class="toctree-l2"><a class="reference internal" href="configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="cli.html">Tajo Shell (TSQL)</a><ul> @@ -211,6 +213,14 @@ As a result, some contents can be mismat <li class="toctree-l3"><a class="reference internal" href="configuration/configuration_defaults.html#tajo-master-configuration-defaults">Tajo Master Configuration Defaults</a></li> </ul> </li> +<li class="toctree-l2"><a class="reference internal" href="configuration/ha_configuration.html">High Availability for TajoMaster</a><ul> +<li class="toctree-l3"><a class="reference internal" href="configuration/ha_configuration.html#terminology">Terminology</a></li> +<li class="toctree-l3"><a class="reference internal" href="configuration/ha_configuration.html#configuration-file-settings">Configuration File Settings</a></li> +<li class="toctree-l3"><a class="reference internal" href="configuration/ha_configuration.html#backup-master-settings">Backup Master Settings</a></li> +<li class="toctree-l3"><a class="reference internal" href="configuration/ha_configuration.html#launch-a-tajo-cluster">Launch a Tajo cluster</a></li> +<li class="toctree-l3"><a class="reference internal" href="configuration/ha_configuration.html#administration-ha-state">Administration HA state</a></li> +</ul> +</li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="cli.html">Tajo Shell (TSQL)</a><ul> @@ -367,7 +377,7 @@ As a result, some contents can be mismat <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { - URL_ROOT:'./', + URL_ROOT:'', VERSION:'0.8.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', Modified: tajo/site/docs/current/introduction.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/introduction.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/introduction.html (original) +++ tajo/site/docs/current/introduction.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -74,6 +75,7 @@ <li class="toctree-l2"><a class="reference internal" href="configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="cli.html">Tajo Shell (TSQL)</a><ul> @@ -208,7 +210,7 @@ queries in order to avoid the worst quer <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { - URL_ROOT:'./', + URL_ROOT:'', VERSION:'0.8.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', Modified: tajo/site/docs/current/jdbc_driver.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/jdbc_driver.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/jdbc_driver.html (original) +++ tajo/site/docs/current/jdbc_driver.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -74,6 +75,7 @@ <li class="toctree-l2"><a class="reference internal" href="configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="cli.html">Tajo Shell (TSQL)</a><ul> @@ -294,7 +296,7 @@ So, the host names must be shared with t <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { - URL_ROOT:'./', + URL_ROOT:'', VERSION:'0.8.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', Modified: tajo/site/docs/current/partitioning/column_partitioning.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/partitioning/column_partitioning.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/partitioning/column_partitioning.html (original) +++ tajo/site/docs/current/partitioning/column_partitioning.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> @@ -169,9 +171,9 @@ <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 there is a table <tt class="docutils literal"><span class="pre">orders</span></tt> composed of the following schema.</p> -<div class="highlight-python"><div class="highlight"><pre>id INT, -item_name TEXT, -price FLOAT +<div class="highlight-python"><div class="highlight"><pre><span class="nb">id</span> <span class="n">INT</span><span class="p">,</span> +<span class="n">item_name</span> <span class="n">TEXT</span><span class="p">,</span> +<span class="n">price</span> <span class="n">FLOAT</span> </pre></div> </div> <p>Also, assume that you want to use <tt class="docutils literal"><span class="pre">order_date</span> <span class="pre">TEXT</span></tt> and <tt class="docutils literal"><span class="pre">ship_date</span> <span class="pre">TEXT</span></tt> as the partition keys. Modified: tajo/site/docs/current/partitioning/hash_partitioning.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/partitioning/hash_partitioning.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/partitioning/hash_partitioning.html (original) +++ tajo/site/docs/current/partitioning/hash_partitioning.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> 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=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/partitioning/intro_to_partitioning.html (original) +++ tajo/site/docs/current/partitioning/intro_to_partitioning.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> Modified: tajo/site/docs/current/partitioning/range_partitioning.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/partitioning/range_partitioning.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/partitioning/range_partitioning.html (original) +++ tajo/site/docs/current/partitioning/range_partitioning.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> Modified: tajo/site/docs/current/search.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/search.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/search.html (original) +++ tajo/site/docs/current/search.html Wed Sep 24 02:16:42 2014 @@ -72,6 +72,7 @@ <li class="toctree-l2"><a class="reference internal" href="configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="cli.html">Tajo Shell (TSQL)</a><ul> @@ -195,7 +196,7 @@ <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { - URL_ROOT:'./', + URL_ROOT:'', VERSION:'0.8.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', Modified: tajo/site/docs/current/sql_language.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/sql_language.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/sql_language.html (original) +++ tajo/site/docs/current/sql_language.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -74,6 +75,7 @@ <li class="toctree-l2"><a class="reference internal" href="configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="cli.html">Tajo Shell (TSQL)</a><ul> @@ -209,7 +211,7 @@ <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { - URL_ROOT:'./', + URL_ROOT:'', VERSION:'0.8.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', Modified: tajo/site/docs/current/sql_language/data_model.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/sql_language/data_model.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/sql_language/data_model.html (original) +++ tajo/site/docs/current/sql_language/data_model.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> Modified: tajo/site/docs/current/sql_language/ddl.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/sql_language/ddl.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/sql_language/ddl.html (original) +++ tajo/site/docs/current/sql_language/ddl.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> Modified: tajo/site/docs/current/sql_language/insert.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/sql_language/insert.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/sql_language/insert.html (original) +++ tajo/site/docs/current/sql_language/insert.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> Modified: tajo/site/docs/current/sql_language/predicates.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/sql_language/predicates.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/sql_language/predicates.html (original) +++ tajo/site/docs/current/sql_language/predicates.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> @@ -300,12 +302,11 @@ </tbody> </table> <p>Here are examples:</p> -<div class="highlight-sql"><div class="highlight"><pre>'abc' ~ '.*c' true -'abc' ~ 'c' false -'aaabc' ~ '([a-z]){3}bc true -'abc' ~* '.*C' true -'abc' !~* 'B.*' true -</pre></div> +<div class="highlight-sql"><pre>'abc' ~ '.*c' true +'abc' ~ 'c' false +'aaabc' ~ '([a-z]){3}bc true +'abc' ~* '.*C' true +'abc' !~* 'B.*' true</pre> </div> <p>Regular expressions operator is not in the SQL standard. We borrow this operator from PostgreSQL.</p> <p><em>Synopsis for REGEXP and RLIKE operators</em></p> Modified: tajo/site/docs/current/sql_language/queries.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/sql_language/queries.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/sql_language/queries.html (original) +++ tajo/site/docs/current/sql_language/queries.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul> Modified: tajo/site/docs/current/sql_language/sql_expression.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/sql_language/sql_expression.html?rev=1627192&r1=1627191&r2=1627192&view=diff ============================================================================== --- tajo/site/docs/current/sql_language/sql_expression.html (original) +++ tajo/site/docs/current/sql_language/sql_expression.html Wed Sep 24 02:16:42 2014 @@ -1,5 +1,6 @@ + <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> @@ -75,6 +76,7 @@ <li class="toctree-l2"><a class="reference internal" href="../configuration/worker_configuration.html">Worker Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/catalog_configuration.html">Catalog Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../configuration/configuration_defaults.html">Configuration Defaults</a></li> +<li class="toctree-l2"><a class="reference internal" href="../configuration/ha_configuration.html">High Availability for TajoMaster</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../cli.html">Tajo Shell (TSQL)</a><ul>
