Commit 7b70299
committed
test(e2e): verify DML cursor.rowcount against a live warehouse (#784)
End-to-end test in TestPySQLCoreSuite exercising INSERT/UPDATE/DELETE on
a real Thrift warehouse and asserting cursor.rowcount reports the exact
affected-row count (3/2/1), then that a following SELECT resets it to -1.
Verified live on dogfood; fails with the fix reverted (rowcount stays -1).
Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>1 parent 86b0c67 commit 7b70299
1 file changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
458 | 487 | | |
459 | 488 | | |
460 | 489 | | |
| |||
0 commit comments