(postgresql_adbc_conn, iris_path)
| 701 | |
| 702 | @pytest.fixture |
| 703 | def postgresql_adbc_iris(postgresql_adbc_conn, iris_path): |
| 704 | import adbc_driver_manager as mgr |
| 705 | |
| 706 | conn = postgresql_adbc_conn |
| 707 | |
| 708 | try: |
| 709 | conn.adbc_get_table_schema("iris") |
| 710 | except mgr.ProgrammingError: |
| 711 | conn.rollback() |
| 712 | create_and_load_iris_postgresql(conn, iris_path) |
| 713 | try: |
| 714 | conn.adbc_get_table_schema("iris_view") |
| 715 | except mgr.ProgrammingError: # note arrow-adbc issue 1022 |
| 716 | conn.rollback() |
| 717 | create_and_load_iris_view(conn) |
| 718 | return conn |
| 719 | |
| 720 | |
| 721 | @pytest.fixture |
nothing calls this directly
no test coverage detected