Commit eb1c59da eb1c59da611e0e11f1e979f43a42e2d5dd959f6d by zhanghao

commit

1 parent d109de81
1 use testdb; 1 use testdb;
2 2
3 INSERT OVERWRITE TABLE biz_data_response 3 INSERT OVERWRITE TABLE biz_data_response
4 select method,biz_data,uid,platform,deviceInfo,version,imei,app_id,timestamp,response 4 select method,biz_data,uid,platform,deviceInfo,version,imei,app_id,timestamp,response,trace
5 from qa_log 5 from qa_log
6 where method is not null and method!='N/A'; 6 where method is not null and method!='N/A';
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -44,7 +44,8 @@ version string, ...@@ -44,7 +44,8 @@ version string,
44 imei string, 44 imei string,
45 app_id string, 45 app_id string,
46 timestamp string, 46 timestamp string,
47 response string 47 response string,
48 trace string
48 ) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'; 49 ) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t';
49 50
50 CREATE TABLE tc_response( 51 CREATE TABLE tc_response(
...@@ -57,5 +58,6 @@ version string, ...@@ -57,5 +58,6 @@ version string,
57 imei string, 58 imei string,
58 app_id string, 59 app_id string,
59 timestamp string, 60 timestamp string,
60 response string 61 response string,
62 trace string
61 ) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'; 63 ) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t';
...\ No newline at end of file ...\ No newline at end of file
......
1 use testdb; 1 use testdb;
2 2
3 INSERT OVERWRITE TABLE tc_response 3 INSERT OVERWRITE TABLE tc_response
4 select method,biz_data,uid,platform,deviceInfo,version,imei,app_id,timestamp,response 4 select method,biz_data,uid,platform,deviceInfo,version,imei,app_id,timestamp,response,trace
5 from qa_log 5 from qa_log
6 where method is not null and method!='N/A' 6 where method is not null and method!='N/A'
7 and (method='com.lejane.handler.common.sidebar.operate.query.new.v3' 7 and (method='com.lejane.handler.common.sidebar.operate.query.new.v3'
......