Commit 0f0a05c8 authored by 宋柯's avatar 宋柯

模型调试

parent 03735f88
...@@ -297,7 +297,7 @@ def getUserProfileFeature(samples_iEsF_iStatisticF, spark, startDay, endDay): ...@@ -297,7 +297,7 @@ def getUserProfileFeature(samples_iEsF_iStatisticF, spark, startDay, endDay):
select date as dt, cl_id as device_id, first_solutions, second_solutions, first_demands, second_demands, first_positions, second_positions, projects select date as dt, cl_id as device_id, first_solutions, second_solutions, first_demands, second_demands, first_positions, second_positions, projects
from user_tag3_portrait from user_tag3_portrait
where date >= {startDay} and date <= {endDay} where date >= {startDay} and date <= {endDay}
""".format(startDay, endDay) """.format(startDay = startDay, endDay = endDay)
userProfileFeatureDF = spark.read.jdbc('jdbc:mysql://172.16.30.136:3306/doris_olap', table_query, column = 'cl_id', numPartitions = 100, userProfileFeatureDF = spark.read.jdbc('jdbc:mysql://172.16.30.136:3306/doris_olap', table_query, column = 'cl_id', numPartitions = 100,
properties = { 'user': 'doris_olap', 'password': 'bA27hXasdfswuolap', 'driver': 'com.mysql.jdbc.Driver' }) properties = { 'user': 'doris_olap', 'password': 'bA27hXasdfswuolap', 'driver': 'com.mysql.jdbc.Driver' })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment