GitHub user rxin opened a pull request:
https://github.com/apache/spark/pull/7175
[SPARK-8772][SQL] Implement implicit type cast for expressions that defines
input types.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rxin/spark implicitCast
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/7175.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #7175
----
commit d8518cfb7d9ccfbf26ef4875f70d7bc1434464d6
Author: Reynold Xin <[email protected]>
Date: 2015-07-02T02:27:38Z
Updated Python tests.
commit fceb216b1ed10a111ce5cf4e6ba42f41723e643f
Author: Reynold Xin <[email protected]>
Date: 2015-07-02T02:31:26Z
Merge branch 'master' of github.com:apache/spark into binary-opterator
commit f31900d2157d79b32e1f10dc17682de0b2498eae
Author: Reynold Xin <[email protected]>
Date: 2015-07-01T23:56:48Z
[SPARK-8770][SQL] Create BinaryOperator abstract class.
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.
This patch creates a new BinaryOperator abstract class, and update the
analyzer o only apply type casting rule there. This patch also adds the notion
of "prettyName" to expressions, which defines the user-facing name for the
expression.
Author: Reynold Xin <[email protected]>
Closes #7170 from rxin/binaryoperator and squashes the following commits:
51264a5 [Reynold Xin] [SPARK-8770][SQL] Create BinaryOperator abstract
class.
commit daa849b961e811fb975f1d741a81d7a79efc0cb4
Author: Reynold Xin <[email protected]>
Date: 2015-07-02T02:39:20Z
[SPARK-8772][SQL] Implement implicit type cast for expressions that defines
input types.
----
---
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]