```
SELECT 
    fromUnixTimestamp64Nano(fromUnixTimestamp64Milli(fromUnixTimestamp64Milli(fromUnixTimestamp64Milli(fromUnixTimestamp64Milli(fromUnixTimestamp64Milli(fromUnixTimestamp64Nano(fromUnixTimestamp64Milli(fromUnixTimestamp64Milli('ab\0ab\0ab\0ab\0', NULL)))))), NULL)), 123),
    uniqUpTo(100)(fromUnixTimestamp64Nano(-9223372036854775808), x)
FROM 
(
    SELECT arrayJoin([[], [], ['a', 'b'], []]) AS x
)
```

https://clickhouse-test-reports.s3.yandex.net/13169/45894fcf99446d449286e10d109c345b72406a75/fuzzer/fuzzer.log#fail1
auto & result_data = assert_cast<ResultColumnType &>(res.column->assumeMutableRef()).getData();
        result_data.reserve(source_col_typed->size());
        const auto & source_data = source_col_typed->getData();
        const auto scale_diff = getScaleDiff(*checkAndGetDataType<SourceDataType>(src.type.get()), *checkAndGetDataType<ResultDataType>(res.type.get()));
        if (scale_diff == 0)
        {
            static_assert(sizeof(typename SourceColumnType::Container::value_type) == sizeof(typename ResultColumnType::Container::value_type));
            
            result_data.push_back_raw_many(source_data.size(), source_data.data());
        }
        else if (scale_diff < 0)
        {
            const Int64 scale_multiplier = DecimalUtils::scaleMultiplier<Int64>(std::abs(scale_diff));
            for (const auto & v : source_data)
            {
                Int64 result_value = toDestValue(v);
                if (common::mulOverflow(result_value, scale_multiplier, result_value))
                    throw Exception("Decimal overflow in " + getName(), ErrorCodes::DECIMAL_OVERFLOW);
                result_data.push_back(result_value);
            }
        }
        else
        {
            const Int64 scale_multiplier = DecimalUtils::scaleMultiplier<Int64>(scale_diff);
            for (const auto & v : source_data)
                result_data.push_back(static_cast<Int64>(toDestValue(v) / scale_multiplier));
        }
    }
private:
    static Int64 getScaleDiff(const SourceDataType & src, const ResultDataType & dst)