GitHub user manishgupta88 opened a pull request:
https://github.com/apache/carbondata/pull/2418
[WIP] [CARBONDATA-2647] [CARBONDATA-2648] Add support for COLUMN_META_CACHE
and CACHE_LEVEL in create table and alter table properties
Things done as part of this PR
1. Support for configuring COLUMN_META_CACHE in create and alter table set
properties DDL.
2. Support for configuring CACHE_LEVEL in create and alter table set
properties DDL.
3. Describe formatted display support for COLUMN_META_CACHE and CACHE_LEVEL
**Pending Task:** Adding UT and FT
- [ ] Any interfaces changed?
**Create Table Syntax**
CREATE TABLE [dbName].tableName (col1 String, col2 String, col3 int,â¦)
STORED BY âcarbondataâ TBLPROPERTIES
(âCOLUMN_META_CACHEâ=âcol1,col2,â¦â, 'CACHE_LEVEL'='BLOCKLET')
**Alter Table set properties Syntax**
ALTER TABLE [dbName].tableName SET TBLPROPERTIES
(âCOLUMN_META_CACHEâ=âcol1,col2,â¦â, 'CACHE_LEVEL'='BLOCKLET')
- [ ] Any backward compatibility impacted?
No
- [ ] Document update required?
Yes
- [ ] Testing done
Manually verified. UT and FT will be added
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
NA
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/manishgupta88/carbondata ddl_column_meta_cache
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2418.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 #2418
----
commit 29329e50ff732a44571cfccb1f11e784d2882dc5
Author: manishgupta88 <tomanishgupta18@...>
Date: 2018-06-26T14:41:14Z
Add support for cache level and column meta cache in create and alter DDL
----
---