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


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.

Reply via email to