`SELECT toDateTime(topKWeighted(-9223372036854775807, '-0.02')(NULL), '104857.5') FROM remote('127.0\00\0{2,3}127.0\00\0{2,3}127.0\00\0{2,3}127.0\00\0{2,3}127.0\00\0{2,3}127.0\00\0{2,3}127.0\00\0{2,3}127.0\00\0{2,3}', system.one) ORDER BY length(topK(1048577)(tuple(NULL))) ASC, '0' ASC NULLS LAST`
{
        UInt64 m1 = 0;
        UInt64 m2 = 0;
        if (size() == capacity())
        {
            m1 = counter_list.back()->count;
        }
        if (rhs.size() == rhs.capacity())
        {
            m2 = rhs.counter_list.back()->count;
        }
        /*
         * Updated algorithm to mutate current table in place
         * without mutating rhs table or creating new one
         * in the first step we expect that no elements overlap
         * and in the second sweep we correct the error if they do.
         */
        if (m2 > 0)
        {
            for (auto * counter : counter_list)
            {
                counter->count += m2;
                counter->error += m2;
            }
        }