Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
3.2.0
-
None
-
None
Description
Add compile args to suppress compilation warnings as follows:
[warn] /home/kou/work/oss/spark-scala-2.13/examples/src/main/scala/org/apache/spark/examples/sql/SimpleTypedAggregator.scala:34:38: [deprecation @ | origin= | version=2.13.0] symbol literal is deprecated; use Symbol("id") instead [warn] val ds = spark.range(20).select(('id % 3).as("key"), 'id).as[(Long, Long)] [warn] ^ [warn] /home/kou/work/oss/spark-scala-2.13/examples/src/main/scala/org/apache/spark/examples/sql/SimpleTypedAggregator.scala:34:58: [deprecation @ | origin= | version=2.13.0] symbol literal is deprecated; use Symbol("id") instead [warn] val ds = spark.range(20).select(('id % 3).as("key"), 'id).as[(Long, Long)]
Attachments
Issue Links
- duplicates
-
SPARK-34443 Replace symbol literals with Symbol constructor invocations to comply with Scala 2.13
- In Progress
- is related to
-
SPARK-34443 Replace symbol literals with Symbol constructor invocations to comply with Scala 2.13
- In Progress
- links to