Skip to content

[C++] Support casting to and from utf8_view/binary_view #42247

Description

@felipecrv

Describe the enhancement requested

There are 3 categories of binary/string-like types in Arrow:

  • Span = utf8 | large_utf8 | binary | large_binary
  • Fixed = fixed_size_binary
  • View = utf8_view | binary_view

They can cast between themselves when a View is not involved:

InputOutputCanCast
SpanFixedX
FixedSpanX
SpanView
FixedView
ViewFixed
ViewSpan

String views should behave similarly to strings when it comes to casts.

Component(s)

C++

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions