Uh oh!
There was an error while loading. Please reload this page.
[SPARK-8226][SQL]Add function shiftrightunsigned - #7035
Conversation
zhichao-li
commented
Jun 26, 2015
AmplabJenkins
commented
Jun 26, 2015
Merged build triggered. |
AmplabJenkins
commented
Jun 26, 2015
Merged build started. |
There was a problem hiding this comment.
you can construct an seq and use contains()
There was a problem hiding this comment.
almost the same thing for the performance point the view? any way it might be more concise by using seq.
SparkQA
commented
Jun 26, 2015
Test build #35840 has started for PR 7035 at commit |
SparkQA
commented
Jun 26, 2015
Test build #35840 has finished for PR 7035 at commit
|
AmplabJenkins
commented
Jun 26, 2015
Merged build finished. Test FAILed. |
zhichao-li
commented
Jun 29, 2015
retest this please |
AmplabJenkins
commented
Jun 29, 2015
Merged build triggered. |
AmplabJenkins
commented
Jun 29, 2015
Merged build started. |
SparkQA
commented
Jun 29, 2015
Test build #35949 has started for PR 7035 at commit |
SparkQA
commented
Jun 29, 2015
Test build #35949 has finished for PR 7035 at commit
|
AmplabJenkins
commented
Jun 29, 2015
Merged build finished. Test PASSed. |
chenghao-intel
commented
Jun 30, 2015
6bdd7f1 to
b973ac7CompareAmplabJenkins
commented
Jul 2, 2015
Merged build triggered. |
AmplabJenkins
commented
Jul 2, 2015
Merged build started. |
SparkQA
commented
Jul 2, 2015
Test build #36338 has started for PR 7035 at commit |
SparkQA
commented
Jul 2, 2015
Test build #36338 has finished for PR 7035 at commit
|
AmplabJenkins
commented
Jul 2, 2015
Merged build finished. Test FAILed. |
AmplabJenkins
commented
Jul 2, 2015
Merged build triggered. |
AmplabJenkins
commented
Jul 2, 2015
Merged build started. |
SparkQA
commented
Jul 2, 2015
Test build #36346 has started for PR 7035 at commit |
SparkQA
commented
Jul 2, 2015
Test build #36346 has finished for PR 7035 at commit
|
AmplabJenkins
commented
Jul 2, 2015
Merged build finished. Test PASSed. |
There was a problem hiding this comment.
Or
abstractclassBitwiseShiftExpressionextendsExpression {
defvalue:Expressiondefbits:Expression
...
}945a45d to
d85ae0bCompareAmplabJenkins
commented
Jul 3, 2015
Merged build triggered. |
AmplabJenkins
commented
Jul 3, 2015
Merged build started. |
zhichao-li
commented
Jul 3, 2015
SparkQA
commented
Jul 3, 2015
Test build #36473 has started for PR 7035 at commit |
SparkQA
commented
Jul 3, 2015
Test build #36473 has finished for PR 7035 at commit
|
AmplabJenkins
commented
Jul 3, 2015
Merged build finished. Test FAILed. |
AmplabJenkins
commented
Jul 3, 2015
Merged build triggered. |
AmplabJenkins
commented
Jul 3, 2015
Merged build started. |
SparkQA
commented
Jul 3, 2015
Test build #36476 has started for PR 7035 at commit |
There was a problem hiding this comment.
That one is interesting. Have you seen my comment? Can you have a look on that gist: https://gist.github.com/tarekauel/6994983b83a51668c5dc. Am I getting something wrong?
There was a problem hiding this comment.
humm, using pattern match with a typed pattern is indeed a best practice in scala rather than type tests and casts. @chenghao-intel any comments?
There was a problem hiding this comment.
Just after a second thought the two styles should not have such huge difference. By reducing one parameter: dataType , the testing result is quite close.
https://gist.github.com/zhichao-li/bff04ed95ef72d09d0e9 A: 10 B: 26
but anyway, seems like pattern match with a typed pattern is a little bit faster, if no objections, I'm going to revert to that style.
There was a problem hiding this comment.
Yeah, I was surprised too. Thanks for figuring out!
There was a problem hiding this comment.
Have you ever try something like https://github.com/apache/spark/pull/7034/files#diff-d788f93e29b4d25cdd7d60328587678bR359 ?
Since the data type is fixed once the expression created, I don't think we need to check the data type during the runtime, even we don't need the pattern match at all in eval (in runtime).
SparkQA
commented
Jul 3, 2015
Test build #36476 has finished for PR 7035 at commit
|
AmplabJenkins
commented
Jul 3, 2015
Merged build finished. Test PASSed. |
AmplabJenkins
commented
Jul 3, 2015
Merged build triggered. |
AmplabJenkins
commented
Jul 3, 2015
Merged build started. |
SparkQA
commented
Jul 3, 2015
Test build #36490 has started for PR 7035 at commit |
SparkQA
commented
Jul 3, 2015
Test build #36490 has finished for PR 7035 at commit
|
AmplabJenkins
commented
Jul 3, 2015
Merged build finished. Test PASSed. |
davies
commented
Jul 3, 2015
LGTM, merging this into master, thanks! |
No description provided.