kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abu...@apache.org
Subject [kudu] 03/03: KUDU-1938 Add VARCHAR to schema design docs
Date Mon, 09 Dec 2019 22:34:10 GMT
This is an automated email from the ASF dual-hosted git repository.

abukor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git

commit 3175c35c7d721aef0c4c6b358cc3b422089c1ba7
Author: Attila Bukor <abukor@apache.org>
AuthorDate: Mon Dec 9 13:43:59 2019 -0800

    KUDU-1938 Add VARCHAR to schema design docs
    
    Change-Id: Ieae3000dde14f68a900dd63624d2778ce01cfa26
    Reviewed-on: http://gerrit.cloudera.org:8080/14865
    Reviewed-by: Grant Henke <granthenke@apache.org>
    Tested-by: Kudu Jenkins
---
 docs/known_issues.adoc  | 7 +++----
 docs/schema_design.adoc | 3 ++-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/known_issues.adoc b/docs/known_issues.adoc
index c8e2e5d..84f2925 100644
--- a/docs/known_issues.adoc
+++ b/docs/known_issues.adoc
@@ -51,11 +51,10 @@
 
 === Columns
 
-* CHAR, VARCHAR, DATE, and complex types like ARRAY, MAP, and STRUCT are not supported.
+* CHAR, DATE, and complex types like ARRAY, MAP, and STRUCT are not supported.
 
-* Type and nullability of existing columns cannot be changed by altering the table.
-
-* The precision and scale of `DECIMAL` columns cannot be changed by altering the table.
+* Type, nullability and type attributes (i.e. precision and scale of `DECIMAL`,
+  length of `VARCHAR`)of existing columns cannot be changed by altering the table.
 
 * Tables can have a maximum of 300 columns by default.
 
diff --git a/docs/schema_design.adoc b/docs/schema_design.adoc
index db12adb..3ecceed 100644
--- a/docs/schema_design.adoc
+++ b/docs/schema_design.adoc
@@ -78,6 +78,7 @@ column types include:
 * decimal (see <<decimal>> for details)
 * UTF-8 encoded string (up to 64KB uncompressed)
 * binary (up to 64KB uncompressed)
+* VARCHAR type with configurable maximum length (up to 64KB uncompressed)
 
 Kudu takes advantage of strongly-typed columns and a columnar on-disk storage
 format to provide efficient encoding and serialization. To make the most of
@@ -149,7 +150,7 @@ of the column.
 | int64, unixtime_micros  | plain, bitshuffle, run length  | bitshuffle
 | float, double, decimal  | plain, bitshuffle              | bitshuffle
 | bool                    | plain, run length              | run length
-| string, binary          | plain, prefix, dictionary      | dictionary
+| string, binary, varchar | plain, prefix, dictionary      | dictionary
 |===
 
 [[plain]]


Mime
View raw message