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
3b69f2fc
Commit
3b69f2fc
authored
8 years ago
by
mengdongxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tkdm_output_active_app_std_week.sql
parent
26c22044
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tkdm_output_active_app_std_week.sql
tkdm_output_active_app_std_week.sql
+1
-1
No files found.
tkdm_output_active_app_std_week.sql
View file @
3b69f2fc
...
@@ -4,7 +4,7 @@ CREATE TEMPORARY FUNCTION bootstrapmedian AS 'com.reyun.hive.udaf.BootStrap';
...
@@ -4,7 +4,7 @@ CREATE TEMPORARY FUNCTION bootstrapmedian AS 'com.reyun.hive.udaf.BootStrap';
insert
overwrite
table
tkdm
.
tkdm_output_active_app_std_week
partition
(
ds
=
'2017-02-22'
)
insert
overwrite
table
tkdm
.
tkdm_output_active_app_std_week
partition
(
ds
=
'2017-02-22'
)
select
/*+ mapjoin(
y
)*/
x
.
appid
,
select
/*+ mapjoin(
x
)*/
x
.
appid
,
x
.
category_id
,
x
.
category_id
,
x
.
isgame
,
x
.
isgame
,
nvl
(
y
.
avg_ins_rate
,
-
1
)
as
avg_ins_rate
,
nvl
(
y
.
avg_ins_rate
,
-
1
)
as
avg_ins_rate
,
...
...
This diff is collapsed.
Click to expand it.
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