GitHub user akashrn5 opened a pull request:
https://github.com/apache/carbondata/pull/1957
[CARBONDATA-2150] Unwanted updatetable status files are being generated for
the delete operation where no records are deleted
**Problem:** Unwanted updatetable status files are being generated for the
delete operation where no records are deleted
**Analysis:**when the filter value for delete operation is less than the
maximum value in that column, then getsplits() will return the block and hence
in delete logic, it was creating update table status file even though delete
operation was not done.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [x] Any interfaces changed?
NA
- [x] Any backward compatibility impacted?
NA
- [x] Document update required?
NA
- [x] Testing done
test cases are added
Please provide details on
- Whether new unit test cases have been added or why no new tests
are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance
test report.
- Any additional information to help reviewers in testing this
change.
- [x] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
NA
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/akashrn5/incubator-carbondata del
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/1957.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 #1957
----
commit af1ae4cdbcec7f590a5eff5dca3e88899cda6916
Author: akashrn5 <akashnilugal@...>
Date: 2018-02-08T17:40:43Z
unwanted updatetablestatus files are being created for delete operation
where no records are selected
----
---