{"push_id":1316262106,"size":1,"distinct_size":1,"ref":"refs/heads/branch-0.6","head":"a22a0355d6e7f9cc6e26a83c413a892584bf1b06","before":"e2187f2e5326b7196762424504526a5187ffa563","commits":[{"sha":"a22a0355d6e7f9cc6e26a83c413a892584bf1b06","author":{"name":"Jeff Zhang","email":"8540ccd5710ce8e6da3f6c1c8189a4ef2fa98c60@apache.org"},"message":"ZEPPELIN-1427. Scala z.show() doesn't work on v.0.6.1\n\n### What is this PR for?\n`ZeppelinContext.show` doesn't work for spark 1.6. The root cause is that `Dataset` is also available in spark 1.6, so the following line will be false when cls is `Dataset` while o is `Dataframe` in spark 1.6\n```\nif (cls.isInstance(o)) {\n```\nThis PR create a list of supported class and make it a member of `ZeppelinContext `so that we don't need to create it every time.\n\n### What type of PR is it?\n[Bug Fix]\n\n### Todos\n* [ ] - Task\n\n### What is the Jira issue?\n* https://issues.apache.org/jira/browse/ZEPPELIN-1427\n\n### How should this be tested?\nTested it manually on spark 1.6 using the following sample code\n```\nz.show(sqlContext.sql(\"show tables\"))\n```\n\n### Screenshots (if appropriate)\n![image](https://cloud.githubusercontent.com/assets/164491/18657995/cb25d8e8-7f31-11e6-8b26-62f39bc5587e.png)\n\n### Questions:\n* Does the licenses files need update? No\n* Is there breaking changes for older versions? No\n* Does this needs documentation? No\n\nAuthor: Jeff Zhang <zjffdu@apache.org>\n\nCloses #1440 from zjffdu/ZEPPELIN-1427 and squashes the following commits:\n\n62dbcad [Jeff Zhang] add unit test\na7ba67d [Jeff Zhang] ZEPPELIN-1427. Scala z.show() doesn't work on v.0.6.1\n\n(cherry picked from commit c717daf6556c708a771ac89efd36b26ef2988c71)\nSigned-off-by: Mina Lee <minalee@apache.org>","distinct":true,"url":"https://api.github.com/repos/apache/zeppelin/commits/a22a0355d6e7f9cc6e26a83c413a892584bf1b06"}]}
{"actor":{"display_login":"asfgit"}}