Commit 6998171e authored by 宋柯's avatar 宋柯

模型调试

parent 0090ce5f
...@@ -298,7 +298,7 @@ def getUserProfileFeature(samples_iEsF_iStatisticF, spark, startDay, endDay): ...@@ -298,7 +298,7 @@ def getUserProfileFeature(samples_iEsF_iStatisticF, spark, startDay, endDay):
from user_tag3_portrait from user_tag3_portrait
where date >= '{startDay}' and date <= '{endDay}' where date >= '{startDay}' and date <= '{endDay}'
""".format(startDay = startDay, endDay = endDay) """.format(startDay = startDay, endDay = endDay)
print(table_query)
userProfileFeatureDF = spark.read.jdbc('jdbc:mysql://172.16.30.136:3306/doris_olap', table_query, numPartitions = 100, userProfileFeatureDF = spark.read.jdbc('jdbc:mysql://172.16.30.136:3306/doris_olap', table_query, 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