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

Deflake test_refresh_native

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • Impala 4.0.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: