junjunjd commented on code in PR #7901:
URL: https://github.com/apache/arrow-datafusion/pull/7901#discussion_r1379691127


##########
datafusion/common/src/scalar.rs:
##########
@@ -701,13 +721,13 @@ macro_rules! build_values_list_tz {
                     ScalarValue::$SCALAR_TY(None, _) => {
                         builder.values().append_null();
                     }
-                    _ => panic!("Incompatible ScalarValue for list"),
+                    _ => return _internal_err!("Incompatible ScalarValue for 
list"),

Review Comment:
   Same as above.



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

Reply via email to