hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (Commented) (JIRA)" <>
Subject [jira] [Commented] (HIVE-2592) ConstantOI doesn't always propagate to UDAF
Date Thu, 24 Nov 2011 05:07:40 GMT


Phabricator commented on HIVE-2592:

ikabiljo has commented on the revision "HIVE-2592 [jira] ConstantOI doesn't always propagate
to UDAF".

  There must have been a good reason to have TypeInfo/ObjectInspector pair, since it was built.
I am wondering if that reason is still valid.
  If it is, it might be a best solution to add constant OIs to TypeInfo, and then all different
issues around constant OIs would be resolved.
  If there is not a good reason for TypeInfo any more, then it might be best to just remove
it everywhere (and leave them only for backward compatibility for old UDFs that use them,
but create them upon request, without storing them anywhere).

  What do you think?


> ConstantOI doesn't always propagate to UDAF
> -------------------------------------------
>                 Key: HIVE-2592
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Jonathan Chang
>            Assignee: Jonathan Chang
>         Attachments: HIVE-2592.D513.1.patch, HIVE-2592.D513.2.patch
> Depending on the query plan, a UDAF may not actually get a constant OI.  E.g.,
> set;
> SELECT percentile_approx(cast(substr(src.value,5) AS double), 0.5) FROM src;

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message