[ https://issues.apache.org/jira/browse/ARROW-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351057#comment-16351057 ]
ASF GitHub Bot commented on ARROW-2085: --------------------------------------- jcrist opened a new pull request #1552: ARROW-2085: [Python] HadoopFileSystem.isdir/.isfile return False on missing paths URL: https://github.com/apache/arrow/pull/1552 Return `False` instead of erroring if the path is missing to match the behavior of the python standard library. Also changes the default fixture settings to rely on the default configuration detection provided by libhdfs. This allows the tests to run fine with no extra environment variables (at least on my system). ---------------------------------------------------------------- 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: us...@infra.apache.org > HadoopFileSystem.isdir and .isfile should return False if the path doesn't > exist > --------------------------------------------------------------------------------- > > Key: ARROW-2085 > URL: https://issues.apache.org/jira/browse/ARROW-2085 > Project: Apache Arrow > Issue Type: Bug > Components: Python > Reporter: Jim Crist > Priority: Major > Labels: pull-request-available > > Per the python standard library, `isdir` and `isfile` should return `False` > if the given path doesn't exist. Currently these methods error on missing > paths. -- This message was sent by Atlassian JIRA (v7.6.3#76005)