aokolnychyi commented on a change in pull request #925: Move manifest factory
methods
URL: https://github.com/apache/incubator-iceberg/pull/925#discussion_r409171847
##########
File path: core/src/main/java/org/apache/iceberg/ManifestReader.java
##########
@@ -62,63 +61,18 @@
/**
* Returns a new {@link ManifestReader} for an {@link InputFile}.
* <p>
- * <em>Note:</em> Most callers should use {@link #read(ManifestFile, FileIO,
Map)} to ensure that
+ * <em>Note:</em> Callers should use {@link ManifestFiles#read(ManifestFile,
FileIO, Map)} to ensure that
* manifest entries with partial metadata can inherit missing properties
from the manifest metadata.
- * <p>
- * <em>Note:</em> Most callers should use {@link #read(InputFile, Map)} if
all manifest entries
- * contain full metadata and they want to ensure that the schema used by
filters is the latest
- * table schema. This should be used only when reading a manifest without
filters.
*
* @param file an InputFile
* @return a manifest reader
+ * @deprecated use {@link ManifestFiles#read(ManifestFile, FileIO, Map)}.
*/
+ @Deprecated
Review comment:
Why do we keep only this version for compatibility? I thought the one below
was the preferred way. Would it make sense to keep both and mark them
deprecated? Versions that accept `ManifestFile` were not released yet, so we
should definitely remove those.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]