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, [email protected] <[email protected]> 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: [email protected] > --------------------------------------------------------------------- To unsubscribe e-mail: [email protected]
