https://pastila.nl/?00ad187f/ecfb3d92d2e879533cc3aea0536ab3d7

22.3 Exception on client:
Code: 49. DB::Exception: offsets_column has data inconsistent with nested_column: data for INSERT was parsed from query. (LOGICAL_ERROR)

22.7 the insert hangs

21.8.4 Received exception from server (version 21.8.4): Code: 62. DB::Exception: Received from localhost:9000. DB::Exception: Empty query.


{
    
    
    return ColumnArray::create(data->convertToFullColumnIfConst(), offsets);
}
void ColumnArray::getExtremes(Field & min, Field & max) const
{
    min = Array();
    max = Array();
    size_t col_size = size();
    if (col_size == 0)
        return;
    size_t min_idx = 0;
    size_t max_idx = 0;
    for (size_t i = 1; i < col_size; ++i)
    {
        if (compareAt(i, min_idx, *this,  1) < 0)
            min_idx = i;
        else if (compareAt(i, max_idx, *this,  -1) > 0)
            max_idx = i;
    }
    get(min_idx, min);
    get(max_idx, max);
}
void ColumnArray::insertRangeFrom(const IColumn & src, size_t start, size_t length)