[ 
https://issues.apache.org/jira/browse/IMPALA-10605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vihang Karajgaonkar updated IMPALA-10605:
-----------------------------------------
    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.

{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}

> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to