Skip to content
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

Unexpected type casting in insert_dataframe #382

Open
FedericoCeratto opened this issue Jun 21, 2023 · 0 comments
Open

Unexpected type casting in insert_dataframe #382

FedericoCeratto opened this issue Jun 21, 2023 · 0 comments

Comments

@FedericoCeratto
Copy link
Contributor

FedericoCeratto commented Jun 21, 2023

Hello and thanks for developing the driver.

insert_dataframe(...) is attempting to cast a string column into int. The column is a String in the database.
The raised exception ValueError: invalid literal for int() with base 10: ... does not clarify where the column definition came from and how to solve the problem.
The library version is 0.2.0 and the database connection is configured to use Numpy.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant