leehaut opened a new pull request, #6013:
URL: https://github.com/apache/hop/pull/6013

   fix https://github.com/apache/hop/issues/6008--  [Bug]: Problem with 
duplicate field names in timeline after 'Split fields' step
   
   Recalculate the position in the cache
   
   ``` java
       void insertAtMapping(String name, int index) {
         if (Utils.isEmpty(name) || index < 0) {
           return;
         }
   
         String key = name.toLowerCase();
         // For all values that are greater than or equal to the index, 
increment them by 1.
         mapping.replaceAll((k, v) -> v >= index ? v + 1 : v);
         mapping.put(key, index);
       }
   ```


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