hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Steinbach (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-1031) "DESCRIBE FUNCTION array" throws ParseException
Date Thu, 07 Jan 2010 02:08:54 GMT

     [ https://issues.apache.org/jira/browse/HIVE-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carl Steinbach updated HIVE-1031:
---------------------------------

    Status: Patch Available  (was: Open)

* Updated the list of "sysFuncNames" in the Hive grammar file.

{noformat}
hive> describe function array;
describe function array;
OK
array(n0, n1...) - Creates an array with the given elements 
Time taken: 0.051 seconds
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.069 seconds
{noformat}


> "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
>         Attachments: HIVE-1031.patch
>
>
> {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.


Mime
View raw message