apache / apache/hop

[Feature Request]: Update field in all transforms upon renaming

Open
#4,878 1 comment 4 reactions 0 assignees View on GitHub
awaiting triage Hop Gui P3 Pipelines
Dominant language
Java
Stars
1.5k
Forks
476
Avg merge
18h 32m
Merged PRs (30d)
216

Description

### What would you like to happen?

When you decide to rename a field, even when renaming it in the transform that generates it / puts it into the stream, the subsequent transforms that use it still reference it with the old name, which makes the pipeline fail.
It would be extremely practical to be able to rename stream-fields and automatically update their usages in the subsequent transforms.

Example: select-values-basic.hpl in samples/transforms, open "Test Data", rename "id" to "id1" ==> the pipeline fails with
"Rename, reorder fields.0 - ERROR: Couldn't find field 'id' in row!"

### Issue Priority

Priority: 3

### Issue Component

Component: Pipelines, Component: Hop Gui

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure in samples/transforms/select-values-basic.hpl by opening "Test Data" and renaming the generated field id to id1. Trace how the GUI records a field rename and how subsequent transforms reference that field; done means those usages are updated and the pipeline no longer reports that id cannot be found.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.