soumyakanti3578 commented on code in PR #4330:
URL: https://github.com/apache/hive/pull/4330#discussion_r1198338463
##########
hplsql/src/main/java/org/apache/hive/hplsql/Exec.java:
##########
@@ -1822,8 +1826,12 @@ public List<Table> intoTables(ParserRuleContext ctx,
List<String> names) {
* User-defined function in a SQL query
*/
public void execSql(String name, HplsqlParser.Expr_func_paramsContext ctx) {
- if (execUserSql(ctx, name)) {
- return;
+ try {
+ if (execUserSql(ctx, name)) {
+ return;
+ }
+ } catch (TException e) {
+ throw new HplValidationException(ctx, ExceptionUtils.getStackTrace(e));
Review Comment:
I will do it 👍🏼
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]