VoltDB/voltdb — pull request #5 by nshi (2011-10-12 02:13:21+00:00)
Title: ENG-704: Fix limit/offset with disctinct.

If distinct is present in the display columns or in any of the aggregate
expressions, don't push limit/offset down.

Before adding support for offset, we didn't push limit down if there was a distinct. I think it matches the old behavior now.