[ 
https://issues.apache.org/jira/browse/SPARK-45685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun resolved SPARK-45685.
-----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 43563
[https://github.com/apache/spark/pull/43563]

> Use `LazyList` instead of `Stream`
> ----------------------------------
>
>                 Key: SPARK-45685
>                 URL: https://issues.apache.org/jira/browse/SPARK-45685
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Build, Spark Core, SQL
>    Affects Versions: 4.0.0
>            Reporter: Yang Jie
>            Assignee: Yang Jie
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> * class Stream in package immutable is deprecated (since 2.13.0)
>  * object Stream in package immutable is deprecated (since 2.13.0)
>  * type Stream in package scala is deprecated (since 2.13.0)
>  * value Stream in package scala is deprecated (since 2.13.0)
>  * method append in class Stream is deprecated (since 2.13.0)
>  * method toStream in trait IterableOnceOps is deprecated (since 2.13.0)
>  
> {code:java}
> [warn] 
> /Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/core/src/test/scala/org/apache/spark/sql/GenTPCDSData.scala:49:20:
>  class Stream in package immutable is deprecated (since 2.13.0): Use LazyList 
> (which is fully lazy) instead of Stream (which has a lazy tail only)
> [warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the 
> message>, cat=deprecation, 
> site=org.apache.spark.sql.BlockingLineStream.BlockingStreamed.stream, 
> origin=scala.collection.immutable.Stream, version=2.13.0
> [warn]     val stream: () => Stream[T])
> [warn]                    ^ {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