You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2019/08/29 22:30:00 UTC

[jira] [Commented] (IMPALA-8909) Timestamp timezone conversion causes impalad crash

    [ https://issues.apache.org/jira/browse/IMPALA-8909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16919009#comment-16919009 ] 

Tim Armstrong commented on IMPALA-8909:
---------------------------------------

I'm hitting a DCHECK in a debug build actually for the query:
{noformat}
F0829 15:29:04.373958 30946 tuple.cc:233] d949d1748e7c2874:2b5b5b2400000001] Check failed: slot_desc->type().type == TYPE_NULL || slot_desc->type() == evals[i]->root().type() 
*** Check failure stack trace: ***
    @          0x4ca4ffc  google::LogMessage::Fail()
    @          0x4ca68a1  google::LogMessage::SendToLog()
    @          0x4ca49d6  google::LogMessage::Flush()
    @          0x4ca7f9d  google::LogMessageFatal::~LogMessageFatal()
    @          0x20539a3  impala::Tuple::MaterializeExprs<>()
    @          0x25b70b5  impala::Tuple::MaterializeExprs<>()
    @          0x29802d9  impala::Sorter::Run::AddBatchInternal<>()
    @          0x297614a  impala::Sorter::Run::AddInputBatch()
    @          0x2979252  impala::Sorter::AddBatchNoSpill()
    @          0x256206a  impala::PartialSortNode::GetNext()
    @          0x2088603  impala::FragmentInstanceState::ExecInternal()
    @          0x2084ed6  impala::FragmentInstanceState::Exec()
    @          0x209877e  impala::QueryState::ExecFInstance()
    @          0x2096a4b  _ZZN6impala10QueryState15StartFInstancesEvENKUlvE_clEv
    @          0x209a460  _ZN5boost6detail8function26void_function_obj_invoker0IZN6impala10QueryState15StartFInstancesEvEUlvE_vE6invokeERNS1_15function_bufferE
    @          0x1e9f51b  boost::function0<>::operator()()
    @          0x23edd6a  impala::Thread::SuperviseThread()
    @          0x23f60ee  boost::_bi::list5<>::operator()<>()
    @          0x23f6012  boost::_bi::bind_t<>::operator()()
    @          0x23f5fd5  boost::detail::thread_data<>::run()
    @          0x3bcde79  thread_proxy
    @     0x7fe2c59fd6b9  start_thread
    @     0x7fe2c21b941c  clone
Picked up JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=30001,server=y,suspend=n  
Wrote minidump to /home/tarmstrong/Impala/incubator-impala/logs/cluster/minidumps/impalad/605f77a6-0c60-4f54-cf0fd0b0-5c82d647.dmp
{noformat}

> Timestamp timezone conversion causes impalad crash
> --------------------------------------------------
>
>                 Key: IMPALA-8909
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8909
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 2.12.0
>         Environment: centos 7.5
>            Reporter: qi
>            Priority: Major
>
> step1: create two tables
> {code:java}
> CREATE TABLE temp.t_one
> (
>   id string,
>   test_time timestamp,
>   name string,
>   PRIMARY KEY(id,test_time)
> )
> PARTITION BY HASH (id) PARTITIONS 8,
> RANGE(test_time)
> (
>   PARTITION VALUES < '2011-01-01 00:00:00',
>   PARTITION '2011-01-01 00:00:00' <= VALUES < '2021-01-01 00:00:00',
>   PARTITION '2021-01-01 00:00:00' <= VALUES
> )
> STORED AS KUDU;
> CREATE TABLE temp.t_two
> (
>   cdate string,
>   ctime string
> );
> {code}
> step2:insert some data into t_two
> {code:java}
> insert into temp.t_two values('20190101','00:00:00');
> {code}
> step3:insert data into t_one from t_two,*{color:#FF0000}cause impalad crash!!{color}*{color:#172b4d}{color}
> {code:java}
> insert into temp.t_one( id, test_time, name )
> select '1' as id,concat(cdate,ctime) as test_time,'gogogo' as name
> from temp.t_two;
> {code}
>  
> impalad.ERROR
> {code:java}
> terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::gregorian::bad_year> >'
>   what():  Year is out of valid range: 1400..10000
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org