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

Ashutosh Chauhan commented on HIVE-14768:
-----------------------------------------

Another thought: What if we extend UDTF explode such that it accepts long 
argument and then calls forward as many time as its value. Then that in 
conjunction with Lateral view will give us this desired functionality.
Reason I am suggesting this is because this udtf gives the impression that it 
can accept any number of expressions as argument and will output them after 
evaluating, while in implementation it just forwards without even looking at 
arguments. Lateral view explode more matches the semantics since there explode 
will only accept one argument and still able to match row schema via Lateral 
view join.

> Add a new UDTF ExplodeByNumber
> ------------------------------
>
>                 Key: HIVE-14768
>                 URL: https://issues.apache.org/jira/browse/HIVE-14768
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-14768.01.patch, HIVE-14768.02.patch
>
>
> For intersect all and except all implementation purpose.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to