This is an automated email from the ASF dual-hosted git repository.

wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 08d664a  ARROW-2137: [Python] Don't print paths that are ignored when 
reading Parquet files
08d664a is described below

commit 08d664a3dd3b8eca9cd443215d917107736eb5e8
Author: kisankansagra <kisankansa...@users.noreply.github.com>
AuthorDate: Mon Feb 12 11:57:17 2018 -0500

    ARROW-2137: [Python] Don't print paths that are ignored when reading 
Parquet files
    
    _should_silently_exclude should silently exclude, not print stuff
    
    Author: kisankansagra <kisankansa...@users.noreply.github.com>
    
    Closes #1592 from kisankansagra/patch-1 and squashes the following commits:
    
    7e80895b [kisankansagra] Update parquet.py
---
 python/pyarrow/parquet.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyarrow/parquet.py b/python/pyarrow/parquet.py
index 494e65e..485459e 100644
--- a/python/pyarrow/parquet.py
+++ b/python/pyarrow/parquet.py
@@ -594,7 +594,7 @@ class ParquetManifest(object):
             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)
 

-- 
To stop receiving notification emails like this one, please contact
w...@apache.org.

Reply via email to