Addresses #5128. There is a more refinement to do here and plenty of edge case scenarios to test (e.g. histograms of very large INT64 / BIGINT values, completing summary statistics for date/time values). Unit testing this code is a bit of a pain -- my goal was to get this working and at looking the same as R/Python at a glance, and then go through data type by data type to add test coverage for different edge cases.
Addresses #5128. There is a more refinement to do here and plenty of edge case scenarios to test (e.g. histograms of very large INT64 / BIGINT values, completing summary statistics for date/time values). Unit testing this code is a bit of a pain -- my goal was to get this working and at looking the same as R/Python at a glance, and then go through data type by data type to add test coverage for different edge cases.