Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bi-report
Project
Project
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data
bi-report
Commits
f3815cbc
Commit
f3815cbc
authored
Oct 19, 2020
by
魏艺敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push codes
parent
4ec63b9c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
create_sign_daily.sql
pm/sign_daily/etl/create_sign_daily.sql
+1
-1
sign_daily.sql
pm/sign_daily/etl/sign_daily.sql
+1
-1
No files found.
pm/sign_daily/etl/create_sign_daily.sql
View file @
f3815cbc
...
...
@@ -14,7 +14,7 @@ SET mapreduce.job.queuename=data;
USE
pm
;
--创建BL层内部表
CREATE
TABLE
IF
NOT
EXISTS
pm
.
tl_pm_sign_deepaction_d
CREATE
TABLE
IF
NOT
EXISTS
pm
.
tl_pm_sign_deepaction_d
_v2
(
day_id
string
comment
'{"chs_name":"当天日期","description":"","etl":"","value":"","remark":""}'
,
device_os_type
string
comment
'{"chs_name":"设备类型","description":"","etl":"","value":"","remark":""}'
,
...
...
pm/sign_daily/etl/sign_daily.sql
View file @
f3815cbc
...
...
@@ -13,7 +13,7 @@ CREATE TEMPORARY FUNCTION convup AS 'com.gmei.hive.common.udf.UDFConvUpgrade';
CREATE
TEMPORARY
FUNCTION
setencryption
AS
'com.gmei.hive.common.udf.UDFStringSetEncryption'
;
INSERT
OVERWRITE
TABLE
pm
.
tl_pm_sign_deepaction_d
PARTITION
(
PARTITION_DAY
=
${
partition_day
}
)
INSERT
OVERWRITE
TABLE
pm
.
tl_pm_sign_deepaction_d
_v2
PARTITION
(
PARTITION_DAY
=
${
partition_day
}
)
SELECT
mas
.
partition_date
as
day_id
,
device_os_type
,
active_type
...
...
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