shootingstard.
11/05/2025, 7:00 AMflarco
11/05/2025, 8:34 AMshootingstard.
11/05/2025, 8:36 AMshootingstard.
11/05/2025, 8:50 AMflarco
11/05/2025, 11:38 AMshootingstard.
11/05/2025, 12:50 PMflarco
11/05/2025, 3:36 PMshootingstard.
11/05/2025, 3:36 PMshootingstard.
11/06/2025, 12:07 PMflarco
11/06/2025, 12:20 PMPOSTGRES_CLOUDSQL:
type: postgres
gcp_instance: my-instance
gcp_project: my-project
gcp_region: us-central1
user: my-sa@my-project.gserviceaccount.com
database: mydatabase
gcp_key_body: |
{ "type": "service_account", ... }shootingstard.
11/06/2025, 12:21 PMshootingstard.
11/06/2025, 12:21 PMflarco
11/06/2025, 12:22 PMSLING_ENV_YAML with the whole yaml payload in thereshootingstard.
11/06/2025, 1:19 PMshootingstard.
11/06/2025, 1:20 PMCREATE USER sling WITH PASSWORD '<password>';
GRANT CREATE ON DATABASE <database_name> TO sling;flarco
11/06/2025, 1:22 PMflarco
11/06/2025, 1:22 PMshootingstard.
11/06/2025, 1:23 PMshootingstard.
11/06/2025, 1:23 PMflarco
11/06/2025, 1:24 PMflarco
11/06/2025, 1:24 PM.iam from user?shootingstard.
11/06/2025, 1:25 PMyaml
POSTGRES_DEV:
type: postgres
database : "{{ env.POSTGRES_DJANGO__DATABASE }}"
gcp_instance : "{{ env.POSTGRES_DJANGO__INSTANCE }}"
gcp_project : "{{ env.POSTGRES_DJANGO__PROJECT }}"
gcp_region : "{{ env.POSTGRES_DJANGO__LOCATION }}"
user : "dagster-prod-cloud-sql@happyhoursmarketdev.iam.gserviceaccount.com"
gcp_key_body : |
{ "type": "service_account", ...}flarco
11/06/2025, 1:26 PMflarco
11/06/2025, 1:26 PMdagster-prod-cloud-sql@happyhoursmarketdev?shootingstard.
11/06/2025, 1:28 PMshootingstard.
11/06/2025, 1:28 PMshootingstard.
11/06/2025, 1:29 PMshootingstard.
11/06/2025, 1:29 PMshootingstard.
11/06/2025, 1:41 PMshootingstard.
11/06/2025, 1:42 PMshootingstard.
11/06/2025, 2:18 PMshootingstard.
11/06/2025, 2:19 PM~ failure running replication (see docs @ https://docs.slingdata.io/sling-cli)
--------------------------- scraper.normalized_nutritional_data ---------------------------
~ could not execute statement
sql: expected 0 arguments, got 31
~ could not insert into "public"."normalized_nutritional_data_tmp"
~ could not COPY into table "public"."normalized_nutritional_data_tmp"
sql: expected 0 arguments, got 31
~ could not execute statement
sql: expected 0 arguments, got 31[0m
File "/home/loic-quivron/Documents/repos/production/hhm_dagster_prod/.venv/lib/python3.12/site-packages/sling/__init__.py", line 445, in _run
for line in _exec_cmd(cmd, env=env, stdin=stdin):
File "/home/loic-quivron/Documents/repos/production/hhm_dagster_prod/.venv/lib/python3.12/site-packages/sling/__init__.py", line 527, in _exec_cmd
raise Exception("Sling command failed:\n" + "\n".join(lines))flarco
11/06/2025, 4:00 PMDEBUG=true? this will give more details.shootingstard.
11/07/2025, 3:32 PMshootingstard.
11/07/2025, 3:33 PMflarco
11/07/2025, 3:44 PMstreams:
scraper.normalized_nutritional_data:
target_options:
use_bulk: falseshootingstard.
11/07/2025, 3:49 PMshootingstard.
11/07/2025, 3:49 PMshootingstard.
11/07/2025, 3:51 PMshootingstard.
11/07/2025, 3:52 PMflarco
11/07/2025, 3:55 PMshootingstard.
11/07/2025, 3:55 PM