|
60 | 60 | TABLE_TYPE, |
61 | 61 | Catalog, |
62 | 62 | PropertiesUpdateSummary, |
| 63 | + _property_as_bool, |
63 | 64 | ) |
64 | 65 | from pyiceberg.exceptions import ( |
65 | 66 | CommitFailedException, |
|
74 | 75 | from pyiceberg.partitioning import UNPARTITIONED_PARTITION_SPEC, PartitionSpec |
75 | 76 | from pyiceberg.schema import Schema, SchemaVisitor, visit |
76 | 77 | from pyiceberg.serializers import FromInputFile |
77 | | -from pyiceberg.table import CommitTableRequest, CommitTableResponse, PropertyUtil, Table, TableProperties, update_table_metadata |
| 78 | +from pyiceberg.table import CommitTableRequest, CommitTableResponse, Table, TableProperties, update_table_metadata |
78 | 79 | from pyiceberg.table.metadata import new_table_metadata |
79 | 80 | from pyiceberg.table.sorting import UNSORTED_SORT_ORDER, SortOrder |
80 | 81 | from pyiceberg.typedef import EMPTY_DICT, Identifier, Properties |
@@ -314,7 +315,7 @@ def create_table( |
314 | 315 | createTime=current_time_millis // 1000, |
315 | 316 | lastAccessTime=current_time_millis // 1000, |
316 | 317 | sd=_construct_hive_storage_descriptor( |
317 | | - schema, location, PropertyUtil.property_as_bool(self.properties, HIVE2_COMPATIBLE, HIVE2_COMPATIBLE_DEFAULT) |
| 318 | + schema, location, _property_as_bool(self.properties, HIVE2_COMPATIBLE, HIVE2_COMPATIBLE_DEFAULT) |
318 | 319 | ), |
319 | 320 | tableType=EXTERNAL_TABLE, |
320 | 321 | parameters=_construct_parameters(metadata_location), |
|
0 commit comments