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

SQL (contain group by case ifnull(cky2,oprator) ) cause impalad crash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.1
    • Impala 2.2
    • Clients
    • centos 6.3 32G

    Description

      when I use boot parameter -v=2 startup impalad , this query cause impalad dead ::

      select 35 as type,
      case ifnull(cky2,oprator)
      when 6 then 1 else 9786
      end as operators,count(1) as num1,0 as num2
      from orders
      where createdate>=DATE_ADD(CURDATE(),INTERVAL -1 DAY)
      and createdate < CURDATE() and splittype != 2 and jyn not in (4,8,18,33)
      group by
      case ifnull(cky2,oprator)
      when 6 then 1 else 9786
      end

      I use gdb trace , found dead in file“plan-fragment-executor.cc” prepare method call
      VLOG(2) << "plan_root=\n" << plan_->DebugString();

      Attachments

        Activity

          People

            skye Skye Wanderman-Milne
            fish0515_impala_49b1 fishing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: