You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Saketa Chalamchala (JIRA)" <ji...@apache.org> on 2018/04/30 20:16:00 UTC
[jira] [Resolved] (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 ]
Saketa Chalamchala resolved KUDU-1737.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
> 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
> Fix For: 1.7.0
>
>
> 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
(v7.6.3#76005)