Skip to content

Commit

Permalink
Merge pull request #817 from lilin90/tispark-r
Browse files Browse the repository at this point in the history
op-guide: add accessing Spark with Python or R
  • Loading branch information
lilin90 authored Jul 22, 2018
2 parents eef8864 + c8c5656 commit df0298a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion op-guide/docker-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,13 @@ scala> spark.sql("select count(*) from lineitem").show
+--------+
| 60175|
+--------+
```
```
你也可以通过 Python 或 R 来访问 Spark:
```bash
docker-compose exec tispark-master /opt/spark/bin/pyspark
docker-compose exec tispark-master /opt/spark/bin/sparkR
```
更多关于 TiSpark 的信息,参见 [TiSpark 的详细文档](../tispark/tispark-quick-start-guide.md)。

0 comments on commit df0298a

Please sign in to comment.