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

Extension DType canonicalization behaves as other array types #500

Closed
wants to merge 1 commit into from

Conversation

robert3005
Copy link
Member

No description provided.

@@ -47,9 +47,17 @@ pub(crate) fn try_canonicalize_chunks(
// Extension arrays wrap an internal storage array, which can hold a ChunkedArray until
// it is safe to unpack them.
DType::Extension(ext_dtype, _) => {
if chunks.is_empty() {
Copy link
Member Author

Choose a reason for hiding this comment

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

there's a fun case of "What is the canonical storage type for an extension dtype"?

@robert3005 robert3005 closed this Jul 22, 2024
@robert3005 robert3005 deleted the rk/canonical branch July 22, 2024 20:31
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.

1 participant