[ https://issues.apache.org/jira/browse/SPARK-8770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin reopened SPARK-8770: -------------------------------- Reverted the commit since it failed Python tests. > 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 > Fix For: 1.5.0 > > > 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