Skip to content

ENH: Adding hint to to_sql #61370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 3 tasks
AliKayhanAtay opened this issue Apr 28, 2025 · 0 comments
Open
1 of 3 tasks

ENH: Adding hint to to_sql #61370

AliKayhanAtay opened this issue Apr 28, 2025 · 0 comments
Labels
Enhancement Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@AliKayhanAtay
Copy link

Feature Type

  • Adding new functionality to pandas

  • Changing existing functionality in pandas

  • Removing existing functionality in pandas

Problem Description

It would be great if we able use hints with to_sql. Especially /APPEND PARALLEL/ hints greatly improves insert time in Oracle.

Feature Description

with db().connect() as connection:
df.to_sql('TEST_TABLE', connection, hints={'ORACLE':['APPEND', 'PARALLEL']}

Alternative Solutions

with db().connect() as connection:
df.to_sql('TEST_TABLE', connection, hints={'ORACLE':['APPEND', 'PARALLEL']}

Additional Context

No response

@AliKayhanAtay AliKayhanAtay added Enhancement Needs Triage Issue that has not been reviewed by a pandas team member labels Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Needs Triage Issue that has not been reviewed by a pandas team member
Projects
None yet
Development

No branches or pull requests

1 participant