Skip to content

_version column is filled with error string #1213

@Fluder-Paradyne

Description

@Fluder-Paradyne

For mysql without gti enabled, the version column is filled with this error.

<failed to load>
java.sql.SQLException: Method: getLong("_version") encountered an exception.
	at com.clickhouse.jdbc.internal.ExceptionUtils.toSqlState(ExceptionUtils.java:74)
	at com.clickhouse.jdbc.ResultSetImpl.getLong(ResultSetImpl.java:352)
	at com.clickhouse.jdbc.ResultSetImpl.getLong(ResultSetImpl.java:207)
	in CHouseJdbcHelper.tryGetObject(CHouseJdbcHelper.java:157)
Caused by: java.lang.ArithmeticException: integer overflow: 18446744073709551615 cannot be presented as long
	at com.clickhouse.client.api.data_formats.internal.NumberConverter.toLong(NumberConverter.java:87)
	at com.clickhouse.client.api.data_formats.internal.AbstractBinaryFormatReader.readNumberValue(AbstractBinaryFormatReader.java:350)
	at com.clickhouse.client.api.data_formats.internal.AbstractBinaryFormatReader.getLong(AbstractBinaryFormatReader.java:374)
	at com.clickhouse.jdbc.ResultSetImpl.getLong(ResultSetImpl.java:346)
	... 23 more
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions