X Tutup
Skip to content

Commit 85e92e1

Browse files
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>
1 parent ca4d7bc commit 85e92e1

File tree

2 files changed

+1545
-6
lines changed

2 files changed

+1545
-6
lines changed

0 commit comments

Comments
 (0)
X Tutup