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

Hive load data command rejects file with '+' in the name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • Query Processor
    • None

    Description

      '+' is a valid character in a file name on linux and HDFS. However, loading data from such a file into table results the following error:

      hive> load data local inpath '/home/xzhang/temp/t+est.txt' into table test;
      Copying data from file:/home/xzhang/temp/t est.txt
      No files matching path: file:/home/xzhang/temp/t est.txt
      FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.CopyTask
      

      Attachments

        1. HIVE-6048.4.patch
          49 kB
          Xuefu Zhang
        2. HIVE-6048.3.patch
          50 kB
          Xuefu Zhang
        3. HIVE-6048.2.patch
          57 kB
          Xuefu Zhang
        4. HIVE-6048.1.patch
          24 kB
          Xuefu Zhang
        5. HIVE-6048.patch
          14 kB
          Xuefu Zhang

        Activity

          People

            xuefuz Xuefu Zhang
            xuefuz Xuefu Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: