Fokko commented on code in PR #1681:
URL: https://github.com/apache/iceberg-python/pull/1681#discussion_r1978898255


##########
pyiceberg/avro/reader.py:
##########
@@ -201,6 +201,15 @@ def skip(self, decoder: BinaryDecoder) -> None:
         decoder.skip(16)
 
 
+class UnknownReader(Reader):
+    def read(self, decoder: BinaryDecoder) -> None:
+        _ = decoder.read_bytes()
+        return None
+
+    def skip(self, decoder: BinaryDecoder) -> None:
+        decoder.skip_bytes()

Review Comment:
   I missed this one, this should be a no-op as well:
   ```suggestion
       def read(self, decoder: BinaryDecoder) -> None:
           return None
   
       def skip(self, decoder: BinaryDecoder) -> None:
           pass
   ```



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to