Github user cloud-fan commented on the issue:
https://github.com/apache/spark/pull/20023
hmmm, even we can add many modes like hive mode, postgres mode, etc. we
should still make the default/native mode reasonable. It seems more reasonable
to truncate the values instead of returning null, in the case of precision
lose. @gatorsmile WDYT? Overflow is another story and we should still return
null, but introduce a strict mode to throw exception for this case.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]