Skip to content

Commit

Permalink
Update BaseScriptTransformationExec.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
AngersZhuuuu committed Dec 29, 2020
1 parent aa16c8f commit 092c927
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ trait BaseScriptTransformationExec extends UnaryExecNode {
protected lazy val inputExpressionsWithoutSerde: Seq[Expression] = {
input.map { in: Expression =>
in.dataType match {
case ArrayType(_, _) | MapType(_, _, _) | StructType(_) => in
case _: ArrayType | _: MapType | _: StructType => in
case _ => Cast(in, StringType).withTimeZone(conf.sessionLocalTimeZone)
}
}
Expand Down

0 comments on commit 092c927

Please sign in to comment.