Github user ueshin commented on the pull request:

    https://github.com/apache/spark/pull/1889#issuecomment-52019410
  
    I noticed that currently Parquet support can't handle `MapType` containing 
`null` value.
    There is a following difference, though:
    
    - writing and reading of `ArrayType` throw exception when `containsNull` is 
`true` even if no `null` value is contained.
    - writing and reading of `MapType` can do if the map doesn't have `null` 
value regardless of `valueContainsNull`.
    
    Should I modify Parquet support to handle `ArrayType` as the same as 
`MapType`, i.e.  do writing and reading regardless of `containsNull` for now? 
(if contains `null` values, it throws runtime exception.)
    And handling `null` value for both `ArrayType` and `MapType` would be the 
next issue?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to