Skip to content

[Bug] Fix regression test failed in 1.1 version right outer join #14820

@wangbo

Description

@wangbo

Search before asking

  • I had searched in the issues and found no similar issues.

Version

branch-1.1-lts

What's Wrong?

run regression test which suite named right_outer_join_wih_other_pred could core

*** Aborted at 1669292783 (unix time) try "date -d @1669292783" if you are using GNU date ***
*** SIGSEGV address not mapped to object (@0x0) received by PID 178700 (TID 0x7fd19cb68700) from PID 0; stack trace: ***
 0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /root/palo/be/src/common/signal_handler.h:420
 1# 0x00007FD1E9A49400 in /lib64/libc.so.6
 2# doris::vectorized::ProcessHashTableProbe<doris::vectorized::FixedKeyHashTableContext<unsigned long, true>, std::integral_constant<doris::TJoinOp::type, (doris::TJoinOp::type)3>, true>::do_process_with_other_join_conjunts(doris::vectorized::FixedKeyHashTableContext<unsigned long, true>&, doris::vectorized::PODArray<unsigned char, 4096ul, Allocator<false, false>, 15ul, 16ul> const*, doris::vectorized::MutableBlock&, doris::vectorized::Block*) at /root/palo/be/src/vec/exec/join/vhash_join_node.cpp:572
 3# auto doris::vectorized::HashJoinNode::get_next(doris::RuntimeState*, doris::vectorized::Block*, bool*)::{lambda(auto:1&&, auto:2&&, auto:3, auto:4)#2}::operator()<doris::vectorized::FixedKeyHashTableContext<unsigned long, true>&, std::integral_constant<doris::TJoinOp::type, (doris::TJoinOp::type)3>&, std::integral_constant<bool, true>, std::integral_constant<bool, true> >(doris::vectorized::FixedKeyHashTableContext<unsigned long, true>&, std::integral_constant<doris::TJoinOp::type, (doris::TJoinOp::type)3>&, std::integral_constant<bool, true>, std::integral_constant<bool, true>) const [clone .constprop.0] at /root/palo/be/src/vec/exec/join/vhash_join_node.cpp:988
 4# doris::vectorized::HashJoinNode::get_next(doris::RuntimeState*, doris::vectorized::Block*, bool*) at /root/palo/be/src/vec/exec/join/vhash_join_node.cpp:1033
 5# doris::vectorized::VSortNode::sort_input(doris::RuntimeState*) at /root/palo/be/src/vec/exec/vsort_node.cpp:125
 6# doris::vectorized::VSortNode::open(doris::RuntimeState*) at /root/palo/be/src/vec/exec/vsort_node.cpp:61
 7# doris::PlanFragmentExecutor::open_vectorized_internal() at /root/palo/be/src/runtime/plan_fragment_executor.cpp:281
 8# doris::PlanFragmentExecutor::open() at /root/palo/be/src/runtime/plan_fragment_executor.cpp:256
 9# doris::FragmentExecState::execute() at /root/palo/be/src/runtime/fragment_mgr.cpp:250
10# doris::FragmentMgr::_exec_actual(std::shared_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>) at /root/palo/be/src/runtime/fragment_mgr.cpp:484
11# std::_Function_handler<void (), std::_Bind_result<void, void (doris::FragmentMgr::*(doris::FragmentMgr*, std::shared_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>)> >::_M_invoke(std::_Any_data const&) at /var/local/ldb-toolchain/include/c++/11/bits/std_function.h:291
12# doris::ThreadPool::dispatch_thread() at /root/palo/be/src/util/threadpool.cpp:578
13# doris::Thread::supervise_thread(void*) at /root/palo/be/src/util/thread.cpp:407
14# start_thread in /lib64/libpthread.so.0
15# clone in /lib64/libc.so.6

What You Expected?

return correct result

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions