Yang Jie created SPARK-45702:
--------------------------------

             Summary: Fix `the type test for pattern TypeA cannot be checked at 
runtime`
                 Key: SPARK-45702
                 URL: https://issues.apache.org/jira/browse/SPARK-45702
             Project: Spark
          Issue Type: Sub-task
          Components: Spark Core
    Affects Versions: 4.0.0
            Reporter: Yang Jie


{code:java}
[error] 
/Users/yangjie01/SourceCode/git/spark-mine-sbt/core/src/main/scala/org/apache/spark/rdd/OrderedRDDFunctions.scala:100:21:
 the type test for pattern org.apache.spark.RangePartitioner[K,V] cannot be 
checked at runtime because it has type parameters eliminated by erasure
[error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part 
of the message>, cat=unchecked, 
site=org.apache.spark.rdd.OrderedRDDFunctions.filterByRange.rddToFilter
[error]       case Some(rp: RangePartitioner[K, V]) =>
[error]  {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to