Skip to content

Conversation

Weijun-H
Copy link
Member

@Weijun-H Weijun-H commented Oct 13, 2025

Which issue does this PR close?

Closes #8351

Rationale for this change

What changes are included in this PR?

This PR refactors and improves the Display formatting for DataType by:

  • Improving Union type display - now shows field information with parentheses for clarity: Union(Sparse, 0: ('a': Int32), 1: ('b': nullable Utf8))
  • Improving RunEndEncoded type display - now properly formats both run_ends and values fields: RunEndEncoded('run_ends': UInt32, 'values': nullable Int32)

Are these changes tested?

Yes

Are there any user-facing changes?

@github-actions github-actions bot added the arrow Changes to the arrow crate label Oct 13, 2025
@Weijun-H Weijun-H changed the title feat: Improve DataType display formatting for fields and RunEndEncoded feat: Improve DataType display for RunEndEncoded Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Display for DataType

1 participant