carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xaprice <...@git.apache.org>
Subject [GitHub] carbondata issue #1575: [CARBONDATA-1698]Adding support for table level comp...
Date Thu, 30 Nov 2017 15:11:09 GMT
Github user Xaprice commented on the issue:

    https://github.com/apache/carbondata/pull/1575
  
    @jackylk 
    User can create table by SQL below:
    ```
     CREATE TABLE tableWithCompactionOptions(
         intField INT,
         stringField STRING
         )
     STORED BY 'carbondata'
     TBLPROPERTIES('MAJOR_COMPACTION_SIZE'='10240',
     'AUTO_LOAD_MERGE'='true',
     'COMPACTION_LEVEL_THRESHOLD'='5,6',
     'COMPACTION_PRESERVE_SEGMENTS'='10',
     'ALLOWED_COMPACTION_DAYS'='5')
    ```
    Thus user can specify compaction configurations in table level. The configurations are
all optional, if not specified, corresponding configurations in carbon.properties will be
used. Related document has been updated.
    



---

Mime
View raw message