[ https://issues.apache.org/jira/browse/IMPALA-10605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vihang Karajgaonkar resolved IMPALA-10605. ------------------------------------------ Fix Version/s: Impala 4.0 Resolution: Fixed > Deflake test_refresh_native > --------------------------- > > Key: IMPALA-10605 > URL: https://issues.apache.org/jira/browse/IMPALA-10605 > Project: IMPALA > Issue Type: Improvement > Reporter: Vihang Karajgaonkar > Assignee: Vihang Karajgaonkar > Priority: Minor > Fix For: Impala 4.0 > > > 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. > {noformat} > regex = r"{(.*?)=(.*?)}" > {noformat} > 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. > {noformat} > regex = r"{.*(impala_registered_function.*?)=(.*?)[,}]" > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org