tjmac133 opened a new issue, #17664:
URL: https://github.com/apache/doris/issues/17664

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   1.2.2
   
   ### What's Wrong?
   
   doris on es 
   在doris 创建一个es外部表,在doris调用select*  from 
v_bptestresult,be报错,同时改be的节点就停了,下面是建表语句及错误信息
   
   CREATE EXTERNAL TABLE `v_bptestresult` (
     `company_name` varchar(200) NULL,
     `company_id` varchar(200) NULL,
     `generation_date` datetime NULL,
     `date_time` datetime NULL,
     `sample_id` int(30) NULL,
     `sample_no` varchar(200) NULL,
     `leibie` varchar(64) NULL,
     `age` int(11) NULL,
     `forming_date` datetime NULL,
     `resist1` double NULL,
     `resist2` double NULL,
     `resist3` double NULL,
     `resist4` double NULL,
     `resist5` double NULL,
     `resist6` double NULL,
     `resist_avg` double NULL,
     `bending1` double NULL,
     `bending2` double NULL,
     `bending3` double NULL,
     `bending_avg` double NULL,
     `scrq` datetime NULL,
     `sfsc` varchar(32) NULL
   ) ENGINE=ELASTICSEARCH
   COMMENT 'ELASTICSEARCH'
   PROPERTIES (
   "hosts" = 
"http://10.1.3.106:9200,http://10.1.3.107:9200,http://10.1.3.108:9200";,
   "user" = "elastic",
   "password" = "&X7yx6VUA",
   "index" = "server_index_37",
   "enable_docvalue_scan" = "true",
   "max_docvalue_fields" = "22",
   "enable_keyword_sniff" = "true",
   "nodes_discovery" = "true",
   "http_ssl_enabled" = "false"
   );
   
   
   
   F0310 16:33:31.832042 35725 column_vector.cpp:351] Parameters start = 0, 
length = 1923, are out of bound in ColumnVector<T>::insert_range_from method 
(data.size() = 1922).
   *** Check failure stack trace: ***
       @     0x55a2317e1b6d  google::LogMessage::Fail()
       @     0x55a2317e40a9  google::LogMessage::SendToLog()
       @     0x55a2317e16d6  google::LogMessage::Flush()
       @     0x55a2317e4719  google::LogMessageFatal::~LogMessageFatal()
       @     0x55a22d91e765  
doris::vectorized::ColumnVector<>::insert_range_from()
       @     0x55a22d8bf754  
doris::vectorized::ColumnNullable::insert_range_from()
       @     0x55a22d964d56  doris::vectorized::Block::set_num_rows()
       @     0x55a22da55b18  doris::vectorized::VExchangeNode::get_next()
       @     0x55a22c5b7d16  doris::ExecNode::get_next_after_projects()
       @     0x55a22c8d8613  
doris::PlanFragmentExecutor::get_vectorized_internal()
       @     0x55a22c8dbe52  
doris::PlanFragmentExecutor::open_vectorized_internal()
       @     0x55a22c8dd7d0  doris::PlanFragmentExecutor::open()
       @     0x55a22c8b6759  doris::FragmentExecState::execute()
       @     0x55a22c8b9de1  doris::FragmentMgr::_exec_actual()
       @     0x55a22c8ba519  
_ZNSt17_Function_handlerIFvvEZN5doris11FragmentMgr18exec_plan_fragmentERKNS1_23TExecPlanFragmentParamsESt8functionIFvPNS1_20PlanFragmentExecutorEEEEUlvE_E9_M_invokeERKSt9_Any_data
       @     0x55a22cb5f435  doris::ThreadPool::dispatch_thread()
       @     0x55a22cb55b1f  doris::Thread::supervise_thread()
       @     0x7fe9beb23ea5  start_thread
       @     0x7fe9bee368dd  __clone
       @              (nil)  (unknown)
   *** Query id: 7a5de4e74d144191-9b43cc015282557b ***
   *** Aborted at 1678437211 (unix time) try "date -d @1678437211" if you are 
using GNU date ***
   *** Current BE git commitID: Unknown ***
   *** SIGABRT unkown detail explain (@0x3e800008a78) received by PID 35448 
(TID 0x7fe91f0e8700) from PID 35448; stack trace: ***
    0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, 
siginfo_t*, void*) at /root/doris/be/src/common/signal_handler.h:420
    1# 0x00007FE9BED6E400 in /lib64/libc.so.6
    2# __GI_raise in /lib64/libc.so.6
    3# abort in /lib64/libc.so.6
    4# 0x000055A2317EC559 in /u01/doris-be-1.2.2/lib/doris_be
    5# 0x000055A2317E1B6D in /u01/doris-be-1.2.2/lib/doris_be
    6# google::LogMessage::SendToLog() in /u01/doris-be-1.2.2/lib/doris_be
    7# google::LogMessage::Flush() in /u01/doris-be-1.2.2/lib/doris_be
    8# google::LogMessageFatal::~LogMessageFatal() in 
/u01/doris-be-1.2.2/lib/doris_be
    9# doris::vectorized::ColumnVector<unsigned 
char>::insert_range_from(doris::vectorized::IColumn const&, unsigned long, 
unsigned long) at /root/doris/be/src/vec/columns/column_vector.cpp:359
   10# 
doris::vectorized::ColumnNullable::insert_range_from(doris::vectorized::IColumn 
const&, unsigned long, unsigned long) at 
/root/doris/be/src/vec/columns/column_nullable.cpp:248
   11# doris::vectorized::Block::set_num_rows(unsigned long) at 
/root/doris/be/src/vec/core/block.cpp:342
   12# doris::vectorized::VExchangeNode::get_next(doris::RuntimeState*, 
doris::vectorized::Block*, bool*) at 
/root/doris/be/src/vec/exec/vexchange_node.cpp:105
   13# doris::ExecNode::get_next_after_projects(doris::RuntimeState*, 
doris::vectorized::Block*, bool*) at /root/doris/be/src/exec/exec_node.cpp:852
   14# 
doris::PlanFragmentExecutor::get_vectorized_internal(doris::vectorized::Block**)
 at /root/doris/be/src/runtime/plan_fragment_executor.cpp:352
   15# doris::PlanFragmentExecutor::open_vectorized_internal() at 
/root/doris/be/src/runtime/plan_fragment_executor.cpp:300
   16# doris::PlanFragmentExecutor::open() at 
/root/doris/be/src/runtime/plan_fragment_executor.cpp:253
   17# doris::FragmentExecState::execute() at 
/root/doris/be/src/runtime/fragment_mgr.cpp:251
   18# 
doris::FragmentMgr::_exec_actual(std::shared_ptr<doris::FragmentExecState>, 
std::function<void (doris::PlanFragmentExecutor*)>) at 
/root/doris/be/src/runtime/fragment_mgr.cpp:498
   19# std::_Function_handler<void (), 
doris::FragmentMgr::exec_plan_fragment(doris::TExecPlanFragmentParams const&, 
std::function<void 
(doris::PlanFragmentExecutor*)>)::{lambda()#1}>::_M_invoke(std::_Any_data 
const&) at /var/local/ldb-toolchain/include/c++/11/bits/std_function.h:291
   20# doris::ThreadPool::dispatch_thread() at 
/root/doris/be/src/util/threadpool.cpp:542
   21# doris::Thread::supervise_thread(void*) at 
/root/doris/be/src/util/thread.cpp:455
   22# start_thread in /lib64/libpthread.so.0
   23# __clone in /lib64/libc.so.6
   
   
   
   ### What You Expected?
   
   怎么可以解决这个问题
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.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

Reply via email to