hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <>
Subject [jira] [Commented] (HIVE-6431) Hive table name start with underscore (_)
Date Thu, 24 Jul 2014 07:02:39 GMT


Navis commented on HIVE-6431:

By default, FileInputFormat(which is the super class of various formats) in hadoop ignores
file name starts with "_" or ".", and hard to walk around this in hive codebase.

> Hive table name start with underscore (_)
> -----------------------------------------
>                 Key: HIVE-6431
>                 URL:
>             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
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

View raw message