You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Wojciech Indyk <wo...@gmail.com> on 2017/01/27 08:36:56 UTC
outdated documentation? SparkSession
Hi!
In this doc
http://spark.apache.org/docs/latest/programming-guide.html#initializing-spark
initialization is described by SparkContext. Do you think is it reasonable
to change it to SparkSession or just mentioned it at the end? I can prepare
it and make PR for this, but want to know your opinion at first. The same
for quickstart:
http://spark.apache.org/docs/latest/quick-start.html#self-contained-applications
--
Kind regards/ Pozdrawiam,
Wojciech Indyk
Re: outdated documentation? SparkSession
Posted by Chetan Khatri <ch...@gmail.com>.
Not outdated at all, because there are other methods having dependencies on
sparkcontext so you have to create it.
For example,
https://gist.github.com/chetkhatri/f75c2b743e6cb2d7066188687448c5a1
On Fri, Jan 27, 2017 at 2:06 PM, Wojciech Indyk <wo...@gmail.com>
wrote:
> Hi!
> In this doc http://spark.apache.org/docs/latest/programming-guide.html#
> initializing-spark initialization is described by SparkContext. Do you
> think is it reasonable to change it to SparkSession or just mentioned it at
> the end? I can prepare it and make PR for this, but want to know your
> opinion at first. The same for quickstart: http://spark.
> apache.org/docs/latest/quick-start.html#self-contained-applications
>
> --
> Kind regards/ Pozdrawiam,
> Wojciech Indyk
>