arrow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject arrow git commit: ARROW-1056: [Python] Ignore pandas index in parquet+hdfs test
Date Mon, 05 Jun 2017 10:26:18 GMT
Repository: arrow
Updated Branches:
  refs/heads/master cfaddabec -> 316930cf6


ARROW-1056: [Python] Ignore pandas index in parquet+hdfs test

I have all the tests passing again:

```shell
$ py.test pyarrow --hdfs
===================================== test session starts =====================================
platform linux -- Python 3.5.1, pytest-3.0.6, py-1.4.31, pluggy-0.4.0
rootdir: /home/wesm/code/arrow/python, inifile: setup.cfg
collected 227 items

pyarrow/tests/test_array.py ...........
pyarrow/tests/test_convert_builtin.py ......................
pyarrow/tests/test_convert_pandas.py ............................x....
pyarrow/tests/test_deprecations.py ..
pyarrow/tests/test_feather.py .......................x....
pyarrow/tests/test_hdfs.py ...............
pyarrow/tests/test_io.py ..................
pyarrow/tests/test_ipc.py .............x
pyarrow/tests/test_jemalloc.py ..
pyarrow/tests/test_parquet.py ...........................
pyarrow/tests/test_scalars.py ..........
pyarrow/tests/test_schema.py ..............
pyarrow/tests/test_table.py ...............
pyarrow/tests/test_tensor.py ................
```

Author: Wes McKinney <wes.mckinney@twosigma.com>

Closes #728 from wesm/ARROW-1056 and squashes the following commits:

aa3d468 [Wes McKinney] Ignore pandas index in parquet+hdfs test


Project: http://git-wip-us.apache.org/repos/asf/arrow/repo
Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/316930cf
Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/316930cf
Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/316930cf

Branch: refs/heads/master
Commit: 316930cf6ce654aae042ee5ef269e6fef050a791
Parents: cfaddab
Author: Wes McKinney <wes.mckinney@twosigma.com>
Authored: Mon Jun 5 12:26:13 2017 +0200
Committer: Uwe L. Korn <uwelk@xhochy.com>
Committed: Mon Jun 5 12:26:13 2017 +0200

----------------------------------------------------------------------
 python/pyarrow/tests/test_hdfs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/arrow/blob/316930cf/python/pyarrow/tests/test_hdfs.py
----------------------------------------------------------------------
diff --git a/python/pyarrow/tests/test_hdfs.py b/python/pyarrow/tests/test_hdfs.py
index d2a5479..cea02fb 100644
--- a/python/pyarrow/tests/test_hdfs.py
+++ b/python/pyarrow/tests/test_hdfs.py
@@ -167,7 +167,7 @@ class HdfsTestCases(object):
 
             path = pjoin(tmpdir, '{0}.parquet'.format(i))
 
-            table = pa.Table.from_pandas(df)
+            table = pa.Table.from_pandas(df, preserve_index=False)
             with self.hdfs.open(path, 'wb') as f:
                 pq.write_table(table, f)
 


Mime
View raw message