Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8909

Timestamp timezone conversion causes impalad crash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 2.12.0
    • Impala 3.4.0
    • Backend
    • centos 7.5
    • Important
    • ghx-label-5

    Description

      step1: create two tables

      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
      );
      

      step2:insert some data into t_two

      insert into temp.t_two values('20190101','00:00:00');
      

      step3:insert data into t_one from t_two,cause impalad crash!!

      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;
      

       

      impalad.ERROR

      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
      

      Attachments

        Activity

          People

            csringhofer Csaba Ringhofer
            sanfran qi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: