hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <>
Subject [jira] Updated: (HIVE-522) GenericUDAF: Extend UDAF to deal with complex types
Date Mon, 08 Jun 2009 07:56:07 GMT


Zheng Shao updated HIVE-522:

    Attachment: HIVE-522.2.patch

This patch passes all tests.

Note that there was a bug in the "count" UDAF in treating empty strings as nulls. This patch
also fixes this problem.
Also, the SerDe for temporary files between different jobs are changed to LazySimpleSerDe,
because DynamicSerDe is not capable of understanding sub-structs (GenericUDAFAverage's partial
aggregation results are a struct of a "long" count and a "double" sum).

> GenericUDAF: Extend UDAF to deal with complex types
> ---------------------------------------------------
>                 Key: HIVE-522
>                 URL:
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Query Processor
>    Affects Versions: 0.4.0
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>             Fix For: 0.4.0
>         Attachments: HIVE-522.1.patch, HIVE-522.2.patch
> We can pass arbitrary arguments into GenericUDFs. We should do the same thing to GenericUDAF
so that UDAF can also take arbitrary arguments.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message