8000 Changes before the ALPS bootkon by fhirschmann · Pull Request #4 · fhirschmann/bootkon · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Changes before the ALPS bootkon #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .scripts/bk-render-jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def render_mdbook(content):
rendered = template.render(
BK_REPO=BK_REPO,
MDBOOK_VIEW=True,
ON_ARGOLIS=False,
PROJECT_ID="<PROJECT_ID>",
PROJECT_NUMBER="<PROJECT_NUMBER>",
REGION="us-central1",
Expand All @@ -90,6 +91,7 @@ def render_tutorial(content):

rendered = template.render(
MDBOOK_VIEW=False,
ON_ARGOLIS=(os.getenv("GCP_USERNAME") or "").endswith("altostrat.com"),
PROJECT_ID=os.getenv("PROJECT_ID"),
PROJECT_NUMBER=os.getenv("PROJECT_NUMBER"),
REGION=os.getenv("REGION"),
Expand Down
5 changes: 5 additions & 0 deletions docs/labs/2_data_ingestion.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,11 @@ gsutil cp spark-3.3-bigquery-0.37.0.jar gs://${PROJECT_ID}-bucket/jar/spark-3.3-

Open <walkthrough-editor-select-line filePath="src/data_ingestion/import_parquet_to_bigquery.py" startLine="4" endLine="4" startCharacterOffset="14" endCharacterOffset="31">import_parquet_to_bigquery.py</walkthrough-editor-select-line> in the Cloud Shell editor and replace the project id with your project id `{{ PROJECT_ID }}`. Don't forget to save.

{% if ON_ARGOLIS %}
❗ You are on Argolis. The next command requires to disable the
`constraints/compute.requireOsLogin` constraint for your project in IAM.
{% endif %}

Execute it:
```bash
gcloud dataproc batches submit pyspark src/data_ingestion/import_parquet_to_bigquery.py \
Expand Down
2 changes: 1 addition & 1 deletion src/dataform/definitions/models/llm_model_connection.sqlx
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ config {

CREATE OR REPLACE MODEL ulb_fraud_detection_llm.ulb_fraud_detection_llm_model
REMOTE WITH CONNECTION `us.llm-connection`
OPTIONS (ENDPOINT = 'gemini-pro');
OPTIONS (ENDPOINT = 'gemini-2.0-flash');
0