Surajsuthar commented on code in PR #27701:
URL: https://github.com/apache/datafusion/pull/27701#discussion_r4725876891
##########
datafusion/common/src/nested_struct.rs:
##########
@@ -331,12 +331,13 @@ fn cast_list_column<O: arrow::array::OffsetSizeTrait>(
cast_options,
)?;
- let result = GenericListArray::<O>::new(
+ let result = GenericListArray::<O>::try_new(
Review Comment:
@jayzhan211 thanks for reviewing, i am gonna add test that cover both
--
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]