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

Add udf compiler unit tests #583

Merged
merged 9 commits into from
Aug 29, 2020
Merged

Conversation

wjxiz1992
Copy link
Collaborator

@wjxiz1992 wjxiz1992 commented Aug 19, 2020

  • This change includes unit tests for implemented udf opcodes

@sameerz sameerz added the test Only impacts tests label Aug 19, 2020
@seanprime7

This comment has been minimized.

@wjxiz1992 wjxiz1992 force-pushed the udf-tests branch 2 times, most recently from 06e1522 to 6bc645f Compare August 20, 2020 06:59
@wjxiz1992 wjxiz1992 marked this pull request as ready for review August 20, 2020 06:59
@wjxiz1992
Copy link
Collaborator Author

build

@wjxiz1992 wjxiz1992 self-assigned this Aug 20, 2020
seanprime7
seanprime7 previously approved these changes Aug 20, 2020
- This change includes unit tests for implemented udf opcodes

Signed-off-by: Allen Xu <allxu@nvidia.com>

Co-authored-by: Sean Lee <selee@nvidia.com>
Co-authored-by: Nicholas Edelman <nedelman@nvidia.com>
Co-authored-by: Alessandro Bellina <abellina@nvidia.com>
@abellina
Copy link
Collaborator

build

Signed-off-by: Allen Xu <allxu@nvidia.com>
Signed-off-by: Sean Lee <selee@nvidia.com>
Signed-off-by: Sean Lee <selee@nvidia.com>
Signed-off-by: Sean Lee <selee@nvidia.com>
Signed-off-by: Allen Xu <allxu@nvidia.com>
@seanprime7
Copy link
Contributor

cc @nvnedelman

Copy link
Collaborator

@abellina abellina left a comment

Choose a reason for hiding this comment

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

I have one small nit @wjxiz1992 @seanprime7.

Note I'll need to check the build times, I think it was somewhat slower with the udf compiler tests, but I'll run the CI again and compare where we are at.

@abellina
Copy link
Collaborator

build

Signed-off-by: Allen Xu <allxu@nvidia.com>
x.except(y) doesn't actually perform element-wise comparison
between x and y.  It returns a new dataframe with the rows from
x that do not appear in y.
It was producing false-positives with some unit tests.

Signed-off-by: Sean Lee <selee@nvidia.com>
Signed-off-by: Sean Lee <selee@nvidia.com>
@abellina
Copy link
Collaborator

build

@abellina abellina merged commit d9c94ba into NVIDIA:branch-0.2 Aug 29, 2020
@wjxiz1992 wjxiz1992 deleted the udf-tests branch December 18, 2020 03:48
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
* Add udf compiler unit tests

- This change includes unit tests for implemented udf opcodes

Signed-off-by: Allen Xu <allxu@nvidia.com>

Co-authored-by: Sean Lee <selee@nvidia.com>
Co-authored-by: Nicholas Edelman <nedelman@nvidia.com>
Co-authored-by: Alessandro Bellina <abellina@nvidia.com>

* Remove extra space lines in tests

Signed-off-by: Allen Xu <allxu@nvidia.com>

* Remove irrelevant comment

Signed-off-by: Sean Lee <selee@nvidia.com>

* Get the store index correctly

Signed-off-by: Sean Lee <selee@nvidia.com>

* Fix the ldc test

Signed-off-by: Sean Lee <selee@nvidia.com>

* Mark un-compiled test cases

Signed-off-by: Allen Xu <allxu@nvidia.com>

* Rename fall-back test cases

Signed-off-by: Allen Xu <allxu@nvidia.com>

* Fix column comparison

x.except(y) doesn't actually perform element-wise comparison
between x and y.  It returns a new dataframe with the rows from
x that do not appear in y.
It was producing false-positives with some unit tests.

Signed-off-by: Sean Lee <selee@nvidia.com>

* Improve the column comparison performance further

Signed-off-by: Sean Lee <selee@nvidia.com>

Co-authored-by: Allen Xu <allxu@nvidia.com>
Co-authored-by: Sean Lee <selee@nvidia.com>
Co-authored-by: Nicholas Edelman <nedelman@nvidia.com>
Co-authored-by: Alessandro Bellina <abellina@nvidia.com>
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
* Add udf compiler unit tests

- This change includes unit tests for implemented udf opcodes

Signed-off-by: Allen Xu <allxu@nvidia.com>

Co-authored-by: Sean Lee <selee@nvidia.com>
Co-authored-by: Nicholas Edelman <nedelman@nvidia.com>
Co-authored-by: Alessandro Bellina <abellina@nvidia.com>

* Remove extra space lines in tests

Signed-off-by: Allen Xu <allxu@nvidia.com>

* Remove irrelevant comment

Signed-off-by: Sean Lee <selee@nvidia.com>

* Get the store index correctly

Signed-off-by: Sean Lee <selee@nvidia.com>

* Fix the ldc test

Signed-off-by: Sean Lee <selee@nvidia.com>

* Mark un-compiled test cases

Signed-off-by: Allen Xu <allxu@nvidia.com>

* Rename fall-back test cases

Signed-off-by: Allen Xu <allxu@nvidia.com>

* Fix column comparison

x.except(y) doesn't actually perform element-wise comparison
between x and y.  It returns a new dataframe with the rows from
x that do not appear in y.
It was producing false-positives with some unit tests.

Signed-off-by: Sean Lee <selee@nvidia.com>

* Improve the column comparison performance further

Signed-off-by: Sean Lee <selee@nvidia.com>

Co-authored-by: Allen Xu <allxu@nvidia.com>
Co-authored-by: Sean Lee <selee@nvidia.com>
Co-authored-by: Nicholas Edelman <nedelman@nvidia.com>
Co-authored-by: Alessandro Bellina <abellina@nvidia.com>
tgravescs pushed a commit to tgravescs/spark-rapids that referenced this pull request Nov 30, 2023
…IDIA#583)

Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com>

Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants