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
67abc2c0
Commit
67abc2c0
authored
Jul 06, 2020
by
魏艺敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
ec26638c
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
9 deletions
+14
-9
daily_content_data.zip
jobs/daily_content_data/daily_content_data.zip
+0
-0
step1_14.job
jobs/daily_content_data/step1_14.job
+4
-0
step2.job
jobs/daily_content_data/step2.job
+2
-1
meigou_detail_page_dispense_pv.sql
sqls/meigou_detail_page/meigou_detail_page_dispense_pv.sql
+1
-1
meigou_detail_page_dispense_uv.sql
sqls/meigou_detail_page/meigou_detail_page_dispense_uv.sql
+1
-1
meigou_detail_page_source_pv.sql
sqls/meigou_detail_page/meigou_detail_page_source_pv.sql
+3
-3
meigou_detail_page_source_uv.sql
sqls/meigou_detail_page/meigou_detail_page_source_uv.sql
+3
-3
No files found.
jobs/daily_content_data/daily_content_data.zip
View file @
67abc2c0
No preview for this file type
jobs/daily_content_data/step1_14.job
0 → 100644
View file @
67abc2c0
#step1_14.job
type=command
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive al al_pm_ct_dv_deviceappversionrollbackfrom20190101_d
\ No newline at end of file
jobs/daily_content_data/step2.job
View file @
67abc2c0
#step2.job
type=command
dependencies=step1_1,step1_2,step1_3,step1_4,step1_5,step1_6,step1_7,step1_8,step1_9,step1_10,step1_11,step1_12,step1_13
dependencies=step1_1,step1_2,step1_3,step1_4,step1_5,step1_6,step1_7,step1_8,step1_9,step1_10,step1_11,step1_12,step1_13
,step1_14
command=/home/bi/bi-report/lib/shell/hive.sh daily_content_data_insert
\ No newline at end of file
sqls/meigou_detail_page/meigou_detail_page_dispense_pv.sql
View file @
67abc2c0
...
...
@@ -282,7 +282,7 @@ FROM
on
first_channel_source_type
=
tmp
.
col1
LEFT
JOIN
(
SELECT
DISTINCT
device_id
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
20
0101_d
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
19
0101_d
WHERE
partition_day
=
regexp_replace
(
DATE_SUB
(
current_date
,
2
)
,
'-'
,
''
))
a
ON
m
.
device_id
=
a
.
device_id
where
partition_date
>=
regexp_replace
(
DATE_SUB
(
current_date
,
90
)
,
'-'
,
''
)
...
...
sqls/meigou_detail_page/meigou_detail_page_dispense_uv.sql
View file @
67abc2c0
...
...
@@ -282,7 +282,7 @@ FROM
on
first_channel_source_type
=
tmp
.
col1
LEFT
JOIN
(
SELECT
DISTINCT
device_id
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
20
0101_d
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
19
0101_d
WHERE
partition_day
=
regexp_replace
(
DATE_SUB
(
current_date
,
2
)
,
'-'
,
''
))
a
ON
m
.
device_id
=
a
.
device_id
where
partition_date
>=
regexp_replace
(
DATE_SUB
(
current_date
,
90
)
,
'-'
,
''
)
...
...
sqls/meigou_detail_page/meigou_detail_page_source_pv.sql
View file @
67abc2c0
...
...
@@ -227,7 +227,7 @@ FROM
on
first_channel_source_type
=
tmp
.
col1
LEFT
JOIN
(
SELECT
DISTINCT
device_id
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
20
0101_d
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
19
0101_d
WHERE
partition_day
=
regexp_replace
(
DATE_SUB
(
current_date
,
2
)
,
'-'
,
''
))
a
ON
m
.
device_id
=
a
.
device_id
where
partition_date
>=
regexp_replace
(
DATE_SUB
(
current_date
,
90
)
,
'-'
,
''
)
...
...
@@ -311,7 +311,7 @@ LEFT JOIN
on
first_channel_source_type
=
tmp
.
col1
LEFT
JOIN
(
SELECT
DISTINCT
device_id
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
20
0101_d
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
19
0101_d
WHERE
partition_day
=
regexp_replace
(
DATE_SUB
(
current_date
,
2
)
,
'-'
,
''
))
a
ON
m
.
device_id
=
a
.
device_id
where
partition_date
>=
regexp_replace
(
DATE_SUB
(
current_date
,
90
)
,
'-'
,
''
)
...
...
@@ -463,7 +463,7 @@ LEFT JOIN
on
first_channel_source_type
=
tmp
.
col1
LEFT
JOIN
(
SELECT
DISTINCT
device_id
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
20
0101_d
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
19
0101_d
WHERE
partition_day
=
regexp_replace
(
DATE_SUB
(
current_date
,
2
)
,
'-'
,
''
))
a
ON
m
.
device_id
=
a
.
device_id
where
partition_date
>=
regexp_replace
(
DATE_SUB
(
current_date
,
90
)
,
'-'
,
''
)
...
...
sqls/meigou_detail_page/meigou_detail_page_source_uv.sql
View file @
67abc2c0
...
...
@@ -221,7 +221,7 @@ FROM
on
first_channel_source_type
=
tmp
.
col1
LEFT
JOIN
(
SELECT
DISTINCT
device_id
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
20
0101_d
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
19
0101_d
WHERE
partition_day
=
regexp_replace
(
DATE_SUB
(
current_date
,
2
)
,
'-'
,
''
))
a
ON
m
.
device_id
=
a
.
device_id
where
partition_date
>=
regexp_replace
(
DATE_SUB
(
current_date
,
90
)
,
'-'
,
''
)
...
...
@@ -305,7 +305,7 @@ LEFT JOIN
on
first_channel_source_type
=
tmp
.
col1
LEFT
JOIN
(
SELECT
DISTINCT
device_id
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
20
0101_d
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
19
0101_d
WHERE
partition_day
=
regexp_replace
(
DATE_SUB
(
current_date
,
2
)
,
'-'
,
''
))
a
ON
m
.
device_id
=
a
.
device_id
where
partition_date
>=
regexp_replace
(
DATE_SUB
(
current_date
,
90
)
,
'-'
,
''
)
...
...
@@ -457,7 +457,7 @@ LEFT JOIN
on
first_channel_source_type
=
tmp
.
col1
LEFT
JOIN
(
SELECT
DISTINCT
device_id
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
20
0101_d
FROM
al
.
al_pm_ct_dv_deviceappversionrollbackfrom20
19
0101_d
WHERE
partition_day
=
regexp_replace
(
DATE_SUB
(
current_date
,
2
)
,
'-'
,
''
))
a
ON
m
.
device_id
=
a
.
device_id
where
partition_date
>=
regexp_replace
(
DATE_SUB
(
current_date
,
90
)
,
'-'
,
''
)
...
...
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