回复: Limit to the max number of fields in GROUPING SETS

2019-02-20 Thread
Well, I must say sorry that there was a mistake in the last email. The maximum number of the valid keys is 32 in my test. Namely, key33~key50 get null values in the code. Still waiting for more details, thanks! Regards, 孙志禹 发件人: 孙志禹 发送时间: 2019-02-21 13:18 收件人: user@hive.apache.org 主题

Limit to the max number of fields in GROUPING SETS

2019-02-20 Thread
,key29,key30 ,key31,key32,key33,key34,key35,key36,key37,key38,key39,key40 ,key41,key42,key43,key44,key45,key46,key47,key48,key49,key50 ) ) Regards, 孙志禹(Zhiyu Sun)

Re: Re: Rlike '\s' couldn't get the space

2018-11-26 Thread
It did help, thanks! Regards, 孙志禹 From: Tanvi Thacker Date: 2018-11-15 06:06 To: user Subject: Re: Rlike '\s' couldn't get the space Hi, You need to use "rlike '\\s' to escape the single backslash. Regards Tanvi Thacker On Mon, Nov 12, 2018 at 3:02 AM anci_...@yahoo.com wrote:

Question about OVER clause

2018-09-19 Thread
Dears,   What is the difference between ROW BETWEEN and RANGE BETWEEN when using a OVER clause? I found it difficult to get an answer about this for hive.    Hope there would be a more detailed help article about OVER clause at the Confluence.   Thanks!

Question about efficiency of SELECT DISTINCT

2018-07-02 Thread
Dear all,    Does the code1 below have a better efficiency than code2?    Thanks!     CODE1:        select              distinct a,b,c        from table1     CODE2:        select             a,b,c        from table1        group by              a,b,c

Find a possible problem in wiki content

2017-10-19 Thread
In the link https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Select where there is an explanation of the function regexp_extract (in the picture below), there is a reference to the html docs/api/java/util/regex/Matcher.html which can not be opened directly. It seems something

Re: Re: [Questio]Which record does Hive give the bigger number when I use row_number

2017-10-12 Thread
. And I'll read the link carefully later. anci_...@yahoo.com   From: Furcy PinDate: 2017-10-11 23:25To: user; 孙志禹Subject: Re: [Questio]Which record does Hive give the bigger number when I use row_numberHello, Either one can receive the bigger row_num, in an underteministic fashion (which

[Questio]Which record does Hive give the bigger number when I use row_number

2017-10-11 Thread
Dear all,   Thanks since it's the first time for me to have a honor to ask questions here.    I used the hql script below:     -- -            select                 user_id                , cost_date  -- datetime                , cost  -- int                , row_number