[
https://issues.apache.org/jira/browse/TAJO-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14774462#comment-14774462
]
ASF GitHub Bot commented on TAJO-1853:
--------------------------------------
Github user hyunsik commented on a diff in the pull request:
https://github.com/apache/tajo/pull/762#discussion_r39640120
--- Diff: tajo-docs/src/main/sphinx/sql_language/ddl.rst ---
@@ -34,12 +37,18 @@ CREATE TABLE
.. code-block:: sql
- CREATE TABLE [IF NOT EXISTS] <table_name> [(<column_name> <data_type>,
... )]
+ CREATE TABLE [IF NOT EXISTS] <table_name> [(<column_name> <data_type>,
... )] [TABLESPACE tablespace_name]
[using <storage_type> [with (<key> = <value>, ...)]] [AS
<select_statement>]
CREATE EXTERNAL TABLE [IF NOT EXISTS] <table_name> (<column_name>
<data_type>, ... )
using <storage_type> [with (<key> = <value>, ...)] LOCATION '<path>'
+*Description*
+
+In Tajo, there are two types of tables, `managed table` and `external
table` (For more information, please refer to
:doc:`/table_management/table_overview`.)
+
+Managed tables are placed on some predefined tablespaces. The
``TABLESPACE`` clause is to specify a tablespace for this table. For more
information about tablespace, please refer to
:doc:`/table_management/tablespaces`. For external tables, Tajo allows
arbitrary table location with the ``LOCATION`` clause.
--- End diff --
``arbitrary table`` should be ``an arbitrary``.
> Add tablespace syntax to the CREATE TABLE section of DDL page
> -------------------------------------------------------------
>
> Key: TAJO-1853
> URL: https://issues.apache.org/jira/browse/TAJO-1853
> Project: Tajo
> Issue Type: Sub-task
> Components: Documentation
> Reporter: Jihoon Son
> Assignee: Jihoon Son
> Fix For: 0.11.0
>
>
> See the title. We need to add tablespace syntax to CREATE TABLE description.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)