Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
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
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
databricks
/
databricks-sql-python
Public
Notifications
You must be signed in to change notification settings
Fork
145
Star
233
Code
Issues
96
Pull requests
76
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Retry attempts that fail due to a connection timeout
- #24
#24
Merged
susodapop
merged 23 commits into
main
databricks/databricks-sql-python:main
from
retry-connection-attempt-failures
databricks/databricks-sql-python:retry-connection-attempt-failures
Copy head branch name to clipboard
Aug 5, 2022
Conversation
Commits
23
(23)
Checks
Files changed
Merged
Retry attempts that fail due to a connection timeout
#24
susodapop
merged 23 commits into
main
databricks/databricks-sql-python:main
from
retry-connection-attempt-failures
databricks/databricks-sql-python:retry-connection-attempt-failures
Copy head branch name to clipboard
Commits
Commits on Jul 28, 2022
Explicitly catch OSError and socket.timeout errors, with automatic retry
Show description for fa13d75
susodapop
committed
fa13d75
View commit details
Copy full SHA for fa13d75
Browse repository at this point
Add unit and e2e tests for retries on timeout behaviour.
Show description for b44d0b8
susodapop
committed
b44d0b8
View commit details
Copy full SHA for b44d0b8
Browse repository at this point
Add default delay to the retry policy
Show description for 22d2ac0
susodapop
committed
22d2ac0
View commit details
Copy full SHA for 22d2ac0
Browse repository at this point
Don't make unit test take 5+ seconds
Show description for 44f12b7
susodapop
committed
44f12b7
View commit details
Copy full SHA for 44f12b7
Browse repository at this point
Fix broken unit tests: test_retry_args_bounding
Show description for 09cefec
susodapop
committed
09cefec
View commit details
Copy full SHA for 09cefec
Browse repository at this point
Black thrift_backend.py
Show description for de96fce
susodapop
committed
de96fce
View commit details
Copy full SHA for de96fce
Browse repository at this point
Only retry OSError's that mention Errno 110
Show description for 21c06d4
susodapop
committed
21c06d4
View commit details
Copy full SHA for 21c06d4
Browse repository at this point
Fix unnecessary indentation
Show description for befdf3d
susodapop
committed
befdf3d
View commit details
Copy full SHA for befdf3d
Browse repository at this point
Commits on Jul 29, 2022
Clarify docstrings after review feedback
Show description for fb1275b
susodapop
committed
fb1275b
View commit details
Copy full SHA for fb1275b
Browse repository at this point
Default retry_delay = None (not retryable)
Show description for c76ee65
susodapop
committed
c76ee65
View commit details
Copy full SHA for c76ee65
Browse repository at this point
Commits on Aug 2, 2022
This approach passes the e2e tests, but they take exactly 4 mins 51 secs
Show description for 7474834
susodapop
committed
7474834
View commit details
Copy full SHA for 7474834
Browse repository at this point
Commits on Aug 4, 2022
Revert all changes since `main`
Show description for fa1fd50
susodapop
committed
fa1fd50
View commit details
Copy full SHA for fa1fd50
Browse repository at this point
isolate delay bounding
Show description for bf65b81
susodapop
committed
bf65b81
View commit details
Copy full SHA for bf65b81
Browse repository at this point
Move error details scope up one-level.
Show description for a0d340e
susodapop
committed
a0d340e
View commit details
Copy full SHA for a0d340e
Browse repository at this point
Retry GetOperationStatus if an OSError was raised during execution
Show description for a55cf9d
susodapop
committed
a55cf9d
View commit details
Copy full SHA for a55cf9d
Browse repository at this point
Log when a request is retried due to an OSError.
Show description for 38411a8
susodapop
committed
38411a8
View commit details
Copy full SHA for 38411a8
Browse repository at this point
Update docstring for make_request
Show description for 5096ef0
susodapop
committed
5096ef0
View commit details
Copy full SHA for 5096ef0
Browse repository at this point
Nit: unit tests show the .warn message is deprecated.
Show description for 5c1ee79
susodapop
committed
5c1ee79
View commit details
Copy full SHA for 5c1ee79
Browse repository at this point
Black thrift_backend.py
Show description for 1f87a38
susodapop
committed
1f87a38
View commit details
Copy full SHA for 1f87a38
Browse repository at this point
Rerun black on thrift_backend.py
Show description for baff3d5
susodapop
committed
baff3d5
View commit details
Copy full SHA for baff3d5
Browse repository at this point
Commits on Aug 5, 2022
Add comment about manual tests
Show description for 10016ea
susodapop
committed
10016ea
View commit details
Copy full SHA for 10016ea
Browse repository at this point
Bump to v2.0.3
Show description for 4db4ad0
susodapop
committed
4db4ad0
View commit details
Copy full SHA for 4db4ad0
Browse repository at this point
Revert "Bump to v2.0.3"
Show description for 767e34c
susodapop
committed
767e34c
View commit details
Copy full SHA for 767e34c
Browse repository at this point
You can’t perform that action at this time.