GitHub user Leemoonsoo opened a pull request:

    https://github.com/apache/zeppelin/pull/1224

    [ZEPPELIN-1228] Make z.show() work with Dataset

    ### What is this PR for?
    z.show() does not work in spark 2.0
    
    
    ### What type of PR is it?
    Bug Fix
    
    ### Todos
    * [x] - Make z.show() work with dataset
    * [x] - add a unittest
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-1228
    
    ### How should this be tested?
    ```
    case class Data(n:Int)
    val data = sc.parallelize(1 to 10).map(i=>Data(i)).toDF
    data.registerTempTable("data")
    z.show(spark.sql("select * from data"))
    ```
    
    ### Questions:
    * Does the licenses files need update? no
    * Is there breaking changes for older versions? no
    * Does this needs documentation? no
    


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

    $ git pull https://github.com/Leemoonsoo/zeppelin ZEPPELIN-1228

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

    https://github.com/apache/zeppelin/pull/1224.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 #1224
    
----
commit 486e00a091a5d9d40aed154c2e37d08402534558
Author: Lee moon soo <[email protected]>
Date:   2016-07-24T23:02:03Z

    Make z.show() work with Dataset

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to