abhishekrb19 commented on code in PR #16583:
URL: https://github.com/apache/druid/pull/16583#discussion_r1633987453
##########
sql/src/main/java/org/apache/druid/sql/calcite/planner/DruidPlanner.java:
##########
@@ -380,13 +380,7 @@ public static DruidException translateException(Exception
e)
}
}
- return DruidException.forPersona(DruidException.Persona.DEVELOPER)
Review Comment:
This makes sense to me since this is still a case of `SqlParseException`.
@zachjsh, do you mind adding a test with a bad SQL that would cause the
exception to be targeted towards a user?
--
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]