You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched in the issues and found nothing similar.
Description
We have already introduced RowDataDeserializationSchema in #661, which converts Fluss LogRecord into a Flink RowData. However, that's mainly used as an internal API for SQL Connector. For DataStream API, it would be more convenient to have a RowDeserializationSchema which converts into Flink Row. The Flink Row provides both position-based access and name-based access, similar to Avro GenericRecord. In this way, users can easily add map transformation on the DataStream to convert the Row into user-defined POJOs. Such as:
@MehulBatra, I already have a working implementation of this from my original design because it is doing such conversions.
Although I need to extend the support to complex types
Search before asking
Description
We have already introduced
RowDataDeserializationSchema
in #661, which converts FlussLogRecord
into a FlinkRowData
. However, that's mainly used as an internal API for SQL Connector. For DataStream API, it would be more convenient to have aRowDeserializationSchema
which converts into FlinkRow
. The FlinkRow
provides both position-based access and name-based access, similar to Avro GenericRecord. In this way, users can easily add map transformation on the DataStream to convert the Row into user-defined POJOs. Such as:See the discussion in #661 (comment)
Willingness to contribute
The text was updated successfully, but these errors were encountered: