Thanks for your reply, can you give me some example about adding a sub 
partition to a Partition?
How can I achieve that creating a new directory/file per append
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" 
/><o:p>&nbsp;</o:p>
-----邮件原件-----
发件人: Zheng Shao [mailto:[email protected]]
发送时间: 2010年5月8日 2:29
收件人: [email protected]
主题: Re: can hive currently support appending data to the table?
<o:p>&nbsp;</o:p>
We can also add more partitions to a table (or a sub partition to a
partition) to simulate appending to table/partition.
<o:p>&nbsp;</o:p>
There is no real efficiency loss except that we will create a new 
directory/file per append.
<o:p>&nbsp;</o:p>
Zheng
<o:p>&nbsp;</o:p>
On Fri, May 7, 2010 at 7:51 AM, Ning Zhang &lt;[email protected]&gt; wrote:
&gt; Hive does not support appending to exist partition ot table yet. For 
&gt; non bucketed table a workaround is to insert the new data into a temp 
&gt; table and move the files to the destination by hand.
&gt;<o:p>&nbsp;</o:p>
&gt; Of course you are welcome to add this to the project.
&gt; Thanks,
&gt; Ning
&gt; ------
&gt; Sent from my blackberry
&gt;<o:p>&nbsp;</o:p>
&gt; ________________________________
&gt; From: luocanrao &lt;[email protected]&gt;
&gt; To: [email protected] &lt;[email protected]&gt;
&gt; Sent: Fri May 07 07:22:38 2010
&gt; Subject: can hive currently support appending data to the table?
&gt;<o:p>&nbsp;</o:p>
&gt; I read the hive wiki, it says:
&gt;<o:p>&nbsp;</o:p>
&gt; The output of each of the select statements is written to the chosen 
&gt; table (or partition).
&gt;<o:p>&nbsp;</o:p>
&gt; Currently the OVERWRITE keyword is mandatory and implies that the 
&gt; contents of the chosen table or partition are replaced with the output 
&gt; of corresponding select statement
&gt;<o:p>&nbsp;</o:p>
&gt;<o:p>&nbsp;</o:p>
&gt;<o:p>&nbsp;</o:p>
&gt; can hive currently support appending data to the table?
<o:p>&nbsp;</o:p>
<o:p>&nbsp;</o:p>
<o:p>&nbsp;</o:p>
--
Yours,
Zheng
http://www.linkedin.com/in/zshao

Reply via email to