Skip to content

Add resolve_batches, check_unify_batch_dtype, and entry-type From impls - #203

Merged
pbower merged 1 commit into
mainfrom
extend_mixed_arrays
Sep 16, 2026
Merged

pbower merged 1 commit into
mainfrom
extend_mixed_arrays

Conversation

@pbower

@pbower pbower commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@pbower
pbower force-pushed the extend_mixed_arrays branch from 8f673da to 8a38e06 Compare September 16, 2026 03:58
@pbower pbower changed the title Add resolve_batches, confirm_batch_dtype and entry-type From impls Add resolve_batches, check_unify_batch_dtype, and entry-type From impls Sep 16, 2026
@pbower
pbower force-pushed the extend_mixed_arrays branch from 442e3f7 to 797fa14 Compare September 16, 2026 04:23
@pbower
pbower force-pushed the extend_mixed_arrays branch from 84eb89b to 7dad4e6 Compare September 16, 2026 04:32
@pbower

pbower commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator Author

Contents

Adds batch type resolution for SuperArray and SuperArrayV for the allow_mixed_array_batches feature.

  • Array::check_unify_batch_dtype converts an array to a target Field dtype using existing cast methods, falling back to an all-null array for incompatible families.
    - SuperArrayV::resolve_batches and SuperArray::resolve_batches apply per-batch resolution with categorical dictionary merge.
  • Added From impls for SuperArrayV
  • SuperArrayV::consolidate returns a zero-row typed array on empty views instead of panicking.

@pbower
pbower merged commit 346e8e1 into main Sep 16, 2026
17 checks passed
@pbower
pbower deleted the extend_mixed_arrays branch September 16, 2026 04:35
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