GitHub user andrewor14 opened a pull request:
https://github.com/apache/spark/pull/12746
[SPARK-14945][PYTHON] SparkSession Python API
## What changes were proposed in this pull request?
`SparkSession` will be the new thing in 2.0. This was added in Scala in
#13643. This patch adds an initial API for python.
**Note**: This API is NOT complete in its current state. In particular, for
now I left out the `conf` and `catalog` APIs, which were added later in Scala.
These will be added later before 2.0.
## How was this patch tested?
Python tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andrewor14/spark python-spark-session
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12746.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 #12746
----
commit 8370767759b5191098c87271cda60c6dcbe9fc72
Author: Andrew Or <[email protected]>
Date: 2016-04-27T23:21:11Z
Implement SparkSession + use it in pyspark shell
----
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]