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

[jdbc-v2] Error while getting type information from DataBaseMetadata #2282

Closed
chernser opened this issue Apr 4, 2025 · 0 comments · Fixed by #2281
Closed

[jdbc-v2] Error while getting type information from DataBaseMetadata #2282

chernser opened this issue Apr 4, 2025 · 0 comments · Fixed by #2281
Assignees
Labels
bug jdbc-v2 jdbc-v2 issues
Milestone

Comments

@chernser
Copy link
Contributor

chernser commented Apr 4, 2025

Describe the bug

Error:

ava.lang.IllegalArgumentException: Missing function parameters
  at com.clickhouse.data.ClickHouseColumn.readColumn(ClickHouseColumn.java:338)
  at com.clickhouse.data.ClickHouseColumn.parse(ClickHouseColumn.java:627)
  at com.clickhouse.jdbc.internal.MetadataResultSet.getString(MetadataResultSet.java:22)
  at com.clickhouse.jdbc.internal.MetadataResultSet.getInt(MetadataResultSet.java:31)

Steps to reproduce

  1. Create connection
  2. get metadata by calling java.sql.Connection#getMetaData
  3. call java.sql.DatabaseMetaData#getTypeInfo then

Similar issue with getColumns()

@chernser chernser added bug jdbc-v2 jdbc-v2 issues labels Apr 4, 2025
@chernser chernser self-assigned this Apr 4, 2025
@chernser chernser added this to the 0.8.3 milestone Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug jdbc-v2 jdbc-v2 issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant