Karan980 opened a new pull request #4099:
URL: https://github.com/apache/carbondata/pull/4099
### Why is this PR needed?
Indexes cached in Executor cache are not dropped when drop table is called
for external table with SDK segments. Because, external tables with sdk
segments will not have metadata like table status file. So in drop table
command we send zero segments to indexServer clearIndexes job, which clears
nothing from executor side.
### What changes were proposed in this PR?
Prepared the validSegments from indexFiles present at external table
location and send it to IndexServer clearIndexes job through IndexInputFormat.
### Does this PR introduce any user interface change?
- No
### Is any new testcase added?
- No
----------------------------------------------------------------
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]