-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-28278][SQL][PYTHON][TESTS] Convert and port 'except-all.sql' into UDF test base #25090
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
sql/core/src/test/resources/sql-tests/inputs/udf/udf-except-all.sql
Outdated
Show resolved
Hide resolved
add to whitelist |
Test build #107434 has finished for PR 25090 at commit
|
retest this please |
Test build #107451 has finished for PR 25090 at commit
|
sql/core/src/test/resources/sql-tests/results/udf/udf-except-all.sql.out
Show resolved
Hide resolved
Test build #107501 has finished for PR 25090 at commit
|
retest this please |
sql/core/src/test/resources/sql-tests/inputs/udf/udf-except-all.sql
Outdated
Show resolved
Hide resolved
sql/core/src/test/resources/sql-tests/inputs/udf/udf-except-all.sql
Outdated
Show resolved
Hide resolved
sql/core/src/test/resources/sql-tests/inputs/udf/udf-except-all.sql
Outdated
Show resolved
Hide resolved
sql/core/src/test/resources/sql-tests/inputs/udf/udf-except-all.sql
Outdated
Show resolved
Hide resolved
Looks fine otherwise. |
Test build #107819 has finished for PR 25090 at commit
|
@HyukjinKwon, I think I addressed all your comments. Please re-review this. Thanks! |
-- Empty right relation | ||
SELECT udf(c1) FROM tab1 | ||
EXCEPT ALL | ||
SELECT udf(c1) FROM tab2 WHERE udf(c1 > udf(6)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it intentionally to do udf(6)
? Not udf(c1) > 6
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I am trying a different combination of udf
s.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, it's kind of a bit random but let's test different cases while we're here..
Test build #107825 has finished for PR 25090 at commit
|
retest this please |
Test build #107832 has finished for PR 25090 at commit
|
Looks there is no notable diff. Merged to master. |
What changes were proposed in this pull request?
This PR adds some tests converted from
except-all.sql
to test UDFs. Please see contribution guide of this umbrella ticket - SPARK-27921.Diff comparing to 'except-all.sql'
How was this patch tested?
Tested as guided in SPARK-27921.