You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "lance.jiangl (JIRA)" <ji...@apache.org> on 2012/06/30 12:26:45 UTC
[jira] [Updated] (HIVE-3220) In a UDAF, I can't get distinct/all
column information in iterate method
[ https://issues.apache.org/jira/browse/HIVE-3220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
lance.jiangl updated HIVE-3220:
-------------------------------
Component/s: UDF
Affects Version/s: 0.6.0
0.7.0
> In a UDAF, I can't get distinct/all column information in iterate method
> -------------------------------------------------------------------------
>
> Key: HIVE-3220
> URL: https://issues.apache.org/jira/browse/HIVE-3220
> Project: Hive
> Issue Type: Bug
> Components: UDF
> Affects Versions: 0.6.0, 0.7.0
> Reporter: lance.jiangl
> Labels: features
> Attachments: GenericUDAFCount.java
>
>
> I can get the information from GenericUDAFParameterInfo, to judge if user inputs DISTINCT keyword.
> But I want to judge in the iterate method, could anyone get me a hint??
> In GenericUDAFCount.java(line 125),a boolean variable *countAllColumns* is used to see whether user input *. However, it doesn't work :(
--
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