github-code-scanning[bot] commented on code in PR #13303:
URL: https://github.com/apache/druid/pull/13303#discussion_r1096479128
##########
indexing-hadoop/src/main/java/org/apache/druid/indexer/DeterminePartitionsJob.java:
##########
@@ -412,8 +420,8 @@
{
super.setup(context);
final HadoopDruidIndexerConfig config =
HadoopDruidIndexerConfig.fromConfiguration(context.getConfiguration());
- final SingleDimensionPartitionsSpec spec =
(SingleDimensionPartitionsSpec) config.getPartitionsSpec();
- helper = new DeterminePartitionsDimSelectionMapperHelper(config,
spec.getPartitionDimension());
+ helper = new DeterminePartitionsDimSelectionMapperHelper(config);
+ final HadoopTuningConfig tuningConfig =
getConfig().getSchema().getTuningConfig();
Review Comment:
## Unread local variable
Variable 'HadoopTuningConfig tuningConfig' is never read.
[Show more
details](https://github.com/apache/druid/security/code-scanning/4229)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]