LuciferYang commented on pull request #30234: URL: https://github.com/apache/spark/pull/30234#issuecomment-723021662
@srowen & @dongjoon-hyun I found there is a very Interesting thing about `RDD#isEmpty()` method, there are some compilation warnings as follow: ``` [WARNING] [Warn] /spark/core/src/test/scala/org/apache/spark/rdd/RDDSuite.scala:74: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method isEmpty, or remove the empty argument list from its definition (Java-defined methods are exempt). In Scala 3, an unapplied method like this will be eta-expanded into a function. ``` but we found the call method is already "isEmpty()" as follows: https://github.com/apache/spark/blob/93ad26be01a47fb075310a26188e238d55110098/core/src/test/scala/org/apache/spark/rdd/RDDSuite.scala#L74 I am not sure Is this a bug in of Scala 2.13 compiler ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
