hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiruvel Thirumoolan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1847) option of continue on error
Date Tue, 21 Dec 2010 13:46:01 GMT

    [ 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.


Mime
View raw message