Specific Row Filter

Hello,

I have a Table A with Company names that I want to filter rows based on keywords in Table B.
The keywords in table B are in two different columns.
The filtering shouldn’t be an exact match, but rather is one of the value in table B contained in the name from table A.

Ex:
TableA.Name
abc car factory USA
xyz apple factory
ZZZ

TableB.Column1
car factory
HDT mouse

TableB.Column2
Food
mouse
ZZZ


Result
TableA.Name
abc car factory USA
ZZZ

(I tried with no luck row filter regex/wildcards, Rule egine, Row filter - Reference Engine.)
Thank you for your help! Much appreciated!

Bernard

Hi @bluena / Bernard

I was thinking of a workflow like this specific_row_filter.knwf (35.0 KB) . Hope this helps.
gr. Hans

1 Like

Thank you for the answer. Looks good! Will mark your solution as answer when I’ll be able to test it properly. (Having some issues updating my Knime to be able to read your workflow)

1 Like

This answer works and is great but the cross join will cause performance issues when I’m handling a large dataset. Any alternatives?

Hi there @bluena,

Cross Joiner is streamable so you can use streaming functionality.

Also there were similar topics to this one so you can check forum for more ideas/solutions. Here is one for example:

Br,
Ivan

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.