Can you explain what exactly you want to achieve?
are you trying to replace the UDFs you have written with the ones shipped
Windowing functions do a great feature when you want to lead or lag or rank
the rows based on values inside few rows grouped together.
If you can explain your use case in detail along with approach, people may
be able to suggest some improvements.
On Sun, Aug 11, 2013 at 4:53 PM, pandees waran <[EMAIL PROTECTED]> wrote:
> Before the advent of windowing and analytical functions in 0.11, we depend
> on UDAF for achieving the desired analytical functionality in 0.8,
> So, I would like to replace the UDAF with the available windowing and
> analytic function as part of 0.11 upgrade .
> Is there any best practices while choosing whether UDAF or built in
> functions? Will there be any performance gain in this?
> Please let me know your views
> Sent from Mailbox <https://www.dropbox.com/mailbox> for iPad