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

[email protected] commented on HIVE-1735:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1256/
-----------------------------------------------------------

Review request for hive and Carl Steinbach.


Summary
-------

Changes from last patch:

Re-based to trunk.
Removed assert not null statements for list and map.
Updated explode_null.q to test NULL values for map also.


This addresses bug HIVE-1735.
    https://issues.apache.org/jira/browse/HIVE-1735


Diffs
-----

  
trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDTFExplode.java 
1151047 
  trunk/ql/src/test/queries/clientnegative/udtf_explode_not_supported1.q 
PRE-CREATION 
  trunk/ql/src/test/queries/clientnegative/udtf_explode_not_supported2.q 
PRE-CREATION 
  trunk/ql/src/test/queries/clientnegative/udtf_explode_not_supported3.q 
PRE-CREATION 
  trunk/ql/src/test/queries/clientnegative/udtf_explode_not_supported4.q 
PRE-CREATION 
  trunk/ql/src/test/queries/clientpositive/explode_null.q 1151047 
  trunk/ql/src/test/queries/clientpositive/udf_explode.q 1151047 
  trunk/ql/src/test/queries/clientpositive/udtf_explode.q 1151047 
  trunk/ql/src/test/results/clientnegative/udtf_explode_not_supported1.q.out 
PRE-CREATION 
  trunk/ql/src/test/results/clientnegative/udtf_explode_not_supported2.q.out 
PRE-CREATION 
  trunk/ql/src/test/results/clientnegative/udtf_explode_not_supported3.q.out 
PRE-CREATION 
  trunk/ql/src/test/results/clientnegative/udtf_explode_not_supported4.q.out 
PRE-CREATION 
  trunk/ql/src/test/results/clientpositive/explode_null.q.out 1151047 
  trunk/ql/src/test/results/clientpositive/udf_explode.q.out 1151047 
  trunk/ql/src/test/results/clientpositive/udtf_explode.q.out 1151047 

Diff: https://reviews.apache.org/r/1256/diff


Testing
-------


Thanks,

Amareshwari



> Extend Explode UDTF to handle Maps
> ----------------------------------
>
>                 Key: HIVE-1735
>                 URL: https://issues.apache.org/jira/browse/HIVE-1735
>             Project: Hive
>          Issue Type: New Feature
>          Components: UDF
>            Reporter: Carl Steinbach
>            Assignee: Jonathan Natkins
>         Attachments: HIVE-1735.1.patch, HIVE-1735.2.patch.txt, 
> HIVE-1735.2.patch.txt
>
>
> The explode() UDTF currently only accepts arrays as input. We should modify it
> so that it can also handle map inputs, in which case it will output two 
> columns
> corresponding to the key and value fields.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to