This is an automated email from the ASF dual-hosted git repository.
yangjie01 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 385a2f5f0475 [SPARK-45510][SQL] Replace
`scala.collection.generic.Growable` to `scala.collection.mutable.Growable`
385a2f5f0475 is described below
commit 385a2f5f0475ce63180abc7ebb7577e0214ca2fb
Author: Jia Fan <[email protected]>
AuthorDate: Thu Oct 12 16:48:36 2023 +0800
[SPARK-45510][SQL] Replace `scala.collection.generic.Growable` to
`scala.collection.mutable.Growable`
### What changes were proposed in this pull request?
Since scala 2.13.0, `scala.collection.generic.Growable` marked as
deprecated. This PR change it to `scala.collection.mutable.Growable`
### Why are the changes needed?
Remove deprecated api.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
exist test.
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #43347 from Hisoka-X/SPARK-45510-replace-growable.
Authored-by: Jia Fan <[email protected]>
Signed-off-by: yangjie01 <[email protected]>
---
.../org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala
b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala
index 7bbc930ceab5..d0d4ca659057 100644
---
a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala
+++
b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala
@@ -17,8 +17,8 @@
package org.apache.spark.sql.catalyst.expressions.aggregate
-import scala.collection.generic.Growable
import scala.collection.mutable
+import scala.collection.mutable.Growable
import org.apache.spark.sql.catalyst.InternalRow
import org.apache.spark.sql.catalyst.analysis.TypeCheckResult
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]