en:site:recherche:logiciels:sparqlwithspark:chain6
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:site:recherche:logiciels:sparqlwithspark:chain6 [13/09/2016 23:03] – hubert | en:site:recherche:logiciels:sparqlwithspark:chain6 [16/09/2016 23:11] (current) – [Chain6 query plans] hubert | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{indexmenu_n> | ||
| + | |||
| ====== Chain6 query plans ====== | ====== Chain6 query plans ====== | ||
| The plans produced by each method are: | The plans produced by each method are: | ||
| * SPARQL RDD: | * SPARQL RDD: | ||
| - | < | + | < |
| val d1 = triples.filter{case(s, | val d1 = triples.filter{case(s, | ||
| val d2 = triples.filter{case(s, | val d2 = triples.filter{case(s, | ||
| Line 19: | Line 21: | ||
| * SPARQL DF: | * SPARQL DF: | ||
| - | < | + | < |
| val t1 = df.where(s" | val t1 = df.where(s" | ||
| val t2 = df.where(s" | val t2 = df.where(s" | ||
| Line 31: | Line 33: | ||
| * SPARQL Hybrid DF: | * SPARQL Hybrid DF: | ||
| - | < | + | < |
| + | val subg = df.where(s" | ||
| + | subg.persist | ||
| + | subg.count | ||
| + | val st1 = subg.where(s" | ||
| + | val st2 = subg.where(s" | ||
| + | val st3 = subg.where(s" | ||
| + | val st4 = subg.where(s" | ||
| + | val st5 = subg.where(s" | ||
| + | val st6 = subg.where(s" | ||
| + | val res = st1.join(st2, | ||
| + | res.count | ||
| </ | </ | ||
| - | Go to [[en: | + | Go to [[en: |
en/site/recherche/logiciels/sparqlwithspark/chain6.1473800606.txt.gz · Last modified: by hubert
