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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • None
    • None
    • 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

        1. Hive-1532.1.patch
          3 kB
          He Yongqiang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: