TAJO-1559: Fix data model description (tinyint, smallint). Closes #536
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/14340729 Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/14340729 Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/14340729 Branch: refs/heads/index_support Commit: 14340729b5039e20f170160ffe58b3c96a865c26 Parents: 4865a41 Author: Dongjoon Hyun <[email protected]> Authored: Fri Apr 24 11:15:32 2015 +0900 Committer: Jihoon Son <[email protected]> Committed: Fri Apr 24 11:15:32 2015 +0900 ---------------------------------------------------------------------- CHANGES | 3 +++ tajo-docs/src/main/sphinx/sql_language/data_model.rst | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tajo/blob/14340729/CHANGES ---------------------------------------------------------------------- diff --git a/CHANGES b/CHANGES index 01fb0f4..5ece9a9 100644 --- a/CHANGES +++ b/CHANGES @@ -199,6 +199,9 @@ Release 0.11.0 - unreleased TASKS + TAJO-1559: Fix data model description (tinyint, smallint). + (Contributed by Dongjoon Hyun, Committed by jihoon) + TAJO-1575: HBASE_HOME guidance is duplicated in tajo-env.sh. (Contributed by Jongyoung Park, Committed by jihoon) http://git-wip-us.apache.org/repos/asf/tajo/blob/14340729/tajo-docs/src/main/sphinx/sql_language/data_model.rst ---------------------------------------------------------------------- diff --git a/tajo-docs/src/main/sphinx/sql_language/data_model.rst b/tajo-docs/src/main/sphinx/sql_language/data_model.rst index a0c5856..9c52b3e 100644 --- a/tajo-docs/src/main/sphinx/sql_language/data_model.rst +++ b/tajo-docs/src/main/sphinx/sql_language/data_model.rst @@ -15,7 +15,9 @@ Data Types +-----------+----------------+----------------------------+-------------+---------------------------------------------------+--------------------------------------------------------------------------+ | | varbit | bit varying | | | | +-----------+----------------+----------------------------+-------------+---------------------------------------------------+--------------------------------------------------------------------------+ -| O | smallint | tinyint, int2 | 2 | small-range integer value | -2^15 (-32,768) to 2^15 (32,767) | +| O | tinyint | int1 | 1 | tiny-range integer value | -2^7 (-128) to 2^7-1 (127) | ++-----------+----------------+----------------------------+-------------+---------------------------------------------------+--------------------------------------------------------------------------+ +| O | smallint | int2 | 2 | small-range integer value | -2^15 (-32,768) to 2^15-1 (32,767) | +-----------+----------------+----------------------------+-------------+---------------------------------------------------+--------------------------------------------------------------------------+ | O | integer | int, int4 | 4 | integer value | -2^31 (-2,147,483,648) to 2^31 - 1 (2,147,483,647) | +-----------+----------------+----------------------------+-------------+---------------------------------------------------+--------------------------------------------------------------------------+
