Add quiet-down bq options to avoid setup messages
PiperOrigin-RevId: 325272828 Change-Id: I1317a175584e9138e30a1377a90443562d207424
This commit is contained in:
parent
f89cb21f74
commit
a8a50023bb
@ -247,8 +247,8 @@ def get_all_tested_commits():
|
|||||||
# COMMIT_HASH
|
# COMMIT_HASH
|
||||||
earliest_commit = gcloud(
|
earliest_commit = gcloud(
|
||||||
"bq", [
|
"bq", [
|
||||||
"--project_id", FLAGS.project, "query", "--format", "csv",
|
"--project_id", FLAGS.project, "--headless", "-q", "query",
|
||||||
"--nouse_legacy_sql"
|
"--format", "csv", "--nouse_legacy_sql"
|
||||||
],
|
],
|
||||||
stdin=query_earliest_included_commit)
|
stdin=query_earliest_included_commit)
|
||||||
|
|
||||||
@ -360,8 +360,9 @@ def main():
|
|||||||
writer = csv.writer(tsvfile, delimiter="\t", quoting=csv.QUOTE_MINIMAL)
|
writer = csv.writer(tsvfile, delimiter="\t", quoting=csv.QUOTE_MINIMAL)
|
||||||
writer.writerow(next_tsv_row)
|
writer.writerow(next_tsv_row)
|
||||||
gcloud("bq", [
|
gcloud("bq", [
|
||||||
"--project_id", FLAGS.project, "load", "--source_format", "CSV",
|
"--project_id", FLAGS.project, "--headless", "-q", "load",
|
||||||
"--field_delimiter", "tab", PROJECT_LEVEL_TABLE_NAME, "data.tsv", SCHEMA
|
"--source_format", "CSV", "--field_delimiter", "tab",
|
||||||
|
PROJECT_LEVEL_TABLE_NAME, "data.tsv", SCHEMA
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user