Skip to content

[Go][FlightRPC] FlightSQL driver should support conversion from Arrow's array.Duration type  #40888

@waynr

Description

@waynr

Describe the enhancement requested

In the tool I'm working with I get the following when attempting to use FlightRPC's golang sql interface to read query results that include an array.Duration:

error   iterating rows failed: type *array.Duration: not supported

I tracked this error message down to here: https://github.com/apache/arrow/blob/main/go/arrow/flight/flightsql/driver/utils.go#L114

And the arrow type down to here: https://github.com/apache/arrow/blob/main/go/arrow/array/numeric.gen.go#L1340-L1344

I'll open a PR after opening this issue because I found it was a simple two line fix for me.

Component(s)

FlightRPC, Go

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions