mirror of https://github.com/citusdata/citus.git
Before this change, count on a distributed returned NULL if all shards were pruned away, because on the master we replace with count(..) call with a sum(..) call to sum the counts from the shards. However, sum returns NULL when there are no rows, whereas count is expected to return 0. |
||
---|---|---|
.. | ||
backend | ||
include | ||
test/regress |