You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by zhu weimin <xi...@tsm.kddilabs.jp> on 2010/04/06 03:41:02 UTC

How to unload data from hive's tables

Hi

I know how to load data from local file system or hdfs into tables using
"LOAD DATA ...".
But I want to remove some data files from hive's tables.
How to do it?

Thanks for any help.



Re: How to unload data from hive's tables

Posted by Zheng Shao <zs...@gmail.com>.
There is no command for that in Hive.
You can manually remove the files from
/user/hive/warehouse/<tablename> (or the directory in your
hive-site.xml if you changed the default)


On Mon, Apr 5, 2010 at 6:41 PM, zhu weimin <xi...@tsm.kddilabs.jp> wrote:
> Hi
>
> I know how to load data from local file system or hdfs into tables using
> "LOAD DATA ...".
> But I want to remove some data files from hive's tables.
> How to do it?
>
> Thanks for any help.
>
>
>



-- 
Yours,
Zheng