wenjin272 commented on issue #1080: URL: https://github.com/apache/flink-agents/issues/1080#issuecomment-5866798701
This direction looks good to me. Could we also support `toDataStream(ReviewOutput.class)` and `toTable(ReviewOutput.class)` for the common Java case, matching the Python usage? The class overloads can derive `TypeInformation` internally, while explicit `TypeInformation` overloads remain available for generic or custom types. Minor correction: since `to_table` keeps `schema` as its first parameter, the typed example should be `to_table(output_type=ReviewOutput)`. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
