HappenLee commented on code in PR #51084:
URL: https://github.com/apache/doris/pull/51084#discussion_r2099600609


##########
fe/be-java-extensions/java-common/src/main/java/org/apache/doris/common/jni/vec/VectorColumn.java:
##########
@@ -350,6 +350,15 @@ public void reset() {
         }
     }
 
+    public void checkNullable(Object[] batch, int rows) {
+        for (int i = 0; i < rows; ++i) {
+            if (batch[i] == null) {
+                throw new RuntimeException(
+                        "the result of " + i + "  row is null, but the return 
type is not nullable");

Review Comment:
   tell user how to fix the problem.



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to