zhztheplayer commented on code in PR #10331:
URL: 
https://github.com/apache/incubator-gluten/pull/10331#discussion_r2247809233


##########
gluten-substrait/src/main/java/org/apache/gluten/substrait/plan/PlanBuilder.java:
##########
@@ -63,7 +63,8 @@ public static PlanNode makePlan(
       TypeNode outputSchema,
       AdvancedExtensionNode extension) {
     if (subCtx == null) {
-      throw new NullPointerException("ColumnarWholestageTransformer cannot 
doTansform.");
+      throw new NullPointerException(
+          "Cannot execute doTransform due to the SubstraitContext is null.");

Review Comment:
   Could remove the trailing dot in error message, by the way.
   
   Also, normally we could do `Preconditions.checkNotNull(...)` to simplify.



-- 
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]

Reply via email to