[GitHub] [carbondata] ajantha-bhat opened a new pull request #3247: [CARBONDATA-3405] Fix getSplits() should clear the cache in SDK

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

[GitHub] [carbondata] ajantha-bhat opened a new pull request #3247: [CARBONDATA-3405] Fix getSplits() should clear the cache in SDK

GitBox
ajantha-bhat opened a new pull request #3247: [CARBONDATA-3405] Fix getSplits() should clear the cache in SDK
URL: https://github.com/apache/carbondata/pull/3247
 
 
   problem: when getsplits is called back to back once with blocklet and once with block cache, block cache is not set.
   
   cause: cache key was dbname_tableName, but table_name was always hardcoded to null.
   
   solution: set the table name in cache key, clear cache after getting splits in the getsplits()
   
   Be sure to do all of the following checklist to help us incorporate
   your contribution quickly and easily:
   
    - [ ] Any interfaces changed? NA
   
    - [ ] Any backward compatibility impacted? NA
   
    - [ ] Document update required? NA
   
    - [ ] Testing done
           done. Updated UT.      
    - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
   NA
   
   

----------------------------------------------------------------
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:
[hidden email]


With regards,
Apache Git Services