Skip to content

Commit

Permalink
ravenac95/debug bigquery failures (#1459)
Browse files Browse the repository at this point in the history
* Reduce load size to debug bq failures

* More debug configurations
  • Loading branch information
ravenac95 authored May 20, 2024
1 parent 1043fc0 commit 6fd0733
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 27 deletions.
7 changes: 1 addition & 6 deletions ops/k8s-apps/base/dagster/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: base-dagster
resources:
#- proxy-for-deployments.yaml
#- proxy-for-jobs.yaml
- dagster.yaml
# patchesStrategicMerge:
# - ./daemon-init-container.yaml
# - ./webserver-init-container.yaml
- dagster.yaml
18 changes: 0 additions & 18 deletions test_all.sh

This file was deleted.

7 changes: 4 additions & 3 deletions warehouse/oso_dagster/goldsky.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ class GoldskyConfig:
source_name: str
destination_table_name: str

# Maximum number of objects we can load into a load job is 10000 so the largest this can be is 10000
pointer_size: int = int(os.environ.get("GOLDSKY_CHECKPOINT_SIZE", "10000"))
# Maximum number of objects we can load into a load job is 10000 so the
# largest this can be is 10000.
pointer_size: int = int(os.environ.get("GOLDSKY_CHECKPOINT_SIZE", "5000"))

max_objects_to_load: int = 200_000

Expand Down Expand Up @@ -1042,6 +1043,6 @@ def load_queues(
)

for worker, queue in queues.worker_queues():
context.log.debug(f"Worker[{worker}] queue size: {queue.len()}")
context.log.info(f"Worker[{worker}] queue size: {queue.len()}")

return (worker_status, queues)

0 comments on commit 6fd0733

Please sign in to comment.