RE: Do windowing functions require hive support?

2015-11-18 Thread Jack Yang
version of spark are you using? From: Stephen Boesch [mailto:java...@gmail.com<mailto:java...@gmail.com>] Sent: Thursday, 19 November 2015 2:12 PM To: user Subject: Do windowing functions require hive support? The following works against a hive table from spark sql hc.sql("select id,r

Re: Do windowing functions require hive support?

2015-11-18 Thread Stephen Boesch
ng? >>>> >>>> >>>> >>>> *From:* Stephen Boesch [mailto:java...@gmail.com] >>>> *Sent:* Thursday, 19 November 2015 2:12 PM >>>> *To:* user >>>> *Subject:* Do windowing functions require hive support? >>>> &g

Re: Do windowing functions require hive support?

2015-11-18 Thread Michael Armbrust
08:00 Jack Yang : >> >>> Which version of spark are you using? >>> >>> >>> >>> *From:* Stephen Boesch [mailto:java...@gmail.com] >>> *Sent:* Thursday, 19 November 2015 2:12 PM >>> *To:* user >>> *Subject:* Do windowing fun

Re: Do windowing functions require hive support?

2015-11-18 Thread Stephen Boesch
t;> *From:* Stephen Boesch [mailto:java...@gmail.com] >> *Sent:* Thursday, 19 November 2015 2:12 PM >> *To:* user >> *Subject:* Do windowing functions require hive support? >> >> >> >> >> >> The following works against a hive table from spark sql

Re: Do windowing functions require hive support?

2015-11-18 Thread Stephen Boesch
Checked out 1.6.0-SNAPSHOT 60 minutes ago 2015-11-18 19:19 GMT-08:00 Jack Yang : > Which version of spark are you using? > > > > *From:* Stephen Boesch [mailto:java...@gmail.com] > *Sent:* Thursday, 19 November 2015 2:12 PM > *To:* user > *Subject:* Do windowing functi

RE: Do windowing functions require hive support?

2015-11-18 Thread Jack Yang
Which version of spark are you using? From: Stephen Boesch [mailto:java...@gmail.com] Sent: Thursday, 19 November 2015 2:12 PM To: user Subject: Do windowing functions require hive support? The following works against a hive table from spark sql hc.sql("select id,r from (select id, name,

Do windowing functions require hive support?

2015-11-18 Thread Stephen Boesch
The following works against a hive table from spark sql hc.sql("select id,r from (select id, name, rank() over (order by name) as r from tt2) v where v.r >= 1 and v.r <= 12") But when using a standard sql context against a temporary table the following occurs: Exception in thread "main" java.