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

Support for complex record keys with TimestampBasedKeyGenerator

    XMLWordPrintableJSON

Details

    Description

      We have TimestampBasedKeyGenerator for defining custom partition paths and we have ComplexKeyGenerator for supporting having combination of fields as record key or partition key. 
       
      However we do not have support for the case where one wants to have combination of fields as record key along with being able to define custom partition paths. This use case recently came up at my organisation. 
       
      How about having CustomTimestampBasedKeyGenerator which supports the above use case? This class can simply extend TimestampBasedKeyGenerator and allow users to have combination of fields as record key.
       
      We will try to have the implementation as generic as possible. 

      Attachments

        Issue Links

          Activity

            People

              Pratyaksh Pratyaksh Sharma
              Pratyaksh Pratyaksh Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m