Skip to content

Commit

Permalink
Use binary for example loading
Browse files Browse the repository at this point in the history
  • Loading branch information
freeman-lab committed Jul 31, 2014
1 parent ba27fd4 commit a24e009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scala/src/main/scala/thunder/examples/ExampleLoad.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ object ExampleLoad {

val sc = new SparkContext(conf)

val data = Load.fromBinaryWithKeys(sc, file, nKeys = 1)
val data = Load.fromBinaryWithKeys(sc, file, nKeys = 3, format="short")

data.take(10).foreach{x =>
println(x._1.mkString(" "))
Expand Down

0 comments on commit a24e009

Please sign in to comment.