hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie F Olson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-3503) Cannot compose UDAF and UDF functions
Date Mon, 24 Sep 2012 17:14:08 GMT
Jamie F Olson created HIVE-3503:
-----------------------------------

             Summary: Cannot compose UDAF and UDF functions
                 Key: HIVE-3503
                 URL: https://issues.apache.org/jira/browse/HIVE-3503
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 0.8.1
         Environment: Debian squeeze, Amazon EMR, Hadoop 1.0.3, Hive 0.8.1
            Reporter: Jamie F Olson


With an array column:
CREATE TABLE test (val ARRAY<INT>);

You are not allowed to combine aggregate and regular functions, a la:

SELECT MAX(val) > 0 FROM test;

Argument type mismatch 'val': The 1st argument of GREATER THAN  is expected to a primitive
type, but list is found

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message