Repository navigation
[client-v2] Add new Geometry type #2678
Description
Activity
- addedjdbc-v2jdbc-v2 issuesjdbc-v2 issuesarea:data-typedata type processing issuesdata type processing issues
on Dec 3, 2025 - Can I understand that the error log I saw at https://github.com/linghengqian/clickhouse-typeinfo-test is related to this issue? Do I need to create a new issue?
[ERROR] 2025-12-17 15:03:47.935 [main] c.c.j.metadata.DatabaseMetaDataImpl - Failed to convert column data type to SQL type: {} java.lang.IllegalArgumentException: No enum constant com.clickhouse.data.ClickHouseDataType.Geometry at java.base/java.lang.Enum.valueOf(Enum.java:293) at com.clickhouse.data.ClickHouseDataType.valueOf(ClickHouseDataType.java:52) at com.clickhouse.jdbc.metadata.DatabaseMetaDataImpl.lambda$static$2(DatabaseMetaDataImpl.java:1102) at com.clickhouse.jdbc.internal.DetachedResultSet.createFromResultSet(DetachedResultSet.java:93) at com.clickhouse.jdbc.metadata.DatabaseMetaDataImpl.getTypeInfo(DatabaseMetaDataImpl.java:1082) at io.github.linghengqian.SimpleTest.simpleTest(SimpleTest.java:14)
Good dau, @linghengqian !
Caused by this issue. But for the problem that old client may not work with the new CH there is another #2394Thank you for bringing this - I will update #2394 with your scenario.
Reacted by Hengqian Ling@linghengqian
I've looked into your case - this message is reported because client may not know type and requires upgrade.
In this case JDBC Driver and Client will continue to work except moments when using unknown type. So this exception is not a bug but warning that client found an unknown type.@linghengqian
I've looked into your case - this message is reported because client may not know type and requires upgrade.
In this case JDBC Driver and Client will continue to work except moments when using unknown type. So this exception is not a bug but warning that client found an unknown type.Yes, this error log won't prevent the unit tests from running; it only prints out the log under a specific logback configuration. That's why I'm asking if we need to open a new issue for this.
But this logback configuration is really quite common.😂
Reacted by Sergey Chernov@linghengqian
we have another test to detect new types on HEAD and latest version of ClickHouse (just in case we missed it).
I will fix the message to be more informative.Reacted by Hengqian Ling- added a parent issue
on Mar 18, 2026
Description
New type
Geometryis released in52.11https://clickhouse.com/docs/whats-new/changelog#2511Notes:
In previous versions, the Geometry type was aliased to String, but now it is a full-featured type. #83344
Introduce Geometry type. Support reading WKB and WKT formats for it. In previous versions, the Geometry type was aliased to String, but now it is a full-featured type. #83344
https://clickhouse.com/docs/sql-reference/data-types/geo#geometry