Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-1031

"DESCRIBE FUNCTION array" throws ParseException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • Query Processor
    • None
    • Reviewed
    • describe function array map case parser

    Description

      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
      
      

      Attachments

        1. HIVE-1031.patch
          0.8 kB
          Carl Steinbach
        2. HIVE-1031.2.patch
          290 kB
          Carl Steinbach

        Activity

          People

            cwsteinbach Carl Steinbach
            cwsteinbach Carl Steinbach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: