2020-04-15 02:12:55 +03:00
|
|
|
#!/bin/sh
|
2020-03-18 23:19:58 +03:00
|
|
|
|
2020-04-15 02:12:55 +03:00
|
|
|
# Export query result data as JSON to a publicly accessible bucket.
|
|
|
|
#
|
|
|
|
# Data of the query is exported if "json_export" is set in
|
|
|
|
# the corresponding metadata file.
|
2020-03-18 23:19:58 +03:00
|
|
|
|
|
|
|
|
2020-04-15 02:12:55 +03:00
|
|
|
cd "$(dirname "$0")/.."
|
2020-03-18 23:19:58 +03:00
|
|
|
|
2020-04-15 02:12:55 +03:00
|
|
|
exec python3 -m bigquery_etl.public_data.publish_json "$@"
|