Re: [VOTE] Bylaws change to allow some commits without review

2016-05-23 Thread Harish Butani
+1 On Mon, Apr 25, 2016 at 2:40 PM Lars Francke wrote: > Thanks for the further votes. If I'm not mistaken three more would be > missing for a successful vote. > > @Carl, thanks for your vote. I'd behappy to hear any concerns you might > have. > > @Ashutosh: Sounds like a very sensible idea. I'v

Re: [ANNOUNCE] Apache Hive 0.13.0 Released

2014-04-21 Thread Harish Butani
r gap of 5-6 months. It shows tremendous growth in hive > community activity! > > hive 0.13 - 1081 > hive 0.12 - 439 > hive 0.11 - 374 > > -Thejas > > On Mon, Apr 21, 2014 at 3:17 PM, Harish Butani > wrote: > > The Apache Hive team is proud to announce the the relea

Re: What is this windowing query supposed to do?

2013-09-01 Thread Harish Butani
In your 3rd query the OVER clause is being ignored because there is no associated Aggregation Function. This has been fixed in HIVE-4214. The query fails with the following error: 'cannot recognize input near 'range' 'OVER' '(' in select expression' The Windowing behavior in Hive is documented in

Re: First/last in npath

2013-08-21 Thread Harish Butani
Can you try this: select search_terms, productid, clicks_to_product from npath ( on clicks distributed by sessionid sort by timestamp arg1('SEARCH.NOTPRODUCT*.PRODUCT'), arg2('SEARCH'), arg3(page = 'SEARCH'), arg4('PRODUCT'), arg5(p

Re: First/last in npath

2013-08-21 Thread Harish Butani
Can you provide details on what you want to do. You maybe able to express this by stacking queries: execute npath in a SubQuery in the from clause and then do windowing in an outer select. Also you get the 'path' object back from npath, so you can apply array indexing on it. regards, Harish. On

Re: Problem with rank() and dense_rank()

2013-08-19 Thread Harish Butani
Regarding the issue posted with rank and dense_rank. The example posted was: CREATE TABLE test (a INT); EXPLAIN SELECT DENSE_RANK() OVER (PARTITION BY a), a FROM test; Some comments on this: 1. The underlying issue is the bug that ranking functions had to be lowercase. This was fixed in Ji