This is an automated email from the ASF dual-hosted git repository. alsay pushed a commit to branch add_dataform_bucket in repository https://gitbox.apache.org/repos/asf/datasketches-bigquery.git
commit 8ae359f5c9d6bf0ce2e6cb18076daa2a26d8d23b Author: AlexanderSaydakov <[email protected]> AuthorDate: Tue Dec 3 11:51:07 2024 -0800 updated script to support creating functions without dataform --- substitute_and_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substitute_and_run.sh b/substitute_and_run.sh index feb704c..396a286 100755 --- a/substitute_and_run.sh +++ b/substitute_and_run.sh @@ -18,4 +18,4 @@ fi FUNC=${FILE##*/} FUNC=${FUNC%%.*} -sed -e "s/\${self()}/\`${BQ_PROJECT}.${BQ_DATASET}.${FUNC}\`/;s|\${JS_BUCKET}|${JS_BUCKET}|g;s/\$BQ_DATASET/${BQ_DATASET}/g;s/\${ref(\"\([^\"]*\)\")}/\`${BQ_PROJECT}.${BQ_DATASET}.\1\`/g" "${FILE}" | grep -v -e"^config" | bq --project_id ${BQ_PROJECT} query --nouse_legacy_sql +sed -e "s/\${self()}/\`${BQ_PROJECT}.${BQ_DATASET}.${FUNC}\`/;s|\${JS_BUCKET}|${JS_BUCKET}|g;s/\$BQ_DATASET/${BQ_DATASET}/g;s/\${ref(\"\([^\"]*\)\")}/\`${BQ_PROJECT}.${BQ_DATASET}.\1\`/g;s|\${dataform.projectConfig.vars.jsBucket}|${JS_BUCKET}|g" "${FILE}" | grep -v -e"^config" | bq --project_id ${BQ_PROJECT} query --nouse_legacy_sql --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
