smaheshwar-pltr commented on code in PR #1509:
URL: https://github.com/apache/iceberg-python/pull/1509#discussion_r1912296178
##########
pyiceberg/table/__init__.py:
##########
@@ -190,7 +190,7 @@ class TableProperties:
WRITE_PY_LOCATION_PROVIDER_IMPL = "write.py-location-provider.impl"
OBJECT_STORE_ENABLED = "write.object-storage.enabled"
- OBJECT_STORE_ENABLED_DEFAULT = False
+ OBJECT_STORE_ENABLED_DEFAULT = True # Differs from the Java implementation
Review Comment:
Sounds good! I've remove for now.
Then we can add all the new location-relevant write options introduced in
#1452 when we address https://github.com/apache/iceberg-python/issues/1510
together with the other docs?
##########
tests/integration/test_writes/test_partitioned_writes.py:
##########
@@ -297,8 +297,8 @@ def
test_object_storage_location_provider_excludes_partition_path(
tbl = _create_table(
session_catalog=session_catalog,
identifier=f"default.arrow_table_v{format_version}_with_null_partitioned_on_col_{part_col}",
- # write.object-storage.partitioned-paths defaults to True
- properties={"format-version": str(format_version),
TableProperties.OBJECT_STORE_ENABLED: True},
+ # Both write.object-storage.enabled and
write.object-storage.partitioned-paths default to True
Review Comment:
SGTM, done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]