GitHub user OopsOutOfMemory opened a pull request:
https://github.com/apache/spark/pull/4387
[SPARK-5586][Spark Shell][SQL] Make `sqlContext` available in spark shell
Result is like this
```
15/02/05 13:41:22 INFO SparkILoop: Created spark context..
Spark context available as sc.
15/02/05 13:41:22 INFO SparkILoop: Created sql context..
SQLContext available as sqlContext.
scala> sq
sql sqlContext sqlParser sqrt
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/OopsOutOfMemory/spark sqlContextInShell
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/4387.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 #4387
----
commit cae652f2d87d0820eafdd2d2e28bbbb00670537b
Author: OopsOutOfMemory <[email protected]>
Date: 2015-02-05T05:37:22Z
make sqlContext available in spark 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]