[
https://issues.apache.org/jira/browse/KUDU-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15867088#comment-15867088
]
Saketa Chalamchala commented on KUDU-1737:
------------------------------------------
Patch has been submitted for gerrit code review
http://gerrit.cloudera.org:8080/6010
> 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.15#6346)