Skip to content

Apache arrow exception when reading Float16: An ArrowArray cannot be built for type HalfFloat #30

Open
@NRHelmi

Description

@NRHelmi

Apache arrow cannot read Float16.
A query example that triggers the exception def output = float[16, 12], float[16, 42.5]

Unhandled exception: System.NotSupportedException: An ArrowArray cannot be built for type HalfFloat.
   at Apache.Arrow.ArrowArrayFactory.BuildArray(ArrayData data)
   at Apache.Arrow.Ipc.ArrowReaderImplementation.BuildArrays(Schema schema, ByteBuffer messageBuffer, RecordBatch recordBatchMessage)
   at Apache.Arrow.Ipc.ArrowReaderImplementation.CreateArrowObjectFromMessage(Message message, ByteBuffer bodyByteBuffer, IMemoryOwner`1 memoryOwner)
   at Apache.Arrow.Ipc.ArrowStreamReaderImplementation.<>c__DisplayClass9_0.<ReadRecordBatch>b__0(Memory`1 messageBuff)
   at Apache.Arrow.Ipc.ArrowStreamReaderImplementation.ReadRecordBatch()
   at Apache.Arrow.Ipc.ArrowStreamReaderImplementation.ReadNextRecordBatch()
   at Apache.Arrow.Ipc.ArrowStreamReader.ReadNextRecordBatch()

Seems not to be handled at the library level

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions