drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-319) Drill function need specify how to handle error.
Date Tue, 10 Dec 2013 10:15:07 GMT

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

Rohit commented on DRILL-319:
-----------------------------

I think we should make use of AOP for this for intercepting the exceptions raised. Also provide
a mechanism to register exceptions as per 3 categories via different annotations.
Let me know your thoughts.
If no one is working on this. I would like to start on this.

> Drill function need specify how to handle error. 
> -------------------------------------------------
>
>                 Key: DRILL-319
>                 URL: https://issues.apache.org/jira/browse/DRILL-319
>             Project: Apache Drill
>          Issue Type: Improvement
>            Reporter: Jinfeng Ni
>
> Currently, drill's built-in function will raise Exception when it catches one, and stops
the execution immediately. 
> Depending on the nature of the function or the query, we might need allow function behaviors
differently :
>    -- Issue SQL Error code, and stop the execution.
>    -- Issue SQL warning, continue the execution for the next row. 
>    -- Continue the execution for the next row, and log the # of error / warning for user
awareness. 
> Therefore, we need have a way to specify the different strategy how to handle error for
different function implementation, for either build-in function, or UDF. 
>  



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message