itholic opened a new pull request, #38647:
URL: https://github.com/apache/spark/pull/38647

   ### What changes were proposed in this pull request?
   
   This PR proposes to integrate `UNSCALED_VALUE_TOO_LARGE_FOR_PRECISION` into 
`NUMERIC_VALUE_OUT_OF_RANGE`, and also improve the error message.
   
   ### Why are the changes needed?
   
   `UNSCALED_VALUE_TOO_LARGE_FOR_PRECISION` is duplicated to 
`NUMERIC_VALUE_OUT_OF_RANGE`.
   
   We should have one unique error class for similar cases to reduce the 
maintenance cost.
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   
   ### How was this patch tested?
   
   ```
   ./build/sbt “sql/testOnly org.apache.spark.sql.SQLQueryTestSuite*”
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to