hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <>
Subject [jira] Created: (HIVE-508) Better error message for UDF parameter handling
Date Fri, 22 May 2009 23:14:45 GMT
Better error message for UDF parameter handling

                 Key: HIVE-508
             Project: Hadoop Hive
          Issue Type: Bug
            Reporter: Zheng Shao

CREATE TABLE x (a map<string,string>);
SELECT round(a) FROM x;

This will show an error message:
FAILED: Unknown exception : org.apache.hadoop.hive.serde2.typeinfo.MapTypeInfo cannot be cast
to org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo

We need better error messsage like:
FAILED: Unable to pass a (type: map<string,string>) to function round.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message