-list.1001560.n3.nabble.com/Spark-SQL-Self-join-with-agreegate-tp22151p22378.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional
Not so sure your intention, but something like "SELECT sum(val1), sum(val2)
FROM table GROUP BY src, dest" ?
-Original Message-
From: Shailesh Birari [mailto:sbirar...@gmail.com]
Sent: Friday, March 20, 2015 9:31 AM
To: user@spark.apache.org
Subject: Spark SQL Self join with
(a.val1), sum(a.val2) from table a, table
b where a.src = b.src and a.dst = b.dst
I know I am doing something wrong here.
Can you please let me know is it doable and how ?
Thanks,
Shailesh
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Spark-SQL-Self