Repository: arrow Updated Branches: refs/heads/master 3add9181f -> 0ab425245
ARROW-546: Python: Account for changes in PARQUET-867 Author: Uwe L. Korn <[email protected]> Closes #332 from xhochy/ARROW-546 and squashes the following commits: ca019c5 [Uwe L. Korn] ARROW-546: Python: Account for changes in PARQUET-867 Project: http://git-wip-us.apache.org/repos/asf/arrow/repo Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/0ab42524 Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/0ab42524 Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/0ab42524 Branch: refs/heads/master Commit: 0ab4252453be025f13df2a825e67fbfbbb608ab9 Parents: 3add918 Author: Uwe L. Korn <[email protected]> Authored: Thu Feb 9 16:19:38 2017 -0500 Committer: Wes McKinney <[email protected]> Committed: Thu Feb 9 16:19:38 2017 -0500 ---------------------------------------------------------------------- python/pyarrow/_parquet.pxd | 2 +- python/pyarrow/_parquet.pyx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/arrow/blob/0ab42524/python/pyarrow/_parquet.pxd ---------------------------------------------------------------------- diff --git a/python/pyarrow/_parquet.pxd b/python/pyarrow/_parquet.pxd index 005be91..e106252 100644 --- a/python/pyarrow/_parquet.pxd +++ b/python/pyarrow/_parquet.pxd @@ -229,7 +229,7 @@ cdef extern from "parquet/arrow/schema.h" namespace "parquet::arrow" nogil: cdef extern from "parquet/arrow/writer.h" namespace "parquet::arrow" nogil: cdef CStatus WriteTable( - const CTable* table, CMemoryPool* pool, + const CTable& table, CMemoryPool* pool, const shared_ptr[OutputStream]& sink, int64_t chunk_size, const shared_ptr[WriterProperties]& properties) http://git-wip-us.apache.org/repos/asf/arrow/blob/0ab42524/python/pyarrow/_parquet.pyx ---------------------------------------------------------------------- diff --git a/python/pyarrow/_parquet.pyx b/python/pyarrow/_parquet.pyx index 796c436..08c7bb5 100644 --- a/python/pyarrow/_parquet.pyx +++ b/python/pyarrow/_parquet.pyx @@ -543,6 +543,6 @@ cdef class ParquetWriter: cdef int c_row_group_size = row_group_size with nogil: - check_status(WriteTable(ctable, self.allocator, - self.sink, c_row_group_size, - self.properties)) + check_status(WriteTable(deref(ctable), self.allocator, + self.sink, c_row_group_size, + self.properties))
