You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Jack McCluskey (Jira)" <ji...@apache.org> on 2022/02/22 21:45:00 UTC

[jira] [Created] (BEAM-13988) Update mtime package to use time.UnixMilli()

Jack McCluskey created BEAM-13988:
-------------------------------------

             Summary: Update mtime package to use time.UnixMilli()
                 Key: BEAM-13988
                 URL: https://issues.apache.org/jira/browse/BEAM-13988
             Project: Beam
          Issue Type: Improvement
          Components: sdk-go
            Reporter: Jack McCluskey


Update the `mtime` package's [FromTime() function|https://github.com/apache/beam/blob/5345834a86c422347556e0bce7e5dd20e4854e44/sdks/go/pkg/beam/core/graph/mtime/time.go#L67] to use the `time` package's [UnixMilli() function|https://pkg.go.dev/time#UnixMilli] instead of doing the unit conversion from nanoseconds to milliseconds once the minimum Go version for the Beam Go SDK is at or above 1.17. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)