You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Jinfeng Ni (JIRA)" <ji...@apache.org> on 2013/12/10 03:16:07 UTC

[jira] [Created] (DRILL-319) Drill function need specify how to handle error.

Jinfeng Ni created DRILL-319:
--------------------------------

             Summary: 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)