commit | 06efb29314fa0641ff2176ffb926f85e9c7ed05f | [log] [tgz] |
---|---|---|
author | Beining Chen <beining@google.com> | Tue May 20 04:33:56 2025 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 20 04:33:56 2025 |
tree | 80c7b3f5bf63475fab412efd5bfcf7cfa903ab35 | |
parent | 7004c7de06d4346ce10cbba90df138839fdda37c [diff] |
[common][analysis] Add BigQuery Schema Option for Default Values This change introduces a new option to specify default values within the BigQuery schema proto definition. Motivation: * Prevent Overrides: The primary goal is to safeguard against unintentional removal of manually added default values in BigQuery table schemas. While the current schemaaplyer.go does not override existing field default values, this behavior isn't guaranteed indefinitely. * Ensure Consistency: By defining the default value in the codebase, we improve the consistency between our schema definitions and the actual state of the BigQuery tables. Further details regarding this default value option can be found in common/bq/pb/options.proto Also, add default value option to insert_time in AntsTestResultRow. Bug: b:408309587 Change-Id: I820c3ee46de0387b359d870a32c5b6753cf353d0 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/6539369 Reviewed-by: Patrick Meiring <meiring@google.com> Commit-Queue: Beining Chen <beining@google.com>
LUCI Go code is meant to be worked on from an Chromium infra.git checkout, which enforces packages versions and Go toolchain version. First get fetch via depot_tools.git then run:
fetch infra cd infra/go eval `./env.py` cd src/go.chromium.org/luci
It is now possible to directly install tools with go install:
go install go.chromium.org/luci/auth/client/cmd/...@latest go install go.chromium.org/luci/buildbucket/cmd/...@latest go install go.chromium.org/luci/cipd/client/cmd/...@latest go install go.chromium.org/luci/client/cmd/...@latest go install go.chromium.org/luci/cv/cmd/...@latest go install go.chromium.org/luci/gce/cmd/...@latest go install go.chromium.org/luci/grpc/cmd/...@latest go install go.chromium.org/luci/logdog/client/cmd/...@latest go install go.chromium.org/luci/luci_notify/cmd/...@latest go install go.chromium.org/luci/lucicfg/cmd/...@latest go install go.chromium.org/luci/luciexe/legacy/cmd/...@latest go install go.chromium.org/luci/mailer/cmd/...@latest go install go.chromium.org/luci/mmutex/cmd/...@latest go install go.chromium.org/luci/resultdb/cmd/...@latest go install go.chromium.org/luci/server/cmd/...@latest go install go.chromium.org/luci/swarming/cmd/...@latest go install go.chromium.org/luci/tokenserver/cmd/...@latest go install go.chromium.org/luci/tools/cmd/...@latest
Contributing uses the same flow as Chromium contributions.