ddl-gabrielhaim opened a new issue, #35770: URL: https://github.com/apache/arrow/issues/35770
### Describe the bug, including details regarding any error messages, version, and platform. The godoc mentions the zero value of `arrow.TimestampType` should be nanosecond UTC (see https://github.com/apache/arrow/blob/main/go/arrow/datatype_fixedwidth.go#L340) but the `arrow.TimeUnit` seems to default to seconds (https://github.com/apache/arrow/blob/main/go/arrow/datatype_fixedwidth.go#L327) ```golang package main import ( "fmt" "github.com/apache/arrow/go/v13/arrow" ) func main() { t1 := arrow.TimestampType{Unit: 3} t2 := arrow.TimestampType{} fmt.Printf("Timestamp Unit 3: %s\n", t1.Unit) fmt.Printf("Timestamp Unit default: %s\n", t2.Unit) } ``` output: ``` Timestamp Unit 3: ns Timestamp Unit default: s ``` ### Component(s) Go -- 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]
