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.
    



---

Reply via email to