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

Allow KuduContext to create table with column encodings

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.7.0
    • Component/s: api
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: