zeroshade commented on issue #39:
URL: https://github.com/apache/arrow-go/issues/39#issuecomment-3038034036
Given the error shown:
```
Parameter schema does not equal Placeholder schema. (...)
Received: (...) Field {name: \"$2\", data_type: Timestamp(Nanosecond,
Some(\"UTC\")), nullable: true, dict_id: 0, dict_is_ordered: false, metadata:
{} }
Expected: (...)Field { name: \"$2\", data_type: Timestamp(Nanosecond, None),
nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }
```
You should be able to just create a timestamp type with no time zone to
solve it:
```go
&arrow.TimestampType{Unit: arrow.Nanosecond}
```
The default `arrow.FixedWidthTypes.Timestamp_ns` uses a Time zone of "UTC"
whereas constructing the timestamp type yourself will leave the time zone as
the empty string, which would match the expected `None` from your error.
If that doesn't work, can you provide the code you're using to make the call
and what flight SQL server you're calling?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]