You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes. Databases that differentiate between Unicode and SBCS columns (notably Microsoft SQL Server nvarchar vs. varchar) can fail simple round-trips when using to_sql to write columns with Unicode strings.
Is your feature request related to a problem?
Yes. Databases that differentiate between Unicode and SBCS columns (notably Microsoft SQL Server
nvarchar
vs.varchar
) can fail simple round-trips when usingto_sql
to write columns with Unicode strings.Describe the solution you'd like
Change the default column
dtype
fromText
...pandas/pandas/io/sql.py
Line 1080 in a9cb64a
... to
UnicodeText
.API breaking implications
None that I can see.
Describe alternatives you've considered
An alternative would be to modify the behaviour of
Text
in SQLAlchemy's mssql dialect, but SQLA already hasUnicodeText
and it solves the problem.Additional context
The text was updated successfully, but these errors were encountered: