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

Cannot set null to non-nullable column #7 [_sign UInt8] #758

Open
byte09 opened this issue Aug 19, 2024 · 1 comment
Open

Cannot set null to non-nullable column #7 [_sign UInt8] #758

byte09 opened this issue Aug 19, 2024 · 1 comment

Comments

@byte09
Copy link

byte09 commented Aug 19, 2024

Hello, i also have exception:

2024-08-16 08:33:33.296 ERROR - ******* ERROR inserting Batch Database(db_paperless), Table(client_info) *****************
java.sql.SQLException: Cannot set null to non-nullable column #7 [_sign UInt8]
at com.clickhouse.jdbc.SqlExceptionUtils.clientError(SqlExceptionUtils.java:73) ~[app.jar:?]
at com.clickhouse.jdbc.internal.InputBasedPreparedStatement.addBatch(InputBasedPreparedStatement.java:341) ~[app.jar:?]

Problem with null column _sign. Why colum _sign is null ?

Can you help me?

@subkanthi
Copy link
Collaborator

Hi @byte09 , are you using version 2.2.1, this exception is normally caused by mismatch in columns between source and ClickHouse.

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

No branches or pull requests

2 participants