Skip to content

Commit 52a748e

Browse files
committed
Added appropriate numbers
1 parent 8561808 commit 52a748e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/source/whatsnew/v3.0.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ All warnings for upcoming changes in pandas will have the base class :class:`pan
156156

157157
Other enhancements
158158
^^^^^^^^^^^^^^^^^^
159-
- :func:`DataFrame.to_sql` now accepts a ``hints`` parameter to pass database-specific query hints for optimizing insert performance. The hints are specified as a dictionary mapping dialect names to hint strings (e.g., ``{'oracle': '/*+ APPEND PARALLEL(4) */', 'mysql': 'DELAYED'}``). Users are responsible for providing correctly formatted hint strings for their target database (:issue:`XXXXX`)
159+
- :func:`DataFrame.to_sql` now accepts a ``hints`` parameter to pass database-specific query hints for optimizing insert performance. The hints are specified as a dictionary mapping dialect names to hint strings (e.g., ``{'oracle': '/*+ APPEND PARALLEL(4) */', 'mysql': 'DELAYED'}``). Users are responsible for providing correctly formatted hint strings for their target database (:issue:`61370`)
160160
- :func:`pandas.merge` propagates the ``attrs`` attribute to the result if all
161161
inputs have identical ``attrs``, as has so far already been the case for
162162
:func:`pandas.concat`.

pandas/io/sql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ def to_sql(
837837
- SQLite will raise a UserWarning (hints not supported)
838838
- ADBC connections will raise NotImplementedError
839839
840-
.. versionadded::
840+
.. versionadded:: 3.0.0
841841
842842
**engine_kwargs
843843
Any additional kwargs are passed to the engine.

0 commit comments

Comments
 (0)