You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "ZHANGSHUNYU (Jira)" <ji...@apache.org> on 2020/02/29 03:55:00 UTC

[jira] [Created] (CARBONDATA-3727) NPE of sort merger in range sort cases

ZHANGSHUNYU created CARBONDATA-3727:
---------------------------------------

             Summary: NPE of sort merger in range sort cases
                 Key: CARBONDATA-3727
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3727
             Project: CarbonData
          Issue Type: Bug
            Reporter: ZHANGSHUNYU


in ParallelReadMergeSorterWithColumnRangeImpl, finalMerger.startFinalMerge will check whether
filesToMerge.size() == 0, if true it wil return without createRecordHolderQueue and as a result it it null, and finally the code will call finalMerger.hasNext() to checlk whether the iterator has next, but the recordHolderHeapLocal is null, it will throw NPE.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)