For example, if a pre-upgraded mapping uses high-precision mode and contains the expression
TO_DECIMAL(3)
, you must specify a scale argument before you can run the upgraded mapping on the Spark engine. When the expression has a scale argument, the expression might be
TO_DECIMAL(3,2)
.