GitHub user ajantha-bhat opened a pull request:
https://github.com/apache/carbondata/pull/2547 [CARBONDATA-2777] Fixed: NonTransactional tables, Select count(*) is not giving latest results for incremental load with same segment ID (UUID)
problem:
[CARBONDATA-2777] NonTransactional tables, Select count(*) is not giving latest results for incremental load with same segment ID (UUID)
solution:
For NonTransactional tables, segments need to be refreshed if the segment latest timestamp got changed by the incremental load for count(*) flow also. This change is already present in select * flow and missed here.
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.
You can merge this pull request into a Git repository by running:
$ git pull
https://github.com/ajantha-bhat/carbondata unmanaged_table
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2547.patchTo close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2547
----
commit eea4d02060509cc0465de477cfd91670cc59ac4c
Author: ajantha-bhat <ajanthabhat@...>
Date: 2018-07-24T10:19:02Z
[CARBONDATA-2777] NonTransactional tables, Select count(*) is not giving latest results for incremental load with same segment ID (UUID)
----
---