Re: UDA debugging, was Re: Broken/Flaky Tests

2018-06-07 Thread Csaba Ringhofer
Hi! I have left some comments in the code (lines starting with /// ) + removed the md5 implementation parts to make the answer shorter. Note that I am not sure about the goal you want to achieve with the UDA - can you explain what countMD5 would be used for? > void md5(const unsigned char

?????? UDA debugging, was Re: Broken/Flaky Tests

2018-06-06 Thread ??????
. -- -- ??: ""<865392...@qq.com>; : 2018??6??7??(??) 8:32 ??: "dev"; : ?????? UDA debugging, was Re: Broken/Flaky Tests md5_udaf.h #ifndef _MD5_UDAF_H_ #define _MD5_UDAF_H_ #include&

?????? UDA debugging, was Re: Broken/Flaky Tests

2018-06-06 Thread ??????
### define function SQL in impala-shell: create aggregate function countMD5(string) returns string location 'hdfs://nameservice1:8020//user/hive/udfjars/libmd5udaf.so' init_fn='init_func' update_fn='update_func' merge_fn='merge_func' serialize_fn='serialize_func' finalize_

Re: UDA debugging, was Re: Broken/Flaky Tests

2018-06-06 Thread Jim Apple
t; ------ 原始邮件 ------ > *发件人:* "Tim Armstrong"; > *发送时间:* 2018年6月6日(星期三) 中午12:38 > *收件人:* "dev"; > *主题:* Re: UDA debugging, was Re: Broken/Flaky Tests > > We're happy to give you pointers. If you could share your uda code and > "cre

?????? UDA debugging, was Re: Broken/Flaky Tests

2018-06-06 Thread ??????
t;Tim Armstrong"; : 2018??6??6??(??) 12:38 ??: "dev"; ????: Re: UDA debugging, was Re: Broken/Flaky Tests We're happy to give you pointers. If you could share your uda code and "create function" that would help us help you On Tue., 5 Jun. 2018,

Re: UDA debugging, was Re: Broken/Flaky Tests

2018-06-05 Thread Tim Armstrong
We're happy to give you pointers. If you could share your uda code and "create function" that would help us help you On Tue., 5 Jun. 2018, 19:31 Jim Apple, wrote: > Hi 周胜为, > > I notice you are replying to other threads about different subjects when > you ask your questions. I think you will be

UDA debugging, was Re: Broken/Flaky Tests

2018-06-05 Thread Jim Apple
Hi 周胜为, I notice you are replying to other threads about different subjects when you ask your questions. I think you will be more likely to get help if you start new threads with relevant subjects and if you be as specific as possible with your questions. The Impala wiki has some advice for