Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
Description
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