[ 
https://issues.apache.org/jira/browse/HIVE-24278?focusedWorklogId=537881&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-537881
 ]

ASF GitHub Bot logged work on HIVE-24278:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Jan/21 16:24
            Start Date: 19/Jan/21 16:24
    Worklog Time Spent: 10m 
      Work Description: abstractdog merged pull request #1817:
URL: https://github.com/apache/hive/pull/1817


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 537881)
    Time Spent: 1h  (was: 50m)

> Implement an UDF for throwing exception in arbitrary vertex
> -----------------------------------------------------------
>
>                 Key: HIVE-24278
>                 URL: https://issues.apache.org/jira/browse/HIVE-24278
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: László Bodor
>            Assignee: László Bodor
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> For testing purposes sometimes we need to make the query fail in a vertex, so 
> assuming that we already know the plan, it could be something like:
> on mapper side
> {code}
> select a.col1, exception_in_vertex("Map 1") from a
> join b on b.id = a.id
> {code}
> or on reducer side
> {code}
> select a.col1, exception_in_vertex("Reducer 2") from a
> join b on b.id = a.id
> {code}
> more advanced configuration is possible, e.g we want to make Reducer 2's 50th 
> task's first (0th) attempt fail with an exception:
> {code}
> exception_in_vertex("Reducer 2", 50, 0)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to