- Notifications
You must be signed in to change notification settings - Fork126
PermalinkChoose a base ref {{ refName }}default Choose a head ref {{ refName }}default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also orlearn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also.Learn more about diff comparisons here.
base repository:databricks/databricks-sql-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
Uh oh!
There was an error while loading.Please reload this page.
base:fd65fd2
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}defaultLoading
...
head repository:databricks/databricks-sql-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
Uh oh!
There was an error while loading.Please reload this page.
compare:7d2d9bc
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}defaultLoading
- 2commits
- 8files changed
- 1contributor
Commits on Nov 2, 2025
feat: Add multi-statement transaction support
Implement PEP 249-compliant transaction control with extensions formanual commit/rollback operations. This enables atomic multi-tableoperations with REPEATABLE_READ isolation semantics.Core API additions:- connection.autocommit property for enabling/disabling auto-commit mode- connection.commit() to commit active transactions- connection.rollback() to rollback active transactions- connection.get_transaction_isolation() returns current isolation level- connection.set_transaction_isolation() validates isolation level- TransactionError exception for transaction-specific failuresImplementation details:- Added autocommit state caching in Session with optional server query- Added TRANSACTION_ISOLATION_LEVEL_REPEATABLE_READ constant- All transaction operations include proper error handling and telemetry- Supports fetch_autocommit_from_server connection parameterTesting:- Unit tests covering all transaction methods and error scenarios- e2e integration tests validating transaction behavior including multi-table atomicity, sequential transactions, and isolation semanticsDocumentation:- Comprehensive TRANSACTIONS.md guide with examples and best practices- Updated README.md with basic usage and reference to detailed docsRequires MST-enabled Databricks SQL warehouse and Delta tables with'delta.feature.catalogOwned-preview' table property.
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff fd65fd2...7d2d9bc
Uh oh!
There was an error while loading.Please reload this page.