You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, user want to retry 0 times if failed, because retry won't help due to some error like memory limit.
Would you expose the retry times to dbapi?
Thanks.
The text was updated successfully, but these errors were encountered:
For information, if Impyla is run against Hive and timeout error occurs, retrying an executeStatement is not useful, as HiveServer2 behavior is to automatically cleanup a session on a disconnect. Thus the retried executeStatement will get :
In fact, the implicit retry is harmful in this case as it makes it so that the application has no indication that the error happened and the need to open a new session.
retry times is hard coded here:
https://github.com/cloudera/impyla/blob/v0.10.0/impala/_rpc/hiveserver2.py#L127
Sometimes, user want to retry 0 times if failed, because retry won't help due to some error like memory limit.
Would you expose the retry times to dbapi?
Thanks.
The text was updated successfully, but these errors were encountered: