This is an automated email from the ASF dual-hosted git repository.
zeroshade pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new aca1d3eeed GH-35770: [Go][Documentation] Update TimestampType zero
value as seconds in comment (#37905)
aca1d3eeed is described below
commit aca1d3eeed3775c2f02e9f5d59d62478267950b1
Author: ismail simsek <[email protected]>
AuthorDate: Wed Sep 27 17:51:05 2023 +0200
GH-35770: [Go][Documentation] Update TimestampType zero value as seconds in
comment (#37905)
### Rationale for this change
To clear the confusion around the zero value of `TimestampType`
### What changes are included in this PR?
Just a comment change `nanosecond -> second`
### Are these changes tested?
No need to test
### Are there any user-facing changes?
No
Closes: https://github.com/apache/arrow/issues/35770
* Closes: #35770
Authored-by: ismail simsek <[email protected]>
Signed-off-by: Matt Topol <[email protected]>
---
go/arrow/datatype_fixedwidth.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/go/arrow/datatype_fixedwidth.go b/go/arrow/datatype_fixedwidth.go
index 7f62becdc2..fc0b3aea56 100644
--- a/go/arrow/datatype_fixedwidth.go
+++ b/go/arrow/datatype_fixedwidth.go
@@ -347,7 +347,7 @@ type TemporalWithUnit interface {
}
// TimestampType is encoded as a 64-bit signed integer since the UNIX epoch
(2017-01-01T00:00:00Z).
-// The zero-value is a nanosecond and time zone neutral. Time zone neutral can
be
+// The zero-value is a second and time zone neutral. Time zone neutral can be
// considered UTC without having "UTC" as a time zone.
type TimestampType struct {
Unit TimeUnit