Skip to content
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 libs/executors/garf_executors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ def setup_executor(
'ApiExecutionContext',
]

__version__ = '0.1.5'
__version__ = '0.1.6'
6 changes: 4 additions & 2 deletions libs/executors/garf_executors/bq_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

from __future__ import annotations

import contextlib
import os

try:
Expand Down Expand Up @@ -139,8 +140,9 @@ def create_datasets(self, macros: dict | None) -> None:
except google_cloud_exceptions.NotFound:
bq_dataset = bigquery.Dataset(dataset_id)
bq_dataset.location = self.location
self.client.create_dataset(bq_dataset, timeout=30)
logger.info('Created new dataset %s', dataset_id)
with contextlib.suppress(google_cloud_exceptions.Conflict):
self.client.create_dataset(bq_dataset, timeout=30)
logger.info('Created new dataset %s', dataset_id)


def extract_datasets(macros: dict | None) -> list[str]:
Expand Down