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 2022/01/15 19:06:45 UTC

[GitHub] [arrow-rs] helgikrs opened a new pull request #1187: feat(parquet): support for reading structs nested within lists

helgikrs opened a new pull request #1187:
URL: https://github.com/apache/arrow-rs/pull/1187


   # Which issue does this PR close?
   
   Closes #1186. 
   
   # What changes are included in this PR?
   
   Adds support reading lists of structs in the parquet reader. Adds a tests
   roundtrip writing and reading structs in a list.
   
   # Are there any user-facing changes?
   
   No.


-- 
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



[GitHub] [arrow-rs] alamb merged pull request #1187: feat(parquet): support for reading structs nested within lists

Posted by GitBox <gi...@apache.org>.
alamb merged pull request #1187:
URL: https://github.com/apache/arrow-rs/pull/1187


   


-- 
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



[GitHub] [arrow-rs] helgikrs commented on a change in pull request #1187: feat(parquet): support for reading structs nested within lists

Posted by GitBox <gi...@apache.org>.
helgikrs commented on a change in pull request #1187:
URL: https://github.com/apache/arrow-rs/pull/1187#discussion_r785342933



##########
File path: parquet/src/arrow/arrow_writer.rs
##########
@@ -1770,4 +1770,104 @@ mod tests {
         let stats = column.statistics().unwrap();
         assert_eq!(stats.null_count(), 2);
     }
+
+    #[test]
+    fn test_list_of_struct_roundtrip() {

Review comment:
       This test will fail until #1185 is merged, as the data written does not match the original.

##########
File path: parquet/src/arrow/arrow_writer.rs
##########
@@ -1770,4 +1770,104 @@ mod tests {
         let stats = column.statistics().unwrap();
         assert_eq!(stats.null_count(), 2);
     }
+
+    #[test]
+    fn test_list_of_struct_roundtrip() {

Review comment:
       Note: This test will fail until #1185 is merged, as the data written does not match the original.




-- 
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



[GitHub] [arrow-rs] alamb commented on pull request #1187: feat(parquet): support for reading structs nested within lists

Posted by GitBox <gi...@apache.org>.
alamb commented on pull request #1187:
URL: https://github.com/apache/arrow-rs/pull/1187#issuecomment-1015349868


   Thanks again @helgikrs 


-- 
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



[GitHub] [arrow-rs] alamb commented on pull request #1187: feat(parquet): support for reading structs nested within lists

Posted by GitBox <gi...@apache.org>.
alamb commented on pull request #1187:
URL: https://github.com/apache/arrow-rs/pull/1187#issuecomment-1014684960


   I merged `apache/master` to this branch to pick up the changes in #1185 -- hopefully we'll get a clean CI run and we'll merge this in


-- 
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



[GitHub] [arrow-rs] alamb commented on a change in pull request #1187: feat(parquet): support for reading structs nested within lists

Posted by GitBox <gi...@apache.org>.
alamb commented on a change in pull request #1187:
URL: https://github.com/apache/arrow-rs/pull/1187#discussion_r786128441



##########
File path: parquet/src/arrow/arrow_writer.rs
##########
@@ -1770,4 +1770,104 @@ mod tests {
         let stats = column.statistics().unwrap();
         assert_eq!(stats.null_count(), 2);
     }
+
+    #[test]
+    fn test_list_of_struct_roundtrip() {

Review comment:
       #1185  has now been merged 🚀 




-- 
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