Using virtual db instead of cross join and rule-based filter
Scenario: We have a loopup table of Cities and we want to retrieve the cities whose name starts with a given list from a table Requests.
Solutions:
1. Typically, using Knime nodes, since it is not an exact match, we cannot do a join. Instead, we would:
(i). Do a cross join between the 2 tables;
(ii). Apply a rule-based filter;
2. Alternatively, we can load the tables in a virtual DB (in memory), for example H2, and do SQL-style JOIN
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!