I think for all table property that documented in  
https://github.com/apache/carbondata/blob/master/docs/ddl-of-carbondata.md 
<https://github.com/apache/carbondata/blob/master/docs/ddl-of-carbondata.md>, 
we should write their values in the schema file. 
Because the default value for these properties may change, if they are changes, 
user will not know what is the table property that was used when writing the 
file.

Regards,
Jacky Li


> 在 2018年10月8日,上午12:20,xm_zzc <441586...@qq.com> 写道:
> 
> Hi:
>  I agree with Jacky. 
>  Currently if i use the default value of blocklet size (64mb) to create a
> table and load some data into table, and then change the default value of
> blocklet size to 128mb, it will affect the table created before, is it
> right? I think it still need to use 64mb as blocklet size for tables created
> before.
> 
> These properties either specified by user or from default value need to be
> saved when create table:
> property                                                value        default
> value
> |Blocklet Size                                       |64 MB      |64 MB     
> |
> |Table Block Size                                  |1024 MB    |1024 MB    |
> |SORT_SCOPE                                      |LOCAL_SORT |LOCAL_SORT |
> |CACHE_LEVEL                                     |BLOCKLET   |BLOCK      |
> |AUTO_LOAD_MERGE                            |true       |false      |
> |COMPACTION_LEVEL_THRESHOLD        |2,8        |4,3        |
> |COMPACTION_PRESERVE_SEGMENTS    |0          |0          |
> |ALLOWED_COMPACTION_DAYS             |0          |0          |
> |MAJOR_COMPACTION_SIZE                  |3072 MB    |1024 MB    |
> |Local Dictionary Enabled                       |false      |false      |
> 
> Hi Jacky:
>  I think we need to refactor CarbonCli module and move some common tools to
> core module, and then CarbonCli module and Spark2 module can use them,
> right?
> 
> 
> 
> 
> --
> Sent from: 
> http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/
> 

Reply via email to