amplab / training

Training materials for Strata, AMP Camp, etc
150 stars 121 forks source link

Succinct workshop: mismatch variable names wikiSuccinctKV2 #220

Closed sbenthall closed 8 years ago

sbenthall commented 8 years ago

In the code for the Succinct workshop:

variable defined here...

val wikiSuccinctKV2 = sc.succinctKVLong

referred to here:

val articleIdsRDD4 = succinctWikiKV2.search("Berkeley")

but note that wikiSuccinctKV2 != succinctWikiKV2

sbenthall commented 8 years ago

this variable is used in many subsequent code blocks and should be consistent throughout

sbenthall commented 8 years ago

Later, a succinctWikiKV3 is introduced. Is this the same?

val articleIdsRDD3= succinctWikiKV3.regexSearch("(stanford|berkeley).edu")