You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/04/05 23:12:04 UTC

[GitHub] [iceberg] samredai commented on a diff in pull request #4504: Add Schema.find_column_name method

samredai commented on code in PR #4504:
URL: https://github.com/apache/iceberg/pull/4504#discussion_r843338128


##########
python/src/iceberg/io/pyarrow.py:
##########
@@ -42,12 +42,12 @@ class PyArrowFile(InputFile, OutputFile):
 
     Examples:
         >>> from iceberg.io.pyarrow import PyArrowFile
-        >>> input_file = PyArrowFile("s3://foo/bar.txt")
+        >>> # input_file = PyArrowFile("s3://foo/bar.txt")
         >>> # Read the contents of the PyArrowFile instance
         >>> # Make sure that you have permissions to read/write
         >>> # file_content = input_file.open().read()
 
-        >>> output_file = PyArrowFile("s3://baz/qux.txt")
+        >>> # output_file = PyArrowFile("s3://baz/qux.txt")

Review Comment:
   This change is unrelated to this PR but I noticed that since our tests run doc-strings now, this line and the line defining `input_file` was actually making a request to aws [here](https://github.com/apache/iceberg/blob/master/python/src/iceberg/io/pyarrow.py#L61) to determine the region. This just comments those lines out.



-- 
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-unsubscribe@iceberg.apache.org

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


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