tustvold commented on code in PR #2571:
URL: https://github.com/apache/arrow-datafusion/pull/2571#discussion_r876044559
##########
datafusion/core/src/avro_to_arrow/arrow_array_reader.rs:
##########
@@ -861,6 +861,7 @@ fn flatten_string_values(values: &[&Value]) ->
Vec<Option<String>> {
values
.iter()
.flat_map(|row| {
+ let row = maybe_resolve_union(row);
Review Comment:
We must do this here, to match the logic used to deduce the offsets. Without
this the offsets would not match the flattened values.
--
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]