Skip to content

Commit

Permalink
Revert [SPARK-39865][SQL][3.3] Show proper error messages on the over…
Browse files Browse the repository at this point in the history
…flow commit - 1999104
  • Loading branch information
Catalin Toda committed Nov 11, 2022
1 parent fe62b94 commit c93bba8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,7 @@ object TableOutputResolver {
}

private def canCauseCastOverflow(cast: AnsiCast): Boolean = {
containsIntegralOrDecimalType(cast.dataType) &&
!Cast.canUpCast(cast.child.dataType, cast.dataType)
false
}

private def checkField(
Expand Down

0 comments on commit c93bba8

Please sign in to comment.