diff --git a/arrow-ipc/regen.sh b/arrow-ipc/regen.sh index 11e6273d1206..d828e1027380 100755 --- a/arrow-ipc/regen.sh +++ b/arrow-ipc/regen.sh @@ -133,6 +133,7 @@ for f in `ls *.rs`; do # Now prefix the file with the static contents echo -e "${PREFIX}" "${SCHEMA_IMPORT}" | cat - $f > temp && mv temp $f elif [[ $f == "Message.rs" ]]; then + sed --in-place='' 's/List/\`List\`/g' $f echo -e "${PREFIX}" "${SCHEMA_IMPORT}" "${SPARSE_TENSOR_IMPORT}" "${TENSOR_IMPORT}" | cat - $f > temp && mv temp $f elif [[ $f == "SparseTensor.rs" ]]; then echo -e "${PREFIX}" "${SCHEMA_IMPORT}" "${TENSOR_IMPORT}" | cat - $f > temp && mv temp $f diff --git a/arrow-ipc/src/gen/Message.rs b/arrow-ipc/src/gen/Message.rs index b7abdc7b2a3b..81d22c810ab3 100644 --- a/arrow-ipc/src/gen/Message.rs +++ b/arrow-ipc/src/gen/Message.rs @@ -342,7 +342,7 @@ pub struct MessageHeaderUnionTableOffset {} /// Metadata about a field at some level of a nested type tree (but not /// its children). /// -/// For example, a List with values `[[1, 2, 3], null, [4], [5, 6], null]` +/// For example, a `List` with values `[[1, 2, 3], null, [4], [5, 6], null]` /// would have {length: 5, null_count: 2} for its List node, and {length: 6, /// null_count: 0} for its Int16 node, as separate FieldNode structs // struct FieldNode, aligned to 8