Details
-
Sub-task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.0.0
-
None
-
None
Description
sql/core/src/test/scala/org/apache/spark/sql/DatasetAggregatorSuite.scala
Warning:Warning:line (32)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated Warning:Warning:line (91)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated Warning:Warning:line (100)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated Warning:Warning:line (109)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated Warning:Warning:line (118)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated
sql/core/src/test/scala/org/apache/spark/sql/DatasetBenchmark.scala
Warning:Warning:line (242)object typed in package scalalang is deprecated (since 3.0.0): please use untyped builtin aggregate functions.
df.as[Data].select(typed.sumLong((d: Data) => d.l)).queryExecution.toRdd.foreach(_ => ())
sql/core/src/test/scala/org/apache/spark/sql/DateFunctionsSuite.scala
Warning:Warning:line (714)method from_utc_timestamp in object functions is deprecated (since 3.0.0): This function is deprecated and will be removed in future versions. df.select(from_utc_timestamp(col("a"), "PST")), Warning:Warning:line (719)method from_utc_timestamp in object functions is deprecated (since 3.0.0): This function is deprecated and will be removed in future versions. df.select(from_utc_timestamp(col("b"), "PST")), Warning:Warning:line (725)method from_utc_timestamp in object functions is deprecated (since 3.0.0): This function is deprecated and will be removed in future versions. df.select(from_utc_timestamp(col("a"), "PST")).collect() Warning:Warning:line (737)method from_utc_timestamp in object functions is deprecated (since 3.0.0): This function is deprecated and will be removed in future versions. df.select(from_utc_timestamp(col("a"), col("c"))), Warning:Warning:line (742)method from_utc_timestamp in object functions is deprecated (since 3.0.0): This function is deprecated and will be removed in future versions. df.select(from_utc_timestamp(col("b"), col("c"))), Warning:Warning:line (756)method to_utc_timestamp in object functions is deprecated (since 3.0.0): This function is deprecated and will be removed in future versions. df.select(to_utc_timestamp(col("a"), "PST")), Warning:Warning:line (761)method to_utc_timestamp in object functions is deprecated (since 3.0.0): This function is deprecated and will be removed in future versions. df.select(to_utc_timestamp(col("b"), "PST")), Warning:Warning:line (767)method to_utc_timestamp in object functions is deprecated (since 3.0.0): This function is deprecated and will be removed in future versions. df.select(to_utc_timestamp(col("a"), "PST")).collect() Warning:Warning:line (779)method to_utc_timestamp in object functions is deprecated (since 3.0.0): This function is deprecated and will be removed in future versions. df.select(to_utc_timestamp(col("a"), col("c"))), Warning:Warning:line (784)method to_utc_timestamp in object functions is deprecated (since 3.0.0): This function is deprecated and will be removed in future versions. df.select(to_utc_timestamp(col("b"), col("c"))),
sql/core/src/test/scala/org/apache/spark/sql/JoinSuite.scala
Warning:Warning:line (241)method merge in object Row is deprecated (since 3.0.0): This method is deprecated and will be removed in future versions.
testData.rdd.flatMap(row => Seq.fill(16)(Row.merge(row, row))).collect().toSeq)
sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
Warning:Warning:line (787)method merge in object Row is deprecated (since 3.0.0): This method is deprecated and will be removed in future versions.
row => Seq.fill(16)(Row.merge(row, row))).collect().toSeq)
sql/core/src/test/scala/org/apache/spark/sql/SparkSessionExtensionSuite.scala
Warning:Warning:line (332)constructor ExpressionInfo in class ExpressionInfo is deprecated: see corresponding Javadoc for more information. new ExpressionInfo("noClass", "myDb", "myFunction", "usage", "extended usage"), Warning:Warning:line (729)constructor ExpressionInfo in class ExpressionInfo is deprecated: see corresponding Javadoc for more information. new ExpressionInfo("noClass", "myDb", "myFunction2", "usage", "extended usage"), Warning:Warning:line (748)constructor ExpressionInfo in class ExpressionInfo is deprecated: see corresponding Javadoc for more information. new ExpressionInfo("noClass", "myDb", "myFunction2", "usage", "extended usage"),
sql/core/src/test/scala/org/apache/spark/sql/execution/WholeStageCodegenSuite.scala
Warning:Warning:line (114)object typed in package scalalang is deprecated (since 3.0.0): please use untyped builtin aggregate functions.
.groupByKey(_._1).agg(typed.sum(_._2)