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

Spark DDL needs elegant way to specify range partitioning

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.7.0
    • spark
    • None

    Description

      To define partition column splits, you need a PartialRow object.

      These are easy to create when you have the Schema object. But since your table schema in Spark is defined with StructType instead of Schema, then its cumbersome to define a new Schema object to be the exact duplicate of the StructType version, only to get the PartialRow, to set what the range partition will values would be, then set the addSplitRow() function call to your CreateTableOptions.

      We need an elegant way to have the Spark API handle specifying range partition attributes without having to drop into the Java API in Spark.

      Attachments

        Issue Links

          Activity

            People

              mladenkov Mladen Kovacevic
              mladenkov Mladen Kovacevic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 96h
                  96h
                  Remaining:
                  Remaining Estimate - 96h
                  96h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified