github-advanced-security[bot] commented on code in PR #18892:
URL: https://github.com/apache/druid/pull/18892#discussion_r2678140290
##########
sql/src/main/java/org/apache/druid/sql/calcite/schema/SystemSchema.java:
##########
@@ -401,7 +408,7 @@
segment.getVersion(),
(long) segment.getShardSpec().getPartitionNum(),
val.getNumReplicas(),
- val.getNumRows(),
+ segment.getTotalRows() != null ? segment.getTotalRows() :
val.getNumRows(),
Review Comment:
## Deprecated method or constructor invocation
Invoking [AvailableSegmentMetadata.getNumRows](1) should be avoided because
it has been deprecated.
[Show more
details](https://github.com/apache/druid/security/code-scanning/10661)
--
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]