Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-1532

Replace globStatus with listStatus inside Hive.java's replaceFiles.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              he yongqiang He Yongqiang
              Reporter:
              he yongqiang He Yongqiang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: