-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BugFix] Fix compaction flat json crash #51307
Conversation
Signed-off-by: Seaven <seaven_7@qq.com>
[FE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[Java-Extensions Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[BE Incremental Coverage Report]❌ fail : 3 / 8 (37.50%) file detail
|
@@ -244,7 +244,8 @@ std::string append_read_name(const ColumnReader* col_reader) { | |||
for (const auto& sub_reader : *col_reader->sub_readers()) { | |||
stream << fmt::format("{}({}), ", sub_reader->name(), type_to_string(sub_reader->column_type())); | |||
} | |||
return stream.str().substr(0, stream.view().size() - 2); | |||
auto str = stream.str(); | |||
return str.substr(0, str.size() - 2); |
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.
why not sstring::view()?
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.
need c++20, some env doesn't support
@Mergifyio backport branch-3.3 |
✅ Backports have been created
|
Signed-off-by: Seaven <seaven_7@qq.com> (cherry picked from commit 1ab795f)
Signed-off-by: Seaven <seaven_7@qq.com> Signed-off-by: zhiminr.ren <1240388654@qq.com>
Why I'm doing:
check condition lose
What I'm doing:
Fixes https://github.com/StarRocks/StarRocksTest/issues/8606
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: