You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "wuwenchi (Jira)" <ji...@apache.org> on 2023/03/27 09:52:00 UTC

[jira] [Created] (HUDI-5991) Fix RDDCustomColumnsSortPartitioner's RepartitionRecords

wuwenchi created HUDI-5991:
------------------------------

             Summary: Fix RDDCustomColumnsSortPartitioner's RepartitionRecords
                 Key: HUDI-5991
                 URL: https://issues.apache.org/jira/browse/HUDI-5991
             Project: Apache Hudi
          Issue Type: Bug
            Reporter: wuwenchi


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)