Skip to content

Fix typo: AGGREGRATE_TIME_LIST → AGGREGATE_TIME_LIST#17171

Open
PDGGK wants to merge 1 commit intoapache:masterfrom
PDGGK:fix-typo-aggregrate
Open

Fix typo: AGGREGRATE_TIME_LIST → AGGREGATE_TIME_LIST#17171
PDGGK wants to merge 1 commit intoapache:masterfrom
PDGGK:fix-typo-aggregrate

Conversation

@PDGGK
Copy link

@PDGGK PDGGK commented Feb 5, 2026

Summary

Fix typo in constant name: AGGREGRATE_TIME_LISTAGGREGATE_TIME_LIST

Fixes #17155

Changes

  • AbstractCli.java: Rename constant from AGGREGRATE_TIME_LIST to AGGREGATE_TIME_LIST
  • Cli.java: Update all references (lines 188, 203) to use correct spelling

Notes

  • The constant is package-private, so this rename is safe and won't affect external consumers
  • Searched entire codebase - no other occurrences of this typo exist

🤖 Generated with Claude Code

Fixes apache#17155

- AbstractCli.java: Rename constant from AGGREGRATE_TIME_LIST to AGGREGATE_TIME_LIST
- Cli.java: Update all references to use correct spelling

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, this is your first pull request in IoTDB project. Thanks for your contribution! IoTDB will be better because of you.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a spelling typo in a constant name, changing AGGREGRATE_TIME_LIST to AGGREGATE_TIME_LIST throughout the CLI codebase. The typo was correctly identified in issue #17155, and this change ensures the constant name properly reflects its purpose of storing time aggregation operations.

Changes:

  • Renamed the constant from AGGREGRATE_TIME_LIST to AGGREGATE_TIME_LIST (fixing the misspelling of "aggregate")
  • Updated all usages of the constant in the codebase

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
AbstractCli.java Renamed the constant definition from AGGREGRATE_TIME_LIST to AGGREGATE_TIME_LIST
Cli.java Updated both references (lines 188, 203) to use the corrected constant name

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

static final int CODE_ERROR = 1;

static final String ISO8601_ARGS = "disableISO8601";
static final List<String> AGGREGRATE_TIME_LIST = new ArrayList<>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this list is useless. Better to remove it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Typo in constant name (AGGREGRATE → AGGREGATE)

2 participants