Uh oh!
There was an error while loading. Please reload this page.
[SPARK-28280][PYTHON][SQL][TESTS][FOLLOW-UP] Add UDF cases into group by clause in 'udf-group-by.sql' - #25360
[SPARK-28280][PYTHON][SQL][TESTS][FOLLOW-UP] Add UDF cases into group by clause in 'udf-group-by.sql'#25360skonto wants to merge 1 commit into
Conversation
skonto
commented
Aug 5, 2019
@HyukjinKwon fyi. |
| -- The following query will make Scala UDF work, but Python and Pandas udfs will fail with an AnalysisException. | ||
| -- The query should be added after SPARK-28445. | ||
| -- SELECT udf(a + 1), udf(COUNT(b)) FROM testData GROUP BY udf(a + 1); | ||
| SELECT udf(a + 1), udf(COUNT(b)) FROM testData GROUP BY udf(a + 1); |
There was a problem hiding this comment.
Actually, @skonto, do you mind if I ask to put udf in some more places in this file? I just realised that this test cases for group-by basically and might be good to add udfs more at group-by places. Looks good otherwise.
There was a problem hiding this comment.
Ok I can do that, need some time, will get it fixed by tomorrow.
SparkQA
commented
Aug 5, 2019
Test build #108661 has finished for PR 25360 at commit
|
@HyukjinKwon I updated the PR, let me know if I need to add anything else. |
SparkQA
commented
Aug 6, 2019
Test build #108708 has finished for PR 25360 at commit
|
Uh oh!
There was an error while loading. Please reload this page.
skonto
commented
Aug 12, 2019
@HyukjinKwon done. |
SparkQA
commented
Aug 12, 2019
Test build #108973 has finished for PR 25360 at commit
|
What changes were proposed in this pull request?
This PR is a followup of a fix as described in here: #25215 (comment)
Diff comparing to 'group-by.sql'
How was this patch tested?
Tested as instructed in SPARK-27921.