-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
Description
Feature Type
-
Adding new functionality to pandas
-
Changing existing functionality in pandas
-
Removing existing functionality in pandas
Problem Description
There exists too much issues about this functionality, some even not close for 5 years. The original design of to_sql didn't fully take different db_dialects into consideration. Overly high level design of this function also prohibits the testing and functionality changing of this function, some PR #48331 was even being blocked due to unrelated test issues, which largely discourages the community.
To this extent, I would like to suggest breaking it down to some more specific and lower-level functions, like _to_sql_oracle, etc
making this less.
Another suggestion is that: It is acceptable if only partial functionality is implemented, say, only for a certain kind of db is designed. If some funcitonality is not officially supported, presenting example gist/code snippets in the document is also a good choice.
Refered issues:
#15988
#48331
#15988
#40647
#35347
#41335
Feature Description
Breaking down the to_sql() into lower level dbs, according to the connection type.
Alternative Solutions
see description.
Additional Context
No response