GitHub user kunal642 opened a pull request:
https://github.com/apache/carbondata/pull/1692
[CARBONDATA-1777] Added check to update relation if catalog relation is
present in plan
**Analysis:** In spark 2.2 while doing lookup relation there was no case to
handle CatalogRelation due to which the tables were not getting refreshed in
different sessions.
**Solution:** Add case for CatalogRelation so that the table being referred
is refreshed.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [ ] Any interfaces changed?
No
- [ ] Any backward compatibility impacted?
No
- [ ] Document update required?
No
- [ ] Testing done
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.
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kunal642/carbondata table_refresh_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/1692.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 #1692
----
commit 099f9806bb16c6dbaa747316adca02028b323686
Author: kunal642 <kunalkapoor642@...>
Date: 2017-12-20T08:35:06Z
added check to update relation if catalog relation is present in plan
----
---