Java Snippet Row Filter bug


Tried Java Snippet Row Filter, and it looks like it has a bug. Run it on small table with 20 rows (made by Data Generator), configured it with exact expression, that it has in description:

return $$ROWINDEX$$ % 2 == 0; which is supposed to filter out every other row.

Resulting table has - oops - 11 rows.

A bit more poking around shows that it apparently doesn' t correctly process the 0th row.

Meanwhile the same functionality could be created by separate Java Snippet and Row Filter nodes.




Yepp, I can reproduce it. The ROWINDEX field is not properly updated in the second row (first & second row both have index 0).

I open a bug report.