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

Deflake test_refresh_native

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Impala 4.0.0
    • Component/s: None
    • Labels:
      None
    • Epic Color:
      ghx-label-11

      Description

      The test uses a regex to parse the output of describe database and extract the db properties. The regex currently assumes that there will be only one property in the database. This assumption breaks when events processor is running because it might add some db properties as well.

      regex = r"{(.*?)=(.*?)}"
      

      The above regex will select subsequent properties as the value of the first key. We can fix this by changing the regex to specifically look for the functional name property key prefix.

      regex = r"{.*(impala_registered_function.*?)=(.*?)[,}]"
      

        Attachments

          Activity

            People

            • Assignee:
              vihangk1 Vihang Karajgaonkar
              Reporter:
              vihangk1 Vihang Karajgaonkar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: