You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2010/01/06 23:20:54 UTC

[jira] Commented: (HIVE-1031) "DESCRIBE FUNCTION array" throws ParseException

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

Namit Jain commented on HIVE-1031:
----------------------------------

Seems to be a problem with reserved words.

> "DESCRIBE FUNCTION array" throws ParseException
> -----------------------------------------------
>
>                 Key: HIVE-1031
>                 URL: https://issues.apache.org/jira/browse/HIVE-1031
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>
> {noformat}
> hive> describe function array;
> describe function array;
> FAILED: Parse Error: line 1:18 cannot recognize input 'array' in describe statement
> hive> describe function 'array';
> describe function 'array';
> OK
> array(n0, n1...) - Creates an array with the given elements 
> Time taken: 0.396 seconds
> hive> describe function map;
> describe function map;
> FAILED: Parse Error: line 1:18 cannot recognize input 'map' in describe statement
> hive> describe function 'map';
> describe function 'map';
> OK
> map(key0, value0, key1, value1...) - Creates a map with the given key/value pairs 
> Time taken: 0.054 seconds
> hive> describe function case;
> describe function case;
> FAILED: Parse Error: line 1:18 cannot recognize input 'case' in describe statement
> hive> describe function 'case';
> describe function 'case';
> OK
> There is no documentation for function case
> Time taken: 0.072 seconds
> {noformat}

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