[
https://issues.apache.org/jira/browse/HIVE-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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: https://issues.apache.org/jira/browse/HIVE-522
> 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.