Skip to content

Commit

Permalink
[SPARK-47972][SQL][FOLLOWUP] Restrict CAST expression for collations
Browse files Browse the repository at this point in the history
### 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 <mihailo.milosevic@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
  • Loading branch information
mihailom-db authored and cloud-fan committed Jun 4, 2024
1 parent 651f687 commit c7caac9
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ package org.apache.spark.sql.catalyst.parser
import java.util.Locale
import java.util.concurrent.TimeUnit

import scala.collection.immutable.Seq
import scala.collection.mutable.{ArrayBuffer, Set}
import scala.jdk.CollectionConverters._
import scala.util.{Left, Right}
Expand Down

0 comments on commit c7caac9

Please sign in to comment.