Repository navigation
[jdbc-v2, client-v2] Improve messages for unknown data types - #2698
Conversation
…ings and improved messages
There was a problem hiding this comment.
Pull request overview
This PR improves error messaging when encountering unknown data types in both the JDBC and client implementations. The changes provide clearer guidance to users about checking for client updates when unknown types are encountered.
- Enhances error messages to distinguish between unknown types and other conversion failures
- Adds comprehensive test coverage for all ClickHouse data types
- Improves exception handling with more specific error context
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| jdbc-v2/src/main/java/com/clickhouse/jdbc/metadata/DatabaseMetaDataImpl.java | Splits exception handling to provide specific messages for unknown types versus other failures |
| client-v2/src/test/java/com/clickhouse/client/metadata/MetadataTests.java | Adds comprehensive integration test covering all ClickHouse data types with version-specific handling |
| client-v2/src/main/java/com/clickhouse/client/api/internal/TableSchemaParser.java | Adds exception handling with context when parsing column definitions fails |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Client V2 CoverageCoverage Report
Class Coverage
|
JDBC V2 CoverageCoverage Report
Class Coverage
|
JDBC V1 CoverageCoverage Report
Class Coverage
|
Client V1 CoverageCoverage Report
Class Coverage
|
|




Summary
Checklist
Delete items not relevant to your PR: