GitHub user cloud-fan opened a pull request:

    https://github.com/apache/spark/pull/14679

    [SPARK-17102][SQL] bypass UserDefinedGenerator for json format check

    ## What changes were proposed in this pull request?
    
    We use reflection to convert `TreeNode` to json string, and currently don't 
support arbitrary object. `UserDefinedGenerator` takes a function object, so we 
should skip json format test for it, or the tests can be flacky, e.g. 
`DataFrameSuite.simple explode`, this test always fail in branch 1.6, but pass 
in master, because of the different scala versions.
    
    ## How was this patch tested?
    
    N/A
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloud-fan/spark json

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/14679.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #14679
    
----
commit c04084d29c3d049053a5929d6860006549c96573
Author: Wenchen Fan <wenc...@databricks.com>
Date:   2016-08-17T06:32:17Z

    bypass UserDefinedGenerator for json format check

----


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