You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2015/02/01 02:59:34 UTC
[jira] [Resolved] (HIVE-8593) Unintended regex is used in
ScriptOperator#blackListed()
[ 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)