Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
ctr-estimate
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
赵建伟
ctr-estimate
Commits
fdf82d70
Commit
fdf82d70
authored
Apr 26, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
7a9779a7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
97 deletions
+0
-97
ctr_all.sql
libs/ctr_all.sql
+0
-97
No files found.
libs/ctr_all.sql
View file @
fdf82d70
...
@@ -101,99 +101,3 @@ CREATE TABLE `device_current_estimate_view_pfr` (
...
@@ -101,99 +101,3 @@ CREATE TABLE `device_current_estimate_view_pfr` (
`last_update_time`
varchar
(
45
)
DEFAULT
NULL
COMMENT
'上一次更改的时间'
,
`last_update_time`
varchar
(
45
)
DEFAULT
NULL
COMMENT
'上一次更改的时间'
,
PRIMARY
KEY
(
`id`
)
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
-- CTR特征预估点击量表
#
CREATE
TABLE
`device_current_estimate_clk`
(
#
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'自增ID'
,
#
`device_id`
varchar
(
150
)
DEFAULT
NULL
COMMENT
'设备ID'
,
#
`content_card_click`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'日记贴点击量'
,
#
`tractate_card_click`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'用户贴点击量'
,
#
`answer_card_click`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'问答贴点击量'
,
#
`like_diary_count`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'点赞日记数量'
,
#
`like_card_count`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'点赞帖子数量'
,
#
`like_answer_count`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'点赞回答数量'
,
#
`discuss_diary_count`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'评论日记数量'
,
#
`discuss_card_count`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'评论帖子数量'
,
#
`discuss_answer_count`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'评论回答数量'
,
#
`collect_diary_count`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'收藏日记数量'
,
#
`collect_card_count`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'收藏帖子数量'
,
#
`collect_answer_count`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'收藏问答数量'
,
#
`partition_date`
varchar
(
45
)
DEFAULT
NULL
COMMENT
'日期'
,
#
`last_update_time`
varchar
(
45
)
DEFAULT
NULL
COMMENT
'上一次更改的时间'
,
#
PRIMARY
KEY
(
`id`
)
#
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
-- CTR特征预估标签表
#
CREATE
TABLE
`device_current_estimate`
(
#
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'自增ID'
,
#
`device_id`
varchar
(
150
)
DEFAULT
NULL
COMMENT
'设备ID'
,
#
`content_card_click`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'日记贴点击量'
,
#
`tractate_card_click`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'用户贴点击量'
,
#
`answer_card_click`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'问答贴点击量'
,
#
`plat_first_positions`
text
COMMENT
'当日平台一级部位偏好'
,
#
`plat_first_solutions`
text
COMMENT
'当日平台一级方式偏好'
,
#
`plat_first_demands`
text
COMMENT
'当日平台项目偏好'
,
#
`plat_project`
text
COMMENT
'当日平台一级诉求偏好'
,
#
`content_first_positions`
text
COMMENT
'当日内容一级部位偏好'
,
#
`content_first_solutions`
text
COMMENT
'当日内容一级方式偏好'
,
#
`content_first_demands`
text
COMMENT
'当日内容一级诉求偏好'
,
#
`content_project`
text
COMMENT
'当日内容项目偏好'
,
#
`commodity_first_positions`
text
COMMENT
'当日商品一级部位偏好'
,
#
`commodity_first_solutions`
text
COMMENT
'当日商品一级方式偏好'
,
#
`commodity_first_demands`
text
COMMENT
'当日内容一级诉求偏好'
,
#
`commodity_project`
text
COMMENT
'当日内容项目偏好'
,
#
`plat_second_positions`
text
COMMENT
'当日平台二级部位偏好'
,
#
`plat_second_solutions`
text
COMMENT
'当日平台二级方式偏好'
,
#
`plat_second_demands`
text
COMMENT
'当日平台二级诉求偏好'
,
#
`content_second_positions`
text
COMMENT
'当日内容二级部位偏好'
,
#
`content_second_solutions`
text
COMMENT
'当日内容二级方式偏好'
,
#
`content_second_demands`
text
COMMENT
'当日内容二级诉求偏好'
,
#
`commodity_second_positions`
text
COMMENT
'当日商品二级部位偏好'
,
#
`commodity_second_solutions`
text
COMMENT
'当日商品二级方式偏好'
,
#
`commodity_second_demands`
text
COMMENT
'当日商品二级诉求偏好'
,
#
`partition_date`
varchar
(
45
)
DEFAULT
NULL
COMMENT
'日期'
,
#
`last_update_time`
varchar
(
45
)
DEFAULT
NULL
COMMENT
'上一次更改的时间'
,
#
PRIMARY
KEY
(
`id`
)
#
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
\ No newline at end of file
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