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

Support for Automatically Converting Integer Types to a Smaller or Larger Size #270

Open
maharshi365 opened this issue Nov 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@maharshi365
Copy link

Is your feature request related to a problem? Please describe.
When inserting data into clickhouse with pandas, we need to specify exactly the data type and match it to the table. Otherwise it fails. One example is trying to insert a numpy.uint64 column to a uint256 column on Clickhouse.

Describe the solution you'd like
I would like the library to determine if/how to size up/down the objects automatically.

Describe alternatives you've considered
Converting the objects to pure python integers, and then inserting. I have yet to test if this works.

Additional context
Slack convo: https://clickhousedb.slack.com/archives/CU478UEQZ/p1699571016615659

@maharshi365 maharshi365 added the enhancement New feature or request label Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant