CRZbulabula opened a new pull request, #8643: URL: https://github.com/apache/iotdb/pull/8643
**Add the following SQL:** ``` SHOW CLUSTER PARAMETERS ``` Which supports to display the basic cluster parameters for the user as shown in the below pic: <img width="1242" alt="image" src="https://user-images.githubusercontent.com/33111881/209788102-812b491c-d952-48da-b628-845727493099.png"> **Code updates:** 1. Add SQL `SHOW CLUSTER PARAMETERS` 2. Simplify the SQL parser for `SHOW CLUSTER`, `SHOW CLUSTER DETAILS` and `SHOW CLUSTER PARAMETERS` 3. Cluster parameters are divided into `TBasicClusterParameters` and `TAdvancedClusterParameters`, for which you'll see in the `confignode.thrift` file. Every parameters in both `TBasicClusterParameters` and `TAdvancedClusterParameters` should be consist in each Cluster Node. **The new SQL `SHOW CLUSTER PARAMETERS` only display those parameters in `TBasicClusterParameters`** since this new SQL is mostly for freshman of IoTDB. Therefore the result of this SQL won't be too tedious to read. Also, if a user attempts to modify the `TAdvancedClusterParameters`, it means the user is familiar with our IoTDB cluster. Thus, he/she can read the `.properties` files instead of using `SHOW CLUSTER PARAMETERS`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
