Skip to content

Commit

Permalink
op-guide: add accessing Spark with Python or R
Browse files Browse the repository at this point in the history
  • Loading branch information
lilin90 committed Jul 22, 2018
1 parent eef8864 commit c8c5656
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 c8c5656

Please sign in to comment.