Gabriel39 opened a new pull request, #32966:
URL: https://github.com/apache/doris/pull/32966
## Proposed changes
When scanner meet this error below
```
W20240327 19:08:40.074436 3465831 status.h:380] meet error status:
[INTERNAL_ERROR]Merge block not match, self:[Nullable(Int64), Nullable(Int32),
UInt8], input:[Nullable(Int64), Nullable(Int32)],
0# doris::Status doris::Status::Error<6, true,
std::_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >,
std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
>(std::basic_string_view<char, std::char_traits<char> >,
std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>&&, std::_cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >&&) at
/home/zcp/repo_center/doris_branch-2.1/doris/be/src/common/status.h:379
1# doris::Status
doris::vectorized::MutableBlock::merge_impl<doris::vectorized::Block&>(doris::vectorized::Block&)
at /home/zcp/repo_center/doris_branch-2.1/doris/be/src/vec/core/block.h:534
2# doris::Status
doris::vectorized::MutableBlock::merge<doris::vectorized::Block&>(doris::vectorized::Block&)
at /home/zcp/repo_center/doris_branch-2.1/doris/be/src/vec/core/block.h:512
3#
doris::vectorized::ScannerScheduler::_scanner_scan(std::shared_ptr<doris::vectorized::ScannerContext>,
std::shared_ptr<doris::vectorized::ScanTask>) at
/home/zcp/repo_center/doris_branch-2.1/doris/be/src/vec/exec/scan/scanner_scheduler.cpp:278
4#
doris::vectorized::ScannerScheduler::submit(std::shared_ptr<doris::vectorized::ScannerContext>,
std::shared_ptr<doris::vectorized::ScanTask>)::$_1::operator()() const at
/home/zcp/repo_center/doris_branch-2.1/doris/be/src/vec/exec/scan/scanner_scheduler.cpp:162
```
query will be hang because the error status is not processed by scanner.
<!--Describe your changes.-->
## Further comments
If this is a relatively large or complex change, kick off the discussion at
[[email protected]](mailto:[email protected]) by explaining why you
chose the solution you did and what alternatives you considered, etc...
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]