JunWang222 commented on issue #649:
URL: https://github.com/apache/wayang/issues/649#issuecomment-3987236267

   Hi team, I created a PR for this issue:
   https://github.com/apache/wayang/pull/710
   
   Plan
   Add a new MultiFieldPojoImplementation class following the same pattern as 
the existing PojoImplementation and RecordImplementation. It takes multiple 
field names, extracts each field from the input POJO via reflection, and packs 
the values into a Record.
   Expose it through two new factory methods — one for field names, one for 
indexes — and keep the existing single-field path untouched for backward 
compatibility. The existing constructor routes automatically: 1 field → old 
PojoImplementation (returns the raw value, same behavior as before), multiple 
fields → new MultiFieldPojoImplementation (returns a Record).


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

Reply via email to