Infinite Interview Questions
Pages
(Move to ...)
Home
I Write Too
Jobs4U
Porgramming Help
▼
Thursday, April 19, 2012
how to calculate median in Hive
Use the following function :
percentile(BIGINT col, p)
and set p to be 0.5
Will calculate median :)
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment