Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn 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
base: v4.2.0
Choose a base ref
...
head repository: databricks/databricks-sql-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.2.1
Choose a head ref
  • 2 commits
  • 6 files changed
  • 2 contributors

Commits on Nov 20, 2025

  1. Add ignore_transactions config to disable transaction operations (#711)

    Introduces a new `ignore_transactions` configuration parameter (default: True)
    to control transaction-related behavior in the Connection class.
    
    When ignore_transactions=True (default):
    - commit(): no-op, returns immediately
    - rollback(): raises NotSupportedError with message "Transactions are not supported on Databricks"
    - autocommit setter: no-op, returns immediately
    
    When ignore_transactions=False:
    - All transaction methods execute normally
    
    Changes:
    - Added ignore_transactions parameter to Connection.__init__() with default value True
    - Modified commit(), rollback(), and autocommit setter to check ignore_transactions flag
    - Updated unit tests to pass ignore_transactions=False when testing transaction functionality
    - Updated e2e transaction tests to pass ignore_transactions=False
    - Added three new unit tests to verify ignore_transactions
    jayantsing-db authored Nov 20, 2025
    Configuration menu
    Copy the full SHA
    a4899cb View commit details
    Browse the repository at this point in the history
  2. Ready for 4.2.1 release (#713)

    Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
    vikrantpuppala authored Nov 20, 2025
    Configuration menu
    Copy the full SHA
    ad227ca View commit details
    Browse the repository at this point in the history
Loading