yuanfeng0905 opened a new issue #5235:
URL: https://github.com/apache/incubator-doris/issues/5235
BE crash with follow SQL:
```sql
select count(1),max(unix_timestamp(dbus__timestamp)) from xxx
```
unix_timestamp UDF passes the time string by default, but here the
"dbus_timestamp" field is in the timestamp format, and the query operation will
make BE crash.
**crash log:**
```shell
PC: @ 0xd510fe doris::ScalarFnCall::interpret_eval<>()
*** SIGSEGV (@0x0) received by PID 59819 (TID 0x7f66dc977700) from PID 0;
stack trace: ***
@ 0x7f67330ac340 (unknown)
@ 0xd510fe doris::ScalarFnCall::interpret_eval<>()
@ 0xd4b298 doris::ScalarFnCall::get_datetime_val()
@ 0xd38d21 doris::ExprContext::get_value()
@ 0xd4ec90 doris::ScalarFnCall::interpret_eval<>()
@ 0xd387df doris::ExprContext::get_value()
@ 0x156885c doris::NewAggFnEvaluator::Update()
@ 0x14db676 doris::PartitionedAggregationNode::UpdateTuple()
@ 0x14e5fc3
doris::PartitionedAggregationNode::ProcessBatchNoGrouping()
@ 0x14e1335 doris::PartitionedAggregationNode::open()
@ 0x1023053 doris::PlanFragmentExecutor::open_internal()
@ 0x102381c doris::PlanFragmentExecutor::open()
@ 0xfb40f7 doris::FragmentExecState::execute()
@ 0xfb5bb6 doris::FragmentMgr::exec_actual()
@ 0xfbc884
boost::detail::function::void_function_obj_invoker0<>::invoke()
@ 0xf88095 doris::PriorityThreadPool::work_thread()
@ 0x1a3e37d thread_proxy
@ 0x7f6732e61dd5 start_thread
@ 0x7f673317402d __clone
```
Doris version: 0.12.21
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]