Commit bfc914ec bfc914ec8f5b08b14e51c69e932a1b76950baa6e by zhanghao

commit

1 parent e0b7e9d3
......@@ -2,6 +2,5 @@ use testdb;
INSERT OVERWRITE TABLE biz_data_count_debug
select method,biz_data,count(1) as count,max(timestamp) as timestamp
from qa_log_debug
where method is not null and method!='N/A' and timestamp>${hivevar:maxTimestamp}
from (select * from qa_log_debug where method is not null and method!='N/A' and timestamp>${hivevar:maxTimestamp}) my_debug
group by method,biz_data;
\ No newline at end of file
......
......@@ -2,4 +2,4 @@ use testdb;
select max(timestamp) as timestamp
from qa_log_debug
where method is not null and method!='N/A'
\ No newline at end of file
where method is not null and method!='N/A';
\ No newline at end of file
......
......@@ -2,6 +2,5 @@ use testdb;
INSERT OVERWRITE TABLE method_count_debug
select method,count(1) as count,max(timestamp) as timestamp
from qa_log_debug
where method is not null and method!='N/A' and timestamp>${hivevar:maxTimestamp}
from (select * from qa_log_debug where method is not null and method!='N/A' and timestamp>${hivevar:maxTimestamp}) my_debug
group by method;
\ No newline at end of file
......