diff options
author | OopsOutOfMemory <victorshengli@126.com> | 2015-02-06 13:20:10 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-02-06 13:20:10 -0800 |
commit | 3d3ecd77411bfdd1c72be51616c46a6caf839be2 (patch) | |
tree | cd6fa2ad07f12e6e59c213ab0694c18090b54362 /ec2 | |
parent | 4793c8402a19afe4df51129a7f99e07494a76af2 (diff) | |
download | spark-3d3ecd77411bfdd1c72be51616c46a6caf839be2.tar.gz spark-3d3ecd77411bfdd1c72be51616c46a6caf839be2.tar.bz2 spark-3d3ecd77411bfdd1c72be51616c46a6caf839be2.zip |
[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
```
Author: OopsOutOfMemory <victorshengli@126.com>
Closes #4387 from OopsOutOfMemory/sqlContextInShell and squashes the following commits:
c7f5203 [OopsOutOfMemory] auto-import sql() function
e160697 [OopsOutOfMemory] Merge branch 'sqlContextInShell' of https://github.com/OopsOutOfMemory/spark into sqlContextInShell
37c0a16 [OopsOutOfMemory] auto detect hive support
a9c59d9 [OopsOutOfMemory] rename and reduce range of imports
6b9e309 [OopsOutOfMemory] Merge branch 'master' into sqlContextInShell
cae652f [OopsOutOfMemory] make sqlContext available in spark shell
Diffstat (limited to 'ec2')
0 files changed, 0 insertions, 0 deletions