-
Notifications
You must be signed in to change notification settings - Fork 915
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 tests of reflected ufuncs and fix behavior of logical reflected ufuncs #10261
Add tests of reflected ufuncs and fix behavior of logical reflected ufuncs #10261
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-22.04 #10261 +/- ##
=============================================
Coverage 10.42% 10.42%
=============================================
Files 119 122 +3
Lines 20603 20588 -15
=============================================
- Hits 2148 2147 -1
+ Misses 18455 18441 -14
Continue to review full report at Codecov.
|
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.
Approving because this fixes a bug that is blocking Dask-SQL. A couple small comments below.
bc2adad
to
f516dfa
Compare
@gpucibot merge |
This PR fixes cases like
cupy.array([1, 2, 3]) < cudf.Series([1, 2, 3])
. The code would previously attempt to find a reflected operatorSeries.__rle__
, but no such operator exists because of the inherent symmetry in comparison operators. These changes fix the detection of such operators to just use operator__ge__
in this case.