This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "queryPlans":[{ | |
| "query_type":"join", | |
| "relations":[{ | |
| "name":"Edge", | |
| "ordering":[0,1], | |
| "annotation":"int" | |
| }], | |
| "output":{ | |
| "name":"Barbell", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "queryPlans":[{ | |
| "query_type":"join", | |
| "relations":[{ | |
| "name":"Edge", | |
| "ordering":[0,1], | |
| "annotation":"int" | |
| },{ | |
| "name":"Edge", | |
| "ordering":[1,0], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "queryPlans":[{ | |
| "query_type":"join", | |
| "relations":[{ | |
| "name":"Edge", | |
| "ordering":[0,1], | |
| "annotation":"int" | |
| },{ | |
| "name":"Edge", | |
| "ordering":[1,0], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "queryPlans":[{ | |
| "query_type":"join", | |
| "relations":[{ | |
| "name":"Edge", | |
| "ordering":[0,1], | |
| "annotation":"void*" | |
| },{ | |
| "name":"Edge", | |
| "ordering":[1,0], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if last materialized | |
| if exists aggregated selected attr | |
| prev agg | |
| else if exists aggregated attr | |
| next agg | |
| else | |
| “None | |
| else | |
| “None" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.apache.spark.examples.sql | |
| import org.apache.spark.sql.SQLContext | |
| import org.apache.spark.{SparkContext, SparkConf} | |
| /** | |
| * Created by sctu on 2/1/16. | |
| */ | |
| object ColumnTriangleNPRRExample { | |
| def main(args: Array[String]) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "queryPlans":[{ | |
| "query_type":"join", | |
| "relations":[{ | |
| "name":"R1", | |
| "ordering":[0,1], | |
| "annotation":"void*" | |
| },{ | |
| "name":"R0", | |
| "ordering":[0], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "queryPlans":[{ | |
| "query_type":"join", | |
| "relations":[{ | |
| "name":"Edge", | |
| "ordering":[1,0], | |
| "annotation":"void*" | |
| }], | |
| "output":{ | |
| "name":"result", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| N(;w:int):-S(x,y);w=[<<COUNT(x)>>]. | |
| PageRank(x;y:float):-S(x ,z );y=[(1/N)*<<CONST(z;1)>>]. | |
| PageRank (x;y:float)*[i=5]:-S(x,z),PageRank(z),InvDeg(z);y=[0.15+0.85*<<SUM(z)>>]. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "queryPlans":[{ | |
| "query_type":"join", | |
| "relations":[{ | |
| "name":"S", | |
| "ordering":[0,1], | |
| "annotation":"void*" | |
| }], | |
| "output":{ | |
| "name":"N", |
NewerOlder