Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-7902

Partition fields in Table config should store partition field types for custom key generator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.0.0
    • None

    Description

      As of today, writing a partitioned table with CustomKeyGenerator requires write config of the partition field types (they are not stored as a table property).  CustomKeyGenerator requires partition keys to be in the format of field:type (e.g. column1:SIMPLE ). However, only the field names are stored in hoodie.properties file.  We need to store the field types too so that without the write config, the writer configure the correct partition field name and type in Spark datasource and SQL DML writes.

      Attachments

        Issue Links

          Activity

            People

              ljain Lokesh Jain
              guoyihua Ethan Guo (this is the old account; please use "yihua")
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: