Insert a visit with goals Price containing a null value:
Expected behaviour
Since it is possible to create such nullable fields, the client should be able to handle them and serialize them successfully.
Error log
Caused by: java.lang.IllegalArgumentException: Cannot convert null to Integer
at com.clickhouse.client.api.internal.SerializerUtils.convertToInteger(SerializerUtils.java:225)
Environment
Client version: 0.7.0
Language version: java17
OS:
ClickHouse server
ClickHouse Server version: 23.3.18.15
I have created this PR which fixes the issue (apparently)
Describe the bug
Create the following table
Steps to reproduce
Create a table with a nested column which has a nullable field.
Insert a visit with goals Price containing a null value:
Expected behaviour
Since it is possible to create such nullable fields, the client should be able to handle them and serialize them successfully.
Error log
Environment
ClickHouse server
I have created this PR which fixes the issue (apparently)