[
https://issues.apache.org/jira/browse/HIVE-9263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345084#comment-14345084
]
Georg Zigldrum commented on HIVE-9263:
--------------------------------------
I did the initial testing with Beeline version 0.13.1-cdh5.2.0 and the return
code for your script is 0.
With newer versions (tested 0.13.1-cdh5.2.5-SNAPSHOT, 0.13.1-cdh5.3.3-SNAPSHOT,
1.1.0-cdh5.4.0-SNAPSHOT) the return code correctly is 1. Seems like this has
been fixed somewhere in between.
Sorry for the inconvenience. Do you have an idea which code change corrected
this?
> Implement controllable exit code in beeline
> -------------------------------------------
>
> Key: HIVE-9263
> URL: https://issues.apache.org/jira/browse/HIVE-9263
> Project: Hive
> Issue Type: Improvement
> Components: Beeline
> Reporter: Johndee Burks
> Assignee: Chaoyu Tang
> Priority: Minor
>
> It would be nice if beeline implemented something like SQLPlus WHENEVER to
> control exit codes. This would be useful when performing beeline actions
> through a shell script.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)