Aswin
September 1, 2020, 10:01am
1
Dear Knimers,
consider the following workflow:
with the following single-row starting table:
The Java IF tests the iteration number:
The first Column Resorter sets the column order to (column1, column2), while the second Column Resorter sets the column order to (column2, column1).
The result:
This should never happen I think. The loop should either fail, or rearrange the columns so that the column names line up properly before concatenating the results of loop iterations.
I attached the workflow below.
Best
Aswin
KNIME_project2.knwf (16.4 KB)
1 Like
swebb
September 1, 2020, 10:16am
2
A workaround can be found here, still hoping got the fix to be implemented
Hi
We’ve just found that the recursive loop end doesn’t work in the way we’d expect.
Expectation: the columns can be provided in any order and the rows will be combined in the same way the concatenate node does.
Reality: the recursive loop end does no validation on column order and concatenates data by index, outcome of this is the data is in the wrong columns in different rows.
Example workflow that shows the problem:
In the example workflow we see the red x giving this message:
ERROR …
1 Like
Aswin
September 1, 2020, 10:33am
3
Apologies for posting a previously reported bug. Indeed I am now also using a column resorter before the loop end.
ipazin
September 1, 2020, 10:36am
4
Hello!
no problem @Aswin . Here is topic on best bug reporting practices. Check first point under Before you open a topic
Hello Bug Reporters!
I would like to share some of best practices on reporting bugs you encounter while working with KNIME.
First to say tnx to those who are already following these or similar practices and encouraging others to do so. Secondly, as much as bugs are annoying and not pleasant to see I think that this kind of feedback is also very valuable and hopefully there will be once a series of badges to acknowledge it. Finally to say that place for reporting bugs is by opening a topic on K…
Closing this topic and adding +1 on corresponding ticket.
Br,
Ivan
1 Like