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

data_type in DatabaseMetaData need to be int #82

Closed
cdmikechen opened this issue Aug 22, 2023 · 1 comment
Closed

data_type in DatabaseMetaData need to be int #82

cdmikechen opened this issue Aug 22, 2023 · 1 comment
Assignees

Comments

@cdmikechen
Copy link
Contributor

cdmikechen commented Aug 22, 2023

Currently databend-jdbc returns string type, such as Int32:

ResultSet rs = conn.getMetaData().getColumns(this.db, this.schema, this.table, "%")

image

While in fact the type returned by regular databases (such as MySQL) is int, and the data returned depends on java.sql.Types

image

@hantmac hantmac self-assigned this Aug 22, 2023
@hantmac
Copy link
Member

hantmac commented Aug 22, 2023

Thanks for your report! databend-jdbc return the DatabendRawType as Data_Type now I will try to fix it.

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

2 participants