Hi, KNIME Team,
during the use of Node:
Java Snippet and Rule-based Row Splitter, I have found the use of RowIndex is not consistent.
Java Snippet : ROWINDEX is from 0 and ends ROWCOUNT - 1
Rule-based Row Splitter: ROWINDEX is from 1 and ends ROWCOUNT
Any adjustment in future?
row index inconsistency is known (issue). It’s documented here very well:
The “Table creator”, “Empty Table Creator” RowIDs start with “Row0”, “Row1”, “Row2”
To take the first three rows with a Row Filter one has to start with “1” and end with “3”.
When taking the first three rows with a Row Filter by using flow variables to set the range, one has to use “0” and “2”!
When pointing at the third row in a node output window, the tooltip says “3”
The ROWINDEX in the Math, String Manipulation, Java Snippet nodes start with 0, 1, 2
The ROWINDEX in the Rule-…
Will add +1 to existing tickets.
Thanks for the quick reply! Ivan.
You are welcome Kefang
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.