Skip to content

Add reties to send results #6686

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 1 commit into from
Jul 15, 2024
Merged
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
6 changes: 4 additions & 2 deletions ydb/tests/olap/lib/results_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ def __init__(self, ep: str, db: str, table: str, key: str, iam_file: str) -> Non
self._table = table

def send_data(self, data):
self._driver.table_client.bulk_upsert(
os.path.join(self._db, self._table), [data], ResultsProcessor._columns_types
ydb.retry_operation_sync(
lambda: self._driver.table_client.bulk_upsert(
os.path.join(self._db, self._table), [data], ResultsProcessor._columns_types
)
)

_endpoints : list[ResultsProcessor.Endpoint] = None
Expand Down
Loading