Skip to content
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

More sqlmesh run tweaks #2657

Merged
merged 9 commits into from
Dec 17, 2024
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: 1 addition & 1 deletion ops/tf-modules/warehouse-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ locals {
max_count = 20
local_ssd_count = 0
local_ssd_ephemeral_storage_count = 2
spot = false
spot = true
disk_size_gb = 100
disk_type = "pd-standard"
image_type = "COS_CONTAINERD"
Expand Down
6 changes: 6 additions & 0 deletions warehouse/metrics_tools/compute/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,12 @@ def _handler(response: JobStatusResponse):

if final_status.status == QueryJobStatus.FAILED:
self.logger.error(f"job[{job_id}] failed with status {final_status.status}")
if final_status.exceptions:
self.logger.error(f"job[{job_id}] failed with exceptions")

for exc in final_status.exceptions:
self.logger.error(f"job[{job_id}] failed with exceptoin {exc}")

raise Exception(f"job[{job_id}] failed with status {final_status.status}")

self.logger.info(f"job[{job_id}] completed with status {final_status.status}")
Expand Down
Loading
Loading