GitHub user xuchuanyin opened a pull request:
https://github.com/apache/carbondata/pull/2211
[CARBONDATA-2380][DataMap] Support visible/invisible datamap for
performance tuning
Support making datamap visible/invisible through session env.
Invisible datamap will only be ignored during query and user can still
see this datmap and its data will be updated as normal.
We can specify a datamap as invisible by
'set carbon.datamap.invisible.dbName.tableName.dataMapName=false' and it
is only effective in this session.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [x] Any interfaces changed?
`Add internal interface for getting visible datamaps`
- [x] Any backward compatibility impacted?
`NO`
- [x] Document update required?
`NO`
- [x] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests
are required?
`Test added`
- How it is tested? Please attach test report.
`Tested in local`
- Is it a performance related change? Please attach the performance
test report.
`No`
- Any additional information to help reviewers in testing this
change.
- [x] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
`Not related`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/xuchuanyin/carbondata 0423_invisible_datamap
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2211.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 #2211
----
commit 88342ff4d370fa4f7e4809637f5977b3032e3c03
Author: xuchuanyin <xuchuanyin@...>
Date: 2018-04-23T09:30:47Z
Support visible/invisible datamap for performance tuning
Support making datamap visible/invisible through session env.
Invisible datamap will only be ignored during query and user can still
see this datmap and its data will be updated as normal.
We can specify a datamap as invisible by
'set carbon.datamap.invisible.dbName.tableName.dataMapName=false' and it
is only effective in this session.
----
---