ShreelekhyaG opened a new pull request #4112: URL: https://github.com/apache/carbondata/pull/4112
### Why is this PR needed? Query with SI after add partition based on empty location on partition table gives incorrect results. ### What changes were proposed in this PR? while creating blockid, get segment number from the file name for the external partition. This blockid will be added to SI and used for pruning. To identify as an external partition during the compaction process, instead of checking with loadmetapath, checking with filepath.startswith(tablepath) format. ### 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: us...@infra.apache.org