[ 
https://issues.apache.org/jira/browse/ARROW-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16361068#comment-16361068
 ] 

ASF GitHub Bot commented on ARROW-2137:
---------------------------------------

wesm closed pull request #1592: ARROW-2137: [Python] Don't print paths that are 
ignored when reading Parquet files
URL: https://github.com/apache/arrow/pull/1592
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/python/pyarrow/parquet.py b/python/pyarrow/parquet.py
index 494e65ebb..485459e0b 100644
--- a/python/pyarrow/parquet.py
+++ b/python/pyarrow/parquet.py
@@ -594,7 +594,7 @@ def _visit_level(self, level, base_path, part_keys):
             elif path.endswith('_metadata'):
                 self.metadata_path = full_path
             elif self._should_silently_exclude(path):
-                print('Ignoring path: {0}'.format(full_path))
+                continue
             else:
                 filtered_files.append(full_path)
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> [Python] Don't print paths that are ignored when reading Parquet files
> ----------------------------------------------------------------------
>
>                 Key: ARROW-2137
>                 URL: https://issues.apache.org/jira/browse/ARROW-2137
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>    Affects Versions: 0.8.0
>            Reporter: Phillip Cloud
>            Assignee: Phillip Cloud
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.9.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to