Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/5616#discussion_r29213040
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/arithmetic.scala
---
@@ -83,8 +83,8 @@ abstract class BinaryArithmetic extends BinaryExpression {
def dataType: DataType = {
if (!resolved) {
- throw new UnresolvedException(this,
- s"datatype. Can not resolve due to differing types
${left.dataType}, ${right.dataType}")
+ throw new UnresolvedException(this, "Unresolved datatype. Can not
resolve due to " +
--- End diff --
I just realized UnresolvedException has a pretty weird definition.
https://github.com/apache/spark/blob/4754e16f4746ebd882b2ce7f1efc6e4d4408922c/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala#L31
...
---
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]