You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Danny Chen (Jira)" <ji...@apache.org> on 2023/04/16 02:59:00 UTC

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

     [ https://issues.apache.org/jira/browse/HUDI-5991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Danny Chen updated HUDI-5991:
-----------------------------
    Fix Version/s: 0.14.0

> Fix RDDCustomColumnsSortPartitioner's RepartitionRecords
> --------------------------------------------------------
>
>                 Key: HUDI-5991
>                 URL: https://issues.apache.org/jira/browse/HUDI-5991
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: wuwenchi
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.14.0
>
>
> 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)