[
https://issues.apache.org/jira/browse/HIVE-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129201#comment-13129201
]
John Sichi commented on HIVE-2506:
----------------------------------
I got a compilation error, so you probably haven't rebased recently:
{noformat}
[javac]
/data/users/jsichi/open/test-trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/index/RewriteQueryUsingAggregateIndex.java:306:
getGenericUDAFEvaluator(java.lang.String,java.util.List<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>,boolean,boolean)
in org.apache.hadoop.hive.ql.exec.FunctionRegistry cannot be applied to
(java.lang.String,java.util.List<org.apache.hadoop.hive.serde2.typeinfo.TypeInfo>,boolean,boolean)
[javac] GenericUDAFEvaluator evaluator =
FunctionRegistry.getGenericUDAFEvaluator(
{noformat}
> Get ConstantObjectInspectors working in UDAFs
> ---------------------------------------------
>
> Key: HIVE-2506
> URL: https://issues.apache.org/jira/browse/HIVE-2506
> Project: Hive
> Issue Type: Improvement
> Reporter: Jonathan Chang
> Assignee: Jonathan Chang
> Attachments: HIVE-2506.patch, HIVE-2506.patch.2
>
>
> ConstantObjectInspectors seem to do the right thing for UDFs, but don't work
> yet for UDAFs, in part of the complex getEvaluator path which converts back
> and forth between TypeInfo and ObjectInspectors. We should add an interface
> so that UDAFs can operate entirely on ObjectInspectors and expose
> constantness to these UDAFs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira