Database Reference
In-Depth Information
// first we'll filter down to the two
// lines that contain Dune reviews
// then we'll count those lines
scala
>
val
val
dune_reviews
=
reviews
.
filter
(
line
==>
line
.
contains
(
"Dune"
)).
count
()
res0
:
Long
Long
=
2
1
Sanjay Ghemawat, Howard Gobioff, and Shun-Tak Leung, “The Google File System,”
Pro-
ceedings of the Nineteenth ACM Symposium on Operating Systems Principles - SOSP '03
(2003): 29-43.
2
Jeffrey Dean and Sanjay Ghemawat, “MapReduce: Simplified Data Processing on Large
Clusters,”
Proceedings of the 6th Conference on Symposium on Operating Systems Design
and Implementation
(2004).