Hive
  1. Hive
  2. HIVE-6048

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.13.0
    • Component/s: Query Processor
    • Labels:
      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
      
      1. HIVE-6048.patch
        14 kB
        Xuefu Zhang
      2. HIVE-6048.4.patch
        49 kB
        Xuefu Zhang
      3. HIVE-6048.3.patch
        50 kB
        Xuefu Zhang
      4. HIVE-6048.2.patch
        57 kB
        Xuefu Zhang
      5. HIVE-6048.1.patch
        24 kB
        Xuefu Zhang

        Issue Links

          Activity

            People

            • Assignee:
              Xuefu Zhang
              Reporter:
              Xuefu Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development