You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2010/08/15 01:06:16 UTC

[jira] Commented: (HIVE-1532) Replace globStatus with listStatus inside Hive.java's replaceFiles.

    [ https://issues.apache.org/jira/browse/HIVE-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898653#action_12898653 ] 

Namit Jain commented on HIVE-1532:
----------------------------------

+1

will commit if the tests pass

> Replace globStatus with listStatus inside Hive.java's replaceFiles.
> -------------------------------------------------------------------
>
>                 Key: HIVE-1532
>                 URL: https://issues.apache.org/jira/browse/HIVE-1532
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: He Yongqiang
>            Assignee: He Yongqiang
>         Attachments: Hive-1532.1.patch
>
>
> globStatus expects a regular expression,  so if there is special characters (like '{' , '[') in the filepath, this function will fail.
> We should be able to replace this call with listStatus easily since we are not passing regex to replaceFiles(). The only places replaceFiles is called is in loadPartition and Table's replaceFiles.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.