gengliangwang commented on code in PR #46309: URL: https://github.com/apache/spark/pull/46309#discussion_r1585642163
########## core/src/main/scala/org/apache/spark/util/random/StratifiedSamplingUtils.scala: ########## @@ -182,12 +182,12 @@ private[spark] object StratifiedSamplingUtils extends Logging { for ((key, acceptResult) <- finalResult) { val sampleSize = math.ceil(acceptResult.numItems * fractions(key)).toLong if (acceptResult.numAccepted > sampleSize) { - logWarning("Pre-accepted too many") + logWarning(log"Pre-accepted too many") Review Comment: This one is not needed -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org