Github user marmbrus commented on the pull request:
https://github.com/apache/spark/pull/3821#issuecomment-69476014
I'm also still confused by this solution. The contract should be as
follows: internally we use catalyst mutable decimal type. thus, the UDF code
should only ever see that type. When we pass back to the user we should expose
the correct type of BigDecimal (but we might be consolidating this so we only
ever return the Java BigDecimal type).
/cc @rxin
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]