Minor change in DCHECK.
Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/af7465ea Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/af7465ea Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/af7465ea Branch: refs/heads/partitioned-aggregation Commit: af7465ea75ae592b759cb37323d4388c9ff79e04 Parents: 928f6eb Author: Harshad Deshmukh <hbdeshm...@apache.org> Authored: Thu Aug 18 22:14:09 2016 -0500 Committer: Harshad Deshmukh <hbdeshm...@apache.org> Committed: Fri Sep 16 13:23:47 2016 -0500 ---------------------------------------------------------------------- storage/StorageBlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/af7465ea/storage/StorageBlock.cpp ---------------------------------------------------------------------- diff --git a/storage/StorageBlock.cpp b/storage/StorageBlock.cpp index bb43630..5ba2a6e 100644 --- a/storage/StorageBlock.cpp +++ b/storage/StorageBlock.cpp @@ -1377,7 +1377,7 @@ void StorageBlock::aggregateGroupByPartitioned( std::unique_ptr<TupleIdSequence> *reuse_matches, std::vector<std::unique_ptr<ColumnVector>> *reuse_group_by_vectors, PartitionedHashTablePool *hashtable_pool) const { - DCHECK_EQ(group_by.size(), 0u) + DCHECK(!group_by.empty()) << "Called aggregateGroupByPartitioned() with zero GROUP BY expressions"; SubBlocksReference sub_blocks_ref(*tuple_store_,