Hi all,

In our new cluster, there are 4 new parameters of storage group(ttl, 
schemaReplicationFactor, dataReplicationFactor and timePartitionInterval). So, 
we need to support to init these parameters when create storage group.


New syntax extension of set storage group:

setStorageGroup
: SET STORAGE GROUP TO prefixPath (WITH sgAttributeClause (COMMA 
sgAttributeClause)*)?
;

sgAttributeClause
: (TTL | SCHEMA_REPLICATION_FACTOR | DATA_REPLICATION_FACTOR | 
TIME_PARTITION_INTERVAL) '=' INTEGER_LITERAL
;




And when you use show storage group, these 4 parameters will be showed at the 
same time, the header of show storage group:

storage group, ttl, schema_replication_factor, data_replication_factor, 
time_partition_interval.




Best,

---------------------------------------------------------------

Hongyin Zhang

Reply via email to