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

Timestamp timezone conversion causes impalad crash

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: Impala 2.12.0
    • Fix Version/s: None
    • Component/s: Backend
    • Labels:
    • Environment:
      centos 7.5
    • Flags:
      Important
    • Target Version:
    • Epic Color:
      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

            • Assignee:
              csringhofer Csaba Ringhofer
              Reporter:
              sanfran qi
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: