Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张浩
/
BrBigDataTest
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
bfc914ec
...
bfc914ec8f5b08b14e51c69e932a1b76950baa6e
authored
2022-02-11 16:54:41 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
e0b7e9d3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
shell_debug/biz_data_count.hql
shell_debug/max_timestamp.hql
shell_debug/method_count.hql
shell_debug/biz_data_count.hql
View file @
bfc914e
...
...
@@ -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
...
...
shell_debug/max_timestamp.hql
View file @
bfc914e
...
...
@@ -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
...
...
shell_debug/method_count.hql
View file @
bfc914e
...
...
@@ -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
...
...
Please
register
or
sign in
to post a comment