hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Yang <py...@facebook.com>
Subject RE: Search the newest partition of one table in view
Date Thu, 21 Oct 2010 03:17:37 GMT
I don't think it is possible to use just a view to get that effect. If you're generating the
query programmatically, it'd be possible to either use the Thrift service or process the output
of 'show partitions' to get the latest partition date.

From: lei liu [mailto:liulei412@gmail.com]
Sent: Wednesday, October 20, 2010 6:30 PM
To: hive-user@hadoop.apache.org
Subject: Search the newest partition of one table in view

There is one table, I use one timer to create one new  partition for the table every day,
 now I want to create one view, use the view to search the newest partition of the table,how
can I receive the newest partition of the table in view?



Thanks,

LiuLei

Mime
View raw message