Uh oh!
There was an error while loading. Please reload this page.
[SPARK-25141][SQL][TEST] Modify tests for higher-order functions to check bind method. - #22131
[SPARK-25141][SQL][TEST] Modify tests for higher-order functions to check bind method.#22131ueshin wants to merge 5 commits into
Conversation
ueshin
commented
Aug 17, 2018
mgaido91
commented
Aug 17, 2018
I am not sure about this. I think that the |
ueshin
commented
Aug 17, 2018
Actually one of my motivations is to prevent a mistake like #22126. To create a test, we needed to do the same thing in |
mgaido91
commented
Aug 17, 2018
I see now, thanks. The only thing which I am a bit concerned about is the complexity introduced by this change, in the sense that it is relying very much on the Can we add a generic function similar to the |
mgaido91
commented
Aug 17, 2018
sorry, I wasn't very specific in my previous comment. I meant adding a method like: and then validate all the expressions, so use it like: What do you think about this? |
SparkQA
commented
Aug 17, 2018
Test build #94883 has finished for PR 22131 at commit
|
ueshin
commented
Aug 17, 2018
Sounds good. I just hope we will never miss to wrap new functions with it. Thanks! |
mgaido91
commented
Aug 17, 2018
yes, this is my worry too... But I don't have any suggestion for that.... If you have anyone, that's great :) |
mgaido91
commented
Aug 17, 2018
LGTM |
mn-mikke
commented
Aug 17, 2018
LGTM too |
SparkQA
commented
Aug 17, 2018
Test build #94887 has finished for PR 22131 at commit
|
SparkQA
commented
Aug 17, 2018
Test build #94888 has finished for PR 22131 at commit
|
SparkQA
commented
Aug 17, 2018
Test build #94891 has finished for PR 22131 at commit
|
ueshin
commented
Aug 18, 2018
SparkQA
commented
Aug 18, 2018
Test build #94919 has finished for PR 22131 at commit
|
mgaido91
commented
Aug 18, 2018
I preferred the previous one (but yes, definitely good to add the check about the args size), but I am fine with this one too. Thanks @ueshin |
ueshin
commented
Aug 19, 2018
Thanks! I'd use this one. merging to master. |
What changes were proposed in this pull request?
We should also check
HigherOrderFunction.bindmethod passes expected parameters.This pr modifies tests for higher-order functions to check
bindmethod.How was this patch tested?
Modified tests.