Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dataquality_doc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王东
dataquality_doc
Commits
d11bed2f
Commit
d11bed2f
authored
Nov 22, 2022
by
胡涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志处理核对
parent
2edca267
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
RZ_DM/RZ_DM_RUNSTATUS.sql
RZ_DM/RZ_DM_RUNSTATUS.sql
+0
-10
No files found.
RZ_DM/RZ_DM_RUNSTATUS.sql
View file @
d11bed2f
...
...
@@ -40,11 +40,6 @@ select
,
cast
(
sum
(
if
(
s1
.
status
=
'200'
is
not
true
,
1
,
0
))
as
varchar
)
as
`errortotal`
,
cast
(
DateTimeToLongUDF
(
LOCALTIMESTAMP
)
as
varchar
)
as
`createtime`
from
RZ_ODS
.
RZ_SOURCE_KAFKA_RZ
.
RZDATA
s1
where
UPPER
(
RIGHT
(
s1
.
`rpc`
,
3
))
not
in
(
'.JS'
)
and
UPPER
(
RIGHT
(
s1
.
`rpc`
,
4
))
not
in
(
'.JPG'
,
'.ICO'
,
'.CSS'
,
'.TTF'
,
'.PNG'
,
'.PNG'
,
'.JPG'
,
'.TXT'
,
'.MP4'
,
'.MP3'
,
'.PDF'
,
'.DWR'
)
and
UPPER
(
RIGHT
(
s1
.
`rpc`
,
5
))
not
in
(
'.JSON'
,
'.HTML'
,
'.LESS'
,
'.JPEG'
)
and
UPPER
(
RIGHT
(
s1
.
`rpc`
,
6
))
not
in
(
'.WOFF2'
)
group
by
s1
.
applicationName
,
s1
.
agentId
...
...
@@ -63,11 +58,6 @@ select
,
cast
(
sum
(
if
(
s1
.
status
=
'200'
is
not
true
,
1
,
0
))
as
varchar
)
as
`errortotal`
,
cast
(
DateTimeToLongUDF
(
LOCALTIMESTAMP
)
as
varchar
)
as
`createtime`
from
RZ_ODS
.
RZ_SOURCE_KAFKA_RZ
.
RZDATA
s1
where
UPPER
(
RIGHT
(
s1
.
`rpc`
,
3
))
not
in
(
'.JS'
)
and
UPPER
(
RIGHT
(
s1
.
`rpc`
,
4
))
not
in
(
'.JPG'
,
'.ICO'
,
'.CSS'
,
'.TTF'
,
'.PNG'
,
'.PNG'
,
'.JPG'
,
'.TXT'
,
'.MP4'
,
'.MP3'
,
'.PDF'
,
'.DWR'
)
and
UPPER
(
RIGHT
(
s1
.
`rpc`
,
5
))
not
in
(
'.JSON'
,
'.HTML'
,
'.LESS'
,
'.JPEG'
)
and
UPPER
(
RIGHT
(
s1
.
`rpc`
,
6
))
not
in
(
'.WOFF2'
)
group
by
s1
.
applicationName
,
tumble
(
s1
.
row_time
,
interval
'1'
minute
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment