You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2016/11/01 22:27:58 UTC
[jira] [Assigned] (KUDU-1737) Allow KuduContext to create table
with column encodings
[ https://issues.apache.org/jira/browse/KUDU-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon reassigned KUDU-1737:
---------------------------------
Assignee: Saketa Chalamchala
> Allow KuduContext to create table with column encodings
> -------------------------------------------------------
>
> Key: KUDU-1737
> URL: https://issues.apache.org/jira/browse/KUDU-1737
> Project: Kudu
> Issue Type: Improvement
> Components: api
> Affects Versions: 1.0.1
> Reporter: Jeffrey Shmain
> Assignee: Saketa Chalamchala
> Priority: Minor
>
> Currently createTable method in KuduContext has no way to specify the column encodings. It uses org.apache.spark.sql.types.StructType, and there seems to be the way to specify optional Metadata in StructField.
> new
> StructField(name: String, dataType: DataType, nullable: Boolean = true, metadata: Metadata = Metadata.empty)
> Can we update the createTable method to parse out optional metadata and add the encodings if specify.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)