Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Add option for databend connector to return values in client.execute() to native python datatypes. As of now retuning only string for all records. #92

Open
gkllkg opened this issue Dec 31, 2024 · 1 comment

Comments

@gkllkg
Copy link

gkllkg commented Dec 31, 2024

While returning data from databend connector we are getting data in string. could you please add an option to return value in native python datatpye based on data type defined in databend?

It will be good if we add this functionality : https://docs.snowflake.com/en/developer-guide/python-connector/python-connector-example#querying-data

@anirudhsathya74
Copy link

So while returning the values from an execute statement, we get a list of values. Here we observed that the values are almost all the time in the form of a string i.e., enclosed in single quotes, making it hard to process the data based on their data types. This was observed mainly for decimal(38, 0) types being stored as strings after retrieval.

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

No branches or pull requests

2 participants