avro 可以忽略或跳过未知字段吗?

Can avro ignore or skip unknown fields?

avro 在解码记录时可以忽略或跳过未知字段吗?到目前为止,我找不到这方面的任何信息。

Avro 在解码 Avro 记录时将忽略未知字段名称。在 Avro 规范中,在 Schema Resolution 部分下,

  • if the writer's record contains a field with a name not present in the reader's record, the writer's value for that field is ignored.