commit | 1d6c4ac968c56e68dfce3332f35edd58f3dc9548 | [log] [tgz] |
---|---|---|
author | Avery Pennarun <apenwarr@gmail.com> | Mon Apr 15 22:54:39 2013 -0400 |
committer | Avery Pennarun <apenwarr@gmail.com> | Mon Apr 15 23:57:27 2013 -0400 |
tree | 380aa08558a7a779945b9ef217b953e1b186e045 | |
parent | 16685f1642483789b60612724d1fbb18c974017e [diff] |
Fix some longstanding bugs in pivot=, and add unit tests for it. In particular, when a T_DATE ended up as a column heading, it was being rendered in the (totally ugly) default javascript notation instead of using our prettier string representation. It also didn't work to use the same column name in two different aggregates, for example, pivot=a;b;min(c),max(c). They would both end up showing the value of min(c).