[
https://issues.apache.org/jira/browse/KUDU-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15626435#comment-15626435
]
Saketa Chalamchala commented on KUDU-1737:
------------------------------------------
Hi,
I'm currently working on creating Kudu table with specified column encodings in
metadata of the schema struct type.
Thanks,
Saketa
> 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
> 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)