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

Invalid version for SerializationLowCardinality key column.. Stack trace: #35

Closed
kuiliu88 opened this issue Jul 16, 2024 · 1 comment · Fixed by #37
Closed

Invalid version for SerializationLowCardinality key column.. Stack trace: #35

kuiliu88 opened this issue Jul 16, 2024 · 1 comment · Fixed by #37
Assignees
Labels

Comments

@kuiliu88
Copy link

Environment

  • OS version: Ubuntu
  • JDK version:
  • ClickHouse Server version:
  • ClickHouse Native JDBC version:
  • (Optional) Spark version: N/A
  • (Optional) Other components' version: N/A

Error logs

Exception in thread "main" com.timeplus.exception.TimeplusSQLException: DB::ExceptionDB::Exception: Invalid version for SerializationLowCardinality key column.. Stack trace:


	at com.timeplus.protocol.ExceptionResponse.readExceptionFrom(ExceptionResponse.java:33)
	at com.timeplus.protocol.Response.readFrom(Response.java:35)
	at com.timeplus.client.NativeClient.receiveResponse(NativeClient.java:207)
	at com.timeplus.client.NativeClient.receiveEndOfStream(NativeClient.java:158)
	at com.timeplus.jdbc.TimeplusConnection.sendInsertRequest(TimeplusConnection.java:294)
	at com.timeplus.jdbc.statement.TimeplusPreparedInsertStatement.executeBatch(TimeplusPreparedInsertStatement.java:155)
	at examples.BatchQuery.main(BatchQuery.java:47)
	Suppressed: java.sql.SQLException: Call getSampleBlock before insert.
		at com.timeplus.misc.Validate.isTrue(Validate.java:41)
		at com.timeplus.jdbc.TimeplusConnection.sendInsertRequest(TimeplusConnection.java:289)
		at com.timeplus.jdbc.statement.TimeplusPreparedInsertStatement.close(TimeplusPreparedInsertStatement.java:168)
		at examples.BatchQuery.main(BatchQuery.java:33)
[BatchQuery 2.java.zip](https://github.com/user-attachments/files/16245289/BatchQuery.2.java.zip)

Steps to reproduce

Other descriptions

@jovezhong
Copy link
Contributor

(Jove Github Bot) added it to the current sprint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants