You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by uw...@apache.org on 2018/05/16 16:13:14 UTC

[arrow] branch master updated: ARROW-2589: [Python] Workaround regression in Pandas 0.23.0

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

uwe 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 5bb3d85  ARROW-2589: [Python] Workaround regression in Pandas 0.23.0
5bb3d85 is described below

commit 5bb3d85e82a9dbbc2b04ca37ff3819574df94f8a
Author: Antoine Pitrou <an...@python.org>
AuthorDate: Wed May 16 18:13:05 2018 +0200

    ARROW-2589: [Python] Workaround regression in Pandas 0.23.0
    
    There is a regression (*) in Pandas 0.23.0 that breaks test_parquet.py.
    Pandas does not have an actual "str" dtype anyway, so pass "object" instead.
    
    (*) pandas-dev/pandas#21083
    
    Author: Antoine Pitrou <an...@python.org>
    
    Closes #2051 from pitrou/ARROW-2589 and squashes the following commits:
    
    b581ef36 <Antoine Pitrou> ARROW-2589:  Workaround regression in Pandas 0.23.0
---
 python/pyarrow/tests/test_parquet.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyarrow/tests/test_parquet.py b/python/pyarrow/tests/test_parquet.py
index 9beb9bf..730a02a 100644
--- a/python/pyarrow/tests/test_parquet.py
+++ b/python/pyarrow/tests/test_parquet.py
@@ -587,7 +587,7 @@ def test_parquet_metadata_api():
         ([-1.1, 2.2, 2.3, None, 4.4], np.float64, -1.1, 4.4, 1, 4),
         (
             [u'', u'b', unichar(1000), None, u'aaa'],
-            str, b'', unichar(1000).encode('utf-8'), 1, 4
+            object, b'', unichar(1000).encode('utf-8'), 1, 4
         ),
         ([True, False, False, True, True], np.bool, False, True, 0, 5),
     ]

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