Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1737

Allow KuduContext to create table with column encodings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.1
    • 1.7.0
    • api
    • None

    Description

      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.

      Attachments

        Activity

          People

            saketa Saketa Chalamchala
            jshmain Jeffrey Shmain
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: