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
Caused by: java.lang.IllegalArgumentException: Not a struct type: string
at org.apache.iceberg.types.Type.asStructType(Type.java:72)
at org.apache.iceberg.connect.data.IcebergWriterFactory.autoCreateTable(IcebergWriterFactory.java:83)
at org.apache.iceberg.connect.data.IcebergWriterFactory.createWriter(IcebergWriterFactory.java:62)
at org.apache.iceberg.connect.data.SinkWriter.lambda$writerForTable$3(SinkWriter.java:139)
at java.base/java.util.HashMap.computeIfAbsent(Unknown Source)
at org.apache.iceberg.connect.data.SinkWriter.writerForTable(SinkWriter.java:138)
at org.apache.iceberg.connect.data.SinkWriter.lambda$routeRecordStatically$1(SinkWriter.java:98)
at java.base/java.util.Arrays$ArrayList.forEach(Unknown Source)
at org.apache.iceberg.connect.data.SinkWriter.routeRecordStatically(SinkWriter.java:96)
at org.apache.iceberg.connect.data.SinkWriter.save(SinkWriter.java:85)
at java.base/java.util.ArrayList.forEach(Unknown Source)
at org.apache.iceberg.connect.data.SinkWriter.save(SinkWriter.java:68)
at org.apache.iceberg.connect.channel.Worker.save(Worker.java:124)
at org.apache.iceberg.connect.channel.CommitterImpl.save(CommitterImpl.java:88)
at org.apache.iceberg.connect.IcebergSinkTask.put(IcebergSinkTask.java:87)
at org.apache.kafka.connect.runtime.WorkerSinkTask.deliverMessages(WorkerSinkTask.java:605)
even with a string value containing a json it fail
Apache Iceberg version
1.7.1 (latest release)
Query engine
Kafka Connect
Please describe the bug 🐞
if I produce a message in string for key and value
then the connector
fail with
even with a string value containing a json it fail
but if I use
then the connector create and add data to the table ->
Willingness to contribute
The text was updated successfully, but these errors were encountered: