Skip to content

Commit e294a8e

Browse files
committed
add --quiet to bq and remove redirect to /dev/null in action
1 parent 6365ec2 commit e294a8e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
run: |
2323
echo "Generating tables on BigQuery"
2424
cd mimic-iv/concepts
25-
bash make_concepts.sh > /dev/null
25+
bash make_concepts.sh

mimic-iv/concepts/make_concepts.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ do
3131

3232
# not skipping - so generate the table on bigquery
3333
echo "Generating ${TARGET_DATASET}.${tbl}"
34-
bq query --use_legacy_sql=False --replace --destination_table=${TARGET_DATASET}.${tbl} < ${d}/${fn}
34+
bq query --quiet --use_legacy_sql=False --replace --destination_table=${TARGET_DATASET}.${tbl} < ${d}/${fn}
3535
fi
3636
done
3737
done
@@ -43,5 +43,5 @@ do
4343
table=`echo $table_path | rev | cut -d/ -f1 | rev`
4444

4545
echo "Generating ${TARGET_DATASET}.${table}"
46-
bq query --use_legacy_sql=False --replace --destination_table=${TARGET_DATASET}.${table} < ${table_path}.sql
46+
bq query --quiet --use_legacy_sql=False --replace --destination_table=${TARGET_DATASET}.${table} < ${table_path}.sql
4747
done

0 commit comments

Comments
 (0)