HonahX commented on code in PR #363:
URL: https://github.com/apache/iceberg-python/pull/363#discussion_r1495367348
##########
pyiceberg/table/__init__.py:
##########
@@ -944,7 +949,8 @@ def append(self, df: pa.Table) -> None:
if len(self.spec().fields) > 0:
raise ValueError("Cannot write to partitioned tables")
- merge = _MergingSnapshotProducer(operation=Operation.APPEND,
table=self)
+ # TODO: need to consider how to support both _MergeAppend and
_FastAppend
Review Comment:
I think it is a good idea to have a separate API in `UpdateSnapshot` in #446
to compact manifests only. However, I believe retaining MergeAppend is also
necessary due to the commit.manifest-merge.enabled setting. This setting, when
enabled (which is the default), leads users to expect automatic merging of
manifests when they append/overwrite data, rather than having to compact
manifest by another API. What do you think?
--
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]