amorynan opened a new pull request, #50201: URL: https://github.com/apache/doris/pull/50201
### What problem does this PR solve? This PR is to solve the problem of BE core caused by passing non-array type data to the array_map function. like: ``` start BE in local mode F20250418 16:45:55.593696 2398820 status.h:461] Bad cast from type:doris::vectorized::ColumnStr<unsigned int> to doris::vectorized::ColumnArray *** Check failure stack trace: *** @ 0x5591a896fbc6 google::LogMessage::SendToLog() @ 0x5591a896c610 google::LogMessage::Flush() @ 0x5591a8970409 google::LogMessageFatal::~LogMessageFatal() @ 0x5591539d1f8d doris::Status::FatalError<>() @ 0x559173e5fe56 _ZZ11assert_castIRKN5doris10vectorized11ColumnArrayEL18TypeCheckOnRelease1ERKNS1_7IColumnEET_OT1_ENKUlOS9_E_clIS8_EES4_SC_ @ 0x559173e5f1ae assert_cast<>() @ 0x55918427e98b doris::vectorized::ArrayMapFunction::execute() @ 0x5591842157c2 doris::vectorized::VLambdaFunctionCallExpr::execute() @ 0x5591842b3a65 doris::vectorized::VExprContext::execute() @ 0x5591a6427f1d doris::vectorized::FileScanner::_convert_to_output_block() @ 0x5591a6401a61 doris::vectorized::FileScanner::_get_block_wrapped() @ 0x5591a63ff8d4 doris::vectorized::FileScanner::_get_block_impl() @ 0x55918408c4ce doris::vectorized::Scanner::get_block() @ 0x55918408b037 doris::vectorized::Scanner::get_block_after_projects() @ 0x55918400adb6 doris::vectorized::ScannerScheduler::_scanner_scan() @ 0x559184012509 _ZZZZN5doris10vectorized16ScannerScheduler6submitESt10shared_ptrINS0_14ScannerContextEES2_INS0_8ScanTaskEEENK3$_1clEvENKUlvE_clEvENKUlvE_clEv @ 0x559184011dc0 _ZZZN5doris10vectorized16ScannerScheduler6submitESt10shared_ptrINS0_14ScannerContextEES2_INS0_8ScanTaskEEENK3$_1clEvENKUlvE_clEv @ 0x559184011bcf _ZSt13__invoke_implIvRZZN5doris10vectorized16ScannerScheduler6submitESt10shared_ptrINS1_14ScannerContextEES3_INS1_8ScanTaskEEENK3$_1clEvEUlvE_JEET_St14__invoke_otherOT0_DpOT1_ @ 0x559184011b0f _ZSt10__invoke_rIvRZZN5doris10vectorized16ScannerScheduler6submitESt10shared_ptrINS1_14ScannerContextEES3_INS1_8ScanTaskEEENK3$_1clEvEUlvE_JEENSt9enable_ifIX16is_invocable_r_vIT_T0_DpT1_EESC_E4typeEOSD_DpOSE_ @ 0x5591840116d6 _ZNSt17_Function_handlerIFvvEZZN5doris10vectorized16ScannerScheduler6submitESt10shared_ptrINS2_14ScannerContextEES4_INS2_8ScanTaskEEENK3$_1clEvEUlvE_E9_M_invokeERKSt9_Any_data @ 0x559153aefe1b std::function<>::operator()() @ 0x559184026187 _ZZN5doris10vectorized23SimplifiedScanScheduler16submit_scan_taskENS0_18SimplifiedScanTaskEENKUlvE_clEv @ 0x55918402613f _ZSt13__invoke_implIvRZN5doris10vectorized23SimplifiedScanScheduler16submit_scan_taskENS1_18SimplifiedScanTaskEEUlvE_JEET_St14__invoke_otherOT0_DpOT1_ @ 0x55918402607f _ZSt10__invoke_rIvRZN5doris10vectorized23SimplifiedScanScheduler16submit_scan_taskENS1_18SimplifiedScanTaskEEUlvE_JEENSt9enable_ifIX16is_invocable_r_vIT_T0_DpT1_EES7_E4typeEOS8_DpOS9_ @ 0x559184025bb6 _ZNSt17_Function_handlerIFvvEZN5doris10vectorized23SimplifiedScanScheduler16submit_scan_taskENS2_18SimplifiedScanTaskEEUlvE_E9_M_invokeERKSt9_Any_data @ 0x559153aefe1b std::function<>::operator()() @ 0x55915b47e595 doris::FunctionRunnable::run() ``` Issue Number: close #xxx Related PR: #xxx Problem Summary: ### Release note None ### Check List (For Author) - Test <!-- At least one of them must be included. --> - [ ] Regression test - [ ] Unit Test - [ ] Manual test (add detailed scripts or steps below) - [ ] No need to test or manual test. Explain why: - [ ] This is a refactor/code format and no logic has been changed. - [ ] Previous test can cover this change. - [ ] No code files have been changed. - [ ] Other reason <!-- Add your reason? --> - Behavior changed: - [ ] No. - [ ] Yes. <!-- Explain the behavior change --> - Does this need documentation? - [ ] No. - [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 --> ### Check List (For Reviewer who merge this PR) - [ ] Confirm the release note - [ ] Confirm test cases - [ ] Confirm document - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into --> -- 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