Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24630

Implement row projection in AvroToRowDataConverters#createRowConverter

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              TsReaper Caizhi Weng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: