return correct aggregation result from partitioned

table instead of an exception
if where clause has no match