Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NRHelmi opened this issue Sep 11, 2022 · 1 comment
Labels

Comments

@NRHelmi
Copy link
Contributor

NRHelmi commented Sep 11, 2022

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

@bradlo bradlo added type:bug Something isn't working component:rai-sdk-csharp labels Oct 5, 2022
@billscheidel-rai
Copy link

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-6854.

This link is only accessible to employees of RelationalAI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants