Open
Description
Unexpected grpc exception when iterating over result sets in YDB Python SDK
YDB Python SDK version:
ydb 3.21.2
Current behavior:
When attempting to iterate over result sets in the YDB Python SDK, a grpc._channel._MultiThreadedRendezvous exception is raised instead of the expected ydb.issues exception. This occurs due to temporary connection issues to the server, network overload, or other transient errors.
Expected behavior:
It is expected that the SDK would handle temporary errors and provide a higher-level exception ydb.issues to simplify error handling on the application side.
Steps to reproduce:
- Execute a query to YDB using the Python SDK.
- Attempt to iterate over the result sets.
- Drop connection
- Observe the occurrence of the grpc._channel._MultiThreadedRendezvous exception.
Related code:
Exception raised from
ydb-python-sdk/ydb/_utilities.py
Line 164 in ae2c132