You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "dadepo (via GitHub)" <gi...@apache.org> on 2023/06/04 15:57:59 UTC

[GitHub] [arrow-rs] dadepo commented on a diff in pull request #4361: Add support for FixedSizeList in array_to_json_array

dadepo commented on code in PR #4361:
URL: https://github.com/apache/arrow-rs/pull/4361#discussion_r1216846751


##########
arrow-json/src/writer.rs:
##########
@@ -190,6 +190,15 @@ pub fn array_to_json_array(array: &ArrayRef) -> Result<Vec<Value>, ArrowError> {
                 None => Ok(Value::Null),
             })
             .collect(),
+        DataType::FixedSizeList(_, _) => {
+            ListArray::from(as_fixed_size_list_array(array).to_owned())

Review Comment:
   Updated as suggested. Including adding iter() to FixedSizeListArray



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org