yahoo / hive-funnel-udf Goto Github PK
View Code? Open in Web Editor NEWHive UDFs for funnel analysis
License: Apache License 2.0
Hive UDFs for funnel analysis
License: Apache License 2.0
When the dataset is small, the results are accurate, but when the amount of data becomes larger, the results of the funnel function become inaccurate
For example:
funnel(action, timestamp, array('signup_page', 'email_signup'),
array('confirm_button'),
array('submit_button')
Should have support to write as:
funnel(action, timestamp, array('signup_page', 'email_signup'),
'confirm_button',
'submit_button')
os environment
hive version:
Hive 1.1.0-cdh5.5.2
cdh version:
cdh 5.5.2
when i query one day like:
select ouid, funnel(tag1, game_time, array('activity'), array('yaozujianglin'), array('huangjinyuchang')) as funnel from sscq.odl_act_detail_info_sscq_qq where ds = '2016-12-17' group by ouid order by ouid asc
one ouid is :
000000000000000000000000001EC76C [0,0,0]
but i only query one id:
select ouid, funnel(tag1, game_time, array('activity'), array('yaozujianglin'), array('huangjinyuchang')) as funnel from sscq.odl_act_detail_info_sscq_qq where ds = '2016-12-17' and ouid = '000000000000000000000000001EC76C' group by ouid order by ouid asc
result is different.
000000000000000000000000001EC76C [1,0,0]
Specify how much time a user has to complete the funnel from the moment they enter it.
Stored funnels can be converted into integers, where 0 is match to funnel 0, 1 is match to funnel 1, etc.
This will greatly reduce the storage size of the funnels, speeding up all later steps.
It may be possible to add vectorized query support, which would increase performance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.