[
https://issues.apache.org/jira/browse/ZEPPELIN-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14382303#comment-14382303
]
Lee moon soo commented on ZEPPELIN-6:
-------------------------------------
Related pull request (in previous github repo)
https://github.com/NFLabs/zeppelin/pull/401
> Tutorial notebook uses incorrect method of registering the temp table for
> Spark 1.3+
> ------------------------------------------------------------------------------------
>
> Key: ZEPPELIN-6
> URL: https://issues.apache.org/jira/browse/ZEPPELIN-6
> Project: Zeppelin
> Issue Type: Bug
> Environment: -Pspark-1.3
> Reporter: Jonathan Kelly
> Priority: Minor
>
> If using Spark 1.3+, the call to register the temp table in the Zeppelin
> Tutorial notebook must be:
> bank.toDF.registerTempTable("bank")
> instead of just:
> bank.registerTempTable("bank")
> See
> http://spark.apache.org/docs/1.3.0/sql-programming-guide.html#upgrading-from-spark-sql-10-12-to-13
> for more information on the API change.
> I'm not sure if you'd rather handle this by including a commented-out section
> with the correct invocation for Spark 1.3+, or by adding the Spark 1.3+
> invocation and commenting out the old invocation, or by simply correcting the
> invocation to work for Spark 1.3+, since most people will probably want to
> start using Spark 1.3. Maybe you only want to do my first suggestion until
> Zeppelin is using Spark 1.3+ by default (i.e., no need to compile with
> -Pspark-1.3).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)