Caizhi Weng created FLINK-24630: ----------------------------------- Summary: Implement row projection in AvroToRowDataConverters#createRowConverter Key: FLINK-24630 URL: https://issues.apache.org/jira/browse/FLINK-24630 Project: Flink Issue Type: Improvement Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile) Affects Versions: 1.15.0 Reporter: Caizhi Weng
Currently {{AvroToRowDataConverters#createRowConverter}} converts avro records to Flink row data directly without any projection. However users of this method, such as {{AvroFileSystemFormatFactory.RowDataAvroInputFormat}}, need to implement their own projection logic to filter out the columns they needed. We can hide the logic of implementation in {{AvroToRowDataConverters#createRowConverter}} both for optimization (users do not need to copy the row for this) and for the ease of coding. -- This message was sent by Atlassian Jira (v8.3.4#803005)