LoginSignup
0
0

More than 3 years have passed since last update.

bigqueryの実行履歴取得

Posted at

bigqueryの実行履歴クエリをまとめて取ってくる

$ bq ls -j -n 1000 | sed -e '1d' | sed -e '1d'  | awk '{print $1}' | xargs -n 1 bq show --format=prettyjson -j   | jq -c '[.statistics.startTime, .configuration.query.query, .configuration.query.destinationTable.tableId]'
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0