[enhancement](array-type) Split Array Offsets and String Offsets (#12341)
In old Doris version string offsets are 32bit, but it is not enough for Array type. If we change string offsets from 32bit to 64bit, there will be problem if we upgrade BE one by one. Because at the same time 32bit Offsets and 64 bit Offsets String will exist at the same time. As a result, we separate the Codes for Array Offsets. Co-authored-by: cambyzju <zhuxiaoli01@baidu.com>
This commit is contained in:
@ -35,7 +35,7 @@ public:
|
||||
public:
|
||||
const UInt8* array_nullmap_data = nullptr;
|
||||
const ColumnArray* array_col = nullptr;
|
||||
const ColumnArray::Offsets* offsets_ptr = nullptr;
|
||||
const ColumnArray::Offsets64* offsets_ptr = nullptr;
|
||||
const UInt8* nested_nullmap_data = nullptr;
|
||||
const IColumn* nested_col = nullptr;
|
||||
};
|
||||
@ -45,7 +45,7 @@ public:
|
||||
MutableColumnPtr array_nested_col = nullptr;
|
||||
ColumnUInt8::Container* nested_nullmap_data = nullptr;
|
||||
MutableColumnPtr offsets_col = nullptr;
|
||||
ColumnArray::Offsets* offsets_ptr = nullptr;
|
||||
ColumnArray::Offsets64* offsets_ptr = nullptr;
|
||||
IColumn* nested_col = nullptr;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user