Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tkdm
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etl
tkdm
Commits
7c655ba4
Commit
7c655ba4
authored
Mar 07, 2017
by
mengdongxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tkdm_output_active_cid_std_week.sql
parent
1b5c2d8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
tkdm_output_active_cid_std_week.sql
tkdm_output_active_cid_std_week.sql
+1
-2
No files found.
tkdm_output_active_cid_std_week.sql
View file @
7c655ba4
add
jar
/
mnt1
/
testdata
/
udf
-
0
.
0
.
1
.
jar
;
add
jar
/
mnt1
/
testdata
/
udf
-
0
.
0
.
1
.
jar
;
CREATE
TEMPORARY
FUNCTION
bootstrapmedian
AS
'com.reyun.hive.udaf.BootStrap'
;
CREATE
TEMPORARY
FUNCTION
bootstrapmedian
AS
'com.reyun.hive.udaf.BootStrap'
;
...
@@ -21,7 +20,7 @@ from
...
@@ -21,7 +20,7 @@ from
round
(
avg
(
ins_rate
),
4
)
avg_ins_rate
,
round
(
avg
(
ins_rate
),
4
)
avg_ins_rate
,
round
(
percentile_approx
(
ins_rate
,
0
.
5
),
4
)
approx_med_ins_rate
,
round
(
percentile_approx
(
ins_rate
,
0
.
5
),
4
)
approx_med_ins_rate
,
round
(
bootstrapmedian
(
ins_rate
),
4
)
bootstarp_med_ins_rate
round
(
bootstrapmedian
(
ins_rate
),
4
)
bootstarp_med_ins_rate
from
tkdm
.
tkdm_data_active_
detial
_day
from
tkdm
.
tkdm_data_active_
summary
_day
where
ds
between
'2017-02-22'
and
'2017-02-28'
where
ds
between
'2017-02-22'
and
'2017-02-28'
group
by
category_id
,
isgame
,
cid
group
by
category_id
,
isgame
,
cid
)
y
)
y
...
...
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