marchpure opened a new pull request #3881:
URL: https://github.com/apache/carbondata/pull/3881


    ### Why is this PR needed?
   1. getLastModifiedTime of LoadMetadataDetails fails due to 
"updateDeltaEndTimestamp is empty string".
   2. In the getCommittedIndexFile founction, NPE happens because of 
"segmentfile is null" under the Unusual cases.
   3. Cleaning temp files fails because of "partitionInfo is null"  under the 
unusual cases.
    
    ### What changes were proposed in this PR?
   1. when updateDeltaEndTimestamp is empty string, skip the code 
"convertTimeStampToLong(updateDeltaEndTimestamp)";
   2. when segmentfile is null, avoid  trigger 
"segmentfile.getSegmentMetaDataInfo()"
   3. init partitionInfo with a empty list instead of "null"
       
    ### Does this PR introduce any user interface change?
    - No
   
    ### Is any new testcase added?
    - Yes
   
       
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to