Skip to content

Commit

Permalink
replace ansi_cast by cast (#5047)
Browse files Browse the repository at this point in the history
Signed-off-by: remzi <13716567376yh@gmail.com>
  • Loading branch information
HaoYang670 authored Apr 4, 2022
1 parent 17984c0 commit 3d1084c
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1544,11 +1544,7 @@ case class GpuCast(
}
}

override def toString: String = if (ansiMode) {
s"ansi_cast($child as ${dataType.simpleString})"
} else {
s"cast($child as ${dataType.simpleString})"
}
override def toString: String = s"cast($child as ${dataType.simpleString})"

override def checkInputDataTypes(): TypeCheckResult = {
if (Cast.canCast(child.dataType, dataType)) {
Expand Down

0 comments on commit 3d1084c

Please sign in to comment.