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.


PaddedPODArray<UInt64> * row_indexes, PaddedPODArray<Int8> & compare_results,
                                int direction, int nan_direction_hint) const
{
    return doCompareColumn<ColumnArray>(assert_cast<const ColumnArray &>(rhs), rhs_row_num, row_indexes,
                                        compare_results, direction, nan_direction_hint);
}
bool ColumnArray::hasEqualValues() const
{
    return hasEqualValuesImpl<ColumnArray>();
}
struct ColumnArray::ComparatorBase
{
    const ColumnArray & parent;
    int nan_direction_hint;
    ComparatorBase(const ColumnArray & parent_, int nan_direction_hint_)
        : parent(parent_), nan_direction_hint(nan_direction_hint_)
    {
    }
    ALWAYS_INLINE int compare(size_t lhs, size_t rhs) const
    {
        int res = parent.compareAt(lhs, rhs, parent, nan_direction_hint);
        return res;
    }
};
struct ColumnArray::ComparatorCollationBase
{
    const ColumnArray & parent;
    int nan_direction_hint;
    const Collator * collator;
    ComparatorCollationBase(const ColumnArray & parent_, int nan_direction_hint_, const Collator * collator_)