You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This already implemented but have the following breaking issues:
Nullable(polygon) if source DB has the Polygon null will throw an error: java.sql.SQLException: Code: 43. DB::Exception: Nested type Polygon cannot be inside Nullable type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.7.1.1).
If 1 is fixed manually still data won't get inserted:
java.lang.ClassCastException: class [B cannot be cast to class java.nio.ByteBuffer ([B and java.nio.ByteBuffer are in module java.base of loader 'bootstrap')
at com.altinity.clickhouse.sink.connector.converters.ClickHouseDataTypeMapper.convert(ClickHouseDataTypeMapper.java:233) ~[app.jar:?]
at com.altinity.clickhouse.sink.connector.db.batch.PreparedStatementExecutor.insertPreparedStatement(PreparedStatementExecutor.java:280) ~[app.jar:?]
at com.altinity.clickhouse.sink.connector.db.batch.PreparedStatementExecutor.lambda$executePreparedStatement$0(PreparedStatementExecutor.java:143) ~[app.jar:?]
at java.lang.Iterable.forEach(Iterable.java:75) [?:?]
at com.altin
If 2 is fixed manually still the current implementation tries to store Polygon as HEX in a Clickhouse String, while maybe there's a use case for this, I believe the best way is to store it as Clickhouse Polygon for advance analytics in Clickhouse.
I will fix these issues and PR it today.
The text was updated successfully, but these errors were encountered:
Hello there,
This already implemented but have the following breaking issues:
java.sql.SQLException: Code: 43. DB::Exception: Nested type Polygon cannot be inside Nullable type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.7.1.1)
.I will fix these issues and PR it today.
The text was updated successfully, but these errors were encountered: