cambyzju commented on code in PR #12378: URL: https://github.com/apache/doris/pull/12378#discussion_r964883352
########## be/src/vec/columns/column_array.h: ########## @@ -45,6 +45,18 @@ class ColumnArray final : public COWHelper<IColumn, ColumnArray> { ColumnArray(const ColumnArray&) = default; +public: + // offsets of array is 64bit wise + using Offset64 = IColumn::Offset64; + using Offsets64 = IColumn::Offsets64; + +private: + // please use IColumn::Offset if we really need 32bit offset, otherwise use ColumnArray::Offset64 + using Offset [[deprecated("ColumnArray::Offset64 for Array, IColumn::Offset for String")]] = Review Comment: Do not find any method to delete typedef Offset in ColumnArray now. So we define it inside private region and mark it as deprecated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org