Skip to content

Conversation

@LuciferYang
Copy link
Contributor

@LuciferYang LuciferYang commented Feb 16, 2023

What changes were proposed in this pull request?

This pr cleans up unused declarations in the Hive module:

  • Input parameter dataTypes of HiveInspectors#wrap method: the input parameter dataTypes introduced by SPARK-9354, but after SPARK-17509, the implementation of HiveInspectors#wrap no longer needs to explicitly pass dataTypes and it becomes a unused, and inputDataTypes in HiveSimpleUDF becomes a unused after this pr

  • UNLIMITED_DECIMAL_PRECISION and UNLIMITED_DECIMAL_SCALE in HiveShim: these two val introduced by SPARK-6909 for unlimited decimals, but SPARK-9069 remove unlimited precision support for DecimalType and SPARK-14877 deleted object HiveMetastoreTypes and used .catalogString instead, these two val are not used anymore.

Why are the changes needed?

Code clean up.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Pass GitHub Actions

@github-actions github-actions bot added the SQL label Feb 16, 2023
@LuciferYang LuciferYang changed the title Sql hive unused [WIP][SQL] Feb 16, 2023
@LuciferYang LuciferYang marked this pull request as draft February 16, 2023 12:48
@LuciferYang LuciferYang changed the title [WIP][SQL] [WIP][SQL] Remove unused declarations from Hive module Feb 16, 2023
@LuciferYang LuciferYang changed the title [WIP][SQL] Remove unused declarations from Hive module [SPARK-42470][SQL] Remove unused declarations from Hive module Feb 17, 2023
@LuciferYang LuciferYang marked this pull request as ready for review February 17, 2023 15:46
@huaxingao huaxingao closed this in 1389c9f Feb 18, 2023
@huaxingao
Copy link
Contributor

Merged to master. Thanks @LuciferYang

@dongjoon-hyun
Copy link
Member

Thank you, @LuciferYang and @huaxingao !

@LuciferYang
Copy link
Contributor Author

Thanks @huaxingao @dongjoon-hyun

@LuciferYang LuciferYang deleted the sql-hive-unused branch June 9, 2023 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants