miantalha45 opened a new issue, #17155: URL: https://github.com/apache/iotdb/issues/17155
### Search before asking - [x] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar. ### Version OS: macOS (darwin) IoTDB: master branch ### Describe the bug and provide the minimal reproduce step There is a typo in the constant name used for time aggregation in the CLI: AGGREGRATE instead of AGGREGATE. Location: iotdb-client/cli/src/main/java/org/apache/iotdb/cli/AbstractCli.java — line 91: AGGREGRATE_TIME_LIST iotdb-client/cli/src/main/java/org/apache/iotdb/cli/Cli.java — lines 188 and 203: usages of AGGREGRATE_TIME_LIST Minimal steps: Open AbstractCli.java and search for AGGREGRATE. The constant and its usages use the misspelling "AGGREGRATE" instead of "AGGREGATE". No runtime behavior change; this is a naming/code-quality fix. ### What did you expect to see? The constant and all references should use the correct spelling AGGREGATE (e.g. AGGREGATE_TIME_LIST), since it represents supported time aggregation operations. ### What did you see instead? The constant is named AGGREGRATE_TIME_LIST and is referenced as AGGREGRATE_TIME_LIST in Cli.java, so the misspelling "AGGREGRATE" appears in the codebase instead of "AGGREGATE". ### Anything else? This is a straightforward rename: constant and all references should be updated from AGGREGRATE_TIME_LIST to AGGREGATE_TIME_LIST. Any tests or docs that reference this name should be updated as well. No functional change intended. ### Are you willing to submit a PR? - [x] I'm willing to submit a PR! -- 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]
