-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
REGR: MultiIndex.join does not work for ea dtypes #49284
Conversation
@@ -4636,8 +4636,9 @@ def join( | |||
return self._join_non_unique(other, how=how) | |||
elif not self.is_unique or not other.is_unique: | |||
if self.is_monotonic_increasing and other.is_monotonic_increasing: | |||
if self._can_use_libjoin: | |||
if not is_interval_dtype(self.dtype): |
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.
So _can_use_libjoin
shouldn't be updated instead?
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.
No, in most cases going through object dtype is slower than the alternative. In our case here the alternative can not handle non interval dtype
# otherwise we will fall through to _join_via_get_indexer | ||
# go through object dtype for ea till engine is supported properly |
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.
Do we have a GH issue related to an engine for EAs?
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.
# Conflicts: # doc/source/whatsnew/v1.5.2.rst
good to merge @mroeschke ? |
Thanks @phofl |
Oops, something went wrong applying the patch ... Please have a look at my logs. |
* REGR: MultiIndex.join does not work for ea dtypes * Update base.py (cherry picked from commit f82b1c6)
* REGR: MultiIndex.join does not work for ea dtypes * Update base.py
* REGR: MultiIndex.join does not work for ea dtypes * Update base.py
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.This can not fall through for regular ea dtypes, rather go through object path