Skip to content
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

FEAT: Spark UDFs #1885

Merged
merged 51 commits into from
Aug 2, 2019
Merged

FEAT: Spark UDFs #1885

merged 51 commits into from
Aug 2, 2019

Conversation

amroid
Copy link
Contributor

@amroid amroid commented Jul 16, 2019

Closes #1889

amroid added 30 commits June 5, 2019 15:57
…rewrite for any, notany, all, notall to use max and min instead of sum
…ues, added floor option in convert_unit in util.py
…ter argument checking with the signature (now errors if too many arguments are passed to a UDF)
@cpcloud cpcloud self-requested a review July 18, 2019 21:11
@cpcloud cpcloud added this to the Next Feature Release milestone Jul 18, 2019
@cpcloud cpcloud added the spark label Jul 18, 2019
@cpcloud cpcloud changed the title Spark udf FEAT: Spark UDFs Jul 18, 2019
@cpcloud
Copy link
Member

cpcloud commented Jul 25, 2019

@amroid Looks like a few merge conflicts.

@pep8speaks
Copy link

pep8speaks commented Jul 26, 2019

Hello @amroid! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2019-07-31 20:39:41 UTC

Copy link
Member

@cpcloud cpcloud left a comment

Choose a reason for hiding this comment

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

Nice job on abstracting out the details of the various spark UDFs! One or two more rounds of review and this should be good to go.

ibis/spark/tests/test_udf.py Outdated Show resolved Hide resolved
ibis/spark/tests/test_udf.py Outdated Show resolved Hide resolved
ibis/spark/tests/test_udf.py Outdated Show resolved Hide resolved
ibis/spark/tests/test_udf.py Outdated Show resolved Hide resolved
ibis/spark/tests/test_udf.py Outdated Show resolved Hide resolved
ibis/spark/udf.py Outdated Show resolved Hide resolved
ibis/spark/udf.py Outdated Show resolved Hide resolved
ibis/spark/udf.py Outdated Show resolved Hide resolved
ibis/spark/udf.py Outdated Show resolved Hide resolved
ibis/spark/client.py Outdated Show resolved Hide resolved
…as, some changes to test_udf, fix bug in spark compiler SparkContext class
Copy link
Member

@cpcloud cpcloud left a comment

Choose a reason for hiding this comment

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

Some changes needed as a result of the most recent set of updates.

ibis/spark/tests/test_udf.py Outdated Show resolved Hide resolved
ibis/spark/tests/test_udf.py Outdated Show resolved Hide resolved
ibis/spark/tests/test_udf.py Outdated Show resolved Hide resolved
ibis/spark/tests/test_udf.py Outdated Show resolved Hide resolved
ibis/spark/tests/test_udf.py Outdated Show resolved Hide resolved
@cpcloud cpcloud merged commit 96f4ea4 into ibis-project:master Aug 2, 2019
@cpcloud
Copy link
Member

cpcloud commented Aug 2, 2019

Thanks @amroid! Great work!

@amroid amroid deleted the spark-udf branch August 2, 2019 18:24
@cpcloud cpcloud modified the milestones: Next Feature Release, Next Major Release Aug 26, 2019
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.

FEAT: Add UDF support to spark
3 participants