Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaojialin committed Apr 17, 2018
2 parents bab4154 + 2f5a19d commit 44ea1f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ mvn clean scala:compile compile install
## spark-shell使用方式

```
./spark-shell --jars /home/rl/tsfile-0.5.0-SNAPSHOT.jar,/home/rl/iotdb-jdbc-0.5.0-SNAPSHOT.jar,/home/rl/iotdb-spark-connector-0.5.0.jar
./spark-shell --jars /home/rl/tsfile-0.5.0-SNAPSHOT.jar,/home/rl/iotdb-jdbc-0.5.0-SNAPSHOT.jar,/home/rl/spark-iotdb-connector-0.5.0.jar
val df = spark.read.format("cn.edu.tsinghua.tsfile").option("url","jdbc:tsfile://127.0.0.1:6667/").option("sql","select * from root").load
df.printSchema()
df.show()
```
```

0 comments on commit 44ea1f2

Please sign in to comment.