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

Seemingly infinite loop in the sorter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Not A Bug
    • Impala 2.3.0
    • None
    • None

    Description

      The following query results in an infinite loop in the sorter:

      select
      t1.field_102.field_104.field_107,
      LAG(-496, 72) OVER (ORDER BY t1.field_102.field_104.field_107 ASC) AS int_col
      FROM table_3 t1
      INNER JOIN t1.field_86 t2
      INNER JOIN t1.field_102.field_104.field_108.field_110 t3
      INNER JOIN table_5 t4
      WHERE
      NOT EXISTS (SELECT
      tt1.pos  AS int_col
      FROM t1.field_102.field_104.field_108.field_110 tt1
      CROSS JOIN t1.field_86 tt2
      WHERE
      ((tt1.pos) IN (tt1.pos, -581.8)) AND (((t1.field_85) = (tt2.key)) AND ((t1.field_82) = (tt2.value.field_94))));
      

      This dataset can be found in:
      ssh dev@vd0206.halxg.cloudera.com -p 33333

      This seems to be happening in the sorter. Unfortunately I do not have more information about this now.

      Attachments

        Activity

          People

            mjacobs Matthew Jacobs
            sailesh Sailesh Mukil
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: