You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/07/02 00:25:04 UTC

[jira] [Created] (SPARK-8770) BinaryOperator expression

Reynold Xin created SPARK-8770:
----------------------------------

             Summary: BinaryOperator expression
                 Key: SPARK-8770
                 URL: https://issues.apache.org/jira/browse/SPARK-8770
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
            Reporter: Reynold Xin
            Assignee: Reynold Xin


Our current BinaryExpression abstract class is not for generic binary expressions, i.e. it requires left/right children to have the same type. However, due to its name, contributors build new binary expressions that don't have that assumption (e.g. Sha) and still extend BinaryExpression.

We should create a new BinaryOperator abstract class with this assumption, and update the analyzer to only apply type casting rule there.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org