Author: hyunsik
Date: Fri Dec 12 07:06:47 2014
New Revision: 1644841
URL: http://svn.apache.org/r1644841
Log:
Add missed html files.
Added:
tajo/site/docs/devel/_sources/configuration/catalog-site-xml.txt
tajo/site/docs/devel/_sources/configuration/service_config_defaults.txt
tajo/site/docs/devel/_sources/configuration/tajo-site-xml.txt
tajo/site/docs/devel/_sources/time_zone.txt
tajo/site/docs/devel/configuration/catalog-site-xml.html
tajo/site/docs/devel/configuration/service_config_defaults.html
tajo/site/docs/devel/configuration/tajo-site-xml.html
tajo/site/docs/devel/time_zone.html
Added: tajo/site/docs/devel/_sources/configuration/catalog-site-xml.txt
URL:
http://svn.apache.org/viewvc/tajo/site/docs/devel/_sources/configuration/catalog-site-xml.txt?rev=1644841&view=auto
==============================================================================
--- tajo/site/docs/devel/_sources/configuration/catalog-site-xml.txt (added)
+++ tajo/site/docs/devel/_sources/configuration/catalog-site-xml.txt Fri Dec 12
07:06:47 2014
@@ -0,0 +1,3 @@
+*************************
+The catalog-site.xml File
+*************************
\ No newline at end of file
Added: tajo/site/docs/devel/_sources/configuration/service_config_defaults.txt
URL:
http://svn.apache.org/viewvc/tajo/site/docs/devel/_sources/configuration/service_config_defaults.txt?rev=1644841&view=auto
==============================================================================
--- tajo/site/docs/devel/_sources/configuration/service_config_defaults.txt
(added)
+++ tajo/site/docs/devel/_sources/configuration/service_config_defaults.txt Fri
Dec 12 07:06:47 2014
@@ -0,0 +1,28 @@
+**************************************
+Cluster Service Configuration Defaults
+**************************************
+
+Tajo Master Configuration Defaults
+====================================
+
+============================
============================================================== ===========
===============
+ Service Name Config Property Name
Description default address
+============================
============================================================== ===========
===============
+Tajo Master Umbilical Rpc tajo.master.umbilical-rpc.address
localhost:26001
+Tajo Master Client Rpc tajo.master.client-rpc.address
localhost:26002
+Tajo Master Info Http tajo.master.info-http.address
0.0.0.0:26080
+Tajo Resource Tracker Rpc tajo.resource-tracker.rpc.address
localhost:26003
+Tajo Catalog Client Rpc tajo.catalog.client-rpc.address
localhost:26005
+============================
============================================================== ===========
===============
+
+====================================
+Tajo Worker Configuration Defaults
+====================================
+
+============================
============================================================== ===========
===============
+ Service Name Config Property Name
Description default address
+============================
============================================================== ===========
===============
+Tajo Worker Peer Rpc tajo.worker.peer-rpc.address
0.0.0.0:28091
+Tajo Worker Client Rpc tajo.worker.client-rpc.address
0.0.0.0:28092
+Tajo Worker Info Http tajo.worker.info-http.address
0.0.0.0:28080
+============================
============================================================== ===========
===============
\ No newline at end of file
Added: tajo/site/docs/devel/_sources/configuration/tajo-site-xml.txt
URL:
http://svn.apache.org/viewvc/tajo/site/docs/devel/_sources/configuration/tajo-site-xml.txt?rev=1644841&view=auto
==============================================================================
--- tajo/site/docs/devel/_sources/configuration/tajo-site-xml.txt (added)
+++ tajo/site/docs/devel/_sources/configuration/tajo-site-xml.txt Fri Dec 12
07:06:47 2014
@@ -0,0 +1,24 @@
+**********************
+The tajo-site.xml File
+**********************
+
+To the ``core-site.xml`` file on every host in your cluster, you must add the
following information:
+
+======================
+System Config
+======================
+
+
+
+======================
+Date/Time Settings
+======================
+
++--------------------------+----------------+--------------------------------------------------------+
+| Property Name | Property Value | Descriptions
|
++==========================+================+========================================================+
+| tajo.timezone | Time zone id | Refer to :doc:`/time_zone`
|
++--------------------------+----------------+--------------------------------------------------------+
+| tajo.datetime.date-order | Date order | Determine date order. It should
be one of YMD, DMY, MDY|
++--------------------------+----------------+--------------------------------------------------------+
+
Added: tajo/site/docs/devel/_sources/time_zone.txt
URL:
http://svn.apache.org/viewvc/tajo/site/docs/devel/_sources/time_zone.txt?rev=1644841&view=auto
==============================================================================
--- tajo/site/docs/devel/_sources/time_zone.txt (added)
+++ tajo/site/docs/devel/_sources/time_zone.txt Fri Dec 12 07:06:47 2014
@@ -0,0 +1,129 @@
+******************
+Time Zone
+******************
+
+Time zone affects some data types (e.g., ``Timestamp`` and ``Time``) and
operations (e.g., ``to_char``). Tables can have different time zones.
Internally, Tajo translates all table rows to UTC values and processes them. It
becomes easier for Tajo to handle multiple different time zones.
+
+In Tajo, there are some time zong settings.
+
+========================
+Server Cluster Time Zone
+========================
+
+One Tajo cluster has a system time zone which globally affects all tables in
which the table property 'time zone' are not specified.
+
+You can set the system time zone in *conf/tajo-site.xml* file as follows:
+
+**tajo-site.xml**
+
+.. code-block:: xml
+
+ <name>tajo.timezone</name>
+ <property>GMT+9</property>
+
+
+==================
+Table Time Zone
+==================
+
+In Tajo, a table property ``timezone`` allows users to specify a time zone
that the table uses for reading or writing.
+When each table row are read or written, ```timestamp``` and ```time``` column
values are adjusted by a given time zone if it is set.
+
+You can specify a table time zone as follows:
+
+.. code-block:: sql
+
+ CREATE EXTERNAL TABLE table1 (
+ t_timestamp TIMESTAMP,
+ t_date DATE
+ ) USING TEXTFILE WITH('timezone'='ASIA/Seoul') LOCATION '/path-to-table/'
+
+
+In order to learn table properties, please refer to
:doc:`/table_management/table_overview`.
+
+==================
+Client Time Zone
+==================
+
+Each client has its own time zone setting. It translates retrieved timestamp
and time values by time zone. In order to set client time zone, you should set
the session variable ``TIMEZONE``. There are some ways to set this session
variable.
+
+In ``tsql``, you can use ``\set timezone`` meta command as follows:
+
+**tsql**
+
+.. code-block:: sh
+
+ default> \set timezone GMT+9
+
+
+The following ways use SQL statements. So, this way is available in ``tsql``,
JDBC, and Tajo Java API.
+
+**SQL**
+
+.. code-block:: sql
+
+ SET TIME ZONE 'GMT+9';
+
+ or
+
+ SET SESSION TIMEZONE TO 'GMT+9';
+
+============
+Time Zone ID
+============
+
+Time zone can be an abbreviation form like 'PST' or 'DST'. Also, it accepts an
offset-based form like 'GMT+9' or UTC+9' or a location-based form like
'Asia/Seoul'.
+
+.. note::
+
+ In many cases, offset-based forms or locaion-based forms are recommanded. In
order to know the list of time zones, please refer to `List of tz database time
zones <http://en.wikipedia.org/wiki/List_of_tz_database_time_zones>`_
+
+.. note::
+
+ Java 6 does not recognize many location-based time zones and an offset-based
timezone using the prefix 'UTC'. We highly recommanded using the offset-based
time zone using the prefix 'GMT'. In other words, you should use 'GMT-7'
instead of 'UTC-7' in Java 6.
+
+=====================
+Examples of Time Zone
+=====================
+
+For example, consider that there is a list of delimited text lines where each
rows are written with ``Asia/Seoul`` time zone (i.e., GMT + 9).
+
+.. code-block:: text
+
+ 1980-4-1 01:50:30.010|1980-04-01
+ 80/4/1 1:50:30 AM|80/4/1
+ 1980 April 1 1:50:30|1980-04-01
+
+
+In order to register the table, we should put a table property
``'timezone'='Asia/Seoul'`` in ``CREATE TABLE`` statement as follows:
+
+.. code-block:: sql
+
+ CREATE EXTERNAL TABLE table1 (
+ t_timestamp TIMESTAMP,
+ t_date DATE
+ ) USING TEXTFILE WITH('text.delimiter'='|', 'timezone'='ASIA/Seoul') LOCATION
'/path-to-table/'
+
+
+By default, ``tsql`` and ``TajoClient`` API use UTC time zone. So, timestamp
values in the result are adjusted by the time zone offset. But, date is not
adjusted because date type does not consider time zone.
+
+.. code-block:: sql
+
+ default> SELECT * FROM table1
+ t_timestamp, t_date
+ ----------------------------------
+ 1980-03-31 16:50:30.01, 1980-04-01
+ 1980-03-31 16:50:30 , 1980-04-01
+ 1980-03-31 16:50:30 , 1980-04-01
+
+In addition, users can set client-side time zone by setting a session variable
'TZ'. It enables a client to translate timestamp or time values to user's time
zoned ones.
+
+.. code-block:: sql
+
+ default> SET TIME ZONE 'Asia/Seoul'
+ default> SELECT * FROM table1
+ t_timestamp, t_date
+ ----------------------------------
+ 1980-04-01 01:50:30.01, 1980-04-01
+ 1980-04-01 01:50:30 , 1980-04-01
+ 1980-04-01 01:50:30 , 1980-04-01
\ No newline at end of file
Added: tajo/site/docs/devel/configuration/catalog-site-xml.html
URL:
http://svn.apache.org/viewvc/tajo/site/docs/devel/configuration/catalog-site-xml.html?rev=1644841&view=auto
==============================================================================
--- tajo/site/docs/devel/configuration/catalog-site-xml.html (added)
+++ tajo/site/docs/devel/configuration/catalog-site-xml.html Fri Dec 12
07:06:47 2014
@@ -0,0 +1,250 @@
+
+
+<!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]-->
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <title>The catalog-site.xml File — Apache Tajo 0.8.0
documentation</title>
+
+
+
+
+
+
+ <link
href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700'
rel='stylesheet' type='text/css'>
+
+
+
+
+
+
+
+
+
+ <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
+
+
+
+ <link rel="top" title="Apache Tajo 0.8.0 documentation"
href="../index.html"/>
+ <link rel="up" title="Configuration" href="../configuration.html"/>
+ <link rel="next" title="Tajo Shell (TSQL)" href="../tsql.html"/>
+ <link rel="prev" title="The tajo-site.xml File"
href="tajo-site-xml.html"/>
+
+
+ <script
src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
+
+</head>
+
+<body class="wy-body-for-nav" role="document">
+
+ <div class="wy-grid-for-nav">
+
+
+ <nav data-toggle="wy-nav-shift" class="wy-nav-side">
+ <div class="wy-side-nav-search">
+ <a href="../index.html" class="fa fa-home"> Apache Tajo</a>
+ <div role="search">
+ <form id ="rtd-search-form" class="wy-form" action="../search.html"
method="get">
+ <input type="text" name="q" placeholder="Search docs" />
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+ </form>
+</div>
+ </div>
+
+ <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation"
aria-label="main navigation">
+
+
+ <ul class="current">
+<li class="toctree-l1"><a class="reference internal"
href="../introduction.html">Introduction</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../getting_started.html">Getting Started</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/prerequisites.html">Prerequisites</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/downloading_source.html">Dowload and unpack the source
code</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/building.html">Build source code</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/local_setup.html">Setting up a local Tajo
cluster</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/first_query.html">First query execution</a></li>
+</ul>
+</li>
+<li class="toctree-l1 current"><a class="reference internal"
href="../configuration.html">Configuration</a><ul class="current">
+<li class="toctree-l2"><a class="reference internal"
href="preliminary.html">Preliminary</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="cluster_setup.html">Cluster Setup</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="tajo_master_configuration.html">Tajo Master Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="worker_configuration.html">Worker Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="catalog_configuration.html">Catalog Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="ha_configuration.html">High Availability for TajoMaster</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="service_config_defaults.html">Cluster Service Configuration
Defaults</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="tajo-site-xml.html">The tajo-site.xml File</a></li>
+<li class="toctree-l2 current"><a class="current reference internal"
href="">The catalog-site.xml File</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="../tsql.html">Tajo
Shell (TSQL)</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/meta_command.html">Meta Commands</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/dfs_command.html">Executing HDFS commands</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/variables.html">Session Variables</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/admin_command.html">Administration Commands</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/intro.html">Introducing to TSQL</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/single_command.html">Executing a single command</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/execute_file.html">Executing Queries from Files</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/background_command.html">Executing as background process</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../sql_language.html">SQL Language</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/data_model.html">Data Model</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/ddl.html">Data Definition Language</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/insert.html">INSERT (OVERWRITE) INTO</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/queries.html">Queries</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/sql_expression.html">SQL Expressions</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/predicates.html">Predicates</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../time_zone.html">Time Zone</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#server-cluster-time-zone">Server Cluster Time
Zone</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#table-time-zone">Table Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#client-time-zone">Client Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#time-zone-id">Time Zone ID</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#examples-of-time-zone">Examples of Time Zone</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../functions.html">Functions</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/math_func_and_operators.html">Math Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/string_func_and_operators.html">String Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/datetime_func_and_operators.html">DateTime Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/network_func_and_operators.html">Network Functions and
Operators</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../table_management.html">Table Management</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../table_management/table_overview.html">Overview of Tajo Tables</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../table_management/file_formats.html">File Formats</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../table_management/compression.html">Compression</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../table_partitioning.html">Table Partitioning</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../partitioning/intro_to_partitioning.html">Introduction to
Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../partitioning/column_partitioning.html">Column Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../partitioning/range_partitioning.html">Range Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../partitioning/hash_partitioning.html">Hash Partitioning</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../backup_and_restore.html">Backup and Restore</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC
driver</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC
Client</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#faq">FAQ</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../tajo_client_api.html">Tajo Client API</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../faq.html">FAQ</a></li>
+</ul>
+
+
+ </div>
+
+ </nav>
+
+ <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
+
+
+ <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
+ <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
+ <a href="../index.html">Apache Tajo</a>
+ </nav>
+
+
+
+ <div class="wy-nav-content">
+ <div class="rst-content">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="../index.html">Docs</a> »</li>
+
+ <li><a href="../configuration.html">Configuration</a> »</li>
+
+ <li>The catalog-site.xml File</li>
+ <li class="wy-breadcrumbs-aside">
+
+ <a href="../_sources/configuration/catalog-site-xml.txt"
rel="nofollow"> View page source</a>
+
+ </li>
+ </ul>
+ <hr/>
+</div>
+ <div role="main">
+
+ <div class="section" id="the-catalog-site-xml-file">
+<h1>The catalog-site.xml File<a class="headerlink"
href="#the-catalog-site-xml-file" title="Permalink to this headline">¶</a></h1>
+</div>
+
+
+ </div>
+ <footer>
+
+ <div class="rst-footer-buttons" role="navigation" aria-label="footer
navigation">
+
+ <a href="../tsql.html" class="btn btn-neutral float-right" title="Tajo
Shell (TSQL)"/>Next <span class="fa fa-arrow-circle-right"></span></a>
+
+
+ <a href="tajo-site-xml.html" class="btn btn-neutral" title="The
tajo-site.xml File"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+
+ </div>
+
+
+ <hr/>
+
+ <div role="contentinfo">
+ <p>
+ © Copyright 2014, Apache Tajo Team.
+ </p>
+ </div>
+
+ <a href="https://github.com/snide/sphinx_rtd_theme">Sphinx theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>
+</footer>
+ </div>
+ </div>
+
+ </section>
+
+ </div>
+
+
+
+
+
+ <script type="text/javascript">
+ var DOCUMENTATION_OPTIONS = {
+ URL_ROOT:'../',
+ VERSION:'0.8.0',
+ COLLAPSE_INDEX:false,
+ FILE_SUFFIX:'.html',
+ HAS_SOURCE: true
+ };
+ </script>
+ <script type="text/javascript" src="../_static/jquery.js"></script>
+ <script type="text/javascript" src="../_static/underscore.js"></script>
+ <script type="text/javascript" src="../_static/doctools.js"></script>
+
+
+
+
+
+ <script type="text/javascript" src="../_static/js/theme.js"></script>
+
+
+
+
+ <script type="text/javascript">
+ jQuery(function () {
+ SphinxRtdTheme.StickyNav.enable();
+ });
+ </script>
+
+
+</body>
+</html>
\ No newline at end of file
Added: tajo/site/docs/devel/configuration/service_config_defaults.html
URL:
http://svn.apache.org/viewvc/tajo/site/docs/devel/configuration/service_config_defaults.html?rev=1644841&view=auto
==============================================================================
--- tajo/site/docs/devel/configuration/service_config_defaults.html (added)
+++ tajo/site/docs/devel/configuration/service_config_defaults.html Fri Dec 12
07:06:47 2014
@@ -0,0 +1,330 @@
+
+
+<!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]-->
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <title>Cluster Service Configuration Defaults — Apache Tajo 0.8.0
documentation</title>
+
+
+
+
+
+
+ <link
href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700'
rel='stylesheet' type='text/css'>
+
+
+
+
+
+
+
+
+
+ <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
+
+
+
+ <link rel="top" title="Apache Tajo 0.8.0 documentation"
href="../index.html"/>
+ <link rel="up" title="Configuration" href="../configuration.html"/>
+ <link rel="next" title="The tajo-site.xml File"
href="tajo-site-xml.html"/>
+ <link rel="prev" title="High Availability for TajoMaster"
href="ha_configuration.html"/>
+
+
+ <script
src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
+
+</head>
+
+<body class="wy-body-for-nav" role="document">
+
+ <div class="wy-grid-for-nav">
+
+
+ <nav data-toggle="wy-nav-shift" class="wy-nav-side">
+ <div class="wy-side-nav-search">
+ <a href="../index.html" class="fa fa-home"> Apache Tajo</a>
+ <div role="search">
+ <form id ="rtd-search-form" class="wy-form" action="../search.html"
method="get">
+ <input type="text" name="q" placeholder="Search docs" />
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+ </form>
+</div>
+ </div>
+
+ <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation"
aria-label="main navigation">
+
+
+ <ul class="current">
+<li class="toctree-l1"><a class="reference internal"
href="../introduction.html">Introduction</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../getting_started.html">Getting Started</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/prerequisites.html">Prerequisites</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/downloading_source.html">Dowload and unpack the source
code</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/building.html">Build source code</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/local_setup.html">Setting up a local Tajo
cluster</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/first_query.html">First query execution</a></li>
+</ul>
+</li>
+<li class="toctree-l1 current"><a class="reference internal"
href="../configuration.html">Configuration</a><ul class="current">
+<li class="toctree-l2"><a class="reference internal"
href="preliminary.html">Preliminary</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="cluster_setup.html">Cluster Setup</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="tajo_master_configuration.html">Tajo Master Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="worker_configuration.html">Worker Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="catalog_configuration.html">Catalog Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="ha_configuration.html">High Availability for TajoMaster</a></li>
+<li class="toctree-l2 current"><a class="current reference internal"
href="">Cluster Service Configuration Defaults</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="tajo-site-xml.html">The tajo-site.xml File</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="catalog-site-xml.html">The catalog-site.xml File</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="../tsql.html">Tajo
Shell (TSQL)</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/meta_command.html">Meta Commands</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/dfs_command.html">Executing HDFS commands</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/variables.html">Session Variables</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/admin_command.html">Administration Commands</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/intro.html">Introducing to TSQL</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/single_command.html">Executing a single command</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/execute_file.html">Executing Queries from Files</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/background_command.html">Executing as background process</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../sql_language.html">SQL Language</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/data_model.html">Data Model</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/ddl.html">Data Definition Language</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/insert.html">INSERT (OVERWRITE) INTO</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/queries.html">Queries</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/sql_expression.html">SQL Expressions</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/predicates.html">Predicates</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../time_zone.html">Time Zone</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#server-cluster-time-zone">Server Cluster Time
Zone</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#table-time-zone">Table Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#client-time-zone">Client Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#time-zone-id">Time Zone ID</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#examples-of-time-zone">Examples of Time Zone</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../functions.html">Functions</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/math_func_and_operators.html">Math Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/string_func_and_operators.html">String Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/datetime_func_and_operators.html">DateTime Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/network_func_and_operators.html">Network Functions and
Operators</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../table_management.html">Table Management</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../table_management/table_overview.html">Overview of Tajo Tables</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../table_management/file_formats.html">File Formats</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../table_management/compression.html">Compression</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../table_partitioning.html">Table Partitioning</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../partitioning/intro_to_partitioning.html">Introduction to
Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../partitioning/column_partitioning.html">Column Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../partitioning/range_partitioning.html">Range Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../partitioning/hash_partitioning.html">Hash Partitioning</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../backup_and_restore.html">Backup and Restore</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC
driver</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC
Client</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#faq">FAQ</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../tajo_client_api.html">Tajo Client API</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../faq.html">FAQ</a></li>
+</ul>
+
+
+ </div>
+
+ </nav>
+
+ <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
+
+
+ <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
+ <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
+ <a href="../index.html">Apache Tajo</a>
+ </nav>
+
+
+
+ <div class="wy-nav-content">
+ <div class="rst-content">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="../index.html">Docs</a> »</li>
+
+ <li><a href="../configuration.html">Configuration</a> »</li>
+
+ <li>Cluster Service Configuration Defaults</li>
+ <li class="wy-breadcrumbs-aside">
+
+ <a href="../_sources/configuration/service_config_defaults.txt"
rel="nofollow"> View page source</a>
+
+ </li>
+ </ul>
+ <hr/>
+</div>
+ <div role="main">
+
+ <div class="section" id="cluster-service-configuration-defaults">
+<h1>Cluster Service Configuration Defaults<a class="headerlink"
href="#cluster-service-configuration-defaults" title="Permalink to this
headline">¶</a></h1>
+<div class="section" id="tajo-master-configuration-defaults">
+<h2>Tajo Master Configuration Defaults<a class="headerlink"
href="#tajo-master-configuration-defaults" title="Permalink to this
headline">¶</a></h2>
+<table border="1" class="docutils">
+<colgroup>
+<col width="24%" />
+<col width="53%" />
+<col width="9%" />
+<col width="13%" />
+</colgroup>
+<thead valign="bottom">
+<tr class="row-odd"><th class="head">Service Name</th>
+<th class="head">Config Property Name</th>
+<th class="head">Description</th>
+<th class="head">default address</th>
+</tr>
+</thead>
+<tbody valign="top">
+<tr class="row-even"><td>Tajo Master Umbilical Rpc</td>
+<td>tajo.master.umbilical-rpc.address</td>
+<td> </td>
+<td>localhost:26001</td>
+</tr>
+<tr class="row-odd"><td>Tajo Master Client Rpc</td>
+<td>tajo.master.client-rpc.address</td>
+<td> </td>
+<td>localhost:26002</td>
+</tr>
+<tr class="row-even"><td>Tajo Master Info Http</td>
+<td>tajo.master.info-http.address</td>
+<td> </td>
+<td>0.0.0.0:26080</td>
+</tr>
+<tr class="row-odd"><td>Tajo Resource Tracker Rpc</td>
+<td>tajo.resource-tracker.rpc.address</td>
+<td> </td>
+<td>localhost:26003</td>
+</tr>
+<tr class="row-even"><td>Tajo Catalog Client Rpc</td>
+<td>tajo.catalog.client-rpc.address</td>
+<td> </td>
+<td>localhost:26005</td>
+</tr>
+</tbody>
+</table>
+<div class="section" id="tajo-worker-configuration-defaults">
+<h3>Tajo Worker Configuration Defaults<a class="headerlink"
href="#tajo-worker-configuration-defaults" title="Permalink to this
headline">¶</a></h3>
+<table border="1" class="docutils">
+<colgroup>
+<col width="24%" />
+<col width="53%" />
+<col width="9%" />
+<col width="13%" />
+</colgroup>
+<thead valign="bottom">
+<tr class="row-odd"><th class="head">Service Name</th>
+<th class="head">Config Property Name</th>
+<th class="head">Description</th>
+<th class="head">default address</th>
+</tr>
+</thead>
+<tbody valign="top">
+<tr class="row-even"><td>Tajo Worker Peer Rpc</td>
+<td>tajo.worker.peer-rpc.address</td>
+<td> </td>
+<td>0.0.0.0:28091</td>
+</tr>
+<tr class="row-odd"><td>Tajo Worker Client Rpc</td>
+<td>tajo.worker.client-rpc.address</td>
+<td> </td>
+<td>0.0.0.0:28092</td>
+</tr>
+<tr class="row-even"><td>Tajo Worker Info Http</td>
+<td>tajo.worker.info-http.address</td>
+<td> </td>
+<td>0.0.0.0:28080</td>
+</tr>
+</tbody>
+</table>
+</div>
+</div>
+</div>
+
+
+ </div>
+ <footer>
+
+ <div class="rst-footer-buttons" role="navigation" aria-label="footer
navigation">
+
+ <a href="tajo-site-xml.html" class="btn btn-neutral float-right"
title="The tajo-site.xml File"/>Next <span class="fa
fa-arrow-circle-right"></span></a>
+
+
+ <a href="ha_configuration.html" class="btn btn-neutral" title="High
Availability for TajoMaster"><span class="fa fa-arrow-circle-left"></span>
Previous</a>
+
+ </div>
+
+
+ <hr/>
+
+ <div role="contentinfo">
+ <p>
+ © Copyright 2014, Apache Tajo Team.
+ </p>
+ </div>
+
+ <a href="https://github.com/snide/sphinx_rtd_theme">Sphinx theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>
+</footer>
+ </div>
+ </div>
+
+ </section>
+
+ </div>
+
+
+
+
+
+ <script type="text/javascript">
+ var DOCUMENTATION_OPTIONS = {
+ URL_ROOT:'../',
+ VERSION:'0.8.0',
+ COLLAPSE_INDEX:false,
+ FILE_SUFFIX:'.html',
+ HAS_SOURCE: true
+ };
+ </script>
+ <script type="text/javascript" src="../_static/jquery.js"></script>
+ <script type="text/javascript" src="../_static/underscore.js"></script>
+ <script type="text/javascript" src="../_static/doctools.js"></script>
+
+
+
+
+
+ <script type="text/javascript" src="../_static/js/theme.js"></script>
+
+
+
+
+ <script type="text/javascript">
+ jQuery(function () {
+ SphinxRtdTheme.StickyNav.enable();
+ });
+ </script>
+
+
+</body>
+</html>
\ No newline at end of file
Added: tajo/site/docs/devel/configuration/tajo-site-xml.html
URL:
http://svn.apache.org/viewvc/tajo/site/docs/devel/configuration/tajo-site-xml.html?rev=1644841&view=auto
==============================================================================
--- tajo/site/docs/devel/configuration/tajo-site-xml.html (added)
+++ tajo/site/docs/devel/configuration/tajo-site-xml.html Fri Dec 12 07:06:47
2014
@@ -0,0 +1,280 @@
+
+
+<!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]-->
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <title>The tajo-site.xml File — Apache Tajo 0.8.0 documentation</title>
+
+
+
+
+
+
+ <link
href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700'
rel='stylesheet' type='text/css'>
+
+
+
+
+
+
+
+
+
+ <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
+
+
+
+ <link rel="top" title="Apache Tajo 0.8.0 documentation"
href="../index.html"/>
+ <link rel="up" title="Configuration" href="../configuration.html"/>
+ <link rel="next" title="The catalog-site.xml File"
href="catalog-site-xml.html"/>
+ <link rel="prev" title="Cluster Service Configuration Defaults"
href="service_config_defaults.html"/>
+
+
+ <script
src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
+
+</head>
+
+<body class="wy-body-for-nav" role="document">
+
+ <div class="wy-grid-for-nav">
+
+
+ <nav data-toggle="wy-nav-shift" class="wy-nav-side">
+ <div class="wy-side-nav-search">
+ <a href="../index.html" class="fa fa-home"> Apache Tajo</a>
+ <div role="search">
+ <form id ="rtd-search-form" class="wy-form" action="../search.html"
method="get">
+ <input type="text" name="q" placeholder="Search docs" />
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+ </form>
+</div>
+ </div>
+
+ <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation"
aria-label="main navigation">
+
+
+ <ul class="current">
+<li class="toctree-l1"><a class="reference internal"
href="../introduction.html">Introduction</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../getting_started.html">Getting Started</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/prerequisites.html">Prerequisites</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/downloading_source.html">Dowload and unpack the source
code</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/building.html">Build source code</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/local_setup.html">Setting up a local Tajo
cluster</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../getting_started/first_query.html">First query execution</a></li>
+</ul>
+</li>
+<li class="toctree-l1 current"><a class="reference internal"
href="../configuration.html">Configuration</a><ul class="current">
+<li class="toctree-l2"><a class="reference internal"
href="preliminary.html">Preliminary</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="cluster_setup.html">Cluster Setup</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="tajo_master_configuration.html">Tajo Master Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="worker_configuration.html">Worker Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="catalog_configuration.html">Catalog Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="ha_configuration.html">High Availability for TajoMaster</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="service_config_defaults.html">Cluster Service Configuration
Defaults</a></li>
+<li class="toctree-l2 current"><a class="current reference internal"
href="">The tajo-site.xml File</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="catalog-site-xml.html">The catalog-site.xml File</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="../tsql.html">Tajo
Shell (TSQL)</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/meta_command.html">Meta Commands</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/dfs_command.html">Executing HDFS commands</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/variables.html">Session Variables</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/admin_command.html">Administration Commands</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/intro.html">Introducing to TSQL</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/single_command.html">Executing a single command</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/execute_file.html">Executing Queries from Files</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../tsql/background_command.html">Executing as background process</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../sql_language.html">SQL Language</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/data_model.html">Data Model</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/ddl.html">Data Definition Language</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/insert.html">INSERT (OVERWRITE) INTO</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/queries.html">Queries</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/sql_expression.html">SQL Expressions</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../sql_language/predicates.html">Predicates</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../time_zone.html">Time Zone</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#server-cluster-time-zone">Server Cluster Time
Zone</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#table-time-zone">Table Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#client-time-zone">Client Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#time-zone-id">Time Zone ID</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../time_zone.html#examples-of-time-zone">Examples of Time Zone</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../functions.html">Functions</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/math_func_and_operators.html">Math Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/string_func_and_operators.html">String Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/datetime_func_and_operators.html">DateTime Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/network_func_and_operators.html">Network Functions and
Operators</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../table_management.html">Table Management</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../table_management/table_overview.html">Overview of Tajo Tables</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../table_management/file_formats.html">File Formats</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../table_management/compression.html">Compression</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../table_partitioning.html">Table Partitioning</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../partitioning/intro_to_partitioning.html">Introduction to
Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../partitioning/column_partitioning.html">Column Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../partitioning/range_partitioning.html">Range Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../partitioning/hash_partitioning.html">Hash Partitioning</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../backup_and_restore.html">Backup and Restore</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC
driver</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC
Client</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#faq">FAQ</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="../tajo_client_api.html">Tajo Client API</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../faq.html">FAQ</a></li>
+</ul>
+
+
+ </div>
+
+ </nav>
+
+ <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
+
+
+ <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
+ <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
+ <a href="../index.html">Apache Tajo</a>
+ </nav>
+
+
+
+ <div class="wy-nav-content">
+ <div class="rst-content">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="../index.html">Docs</a> »</li>
+
+ <li><a href="../configuration.html">Configuration</a> »</li>
+
+ <li>The tajo-site.xml File</li>
+ <li class="wy-breadcrumbs-aside">
+
+ <a href="../_sources/configuration/tajo-site-xml.txt"
rel="nofollow"> View page source</a>
+
+ </li>
+ </ul>
+ <hr/>
+</div>
+ <div role="main">
+
+ <div class="section" id="the-tajo-site-xml-file">
+<h1>The tajo-site.xml File<a class="headerlink" href="#the-tajo-site-xml-file"
title="Permalink to this headline">¶</a></h1>
+<p>To the <tt class="docutils literal"><span
class="pre">core-site.xml</span></tt> file on every host in your cluster, you
must add the following information:</p>
+<div class="section" id="system-config">
+<h2>System Config<a class="headerlink" href="#system-config" title="Permalink
to this headline">¶</a></h2>
+</div>
+<div class="section" id="date-time-settings">
+<h2>Date/Time Settings<a class="headerlink" href="#date-time-settings"
title="Permalink to this headline">¶</a></h2>
+<table border="1" class="docutils">
+<colgroup>
+<col width="27%" />
+<col width="16%" />
+<col width="57%" />
+</colgroup>
+<thead valign="bottom">
+<tr class="row-odd"><th class="head">Property Name</th>
+<th class="head">Property Value</th>
+<th class="head">Descriptions</th>
+</tr>
+</thead>
+<tbody valign="top">
+<tr class="row-even"><td>tajo.timezone</td>
+<td>Time zone id</td>
+<td>Refer to <a class="reference internal" href="../time_zone.html"><em>Time
Zone</em></a></td>
+</tr>
+<tr class="row-odd"><td>tajo.datetime.date-order</td>
+<td>Date order</td>
+<td>Determine date order. It should be one of YMD, DMY, MDY</td>
+</tr>
+</tbody>
+</table>
+</div>
+</div>
+
+
+ </div>
+ <footer>
+
+ <div class="rst-footer-buttons" role="navigation" aria-label="footer
navigation">
+
+ <a href="catalog-site-xml.html" class="btn btn-neutral float-right"
title="The catalog-site.xml File"/>Next <span class="fa
fa-arrow-circle-right"></span></a>
+
+
+ <a href="service_config_defaults.html" class="btn btn-neutral"
title="Cluster Service Configuration Defaults"><span class="fa
fa-arrow-circle-left"></span> Previous</a>
+
+ </div>
+
+
+ <hr/>
+
+ <div role="contentinfo">
+ <p>
+ © Copyright 2014, Apache Tajo Team.
+ </p>
+ </div>
+
+ <a href="https://github.com/snide/sphinx_rtd_theme">Sphinx theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>
+</footer>
+ </div>
+ </div>
+
+ </section>
+
+ </div>
+
+
+
+
+
+ <script type="text/javascript">
+ var DOCUMENTATION_OPTIONS = {
+ URL_ROOT:'../',
+ VERSION:'0.8.0',
+ COLLAPSE_INDEX:false,
+ FILE_SUFFIX:'.html',
+ HAS_SOURCE: true
+ };
+ </script>
+ <script type="text/javascript" src="../_static/jquery.js"></script>
+ <script type="text/javascript" src="../_static/underscore.js"></script>
+ <script type="text/javascript" src="../_static/doctools.js"></script>
+
+
+
+
+
+ <script type="text/javascript" src="../_static/js/theme.js"></script>
+
+
+
+
+ <script type="text/javascript">
+ jQuery(function () {
+ SphinxRtdTheme.StickyNav.enable();
+ });
+ </script>
+
+
+</body>
+</html>
\ No newline at end of file
Added: tajo/site/docs/devel/time_zone.html
URL:
http://svn.apache.org/viewvc/tajo/site/docs/devel/time_zone.html?rev=1644841&view=auto
==============================================================================
--- tajo/site/docs/devel/time_zone.html (added)
+++ tajo/site/docs/devel/time_zone.html Fri Dec 12 07:06:47 2014
@@ -0,0 +1,337 @@
+
+
+<!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]-->
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <title>Time Zone — Apache Tajo 0.8.0 documentation</title>
+
+
+
+
+
+
+ <link
href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700'
rel='stylesheet' type='text/css'>
+
+
+
+
+
+
+
+
+
+ <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
+
+
+
+ <link rel="top" title="Apache Tajo 0.8.0 documentation" href="index.html"/>
+ <link rel="next" title="Functions" href="functions.html"/>
+ <link rel="prev" title="Predicates"
href="sql_language/predicates.html"/>
+
+
+ <script
src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
+
+</head>
+
+<body class="wy-body-for-nav" role="document">
+
+ <div class="wy-grid-for-nav">
+
+
+ <nav data-toggle="wy-nav-shift" class="wy-nav-side">
+ <div class="wy-side-nav-search">
+ <a href="index.html" class="fa fa-home"> Apache Tajo</a>
+ <div role="search">
+ <form id ="rtd-search-form" class="wy-form" action="search.html"
method="get">
+ <input type="text" name="q" placeholder="Search docs" />
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+ </form>
+</div>
+ </div>
+
+ <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation"
aria-label="main navigation">
+
+
+ <ul class="current">
+<li class="toctree-l1"><a class="reference internal"
href="introduction.html">Introduction</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="getting_started.html">Getting Started</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="getting_started/prerequisites.html">Prerequisites</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="getting_started/downloading_source.html">Dowload and unpack the source
code</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="getting_started/building.html">Build source code</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="getting_started/local_setup.html">Setting up a local Tajo cluster</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="getting_started/first_query.html">First query execution</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="configuration.html">Configuration</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="configuration/preliminary.html">Preliminary</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="configuration/cluster_setup.html">Cluster Setup</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="configuration/tajo_master_configuration.html">Tajo Master
Configuration</a></li>
+<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/ha_configuration.html">High Availability for
TajoMaster</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="configuration/service_config_defaults.html">Cluster Service Configuration
Defaults</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="configuration/tajo-site-xml.html">The tajo-site.xml File</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="configuration/catalog-site-xml.html">The catalog-site.xml File</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="tsql.html">Tajo
Shell (TSQL)</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="tsql/meta_command.html">Meta Commands</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="tsql/dfs_command.html">Executing HDFS commands</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="tsql/variables.html">Session Variables</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="tsql/admin_command.html">Administration Commands</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="tsql/intro.html">Introducing to TSQL</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="tsql/single_command.html">Executing a single command</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="tsql/execute_file.html">Executing Queries from Files</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="tsql/background_command.html">Executing as background process</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="sql_language.html">SQL Language</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="sql_language/data_model.html">Data Model</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="sql_language/ddl.html">Data Definition Language</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="sql_language/insert.html">INSERT (OVERWRITE) INTO</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="sql_language/queries.html">Queries</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="sql_language/sql_expression.html">SQL Expressions</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="sql_language/predicates.html">Predicates</a></li>
+</ul>
+</li>
+<li class="toctree-l1 current"><a class="current reference internal"
href="">Time Zone</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="#server-cluster-time-zone">Server Cluster Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="#table-time-zone">Table Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="#client-time-zone">Client Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" href="#time-zone-id">Time
Zone ID</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="#examples-of-time-zone">Examples of Time Zone</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="functions.html">Functions</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="functions/math_func_and_operators.html">Math Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="functions/string_func_and_operators.html">String Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="functions/datetime_func_and_operators.html">DateTime Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="functions/network_func_and_operators.html">Network Functions and
Operators</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="table_management.html">Table Management</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="table_management/table_overview.html">Overview of Tajo Tables</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="table_management/file_formats.html">File Formats</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="table_management/compression.html">Compression</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="table_partitioning.html">Table Partitioning</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="partitioning/intro_to_partitioning.html">Introduction to
Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="partitioning/column_partitioning.html">Column Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="partitioning/range_partitioning.html">Range Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="partitioning/hash_partitioning.html">Hash Partitioning</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="backup_and_restore.html">Backup and Restore</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="jdbc_driver.html">Tajo JDBC Driver</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="jdbc_driver.html#faq">FAQ</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal"
href="tajo_client_api.html">Tajo Client API</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="faq.html">FAQ</a></li>
+</ul>
+
+
+ </div>
+
+ </nav>
+
+ <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
+
+
+ <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
+ <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
+ <a href="index.html">Apache Tajo</a>
+ </nav>
+
+
+
+ <div class="wy-nav-content">
+ <div class="rst-content">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="index.html">Docs</a> »</li>
+
+ <li>Time Zone</li>
+ <li class="wy-breadcrumbs-aside">
+
+ <a href="_sources/time_zone.txt" rel="nofollow"> View page source</a>
+
+ </li>
+ </ul>
+ <hr/>
+</div>
+ <div role="main">
+
+ <div class="section" id="time-zone">
+<h1>Time Zone<a class="headerlink" href="#time-zone" title="Permalink to this
headline">¶</a></h1>
+<p>Time zone affects some data types (e.g., <tt class="docutils literal"><span
class="pre">Timestamp</span></tt> and <tt class="docutils literal"><span
class="pre">Time</span></tt>) and operations (e.g., <tt class="docutils
literal"><span class="pre">to_char</span></tt>). Tables can have different time
zones. Internally, Tajo translates all table rows to UTC values and processes
them. It becomes easier for Tajo to handle multiple different time zones.</p>
+<p>In Tajo, there are some time zong settings.</p>
+<div class="section" id="server-cluster-time-zone">
+<h2>Server Cluster Time Zone<a class="headerlink"
href="#server-cluster-time-zone" title="Permalink to this headline">¶</a></h2>
+<p>One Tajo cluster has a system time zone which globally affects all tables
in which the table property ‘time zone’ are not specified.</p>
+<p>You can set the system time zone in <em>conf/tajo-site.xml</em> file as
follows:</p>
+<p><strong>tajo-site.xml</strong></p>
+<div class="highlight-xml"><div class="highlight"><pre><span
class="nt"><name></span>tajo.timezone<span class="nt"></name></span>
+<span class="nt"><property></span>GMT+9<span
class="nt"></property></span>
+</pre></div>
+</div>
+</div>
+<div class="section" id="table-time-zone">
+<h2>Table Time Zone<a class="headerlink" href="#table-time-zone"
title="Permalink to this headline">¶</a></h2>
+<p>In Tajo, a table property <tt class="docutils literal"><span
class="pre">timezone</span></tt> allows users to specify a time zone that the
table uses for reading or writing.
+When each table row are read or written, <tt class="docutils literal"><span
class="pre">`timestamp`</span></tt> and <tt class="docutils literal"><span
class="pre">`time`</span></tt> column values are adjusted by a given time zone
if it is set.</p>
+<p>You can specify a table time zone as follows:</p>
+<div class="highlight-sql"><div class="highlight"><pre><span
class="k">CREATE</span> <span class="k">EXTERNAL</span> <span
class="k">TABLE</span> <span class="n">table1</span> <span class="p">(</span>
+ <span class="n">t_timestamp</span> <span class="k">TIMESTAMP</span><span
class="p">,</span>
+ <span class="n">t_date</span> <span class="nb">DATE</span>
+<span class="p">)</span> <span class="k">USING</span> <span
class="n">TEXTFILE</span> <span class="k">WITH</span><span
class="p">(</span><span class="s1">'timezone'</span><span
class="o">=</span><span class="s1">'ASIA/Seoul'</span><span
class="p">)</span> <span class="k">LOCATION</span> <span
class="s1">'/path-to-table/'</span>
+</pre></div>
+</div>
+<p>In order to learn table properties, please refer to <a class="reference
internal" href="table_management/table_overview.html"><em>Overview of Tajo
Tables</em></a>.</p>
+</div>
+<div class="section" id="client-time-zone">
+<h2>Client Time Zone<a class="headerlink" href="#client-time-zone"
title="Permalink to this headline">¶</a></h2>
+<p>Each client has its own time zone setting. It translates retrieved
timestamp and time values by time zone. In order to set client time zone, you
should set the session variable <tt class="docutils literal"><span
class="pre">TIMEZONE</span></tt>. There are some ways to set this session
variable.</p>
+<p>In <tt class="docutils literal"><span class="pre">tsql</span></tt>, you can
use <tt class="docutils literal"><span class="pre">\set</span> <span
class="pre">timezone</span></tt> meta command as follows:</p>
+<p><strong>tsql</strong></p>
+<div class="highlight-sh"><div class="highlight"><pre>default> <span
class="se">\s</span>et timezone GMT+9
+</pre></div>
+</div>
+<p>The following ways use SQL statements. So, this way is available in <tt
class="docutils literal"><span class="pre">tsql</span></tt>, JDBC, and Tajo
Java API.</p>
+<p><strong>SQL</strong></p>
+<div class="highlight-sql"><div class="highlight"><pre><span
class="k">SET</span> <span class="n">TIME</span> <span class="k">ZONE</span>
<span class="s1">'GMT+9'</span><span class="p">;</span>
+
+<span class="k">or</span>
+
+<span class="k">SET</span> <span class="k">SESSION</span> <span
class="n">TIMEZONE</span> <span class="k">TO</span> <span
class="s1">'GMT+9'</span><span class="p">;</span>
+</pre></div>
+</div>
+</div>
+<div class="section" id="time-zone-id">
+<h2>Time Zone ID<a class="headerlink" href="#time-zone-id" title="Permalink to
this headline">¶</a></h2>
+<p>Time zone can be an abbreviation form like ‘PST’ or
‘DST’. Also, it accepts an offset-based form like
‘GMT+9’ or UTC+9’ or a location-based form like
‘Asia/Seoul’.</p>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">In many cases, offset-based forms or locaion-based forms are
recommanded. In order to know the list of time zones, please refer to <a
class="reference external"
href="http://en.wikipedia.org/wiki/List_of_tz_database_time_zones">List of tz
database time zones</a></p>
+</div>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">Java 6 does not recognize many location-based time zones and
an offset-based timezone using the prefix ‘UTC’. We highly
recommanded using the offset-based time zone using the prefix
‘GMT’. In other words, you should use ‘GMT-7’ instead
of ‘UTC-7’ in Java 6.</p>
+</div>
+</div>
+<div class="section" id="examples-of-time-zone">
+<h2>Examples of Time Zone<a class="headerlink" href="#examples-of-time-zone"
title="Permalink to this headline">¶</a></h2>
+<p>For example, consider that there is a list of delimited text lines where
each rows are written with <tt class="docutils literal"><span
class="pre">Asia/Seoul</span></tt> time zone (i.e., GMT + 9).</p>
+<div class="highlight-text"><div class="highlight"><pre>1980-4-1
01:50:30.010|1980-04-01
+80/4/1 1:50:30 AM|80/4/1
+1980 April 1 1:50:30|1980-04-01
+</pre></div>
+</div>
+<p>In order to register the table, we should put a table property <tt
class="docutils literal"><span class="pre">'timezone'='Asia/Seoul'</span></tt>
in <tt class="docutils literal"><span class="pre">CREATE</span> <span
class="pre">TABLE</span></tt> statement as follows:</p>
+<div class="highlight-sql"><div class="highlight"><pre><span
class="k">CREATE</span> <span class="k">EXTERNAL</span> <span
class="k">TABLE</span> <span class="n">table1</span> <span class="p">(</span>
+ <span class="n">t_timestamp</span> <span class="k">TIMESTAMP</span><span
class="p">,</span>
+ <span class="n">t_date</span> <span class="nb">DATE</span>
+<span class="p">)</span> <span class="k">USING</span> <span
class="n">TEXTFILE</span> <span class="k">WITH</span><span
class="p">(</span><span class="s1">'text.delimiter'</span><span
class="o">=</span><span class="s1">'|'</span><span class="p">,</span>
<span class="s1">'timezone'</span><span class="o">=</span><span
class="s1">'ASIA/Seoul'</span><span class="p">)</span> <span
class="k">LOCATION</span> <span class="s1">'/path-to-table/'</span>
+</pre></div>
+</div>
+<p>By default, <tt class="docutils literal"><span class="pre">tsql</span></tt>
and <tt class="docutils literal"><span class="pre">TajoClient</span></tt> API
use UTC time zone. So, timestamp values in the result are adjusted by the time
zone offset. But, date is not adjusted because date type does not consider time
zone.</p>
+<div class="highlight-sql"><div class="highlight"><pre><span
class="k">default</span><span class="o">></span> <span
class="k">SELECT</span> <span class="o">*</span> <span class="k">FROM</span>
<span class="n">table1</span>
+<span class="n">t_timestamp</span><span class="p">,</span> <span
class="n">t_date</span>
+<span class="c1">----------------------------------</span>
+<span class="mi">1980</span><span class="o">-</span><span
class="mi">03</span><span class="o">-</span><span class="mi">31</span> <span
class="mi">16</span><span class="p">:</span><span class="mi">50</span><span
class="p">:</span><span class="mi">30</span><span class="p">.</span><span
class="mi">01</span><span class="p">,</span> <span class="mi">1980</span><span
class="o">-</span><span class="mi">04</span><span class="o">-</span><span
class="mi">01</span>
+<span class="mi">1980</span><span class="o">-</span><span
class="mi">03</span><span class="o">-</span><span class="mi">31</span> <span
class="mi">16</span><span class="p">:</span><span class="mi">50</span><span
class="p">:</span><span class="mi">30</span> <span class="p">,</span> <span
class="mi">1980</span><span class="o">-</span><span class="mi">04</span><span
class="o">-</span><span class="mi">01</span>
+<span class="mi">1980</span><span class="o">-</span><span
class="mi">03</span><span class="o">-</span><span class="mi">31</span> <span
class="mi">16</span><span class="p">:</span><span class="mi">50</span><span
class="p">:</span><span class="mi">30</span> <span class="p">,</span> <span
class="mi">1980</span><span class="o">-</span><span class="mi">04</span><span
class="o">-</span><span class="mi">01</span>
+</pre></div>
+</div>
+<p>In addition, users can set client-side time zone by setting a session
variable ‘TZ’. It enables a client to translate timestamp or time
values to user’s time zoned ones.</p>
+<div class="highlight-sql"><div class="highlight"><pre><span
class="k">default</span><span class="o">></span> <span class="k">SET</span>
<span class="n">TIME</span> <span class="k">ZONE</span> <span
class="s1">'Asia/Seoul'</span>
+<span class="k">default</span><span class="o">></span> <span
class="k">SELECT</span> <span class="o">*</span> <span class="k">FROM</span>
<span class="n">table1</span>
+<span class="n">t_timestamp</span><span class="p">,</span> <span
class="n">t_date</span>
+<span class="c1">----------------------------------</span>
+<span class="mi">1980</span><span class="o">-</span><span
class="mi">04</span><span class="o">-</span><span class="mi">01</span> <span
class="mi">01</span><span class="p">:</span><span class="mi">50</span><span
class="p">:</span><span class="mi">30</span><span class="p">.</span><span
class="mi">01</span><span class="p">,</span> <span class="mi">1980</span><span
class="o">-</span><span class="mi">04</span><span class="o">-</span><span
class="mi">01</span>
+<span class="mi">1980</span><span class="o">-</span><span
class="mi">04</span><span class="o">-</span><span class="mi">01</span> <span
class="mi">01</span><span class="p">:</span><span class="mi">50</span><span
class="p">:</span><span class="mi">30</span> <span class="p">,</span> <span
class="mi">1980</span><span class="o">-</span><span class="mi">04</span><span
class="o">-</span><span class="mi">01</span>
+<span class="mi">1980</span><span class="o">-</span><span
class="mi">04</span><span class="o">-</span><span class="mi">01</span> <span
class="mi">01</span><span class="p">:</span><span class="mi">50</span><span
class="p">:</span><span class="mi">30</span> <span class="p">,</span> <span
class="mi">1980</span><span class="o">-</span><span class="mi">04</span><span
class="o">-</span><span class="mi">01</span>
+</pre></div>
+</div>
+</div>
+</div>
+
+
+ </div>
+ <footer>
+
+ <div class="rst-footer-buttons" role="navigation" aria-label="footer
navigation">
+
+ <a href="functions.html" class="btn btn-neutral float-right"
title="Functions"/>Next <span class="fa fa-arrow-circle-right"></span></a>
+
+
+ <a href="sql_language/predicates.html" class="btn btn-neutral"
title="Predicates"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+
+ </div>
+
+
+ <hr/>
+
+ <div role="contentinfo">
+ <p>
+ © Copyright 2014, Apache Tajo Team.
+ </p>
+ </div>
+
+ <a href="https://github.com/snide/sphinx_rtd_theme">Sphinx theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>
+</footer>
+ </div>
+ </div>
+
+ </section>
+
+ </div>
+
+
+
+
+
+ <script type="text/javascript">
+ var DOCUMENTATION_OPTIONS = {
+ URL_ROOT:'./',
+ VERSION:'0.8.0',
+ COLLAPSE_INDEX:false,
+ FILE_SUFFIX:'.html',
+ HAS_SOURCE: true
+ };
+ </script>
+ <script type="text/javascript" src="_static/jquery.js"></script>
+ <script type="text/javascript" src="_static/underscore.js"></script>
+ <script type="text/javascript" src="_static/doctools.js"></script>
+
+
+
+
+
+ <script type="text/javascript" src="_static/js/theme.js"></script>
+
+
+
+
+ <script type="text/javascript">
+ jQuery(function () {
+ SphinxRtdTheme.StickyNav.enable();
+ });
+ </script>
+
+
+</body>
+</html>
\ No newline at end of file