GitHub user ravipesala opened a pull request:
https://github.com/apache/carbondata/pull/1489
[CARBONDATA-1576] 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.
- [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 a4d6f6d827bdc4c3cd2fe877b69eb703f3801cc9
Author: kumarvishal <[email protected]>
Date: 2017-10-15T12:35:55Z
[CARBONDATA-1517]- Pre Aggregate Create Table Support
Support CTAS in carbon and support creating aggregation tables using CTAS
and update aggregation table information to main table schema.
This closes #1433
commit b26e1273d2cacb16d5ad26cb71f279e6c3914a9a
Author: ravipesala <[email protected]>
Date: 2017-11-10T10:48:17Z
Added create datamap parser and saved to schema file
commit 7b82bf9787b9becc697a826105675afd31230438
Author: ravipesala <[email protected]>
Date: 2017-11-12T06:57:47Z
Added parser for drop datamap and handled events
----
---