Skip to content

[Java] Remove usage of PlatformDependent in arrow-vector #14912

Description

@gf2121

Describe the enhancement requested

For some reason our system need to set netty param io.netty.noUnsafe=true. We have replaced arrow-memory-netty with arrow-memory-unsafe. But there are still some utils in arrow-vector like DictionaryEecoder, VectorSchemaRootAppender using PlatformDependent which will cause NullPointerException when io.netty.noUnsafe=true .

IMO netty params should not affect the work of arrow-vector, can we replace the usage of PlatformDependent by ArrowBuf#setxxx ?

Component(s)

Java

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