Skip to content

Conversation

xxlaykxx
Copy link

@xxlaykxx xxlaykxx commented Apr 23, 2025

Based on changes from apache/arrow#41731.

What's Changed

Added writer ExtensionWriter with 3 methods:

  • write method for writing values from Extension holders;
  • writeExtensionType method for writing values (arguments is Object because we don't know exact type);
  • addExtensionTypeFactory method - because the exact vector and value type are unknown, the user should create their own extension type vector, write for it, and ExtensionTypeFactory, which should map the vector and writer.

Closes apache#87.

Based on changes from apache/arrow#41731.

## What's Changed

Added writer ExtensionWriter with 3 methods:
- write method  for writing values from Extension holders;
- writeExtensionType method for writing values (arguments is Object
because we don't know exact type);
- addExtensionTypeFactory method - because the exact vector and value
type are unknown, the user should create their own extension type
vector, write for it, and ExtensionTypeFactory, which should map the
vector and writer.

Closes apache#87.

Co-authored-by: Finn Völkel <[email protected]>
@xxlaykxx xxlaykxx requested a review from laurentgo as a code owner April 23, 2025 06:46
Copy link

Thank you for opening a pull request!

Please label the PR with one or more of:

  • bug-fix
  • chore
  • dependencies
  • documentation
  • enhancement

Also, add the 'breaking-change' label if appropriate.

See CONTRIBUTING.md for details.

@xxlaykxx xxlaykxx merged commit 337eac2 into dremio_26.1_19.0.1 Apr 29, 2025
17 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant