Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -768,8 +768,7 @@ case class IsValidUTF8(input: Expression) extends RuntimeReplaceable with Implic
case class MakeValidUTF8(input: Expression) extends RuntimeReplaceable with ImplicitCastInputTypes
with UnaryLike[Expression] with NullIntolerant {

override lazy val replacement: Expression = Invoke(
input, "makeValid", SQLConf.get.defaultStringType)
override lazy val replacement: Expression = Invoke(input, "makeValid", input.dataType)

override def inputTypes: Seq[AbstractDataType] = Seq(StringTypeAnyCollation)

Expand Down