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
27
27
Common Changes
28
28
++++++++++++++
29
29
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 >`__).
30
35
#) Added support for using the Cython 3.1 release
31
36
(`issue 493 <https://github.com/oracle/python-oracledb/issues/493 >`__).
32
37
#) 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:
301
301
"""
302
302
Return the output type handler to use for the cursor. If one is not
303
303
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.
305
307
"""
306
308
cdef:
307
309
BaseConnImpl conn_impl
308
310
object type_handler
311
+ if self .fetching_arrow:
312
+ return None
309
313
if self .outputtypehandler is not None :
310
314
type_handler = self .outputtypehandler
311
315
else :
You can’t perform that action at this time.
0 commit comments