github-advanced-security[bot] commented on code in PR #16737:
URL: https://github.com/apache/druid/pull/16737#discussion_r1678809399
##########
server/src/main/java/org/apache/druid/client/indexing/ClientCompactionTaskQueryTuningConfig.java:
##########
@@ -79,6 +80,17 @@
@Nullable
private final AppendableIndexSpec appendableIndexSpec;
+ public static ClientCompactionTaskQueryTuningConfig from(
+ DataSourceCompactionConfig compactionConfig
+ )
+ {
+ if (compactionConfig == null) {
+ return from(null, null, null);
+ } else {
+ return from(compactionConfig.getTuningConfig(),
compactionConfig.getMaxRowsPerSegment(), null);
Review Comment:
## Deprecated method or constructor invocation
Invoking [DataSourceCompactionConfig.getMaxRowsPerSegment](1) should be
avoided because it has been deprecated.
[Show more
details](https://github.com/apache/druid/security/code-scanning/5394)
--
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]