zncleon opened a new issue, #14850:
URL: https://github.com/apache/iceberg/issues/14850
### Feature Request / Improvement
When I use the flink dynamic iceberg sink, I got an error
`Caused by: java.io.UTFDataFormatException: Encoded string is too long: 71731
at
org.apache.flink.core.memory.DataOutputSerializer.writeUTF(DataOutputSerializer.java:251)
~[flink-sql-jdbc-driver-bundle-1.20.2-mac.jar:1.20.2]
at
org.apache.iceberg.flink.sink.dynamic.DynamicRecordInternalSerializer.serialize(DynamicRecordInternalSerializer.java:71)
~[iceberg-flink-runtime-1.20-1.11.0-SNAPSHOT.jar:?]
at
org.apache.iceberg.flink.sink.dynamic.DynamicRecordInternalSerializer.serialize(DynamicRecordInternalSerializer.java:39)
~[iceberg-flink-runtime-1.20-1.11.0-SNAPSHOT.jar:?]
at
org.apache.flink.streaming.runtime.streamrecord.StreamElementSerializer.serialize(StreamElementSerializer.java:173)
~[flink-dist-1.20.2-mac.jar:1.20.2]
at
org.apache.flink.streaming.runtime.streamrecord.StreamElementSerializer.serialize(StreamElementSerializer.java:44)
~[flink-dist-1.20.2-mac.jar:1.20.2]
at
org.apache.flink.runtime.plugable.SerializationDelegate.write(SerializationDelegate.java:54)
~[flink-sql-jdbc-driver-bundle-1.20.2-mac.jar:1.20.2]
at
org.apache.flink.runtime.io.network.api.writer.RecordWriter.serializeRecord(RecordWriter.java:152)
~[flink-sql-jdbc-driver-bundle-1.20.2-mac.jar:1.20.2]
at
org.apache.flink.runtime.io.network.api.writer.RecordWriter.emit(RecordWriter.java:108)
~[flink-sql-jdbc-driver-bundle-1.20.2-mac.jar:1.20.2]
at
org.apache.flink.runtime.io.network.api.writer.ChannelSelectorRecordWriter.emit(ChannelSelectorRecordWriter.java:55)
~[flink-sql-jdbc-driver-bundle-1.20.2-mac.jar:1.20.2]
at
org.apache.flink.streaming.runtime.io.RecordWriterOutput.pushToRecordWriter(RecordWriterOutput.java:140)
~[flink-dist-1.20.2-mac.jar:1.20.2]`
dataOutputView.writeUTF(SchemaParser.toJson(toSerialize.schema()));
### Query engine
None
### Willingness to contribute
- [ ] I can contribute this improvement/feature independently
- [ ] I would be willing to contribute this improvement/feature with
guidance from the Iceberg community
- [ ] I cannot contribute this improvement/feature at this time
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]