You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kang (JIRA)" <ji...@apache.org> on 2014/06/17 10:39:01 UTC

[jira] [Updated] (HIVE-7229) String is compared using equal in HiveMetaStore#HMSHandler#init()

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

Kang updated HIVE-7229:
-----------------------

    Attachment: HIVE-7229

Change string compare operator

> String is compared using equal in HiveMetaStore#HMSHandler#init()
> -----------------------------------------------------------------
>
>                 Key: HIVE-7229
>                 URL: https://issues.apache.org/jira/browse/HIVE-7229
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>         Attachments: HIVE-7229
>
>
> Around line 423:
> {code}
>       if (partitionValidationRegex != null && partitionValidationRegex != "") {
>         partitionValidationPattern = Pattern.compile(partitionValidationRegex);
> {code}
> partitionValidationRegex.isEmpty() can be used instead.



--
This message was sent by Atlassian JIRA
(v6.2#6252)