summaryrefslogtreecommitdiff
path: root/site/sql/index.html
diff options
context:
space:
mode:
authorMatei Alexandru Zaharia <matei@apache.org>2015-07-26 19:11:45 +0000
committerMatei Alexandru Zaharia <matei@apache.org>2015-07-26 19:11:45 +0000
commit682afacd925931870fb429b8f7e5b22f18bf8446 (patch)
treed6ff8a13b6cedb6e6bcdec3c164ab3ce074cbe4d /site/sql/index.html
parent6b74391a87abf4907479f933e7bd8ffaf5e045b6 (diff)
downloadspark-website-682afacd925931870fb429b8f7e5b22f18bf8446.tar.gz
spark-website-682afacd925931870fb429b8f7e5b22f18bf8446.tar.bz2
spark-website-682afacd925931870fb429b8f7e5b22f18bf8446.zip
Fix Python
Diffstat (limited to 'site/sql/index.html')
-rw-r--r--site/sql/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/sql/index.html b/site/sql/index.html
index 8d1d4c40b..6716e1066 100644
--- a/site/sql/index.html
+++ b/site/sql/index.html
@@ -188,7 +188,7 @@
<div style="margin-top: 15px; text-align: left; display: inline-block;">
<div class="code">
- context = new <span class="sparkop">HiveContext</span>(sc)<br />
+ context = <span class="sparkop">HiveContext</span>(sc)<br />
results = context.<span class="sparkop">sql</span>(<br />&nbsp;&nbsp;<span class="closure">"SELECT * FROM people"</span>)<br />
names = results.<span class="sparkop">map</span>(<span class="closure">lambda p: p.name</span>)
</div>