hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-8593) Unintended regex is used in ScriptOperator#blackListed()
Date Sun, 01 Feb 2015 01:59:34 GMT

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

Ted Yu resolved HIVE-8593.
--------------------------
    Resolution: Later

> Unintended regex is used in ScriptOperator#blackListed()
> --------------------------------------------------------
>
>                 Key: HIVE-8593
>                 URL: https://issues.apache.org/jira/browse/HIVE-8593
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> {code}
>           for (String b : bls) {
>             b.replaceAll(".", "_");
> {code}
> The dot can match any character.
> See http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#replaceAll(java.lang.String,%20java.lang.String)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message