pan3793 commented on issue #1885:
URL: https://github.com/apache/iceberg/issues/1885#issuecomment-739955832


   @openinx Thanks for your response.
   
   > So you might need to provide a function to convert `GenericRecord` to 
RowData. The `TypeInformation<RowData>` specify your data type for inputstream .
   
   That's definitely what I'm trying to do. My question is, as I already have 
avro `GenericRecord` and `Schema`, how to write a  generic `MapFunction` to 
handle all `GenericRecord` properly, convert `GenericRecord` to `RowData` and 
convert `Schema` to `TypeInformation<RowData>`.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to