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

SCAN_BYTES_LIMIT="100M" test failing to raise exception in release build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 3.2.0
    • Impala 3.2.0
    • Backend
    • None

    Description

      This test is not raising the expected exception on a release build:

      ---- QUERY
      # Query should fail due to exceeding scan bytes limit.
      set SCAN_BYTES_LIMIT="100M";
      select count(*) from tpch.lineitem l1,tpch.lineitem l2, tpch.lineitem l3 where
       l1.l_suppkey = l2.l_linenumber and l1.l_orderkey = l2.l_orderkey and
       l1.l_orderkey = l3.l_orderkey group by l1.l_comment, l2.l_comment
       having count(*) = 99
      ---- CATCH
      row_regex:.*terminated due to scan bytes limit of 100.00 M.
      
      Stacktrace
      query_test/test_resource_limits.py:46: in test_resource_limits
          self.run_test_case('QueryTest/query-resource-limits', vector)
      common/impala_test_suite.py:482: in run_test_case
          assert False, "Expected exception: %s" % expected_str
      E   AssertionError: Expected exception: row_regex:.*terminated due to scan bytes limit of 100.00 M.*
      

      It fails deterministically in CI (3 times in a row). I can't find a query profile matching the query ID for some reason, but I've attached logs.

      Attachments

        1. impala-logs.tar.gz
          95 kB
          Michael Brown

        Activity

          People

            bikramjeet.vig Bikramjeet Vig
            mikeb Michael Brown
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: