biz_data_count.hql 237 Bytes Raw Blame History Permalink 1 2 3 4 5 6 use testdb; INSERT OVERWRITE TABLE biz_data_count_debug select method,biz_data,count(1) as count,max(timestamp) as timestamp from (select * from qa_log_debug where method is not null and method!='N/A') my_debug group by method,biz_data;