commit | 9593943f83ddfe78d270546c9a66955cd8b7a79a | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Mon Mar 06 16:28:02 2023 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Tue Mar 07 02:01:11 2023 +0000 |
tree | 82528a0aceeba2ebeb8663bfa2e744f18504e0dc | |
parent | f670a8649ee817d1e6ef4204b8b681bec266cbf1 [diff] |
internal/bigquery: require SetUploadTime Previously, bigquery.Client.Upload called SetUploadTime only if a row implemented that method. That resulted in a bug where analysis results did not have their CreatedAt column populated. Since we expect everything we write to BigQuery will be timestamped, require the SetUploadTime method. Change-Id: I7c499e0beff88d0d34a8bd1c95e6f8631cb9a348 Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/473777 Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This repository contains code that serves pkg.go.dev/metrics.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.