This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch bucket_variable_name
in repository https://gitbox.apache.org/repos/asf/datasketches-bigquery.git
The following commit(s) were added to refs/heads/bucket_variable_name by this
push:
new c70cedf renamed GCS_BUCKET to JS_BUCKET to match BigQuery build
process
c70cedf is described below
commit c70cedfad8ac2380efa6fd53202c3e95d1b289d4
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Fri Oct 18 11:55:18 2024 -0700
renamed GCS_BUCKET to JS_BUCKET to match BigQuery build process
---
cpc/Makefile | 2 +-
fi/Makefile | 2 +-
hll/Makefile | 2 +-
kll/Makefile | 2 +-
substitute_and_run.sh | 6 +++---
theta/Makefile | 2 +-
tuple/Makefile | 2 +-
7 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/cpc/Makefile b/cpc/Makefile
index 0f05994..f00ad6e 100644
--- a/cpc/Makefile
+++ b/cpc/Makefile
@@ -45,7 +45,7 @@ clean:
upload: all
@for file in $(ARTIFACTS); do \
- gcloud storage cp $$file gs://$(GCS_BUCKET)/ ; \
+ gcloud storage cp $$file gs://$(JS_BUCKET)/ ; \
done
# some functions (with shorter name) can call other functions (with suffix)
diff --git a/fi/Makefile b/fi/Makefile
index 074fd3a..f2f0ca1 100644
--- a/fi/Makefile
+++ b/fi/Makefile
@@ -45,7 +45,7 @@ clean:
upload: all
@for file in $(ARTIFACTS); do \
- gcloud storage cp $$file gs://$(GCS_BUCKET)/ ; \
+ gcloud storage cp $$file gs://$(JS_BUCKET)/ ; \
done
# some functions (with shorter name) can call other functions (with suffix)
diff --git a/hll/Makefile b/hll/Makefile
index 532c76c..6bdbb70 100644
--- a/hll/Makefile
+++ b/hll/Makefile
@@ -45,7 +45,7 @@ clean:
upload: all
@for file in $(ARTIFACTS); do \
- gcloud storage cp $$file gs://$(GCS_BUCKET)/ ; \
+ gcloud storage cp $$file gs://$(JS_BUCKET)/ ; \
done
# some functions (with shorter name) can call other functions (with suffix)
diff --git a/kll/Makefile b/kll/Makefile
index 627d110..d1c1624 100644
--- a/kll/Makefile
+++ b/kll/Makefile
@@ -46,7 +46,7 @@ clean:
upload: all
@for file in $(ARTIFACTS); do \
- gcloud storage cp $$file gs://$(GCS_BUCKET)/ ; \
+ gcloud storage cp $$file gs://$(JS_BUCKET)/ ; \
done
create:
diff --git a/substitute_and_run.sh b/substitute_and_run.sh
index 3648474..31b2a6a 100755
--- a/substitute_and_run.sh
+++ b/substitute_and_run.sh
@@ -10,11 +10,11 @@ if [ -u $BQ_DATASET ]; then
echo "environment variable BQ_DATASET must be set"
exit
fi
-if [ -u $GCS_BUCKET ]; then
- echo "environment variable GCS_BUCKET must be set"
+if [ -u $JS_BUCKET ]; then
+ echo "environment variable JS_BUCKET must be set"
exit
fi
FUNC=${FILE##*/}
FUNC=${FUNC%%.*}
-sed -e
"s/\${self()}/\`${BQ_PROJECT}.${BQ_DATASET}.${FUNC}\`/;s/\$GCS_BUCKET/${GCS_BUCKET}/g;s/\$BQ_DATASET/${BQ_DATASET}/g;s/\${ref(\"\([^\"]*\)\")}/\`${BQ_PROJECT}.${BQ_DATASET}.\1\`/g"
${FILE} | grep -v -e"^config" | bq 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"
${FILE} | grep -v -e"^config" | bq query --nouse_legacy_sql
diff --git a/theta/Makefile b/theta/Makefile
index 177e505..d92d476 100644
--- a/theta/Makefile
+++ b/theta/Makefile
@@ -45,7 +45,7 @@ clean:
upload: all
@for file in $(ARTIFACTS); do \
- gcloud storage cp $$file gs://$(GCS_BUCKET)/ ; \
+ gcloud storage cp $$file gs://$(JS_BUCKET)/ ; \
done
# some functions (with shorter name) can call other functions (with suffix)
diff --git a/tuple/Makefile b/tuple/Makefile
index fcb9dee..5b92d5e 100644
--- a/tuple/Makefile
+++ b/tuple/Makefile
@@ -46,7 +46,7 @@ clean:
upload: all
@for file in $(ARTIFACTS); do \
- gcloud storage cp $$file gs://$(GCS_BUCKET)/ ; \
+ gcloud storage cp $$file gs://$(JS_BUCKET)/ ; \
done
# some functions (with shorter name) can call other functions (with suffix)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]