You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ap...@apache.org on 2019/03/19 18:09:17 UTC

[arrow] branch master updated: ARROW-4413: [Python] Fix pa.hdfs.connect() on Python 2

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

apitrou 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 8281a5d  ARROW-4413: [Python] Fix pa.hdfs.connect() on Python 2
8281a5d is described below

commit 8281a5d7481efe0ecfeae1fe2f75e04671f6c11b
Author: Antoine Pitrou <an...@python.org>
AuthorDate: Tue Mar 19 19:09:10 2019 +0100

    ARROW-4413: [Python] Fix pa.hdfs.connect() on Python 2
    
    I can't actually test this works on a HDFS filesystem, but this should fix the logical error.
    
    Author: Antoine Pitrou <an...@python.org>
    
    Closes #3975 from pitrou/ARROW-4413-hdfs-py2 and squashes the following commits:
    
    4cb4a8b07 <Antoine Pitrou> ARROW-4413:  Fix pa.hdfs.connect() on Python 2
---
 python/pyarrow/io-hdfs.pxi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/python/pyarrow/io-hdfs.pxi b/python/pyarrow/io-hdfs.pxi
index d93bd79..e9655e4 100644
--- a/python/pyarrow/io-hdfs.pxi
+++ b/python/pyarrow/io-hdfs.pxi
@@ -59,10 +59,10 @@ cdef class HadoopFileSystem:
 
     cdef readonly:
         bint is_open
-        str host
-        str user
-        str kerb_ticket
-        str driver
+        object host
+        object user
+        object kerb_ticket
+        object driver
         int port
         dict extra_conf