Repository: tajo
Updated Branches:
  refs/heads/master e52c33089 -> ee7279d23


TAJO-1856: Add a description about the relationship of tablespace, managed 
table, and external table to Tablespace section of Table Management chapter.

Closes #878

Signed-off-by: Jihoon Son <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/ee7279d2
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/ee7279d2
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/ee7279d2

Branch: refs/heads/master
Commit: ee7279d237b17401a144778a1bcbf9bbccf220f2
Parents: e52c330
Author: Jongyoung Park <[email protected]>
Authored: Fri Nov 27 11:53:51 2015 +0900
Committer: Jihoon Son <[email protected]>
Committed: Fri Nov 27 11:53:51 2015 +0900

----------------------------------------------------------------------
 CHANGES                                         |  4 ++++
 .../sphinx/table_management/tablespaces.rst     | 21 +++++++++++++++++++-
 2 files changed, 24 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/ee7279d2/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 3aceb1e..d2434d1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -124,6 +124,10 @@ Release 0.12.0 - unreleased
 
   SUB TASKS
 
+    TAJO-1856: Add a description about the relationship of tablespace, managed 
table, 
+    and external table to Tablespace section of Table Management chapter. 
+    (Contributed by Jongyoung Park. Committed by jihoon)
+
     TAJO-1922: Allow date types with IN operator for partition pruning. 
(jaehwa)
 
     TAJO-1967: Replace 'try finally' with 'try' with resources.

http://git-wip-us.apache.org/repos/asf/tajo/blob/ee7279d2/tajo-docs/src/main/sphinx/table_management/tablespaces.rst
----------------------------------------------------------------------
diff --git a/tajo-docs/src/main/sphinx/table_management/tablespaces.rst 
b/tajo-docs/src/main/sphinx/table_management/tablespaces.rst
index 9316154..6f43af1 100644
--- a/tajo-docs/src/main/sphinx/table_management/tablespaces.rst
+++ b/tajo-docs/src/main/sphinx/table_management/tablespaces.rst
@@ -2,8 +2,27 @@
 Tablespaces
 ***********
 
-Tablespaces in Tajo allow users to define locations in the storage system 
where the files or data objects representing database objects can be stored. 
Once defined, a tablespace can be referred to by name when creating a database 
or a table. Especially, it is very useful when a Tajo cluster instance should 
use heterogeneous storage systems such as HDFS, MySQL, and Oracle.
+Tablespaces in Tajo allow users to define locations in the storage system 
where the files or data objects representing database objects can be stored.
+Once defined, a tablespace can be referred to by name when creating a database 
or a table.
+Especially, it is very useful when a Tajo cluster instance should use 
heterogeneous storage systems such as HDFS, MySQL, and Oracle.
 
+============================================
+External Table, Managed Table and Tablespace
+============================================
+
+Tajo has two types of table. One is external table. It needs **location** 
property when the table is created. Using this property, you can create an 
external table indicating existing external data source.
+For example, if there is already your data as Text/JSON files or HBase table, 
you can register it as tajo external table.
+Other one is managed table, which means internal table, that is created in a 
speficied tablespace.
+
+Tablespace is a pre-defined physical location where data stored on. It is 
supported for only managed tables.
+When you create a managed table, you can use the **tablespace** keyword to 
specify the location of data will be stored.
+If the tablespace is not specified, the default tablespace of the table's 
database is used.
+
+.. note::
+
+  For creating a table, see :doc:`/sql_language/ddl`.
+
+=============
 Configuration
 =============
 

Reply via email to