You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2020/10/29 09:35:00 UTC
[jira] [Created] (SPARK-33285) Too many "Auto-application to `()`
is deprecated." related compilation warnings
Yang Jie created SPARK-33285:
--------------------------------
Summary: Too many "Auto-application to `()` is deprecated." related compilation warnings
Key: SPARK-33285
URL: https://issues.apache.org/jira/browse/SPARK-33285
Project: Spark
Issue Type: Sub-task
Components: Build
Affects Versions: 3.1.0
Reporter: Yang Jie
There are too many "Auto-application to `()` is deprecated." related compilation warnings when compile with Scala 2.13 like
{code:java}
[WARNING] [Warn] /Users/yangjie01/SourceCode/git/spark-mine/core/src/test/scala/org/apache/spark/PartitioningSuite.scala:246: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method stdev,
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.
[WARNING] [Warn] /Users/yangjie01/SourceCode/git/spark-mine/core/src/test/scala/org/apache/spark/PartitioningSuite.scala:247: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method variance,
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.
[WARNING] [Warn] /Users/yangjie01/SourceCode/git/spark-mine/core/src/test/scala/org/apache/spark/PartitioningSuite.scala:247: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method popVariance,
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.
[WARNING] [Warn] /Users/yangjie01/SourceCode/git/spark-mine/core/src/test/scala/org/apache/spark/PartitioningSuite.scala:248: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method stdev,
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.
[WARNING] [Warn] /Users/yangjie01/SourceCode/git/spark-mine/core/src/test/scala/org/apache/spark/PartitioningSuite.scala:248: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method popStdev,
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.
{code}
Maybe these will mask some of the more important compilation warnings
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org