You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/11/07 11:17:47 UTC
[GitHub] [arrow] alamb commented on a change in pull request #8608: ARROW-10261: [Rust] [Breaking] Change List datatype to Box
alamb commented on a change in pull request #8608:
URL: https://github.com/apache/arrow/pull/8608#discussion_r519166183
##########
File path: rust/arrow/src/ipc/convert.rs
##########
@@ -537,59 +529,62 @@ pub(crate) fn get_fb_field_type<'a: 'b, 'b>(
}
}
List(ref list_type) => {
- let inner_types = get_fb_field_type(list_type, fbb);
- let child = ipc::Field::create(
- fbb,
- &ipc::FieldArgs {
- name: None,
- nullable: false,
- type_type: inner_types.type_type,
- type_: Some(inner_types.type_),
- children: inner_types.children,
- dictionary: None,
- custom_metadata: None,
- },
- );
+ let child = build_field(fbb, list_type);
+ // let inner_types = get_fb_field_type(list_type, fbb);
Review comment:
I wonder if there is any reason to leave this commented out? As in why not remove the old version?
I have the same question for the other instances in this file
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org