You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by SpriCoder <sp...@qq.com.INVALID> on 2022/05/09 01:32:20 UTC
The syntax extension of set storage group and show storage group in new cluster
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