HIVE-29745: Remove Druid integration#6615
Open
zabetak wants to merge 1 commit into
Open
Conversation
Remove the Druid storage handler and all associated infrastructure from the codebase since its broken and no longer used. Changes include: - Delete the druid-handler module (storage handler, SerDe, I/O formats, Kafka ingestion support, Kerberos security utilities) - Delete the itests/qtest-druid module (MiniDruidCluster, test drivers) - Remove all Druid-related query test files (.q and .q.out) - Remove hive.druid.* configuration variables from HiveConf - Remove Druid constants and calcite-druid dependency - Remove Calcite optimizer rules: HiveDruidRules, DruidSqlOperatorConverter, SortedDynPartitionTimeGranularityOptimizer - Remove DruidQuery handling from CalcitePlanner, HiveVolcanoPlanner, HiveFilterProjectTransposeRule, HiveRelFieldTrimmer, ASTBuilder, ASTConverter, and HiveMaterializedViewsRegistry - Remove DRUID/DRUID_LOCAL/DRUID_KAFKA cluster types from test infra - Relocate Kafka test utilities (SingleNodeKafkaCluster, Wikipedia) from itests/qtest-druid to itests/util under org.apache.hadoop.hive.kafka - Update itests/util dependencies to use kafka artifacts directly instead of pulling them transitively via hive-it-druid
|
simhadri-g
approved these changes
Jul 17, 2026
simhadri-g
left a comment
Member
There was a problem hiding this comment.
This is great, Thanks @zabetak !
I have done the same once before back in 2022 and this change looks good to me.
+1 LGTM pending tests!
Contributor
|
There are few files which still reference "druid"
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What changes were proposed in this pull request?
Why are the changes needed?
The Druid integration is broken for the past 5 years and seemingly unused.
Does this PR introduce any user-facing change?
No really, in the sense that Druid integration is already broken in the past few releases.
How was this patch tested?
Existing tests