diff options
author | Matei Alexandru Zaharia <matei@apache.org> | 2015-07-26 19:11:45 +0000 |
---|---|---|
committer | Matei Alexandru Zaharia <matei@apache.org> | 2015-07-26 19:11:45 +0000 |
commit | 682afacd925931870fb429b8f7e5b22f18bf8446 (patch) | |
tree | d6ff8a13b6cedb6e6bcdec3c164ab3ce074cbe4d /site/sql/index.html | |
parent | 6b74391a87abf4907479f933e7bd8ffaf5e045b6 (diff) | |
download | spark-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.html | 2 |
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 /> <span class="closure">"SELECT * FROM people"</span>)<br /> names = results.<span class="sparkop">map</span>(<span class="closure">lambda p: p.name</span>) </div> |