File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ Thick Mode Changes
2727Common Changes
2828++++++++++++++
2929
30+ #) Fixed a bug resulting in a segfault when attempting to use an
31+ :ref: `output type handler <outputtypehandlers >` while fetching data frames
32+ with :meth: `Connection.fetch_df_all() ` and
33+ :meth: `Connection.fetch_df_batches() `
34+ (`issue 486 <https://github.com/oracle/python-oracledb/issues/486 >`__).
3035#) Added support for using the Cython 3.1 release
3136 (`issue 493 <https://github.com/oracle/python-oracledb/issues/493 >`__).
3237#) Miscellaneous grammar and spelling fixes by John Bampton
Original file line number Diff line number Diff line change @@ -301,11 +301,15 @@ cdef class BaseCursorImpl:
301301 """
302302 Return the output type handler to use for the cursor. If one is not
303303 directly defined on the cursor then the one defined on the connection
304- is used instead.
304+ is used instead. When fetching Arrow data, however, no output type
305+ handlers are used since for most data no conversion to Python objects
306+ ever takes place.
305307 """
306308 cdef:
307309 BaseConnImpl conn_impl
308310 object type_handler
311+ if self .fetching_arrow:
312+ return None
309313 if self .outputtypehandler is not None :
310314 type_handler = self .outputtypehandler
311315 else :
You can’t perform that action at this time.
0 commit comments