Jeffrey Shmain created KUDU-1737:
------------------------------------

             Summary: 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)

Reply via email to