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/05/26 20:59:50 UTC

[GitHub] [arrow-rs] ahmedriza commented on pull request #1746: Support writing nested lists to parquet

ahmedriza commented on PR #1746:
URL: https://github.com/apache/arrow-rs/pull/1746#issuecomment-1139046024

   This is fantastic.  Checked my test cases against this PR and they work perfectly now.  Also checked a few other combinations and they are all handled correctly now.  
   
   * Empty arrays in `bids` column:
   ```
   +---+----------------------+----+
   |id |prices                |bids|
   +---+----------------------+----+
   |t1 |[[GBP, 3.14, [[LON]]]]|[]  |
   |t2 |[[USD, 4.14, [[NYC]]]]|[]  |
   +---+----------------------+----+
   ```
   
   * Nulls in `bids` column:
   ```
   +---+----------------------+----+
   |id |prices                |bids|
   +---+----------------------+----+
   |t1 |[[GBP, 3.14, [[LON]]]]|null|
   |t2 |[[USD, 4.14, [[NYC]]]]|null|
   +---+----------------------+----+
   ```
   
   * Mixture of non-null and null in `bids` column
   ```
   +---+----------------------+------------------------+
   |id |prices                |bids                    |
   +---+----------------------+------------------------+
   |t1 |[[GBP, 3.14, [[LON]]]]|[[JPY, 103.14, [[TKY]]]]|
   |t2 |[[USD, 4.14, [[NYC]]]]|null                    |
   +---+----------------------+------------------------+
   ```
   
   Amazing work.  Thanks for the quick fix. 
   


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