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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Akash R Nilugal (Jira)
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)