As far as I know, Hive has no built-in support for sliding-window analytics.
There is an enhancement request here:
https://issues.apache.org/jira/browse/HIVE-896
https://issues.apache.org/jira/browse/HIVE-896Without such support, the
brute force way of doing things is,
SELECT COUNT(DISTINCT
Hi,
I'm writing a UDAF and I'm a little unclear about the PARTIAL1, PARTIAL2,
FINAL and COMPLETE modes.
I've read the extent of the Javadoc ;) and looked at some of the built-in
UDAFs in the Hive source tree and I'm still unclear about the properties of
the input data in each aggregation step.
, then it's
not a blocker.
JVS
On Feb 3, 2011, at 3:29 PM, Alex Boisvert wrote:
On Thu, Feb 3, 2011 at 11:38 AM, John Sichi jsi...@fb.com wrote:
Besides the fact that the refactoring required is significant, I don't
think this is possible to do quickly since:
1) Hive (unlike Pig) requires