pabloem commented on code in PR #17380:
URL: https://github.com/apache/beam/pull/17380#discussion_r859174261


##########
sdks/python/apache_beam/io/hadoopfilesystem.py:
##########
@@ -399,6 +418,26 @@ def checksum(self, url):
         file_checksum[_FILE_CHECKSUM_BYTES],
     )
 
+  def metadata(self, url):
+    """Fetch metadata fields of a file on the FileSystem.
+
+    Args:
+      url: string url of a file.
+
+    Returns:
+      :class:`~apache_beam.io.filesystem.FileMetadata`.
+      Note: last_updated field is not supported yet.

Review Comment:
   is it not supported or supported? I see we're passing the parameter to 
`FileMatadata` in line 439?



-- 
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]

Reply via email to