alisha-1000 opened a new pull request, #4150:
URL: https://github.com/apache/streampipes/pull/4150

   ### Purpose
   
   This PR introduces a JVM-based FieldRenamer processor that allows renaming 
multiple fields in a single processor execution.
   
   Currently, renaming multiple fields requires chaining several FieldRenamer 
processors and is not supported in lite / standalone JVM extensions. The new 
processor addresses both limitations by allowing users to define an arbitrary 
number of old → new field mappings via a collection static property.
   
   The processor dynamically derives the output schema using a 
CustomTransformOutputStrategy and applies all rename operations in one step at 
runtime.
   
   This PR is currently a work in progress and shared early to gather feedback 
on the overall design and approach.
   
   ### Remarks
   
   - The processor uses a CollectionStaticProperty to define multiple rename 
mappings
   - A CustomTransformOutputStrategy is used to compute the output schema 
dynamically
   - Initial implementation focuses on structure and core logic; validation and 
tests will be added incrementally
   - Related to STREAMPIPES-338, but extends it to support multi-field renaming 
in one processor
   
   PR introduces (a) breaking change(s): no  
   PR introduces (a) deprecation(s): no
   


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