You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "JingWei Li (Jira)" <ji...@apache.org> on 2024/06/05 13:50:00 UTC
[jira] [Created] (FLINK-35530) protobuf-format support discard unknow field Improve deserialization performance
JingWei Li created FLINK-35530:
----------------------------------
Summary: protobuf-format support discard unknow field Improve deserialization performance
Key: FLINK-35530
URL: https://issues.apache.org/jira/browse/FLINK-35530
Project: Flink
Issue Type: Improvement
Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
Reporter: JingWei Li
Add a protobuf option that allows calling _CodedStreamHelper.discardUnknownFields_ to save the performance overhead of deserializing unknown fields when decoding data.
{code:java}
create table source (...) with (
'format' = 'protobuf',
'protobuf.discard-unknown-field' = 'true'
){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)