-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Refactor](BE) Uniform Expr, Block, Columns size-relative interface (Part II) #43218
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
…Part I) (#42930) ## Proposed changes In this pr we refactored some base interface to avoid narrow cast with data consistent kept. We uniformed these type of numbers: ``` columns in Block - U32 (just use no more than U16) Rows in Block - U64 (others U32, ColumnString64 U64) column_id in expr arg - I32 (because -1 is meaningful) child of Expr - U16 (FE use int32, have a restriction of 10000. adjustable but no guarantee for result) ``` So, for functions' argument column id, we use `uint32` to replace `size_t`. For rows, we use `size_t` to replace some `int`. For child of expr, we cast it as `uint_16` to use, rather than `size_t` as `vector::size()` Refactor of table functions: #43218
run buildall |
PR approved by anyone and no changes requested. |
TeamCity be ut coverage result: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
fix macos compile failed, introduced by apache#40813, apache#42930, apache#43218, apache#43289 (cherry picked from commit ded2190)
part 2 of #42930
two modifications: