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
a2e996fb
Commit
a2e996fb
authored
7 years ago
by
mengdongxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tkdm_data_active_detial_day.sql
parent
351f1d7e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tkdm_data_active_detial_day.sql
tkdm_data_active_detial_day.sql
+3
-3
No files found.
tkdm_data_active_detial_day.sql
View file @
a2e996fb
insert
overwrite
table
tkdm
.
tkdm_data_active_
detial
_day
partition
(
ds
=
'2017-02-26'
)
insert
overwrite
table
tkdm
.
tkdm_data_active_
summary
_day
partition
(
ds
=
'2017-02-26'
)
select
/*+ mapjoin(b) */
a
.
appid
,
select
/*+ mapjoin(b) */
a
.
appid
,
a
.
cid
,
a
.
cid
,
...
@@ -33,7 +33,7 @@ join
...
@@ -33,7 +33,7 @@ join
create
EXTERNAL
table
tkdm_data_active_
detial
_day
(
create
EXTERNAL
table
tkdm_data_active_
summary
_day
(
appid
string
,
appid
string
,
cid
int
,
cid
int
,
dupnum_click_all
int
,
dupnum_click_all
int
,
...
@@ -46,5 +46,5 @@ isgame int
...
@@ -46,5 +46,5 @@ isgame int
PARTITIONED
BY
(
ds
string
)
PARTITIONED
BY
(
ds
string
)
ROW
FORMAT
DELIMITED
ROW
FORMAT
DELIMITED
FIELDS
TERMINATED
BY
'
\t
'
FIELDS
TERMINATED
BY
'
\t
'
location
's3://reyuntkio/warehouse/tkio/tkdm.db/tkdm_data_active_
detial
_day'
location
's3://reyuntkio/warehouse/tkio/tkdm.db/tkdm_data_active_
summary
_day'
;
;
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