Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add real return code onUnsafeToRetryError #508

Open
Assignees
samikshya-db
@Uranium2

Description

@Uranium2

We are having random errors while fetching data with the connector to our databricks (serverless warehouse).
We tried to debug the origin of this fail, but we were not able to find the source of the issue.

Is it possible to add more information on the return code when we can not perform a retry while making a statement with the cursor?

source code

raiseUnsafeToRetryError("ExecuteStatement command can only be retried for codes 429 and 503"            )

Could we add the real return code to this? So we can investigate better on our side.
Something like this:

raiseUnsafeToRetryError(f"ExecuteStatement command can only be retried for codes 429 and 503. Got{status_code}"            )

Usingdatabricks-sql-python==4.0.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp