Together with #133 this can make aggregations by date much more performant if there are not many distinct dates in a table
Together with #133 this can make aggregations by date much more performant if there are not many distinct dates in a table