-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Hop GUI + Get file names - error in showing output fields #4843
Comments
Can you provide a basic example pipeline to illustrate the problem? |
Hi @nadment, here's a basic pipeline:
The Process files transform fails because the field
However, in Hop GUI you can find evidence of it in various forms:
This issue is found in the latest Hop snapshot, too. Note: in this specific scenario, you can successfully move the file by swapping the first two transforms. The error is that there are listed fields in the subsequent transforms that are actually non usable... |
Hi @nadment, my report wasn't about the interface (even if I agree with the proposed redesign), but it's about the fact that you can't actually access to fields declared before the Get file names transform. To check this, try putting a Write to log instead of a Dummy in your example: in Hop GUI you can select for logging the fields generated in the Data grid, but when executing the selected fields aren't found in input... |
Ok I can reproduce the problem with the pipeline |
Apache Hop version?
2.11.0, 2.12.0 SNAPSHOT (2025-01-28)
Java version?
17.0.2
Operating system
Linux
What happened?
The Get file names transform has its own set of output fields, discarding any input after processing.
However, Hop GUI shows the outputs as if they were propagated instead: you can use them in subsequent transforms, but when executing the final pipeline you will most likely get an error such as "Field *** not defined in the input stream"
Issue Priority
Priority: 2
Issue Component
Component: Hop Gui, Component: Transforms
The text was updated successfully, but these errors were encountered: