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

Hive can CREATE an external table but not SELECT from it when file path have spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • None
    • None

    Description

      Create external table table1 (age int,
      gender string, totBil float,
      dirBill float, alkphos int,
      sgpt int, sgot int, totProt float,
      aLB float, aG float, sel int)
      ROW FORMAT DELIMITED
      FIELDS TERMINATED BY ','
      STORED AS TEXTFILE
      LOCATION 'hdfs://namenodehost:9000/hive newtable';

      select * from table1;
      return nothing even there is file in the target folder

      Attachments

        1. HIVE-5446.7.patch
          12 kB
          Shuaishuai Nie
        2. HIVE-5446.5.patch
          12 kB
          Shuaishuai Nie
        3. HIVE-5446.4.patch
          12 kB
          Shuaishuai Nie
        4. HIVE-5446.3.patch
          8 kB
          Shuaishuai Nie
        5. HIVE-5446.2.patch
          8 kB
          Shuaishuai Nie
        6. HIVE-5446.1.patch
          5 kB
          Shuaishuai Nie

        Issue Links

          Activity

            People

              shuainie Shuaishuai Nie
              shuainie Shuaishuai Nie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: