change Merger interface to take key and column patterns