[ 
https://issues.apache.org/jira/browse/HIVE-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14046400#comment-14046400
 ] 

Lefty Leverenz commented on HIVE-3628:
--------------------------------------

[~trsudarshan], to get wiki edit access you just need to create a Confluence 
username and send a request to the u...@hive.apache.org mailing list.  
Instructions here:

* [Hive:  About This Wiki | 
https://cwiki.apache.org/confluence/display/Hive/AboutThisWiki]

Agreed, UDTF documentation could be improved.  The UDF and Lateral View docs in 
the Language Manual cover UDTFs and there's an orphan (unlinked) doc called 
"Writing UDTF's" which I'll add links to today:

* [LanguageManual -- Operators and UDFs -- Built-in Table-Generating Functions 
(UDTF) | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-Built-inTable-GeneratingFunctions(UDTF)]
* [LanguageManual -- Lateral View | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+LateralView]
* [DeveloperGuide UDTF -- Writing UDTFs | 
https://cwiki.apache.org/confluence/display/Hive/DeveloperGuide+UDTF]

Other wikidocs that mention UDTF, not counting Configuration Properties:

* [LanguageManual -- XPath UDF (just an empty heading for UDTFs) | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+XPathUDF]
* [HiveServer2 Thrift API (design doc, just shows "UDTF" as a value for 
FUNCTION_TYPE) | 
https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Thrift+API]
* [Plugin Developer Kit (trivial mention) | 
https://cwiki.apache.org/confluence/display/Hive/PluginDeveloperKit]

Thanks for offering to improve the docs!

> 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
>             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.2#6252)

Reply via email to