You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kuek Chiew Yea (JIRA)" <ji...@apache.org> on 2014/02/14 09:00:28 UTC

[jira] [Created] (HIVE-6431) Hive table name start with underscore (_)

Kuek Chiew Yea created HIVE-6431:
------------------------------------

             Summary: Hive table name start with underscore (_)
                 Key: HIVE-6431
                 URL: https://issues.apache.org/jira/browse/HIVE-6431
             Project: Hive
          Issue Type: Bug
          Components: Database/Schema
    Affects Versions: 0.12.0
            Reporter: Kuek Chiew Yea


When I create a hive table with table name start with underscore, I am able to create successfully. The command that I am using is as the following:

*CREATE TABLE `_testtable` AS SELECT * FROM `dimdate`;*

Once created, I issue a command (as following) to query all records from that table.

*SELECT * FROM `_testtable`;*

However, I got the error as the following:

*Failed with exception java.io.IOException:org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: hdfs://sandbox:8020/apps/hive/warehouse/_testtable*

When I run the hdfs command to list the file in directory */apps/hive/warehouse/_testtable*, I am able to get list of files in that directory.







--
This message was sent by Atlassian JIRA
(v6.1.5#6160)