GitHub user ravipesala opened a pull request:
https://github.com/apache/carbondata/pull/1490
[CARBONDATA-1579][PREAGG][DATAMAP] Support DataMap show
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
Added support for show datamap on table.
```
SHOW DATAMAP ON TABLE test
```
The above command shows all datamaps on the table name test.
Output of it shows the following attributes
```
+-----------+---------+----------------+
|DataMapName|ClassName|Associated Table|
+-----------+---------+----------------+
```
This PR is dependent on the PRs
https://github.com/apache/carbondata/pull/1481 and
https://github.com/apache/carbondata/pull/1489 . First those PR need to be
merged
- [X] Any interfaces changed?
NO
- [X] Any backward compatibility impacted?
NO
- [X] Document update required?
Yes, sql command needs to be added to document
- [X] Testing done
Tests are added
- [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-show
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/1490.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 #1490
----
commit cac54d9a1578796cf1d90abacab069a0413a49a0
Author: ravipesala <[email protected]>
Date: 2017-11-12T11:38:09Z
Added create datamap parser and saved to schema file
commit aebcdc01ce66ed79bac17db61fd62a325622e9c4
Author: ravipesala <[email protected]>
Date: 2017-11-12T06:57:47Z
Added parser for drop datamap and handled events
commit dd1ee26742f8c8f8731260ac623173c5309cb153
Author: ravipesala <[email protected]>
Date: 2017-11-12T17:26:17Z
Added parser for Show Datamap command
----
---