Why? Pozdrawiam, Jacek Laskowski ---- https://medium.com/@jaceklaskowski/ Mastering Apache Spark 2.0 http://bit.ly/mastering-apache-spark Follow me at https://twitter.com/jaceklaskowski
On Sat, Jul 30, 2016 at 4:42 AM, kali.tumm...@gmail.com <kali.tumm...@gmail.com> wrote: > Hi All, > > I managed to write business requirement in spark-sql and hive I am still > learning scala how this below sql be written using spark RDD not spark data > frames. > > SELECT DATE,balance, > SUM(balance) OVER (ORDER BY DATE ROWS BETWEEN UNBOUNDED PRECEDING AND > CURRENT ROW) daily_balance > FROM table > > > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/sql-to-spark-scala-rdd-tp27433.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe e-mail: user-unsubscr...@spark.apache.org > --------------------------------------------------------------------- To unsubscribe e-mail: user-unsubscr...@spark.apache.org