GitHub user xubo245 opened a pull request:
https://github.com/apache/carbondata/pull/1859 [CARBONDATA-2077][CARBONDATA-1516] it should throw no such datamap when drop datamap and the datamap does not exist
DROP DATAMAP should throw exception if table not exist, even though there is IF EXISTS
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
add test case in TestTimeSeriesDropSuite
- [ ] 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/xubo245/carbondata CARBONDATA2075_dropDatamapExceptionWhenNoSuchTableIFExist
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/1859.patchTo close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1859
----
commit 76b2c0363e57fc27a5a4754c8a97ee39ec1adf95
Author: xubo245 <601450868@...>
Date: 2018-01-25T08:42:13Z
[CARBONDATA-2077][CARBONDATA-1516] it should throw no such datamap when drop datamap and the datamap does not exist
DROP DATAMAP should throw exception if table not exist, even though there is IF EXISTS
----
---