[ 
https://issues.apache.org/jira/browse/SPARK-8770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14611101#comment-14611101
 ] 

Apache Spark commented on SPARK-8770:
-------------------------------------

User 'rxin' has created a pull request for this issue:
https://github.com/apache/spark/pull/7170

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to