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
|
||||
earliest_commit = gcloud(
|
||||
"bq", [
|
||||
"--project_id", FLAGS.project, "query", "--format", "csv",
|
||||
"--nouse_legacy_sql"
|
||||
"--project_id", FLAGS.project, "--headless", "-q", "query",
|
||||
"--format", "csv", "--nouse_legacy_sql"
|
||||
],
|
||||
stdin=query_earliest_included_commit)
|
||||
|
||||
@ -360,8 +360,9 @@ def main():
|
||||
writer = csv.writer(tsvfile, delimiter="\t", quoting=csv.QUOTE_MINIMAL)
|
||||
writer.writerow(next_tsv_row)
|
||||
gcloud("bq", [
|
||||
"--project_id", FLAGS.project, "load", "--source_format", "CSV",
|
||||
"--field_delimiter", "tab", PROJECT_LEVEL_TABLE_NAME, "data.tsv", SCHEMA
|
||||
"--project_id", FLAGS.project, "--headless", "-q", "load",
|
||||
"--source_format", "CSV", "--field_delimiter", "tab",
|
||||
PROJECT_LEVEL_TABLE_NAME, "data.tsv", SCHEMA
|
||||
])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user