CRZbulabula opened a new pull request, #18360: URL: https://github.com/apache/iotdb/pull/18360
## Description This PR restricts cluster-node removal statements to a single node ID in both SQL dialects. - update the tree-model and table-model grammars so `REMOVE DATANODE` accepts exactly one DataNode ID - construct a singleton DataNode ID list in both AST builders - verify that tree-model and table-model parsers accept single-node `REMOVE DATANODE` / `REMOVE CONFIGNODE` statements and reject multiple node IDs - remove the integration test for removing two DataNodes in one statement ## Tests - `mvn -q test -pl iotdb-core/datanode -am -Dtest=RemoveNodeSingleNodeParseTest,RemoveNodeSingleNodeStatementTest -Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false` -- 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]
