Skip to content

Commit

Permalink
[SPARK-47355][SQL] Use wildcard imports in CollationTypeCasts
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
Use wildcard imports in `CollationTypeCasts.scala` instead of listing individual expressions.

### Why are the changes needed?
Avoid numerous conflicts that arise at this line with multiple PRs open for various expressions.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Existing tests.

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes #46230 from uros-db/SPARK-47355.

Authored-by: Uros Bojanic <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
  • Loading branch information
uros-db authored and HyukjinKwon committed Apr 26, 2024
1 parent e04ac56 commit 95d6c61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import javax.annotation.Nullable
import scala.annotation.tailrec

import org.apache.spark.sql.catalyst.analysis.TypeCoercion.{hasStringType, haveSameType}
import org.apache.spark.sql.catalyst.expressions.{ArrayJoin, BinaryExpression, CaseWhen, Cast, Coalesce, Collate, Concat, ConcatWs, CreateArray, Elt, Expression, Greatest, If, In, InSubquery, Least, Literal, Overlay, RegExpReplace, StringLPad, StringRPad}
import org.apache.spark.sql.catalyst.expressions._
import org.apache.spark.sql.errors.QueryCompilationErrors
import org.apache.spark.sql.internal.SQLConf
import org.apache.spark.sql.types.{ArrayType, DataType, StringType}
Expand Down

0 comments on commit 95d6c61

Please sign in to comment.