示例#1
0
def sendDst():
    return Pregel.src("rank") / Pregel.edge("dist")
示例#2
0
def sendSrc():
    return F.when((Pregel.src("short") == F.lit(100)), Pregel.dst("id")+Pregel.edge("weight")).otherwise(F.lit(None))
示例#3
0
def sendDst():
    return Pregel.src("connect")