Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/15354
  
    @marmbrus Sure (I didn't mean I am not going to do this..), I just handled 
the case in this PR for `to_json`.
    
    BTW, I would like to note that there are the same problems in other JSON 
related functionalities.  For example, I might have to add 
    
    ```scala
    override def checkInputDataTypes(): TypeCheckResult = {
      ...
     JacksonUtils.verifySchema(child.dataType.asInstanceOf[StructType])
      ...
    }
    ```
    
    for `from_json` as well. Let me please open a follow up for adding this 
logic and test for JSON related functionalities.


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