X Tutup
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: main
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: add-mst-transaction-tests
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Mar 26, 2026

  1. Add comprehensive MST transaction metadata and edge case tests

    Adds 42 new E2E tests and 3 unit tests covering gaps identified in
    MST + xDBC metadata audit:
    
    E2E tests (test_transactions.py):
    - Metadata operations (cursor.columns/tables/schemas/catalogs) in txn
    - MSTCheckRule-blocked SQL (SHOW/DESCRIBE/information_schema) in MST
    - Allowed operations (USE CATALOG/SCHEMA) in MST
    - DML variants: executemany, parameterized, DELETE, mixed DML in txn
    - Concurrent transactions: write conflict, write skew, repeatable reads
    - Multiple cursors in single transaction
    - Connection close with pending transaction (implicit rollback)
    - DDL behavior in transactions (CREATE/DROP/ALTER TABLE)
    - Edge cases: empty txn, read-only, atomicity, rollback recovery, MERGE
    
    Unit tests (test_client.py):
    - executemany error propagation in transaction context
    - Cursor close does not affect transaction state
    - Autocommit toggle consistency
    
    Co-authored-by: Isaac
    Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
    vikrantpuppala committed Mar 26, 2026
    Configuration menu
    Copy the full SHA
    c5a2e80 View commit details
    Browse the repository at this point in the history
  2. Rename test table to avoid collisions with JDBC driver tests

    Co-authored-by: Isaac
    Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
    vikrantpuppala committed Mar 26, 2026
    Configuration menu
    Copy the full SHA
    cf92d96 View commit details
    Browse the repository at this point in the history
Loading
X Tutup