File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -88,12 +88,8 @@ cdef extern from "nanoarrow/nanoarrow.c":
8888 ArrowErrorCode ArrowArrayReserve(ArrowArray* array,
8989 int64_t additional_size_elements)
9090 ArrowErrorCode ArrowArrayStartAppending(ArrowArray* array)
91- ArrowErrorCode ArrowArrayViewInitFromSchema(ArrowArrayView* array_view,
92- const ArrowSchema* schema,
93- ArrowError* error)
94- ArrowErrorCode ArrowArrayViewSetArray(ArrowArrayView* array_view,
95- const ArrowArray* array,
96- ArrowError* error)
91+ ArrowErrorCode ArrowArrayViewInitFromArray(ArrowArrayView* array_view,
92+ ArrowArray* array)
9793 int8_t ArrowBitGet(const uint8_t* bits, int64_t i)
9894 ArrowBufferAllocator ArrowBufferDeallocator(ArrowBufferDeallocatorCallback,
9995 void * private_data)
@@ -420,9 +416,7 @@ cdef class OracleArrowArray:
420416 int64_t n_buffers = self .arrow_array.n_buffers
421417 ArrowBufferView * buffer
422418 ArrowArrayView view
423- _check_nanoarrow(ArrowArrayViewInitFromSchema(& view, self .arrow_schema,
424- NULL ))
425- _check_nanoarrow(ArrowArrayViewSetArray(& view, self .arrow_array, NULL ))
419+ _check_nanoarrow(ArrowArrayViewInitFromArray(& view, self .arrow_array))
426420
427421 # initialize all buffers to None to begin with
428422 buffers = {
You can’t perform that action at this time.
0 commit comments