You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thiruvel Thirumoolan (JIRA)" <ji...@apache.org> on 2010/12/21 14:46:01 UTC

[jira] Commented: (HIVE-1847) option of continue on error

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

Thiruvel Thirumoolan commented on HIVE-1847:
--------------------------------------------

hive.cli.errors.ignore?

Its set to 'false' by default and after setting it to 'true', all commands in the script are executed, no matter how many failed.

> option of continue on error
> ---------------------------
>
>                 Key: HIVE-1847
>                 URL: https://issues.apache.org/jira/browse/HIVE-1847
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Namit Jain
>
> In "hive -f <script>", if any sql/command fails in that script than hive exists with exit status -1, without continuing the remaining hive commands.
> Sometimes it is better to continue the script even during errors. 
> For example, if a hive sql script contains many drop table commands, the command would exit when it could not find a table. But in this case, it is preferable to continue dropping remaining tables

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.