Skip to content

Implement arrow-row encoding/decoding for view types#5922

Merged
alamb merged 17 commits intoapache:masterfrom
XiangpengHao:row-view
Jun 24, 2024
Merged

Implement arrow-row encoding/decoding for view types#5922
alamb merged 17 commits intoapache:masterfrom
XiangpengHao:row-view

Conversation

@XiangpengHao
Copy link
Contributor

Which issue does this PR close?

Closes #5921 .

Rationale for this change

The core of this pr is simple, just simple logic to allow GenericByteViewArray to be encoded/decoded to arrow-row.

To make things easy (and elegant), I made some opinionated changes:

  • Move comparing byte view elements to GenericByteView, rather than in ArrayOrd, so that the function can be used by anyone who have access to GenericByteView, rather than depending on arrow-ord
  • Move the core of casting GenericByteArray to GenericByteViewArray to GenericByteViewArray (rather than in the casting subcrate, for the same reason).

What changes are included in this PR?

Are there any user-facing changes?

Loading
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.

Implement arrow-row en/decoding for GenericByteView types

3 participants