GitHub user ravipesala reopened a pull request:
https://github.com/apache/carbondata/pull/1489
[CARBONDATA-1576][PREAGG][DATAMAP] Support DataMap drop
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
Added drop datamap sql parser to support dropping datamap from table.
```
DROP DATAMAP IF EXISTS datamapname ON TABLE tablename
```
Added restriction on dropping child table if user tries to drop the datamap
table directly.
This PR is dependent on PR https://github.com/apache/carbondata/pull/1481
- [X] Any interfaces changed?
NO
- [X] Any backward compatibility impacted?
NO
- [X] Document update required?
Yes, syntax needs to be added to document
- [X] Testing done
Added tests
- [X] 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/ravipesala/incubator-carbondata datamap-drop
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/1489.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 #1489
----
commit cac54d9a1578796cf1d90abacab069a0413a49a0
Author: ravipesala <[email protected]>
Date: 2017-11-12T11:38:09Z
Added create datamap parser and saved to schema file
commit 9562faab3273c350336653f7eb0e27536377207b
Author: ravipesala <[email protected]>
Date: 2017-11-12T06:57:47Z
Added parser for drop datamap and handled events
----
---