LakshSingla commented on code in PR #14534:
URL: https://github.com/apache/druid/pull/14534#discussion_r1257924018
##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/sql/MSQTaskSqlEngine.java:
##########
@@ -125,17 +125,20 @@ public boolean featureAvailable(EngineFeature feature,
PlannerContext plannerCon
case SCAN_NEEDS_SIGNATURE:
return true;
default:
- throw new IAE("Unrecognized feature: %s", feature);
+ throw DruidException
+ .forPersona(DruidException.Persona.DEVELOPER)
+ .ofCategory(DruidException.Category.DEFENSIVE)
+ .build("Unrecognized feature: %s", feature);
Review Comment:
Adding the relevant portions from the above comment into this exception
message, since these are developer-facing.
--
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]