Github user MaxGekk commented on the issue:

    https://github.com/apache/spark/pull/22938
  
    I guess the problem belongs to `FailureSafeParser`, in particular 
https://github.com/apache/spark/blob/57eddc7182ece0030f6d0cc02339c0b8d8c0be5c/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/FailureSafeParser.scala#L36
 . `FailureSafeParser` was created to safety parse structs not arrays and maps. 
I think need to properly prepare `nullResult` for arrays and maps. I will look 
at it. Thank you @attilapiros for the example. 


---

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

Reply via email to