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

Improvement to test_skew_reporting_in_runtime_profile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.0.0
    • Backend
    • None
    • ghx-label-10

    Description

      In /impala-asf-master-exhaustive build, the following error is seen.

      query_test.test_observability.TestObservability.test_skew_reporting_in_runtime_profile
      Error Details

      query_test/test_observability.py:753: in test_skew_reporting_in_runtime_profile     assert len(re.findall(skews_found, results.runtime_profile, re.M)) == 1 E   assert 0 == 1 E    +  where 0 = len([]) E    +    where [] = <function findall at 0x7f3069f938c0>('skew\\(s\\) found at:.*HASH_JOIN.*HASH_JOIN.*HDFS_SCAN_NODE', 'Query (id=5c4b97e5ed63435c:5aa154be00000000):\n  DEBUG MODE WARNING: Query profile created while running a DEBUG buil...: 0.000ns\n             - WriteIoBytes: 0\n             - WriteIoOps: 0 (0)\n             - WriteIoWaitTime: 0.000ns\n', 8) E    +      where <function findall at 0x7f3069f938c0> = re.findall E    +      and   'Query (id=5c4b97e5ed63435c:5aa154be00000000):\n  DEBUG MODE WARNING: Query profile created while running a DEBUG buil...: 0.000ns\n             - WriteIoBytes: 0\n             - WriteIoOps: 0 (0)\n             - WriteIoWaitTime: 0.000ns\n' = <tests.beeswax.impala_beeswax.ImpalaBeeswaxResult object at 0x7f304ac15190>.runtime_profile E    +      and   8 = re.M
      

      Stack Trace

      query_test/test_observability.py:753: in test_skew_reporting_in_runtime_profile
          assert len(re.findall(skews_found, results.runtime_profile, re.M)) == 1
      E   assert 0 == 1
      E    +  where 0 = len([])
      E    +    where [] = <function findall at 0x7f3069f938c0>('skew\\(s\\) found at:.*HASH_JOIN.*HASH_JOIN.*HDFS_SCAN_NODE', 'Query (id=5c4b97e5ed63435c:5aa154be00000000):\n  DEBUG MODE WARNING: Query profile created while running a DEBUG buil...: 0.000ns\n             - WriteIoBytes: 0\n             - WriteIoOps: 0 (0)\n             - WriteIoWaitTime: 0.000ns\n', 8)
      E    +      where <function findall at 0x7f3069f938c0> = re.findall
      E    +      and   'Query (id=5c4b97e5ed63435c:5aa154be00000000):\n  DEBUG MODE WARNING: Query profile created while running a DEBUG buil...: 0.000ns\n             - WriteIoBytes: 0\n             - WriteIoOps: 0 (0)\n             - WriteIoWaitTime: 0.000ns\n' = <tests.beeswax.impala_beeswax.ImpalaBeeswaxResult object at 0x7f304ac15190>.runtime_profile
      E    +      and   8 = re.M
      

      Attachments

        Activity

          People

            sql_forever Qifan Chen
            sql_forever Qifan Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: