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

Fix RDDCustomColumnsSortPartitioner's RepartitionRecords

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.13.1
    • None

    Description

      When obtaining multiple specified fields, the return value is actually an array, but here it is directly obtained as an object: Object recordValue = record.getColumnValues(...)

       

      So it is converted into a string later: StringUtils.objToString(recordValue), in fact, the address of the previous array is obtained, resulting in a sorting error.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wenchi wuwenchi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: