Skip to content

Commit

Permalink
HIVE-25004. HPL/SQL subsequent statements are failing after typing a …
Browse files Browse the repository at this point in the history
…malformed input in beeline (amagyar) (Attila Magyar, reviewed by Mustafa Iman)
  • Loading branch information
zeroflag authored Apr 14, 2021
1 parent a552253 commit 040b48d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hplsql/src/main/java/org/apache/hive/hplsql/Exec.java
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ void cleanup() {
/**
* Output information about unhandled exceptions
*/
void printExceptions() {
public void printExceptions() {
while (!signals.empty()) {
Signal sig = signals.pop();
if (sig.type == Signal.Type.VALIDATION) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ private void interpret() throws HiveSQLException {
} else {
throw new HiveSQLException("Error running HPL/SQL operation", e);
}
} finally {
exec.printExceptions();
}
}

Expand Down

0 comments on commit 040b48d

Please sign in to comment.