Skip to content

Commit

Permalink
GetResultValue seem to require shared_ptr instead of unique_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Jan 7, 2025
1 parent c1deb19 commit 2fe23a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyarrow/_parquet.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,9 @@ cdef extern from "parquet/arrow/reader.h" namespace "parquet::arrow" nogil:
const vector[int]& column_indices,
shared_ptr[CTable]* out)

CResult[unique_ptr[CRecordBatchReader]] GetRecordBatchReader(const vector[int]& row_group_indices,
CResult[shared_ptr[CRecordBatchReader]] GetRecordBatchReader(const vector[int]& row_group_indices,
const vector[int]& column_indices)
CResult[unique_ptr[CRecordBatchReader]] GetRecordBatchReader(const vector[int]& row_group_indices)
CResult[shared_ptr[CRecordBatchReader]] GetRecordBatchReader(const vector[int]& row_group_indices)

CStatus ReadTable(shared_ptr[CTable]* out)
CStatus ReadTable(const vector[int]& column_indices,
Expand Down

0 comments on commit 2fe23a2

Please sign in to comment.