rdblue commented on a change in pull request #1803:
URL: https://github.com/apache/iceberg/pull/1803#discussion_r529090627
##########
File path: core/src/main/java/org/apache/iceberg/V1Metadata.java
##########
@@ -356,7 +356,7 @@ public Object get(int pos) {
@Override
public void put(int i, Object v) {
- throw new UnsupportedOperationException("Cannot read into
IndexedDataFile");
+ throw new UnsupportedOperationException("Cannot write into
IndexedDataFile");
Review comment:
This was correct before.
This class is only used to write v1 metadata files, not to read. So there is
no need to implement the `put` method that is used when reading values from a
file and putting them in the data file instance.
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]