Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/14696
  
    from the previous 
discussion(https://github.com/apache/spark/pull/14389#issuecomment-236591342):
    > We also need to add some checks before applying the type widen rules, to 
avoid conflicting with DecimalPrecision, which defines some special rules for 
binary arithmetic about decimal type.
    
    Have you tried this?
    
    `push type coercion into each expression` is also in my plan, but it would 
be a very large change, we should have a design doc first and discuss it with 
some people. So I'd like to do this small refactor first, what do you think?


---
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]

Reply via email to