|
27 | 27 | from pyiceberg.catalog.rest import RestCatalog |
28 | 28 | from pyiceberg.catalog.sql import SqlCatalog |
29 | 29 | from pyiceberg.exceptions import ( |
30 | | - CommitFailedException, |
31 | 30 | CommitFailedException, |
32 | 31 | NamespaceAlreadyExistsError, |
33 | 32 | NamespaceNotEmptyError, |
|
37 | 36 | ) |
38 | 37 | from pyiceberg.io import WAREHOUSE |
39 | 38 | from pyiceberg.partitioning import PartitionField, PartitionSpec |
40 | | -from pyiceberg.partitioning import PartitionField, PartitionSpec |
41 | 39 | from pyiceberg.schema import INITIAL_SCHEMA_ID, Schema |
42 | | -from pyiceberg.transforms import BucketTransform |
43 | 40 | from pyiceberg.table.metadata import INITIAL_SPEC_ID |
44 | 41 | from pyiceberg.table.sorting import INITIAL_SORT_ORDER_ID, SortField, SortOrder |
45 | | -from pyiceberg.transforms import DayTransform, IdentityTransform |
| 42 | +from pyiceberg.transforms import BucketTransform, DayTransform, IdentityTransform |
46 | 43 | from pyiceberg.types import IntegerType, LongType, NestedField, TimestampType, UUIDType |
47 | 44 | from tests.conftest import clean_up |
48 | 45 |
|
@@ -93,6 +90,7 @@ def rest_test_catalog() -> Generator[Catalog, None, None]: |
93 | 90 | else: |
94 | 91 | pytest.skip("PYICEBERG_TEST_CATALOG environment variables not set") |
95 | 92 |
|
| 93 | + |
96 | 94 | @pytest.fixture(scope="function") |
97 | 95 | def hive_catalog() -> Generator[Catalog, None, None]: |
98 | 96 | test_catalog = HiveCatalog( |
|
0 commit comments