I want to create a Cross Join, or Cross Product -- all possible combinations of two sets of values.
For example, if the Joiner node had the following one-column tables as inputs:
Person
======
Al
Bob
Ian
Year
====
2010
2011
Then the output table would be:
Person | Year
Al | 2010
Al | 2011
Bob | 2010
Bob | 2011
Ian | 2010
Ian | 2011
In SQL, this would be accomplished with the following query:
SELECT a.Person, b.Year FROM Table1 a, Table2 b;
This would work with the KNIME Joiner node, except that the Joiner node currently does not allow having zero "Joining Columns". This seems like an unnecessary restriction. Joining two tables without a join condition is a perfectly valid operation to want to perform.
Is there some other KNIME node that will support this operation?
This is quite a common request, it’s called a Cartesian join or Cartesian product. There is more information half way down this old post http://tech.knime.org/node/20912