Created
January 11, 2012 23:55
-
-
Save shrijeet/1597560 to your computer and use it in GitHub Desktop.
org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc.newInstance NPE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select pid as pid, | |
sum(if(bid is not null and bid <> '', 1, 0)) as bids, | |
sum(1) as requests | |
from table | |
where data_date = 20120110 | |
and (pid = 15368 or pid = 15369 or pid = 15370) | |
group by pid, | |
sum(if(bid is not null and bid <> '', 1, 0)), | |
sum(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment