Skip to content

Commit c7caac9

Browse files
mihailom-dbcloud-fan
authored andcommitted
[SPARK-47972][SQL][FOLLOWUP] Restrict CAST expression for collations
### What changes were proposed in this pull request? Removal of immutable Seq import. ### Why are the changes needed? This import was added with #46474, but in reality is changing behaviour of other AstBuilder.scala rules and because of this needs to be removed. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing tests cover this. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #46860 from mihailom-db/SPARK-47972-FOLLOWUP. Authored-by: Mihailo Milosevic <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
1 parent 651f687 commit c7caac9

File tree

1 file changed

+0
-1
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser

1 file changed

+0
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ package org.apache.spark.sql.catalyst.parser
2020
import java.util.Locale
2121
import java.util.concurrent.TimeUnit
2222

23-
import scala.collection.immutable.Seq
2423
import scala.collection.mutable.{ArrayBuffer, Set}
2524
import scala.jdk.CollectionConverters._
2625
import scala.util.{Left, Right}

0 commit comments

Comments
 (0)