GitHub user dhatchayani opened a pull request:
https://github.com/apache/carbondata/pull/2534
[CARBONDATA-2753] Fix Compatibility issues on index Files
**Problem:**
Currently,in the segmentFile we are writing the index files list in files
field, only if it exists, otherwise it will be empty(in case if it is merged to
merge index file). But in the old store, we were writing both the files and
mergeFileName fields even if the index files are merged.
**Solution:**
While querying we have to check the physical existence of the index files
listed in the files field. If it physically exists, then we have to consider
that.
- [ ] Any interfaces changed?
- [ ] Any backward compatibility impacted?
- [ ] Document update required?
- [x] Testing done
Manual Testing with Old Store
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dhatchayani/carbondata
CARBONDATA-2753_indexFiles
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2534.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2534
----
commit e257177c182783fb6c78507d4d8ad9823022acb6
Author: dhatchayani <dhatcha.official@...>
Date: 2018-07-20T14:36:00Z
[CARBONDATA-2753] Fix Compatibility issues on index Files
----
---