Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # dev - Empty File Creation in getInputPaths


+
Sreenath 2014-02-10, 10:58
Copy link to this message
-
Re: Empty File Creation in getInputPaths
Gunther Hagleitner 2014-02-10, 18:46
This is how hive handles empty tables/empty partitions. A dummy file is
created in the scratch dir and the map reduce job will reference that file.
I believe map reduce will throw an error if there are no files to process,
but hive still needs to do process the query (i.e.: select count(*) from
empty_table needs to return 0).

Thanks,
Gunther.
On Mon, Feb 10, 2014 at 2:58 AM, Sreenath <[EMAIL PROTECTED]> wrote:
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.