Skip to content

[Go] Can't use array.RecordBuilder,NewRecord when one of the fields has arrow.NullType #40719

@candiduslynx

Description

@candiduslynx

Describe the bug, including details regarding any error messages, version, and platform.

If we use new(arrow.NullType) as data type for one of the fields in the record, the array.RecordBuilder,NewRecord fails while validatiing the schema.

Workaround: use arrow.Null variable.

Proper fix:

var(
   Null = new(NullType)
)

in the code.

cc: @zeroshade

Component(s)

Go

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions