Skip to content

Conversation

@ravipesala
Copy link
Contributor

Currently there is no support of Bitwise & , | in Spark HiveQl and Spark SQL as well. So this PR support the same.
I am closing #2736 as it has conflicts to merge. And I handled all review comments in that PR.

Author : ravipesala [email protected]

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@ravipesala
Copy link
Contributor Author

@marmbrus Please review this PR, I handled review comments of PR #2736 to merge conflicts I have created new PR.

@ravipesala
Copy link
Contributor Author

Added support for Bitwise AND(&), OR(|) ,XOR(^), NOT(~) in this PR only. Please review it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why have a default implementation here? That is just converting something that could be caught at compile time to a runtime exception.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see because of the other binary expressions that also override eval. We should at least leave a note by changing the Exception to "BinaryExpressions must either override eval or evalInternal".

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@liancheng
Copy link
Contributor

Would you please rebase?

@ravipesala
Copy link
Contributor Author

Closed this PR as it has merge conflicts and created new PR #2926 and handled comments here

@ravipesala ravipesala closed this Oct 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants