You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Canran Gou (JIRA)" <ji...@apache.org> on 2016/10/19 13:19:58 UTC
[jira] [Commented] (HIVE-3628) Provide a way to use counters in
Hive through UDF
[ https://issues.apache.org/jira/browse/HIVE-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15588751#comment-15588751 ]
Canran Gou commented on HIVE-3628:
----------------------------------
Hey Guys, thanks for the feature!
I'm creating a UDTF now and my configure function looks like this
public void configure(MapredContext context) {
reporter = context.getReporter();
}
however the reporter is null, any ideas what might be going wrong? My hive version is Hive 1.1.0-cdh5.4.8. Thanks!
> Provide a way to use counters in Hive through UDF
> -------------------------------------------------
>
> Key: HIVE-3628
> URL: https://issues.apache.org/jira/browse/HIVE-3628
> Project: Hive
> Issue Type: Improvement
> Components: UDF
> Reporter: Viji
> Assignee: Navis
> Priority: Minor
> Labels: TODOC11
> Fix For: 0.11.0
>
> Attachments: HIVE-3628.D8007.1.patch, HIVE-3628.D8007.2.patch, HIVE-3628.D8007.3.patch, HIVE-3628.D8007.4.patch, HIVE-3628.D8007.5.patch, HIVE-3628.D8007.6.patch
>
>
> Currently it is not possible to generate counters through UDF. We should support this.
> Pig currently allows this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)