Skip to content

Conversation

@dengzhhu653
Copy link
Member

@dengzhhu653 dengzhhu653 commented Oct 22, 2025

What changes were proposed in this pull request?

In RawStore, AlterHandler and IHMSHandler, we have many methods marked as deprecated even since 2.2.0. It's good to drop them off in the next major release to keep the code clean and maintainable.
This will only remove those the Metastore server uses, it shouldn't affect the client side

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

@Aggarwal-Raghav
Copy link
Contributor

Can you please address the basic checkstyle sonarqube checks like:

  1. Double semicolon at end
  2. Unused imports
  3. Line is longer than 120 characters (found 131).

try {
String[] parsedDbName = parseDbName(dbName, conf);
Table tbl = get_table_core(parsedDbName[CAT_NAME], parsedDbName[DB_NAME], tableName);
GetTableRequest getTableRequest = new GetTableRequest(parsedDbName[DB_NAME], tableName);
Copy link
Member

Choose a reason for hiding this comment

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

isn't it more convenient to keep this method and use new API, maybe just change to private

Copy link
Member Author

Choose a reason for hiding this comment

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

It's a simple and short API call, I would like to keep it as it is

@deniskuzZ
Copy link
Member

Could we please make the PR title and description a bit more specific?
What criteria were used for deciding which methods to deprecate? For instance, @deprecated drop_partition_by_name hasn’t been removed.

@dengzhhu653
Copy link
Member Author

Could we please make the PR title and description a bit more specific? What criteria were used for deciding which methods to deprecate? For instance, @deprecated drop_partition_by_name hasn’t been removed.

Sure, these are the methods that the Metastore server uses, it shouldn't affect the Hive Metastore client

@dengzhhu653 dengzhhu653 changed the title HIVE-29280: Drop deprecated methods from Metastore HIVE-29280: Drop deprecated methods from Metastore server side Oct 28, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 3, 2025

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants