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

Crash impalad for use RuntimeMinMaxFilter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • Impala 2.11.0
    • None
    • Backend
    • None

    Description

      
        select 
                case when m.parent_id is null then m.so_no else concat('ESL',cast(m.parent_id as string)) end as parent_no, 
                it.so_id                                   , 
                m.so_no                                   , 
                sum(it.apply_outstore_qty) as goods_num, 
                group_concat(concat(it.goods_name, ':', cast( 
                it.apply_outstore_qty as string)), ';') as sku 
        from 
                ( 
                        select 
                                so_id    , 
                                goods_name, 
                                apply_outstore_qty 
                        from 
                                eclp_so1_so_item 
                ) 
                it 
        inner join [shuffle] 
                ( 
                        select 
                                * 
                        from 
                                eclp_so1_so_main 
                        where 
                                so_type         = 1 
                                and create_time < '2017-11-30 16:00:00' 
                                and so_status  != 10034 
                ) 
                m 
        on   cast(substring(case when m.parent_id is null then m.so_no else concat('ESL', cast(m.parent_id as string)) end, 4) as string) = cast(it.so_id as string) 
        group by it.so_id, case when m.parent_id is null then m.so_no else concat('ESL', cast(m.parent_id as string)) end, m.so_no 
      
       table [eclp_so1_so_item]   so_id     not null
       
       table [eclp_so1_so_main]    parent_id   nullable ,  so_no not null
      

      #0 impala::MemPool::FindChunk (this=this@entry=0xb0388538, min_size=min_size@entry=2, check_limits=check_limits@entry=true) at /export/ldb/online/impala/be/src/runtime/mem-pool.cc:119
      #1 0x00007f5fb81b4d22 in impala::MemPool::Allocate<true> (alignment=8, size=<optimized out>, this=0xb0388538) at /export/ldb/online/impala/be/src/runtime/mem-pool.h:270
      #2 impala::MemPool::TryAllocate (size=<optimized out>, this=0xb0388538) at /export/ldb/online/impala/be/src/runtime/mem-pool.h:109
      #3 impala::StringBuffer::GrowBuffer (new_size=2, this=0x7f5ab9180478) at /export/ldb/online/impala/be/src/runtime/string-buffer.h:85
      #4 impala::StringBuffer::Append (str_len=2, str=0x8bc0a2cb <error: Cannot access memory at address 0x8bc0a2cb>, this=0x7f5ab9180478) at /export/ldb/online/impala/be/src/runtime/string-buffer.h:53
      #5 impala::StringMinMaxFilter::CopyToBuffer (this=0x7f5ab9180450, buffer=0x7f5ab9180478, value=0x7f5ab9180458, len=2) at /export/ldb/online/impala/be/src/util/min-max-filter.cc:304
      #6 0x00007f5fb81b50c5 in impala::StringMinMaxFilter::MaterializeValues (this=0x7f5ab9180450) at /export/ldb/online/impala/be/src/util/min-max-filter.cc:229
      #7 0x00007f5f2c21f586 in ?? ()
      #8 0x00007f595dc85ad0 in ?? ()
      #9 0x0000000000000000 in ?? ()

      Attachments

        Issue Links

          Activity

            People

              twmarshall Thomas Tauber-Marshall
              zzjj yyzzjj
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: