projecttacoma/bonnie — pull request #420 by pkmitre (2014-12-15 20:20:28+00:00)
Title: Subset map defaults to using provided term except for exception cases

The lookup table was mostly replacing existing terms with themselves, so we change the default behavior for a non-match to provide the originally supplied term, and reduce the mapping to only those where the output is different from the input. This provides correct behavior for the SUM operator, which is the immediately driving concern, but also will help with any future new operators.