Commit e2b94f4b authored by 宋柯's avatar 宋柯

模型调试

parent 0f0a05c8
......@@ -299,7 +299,7 @@ def getUserProfileFeature(samples_iEsF_iStatisticF, spark, startDay, endDay):
where date >= {startDay} and date <= {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, numPartitions = 100,
properties = { 'user': 'doris_olap', 'password': 'bA27hXasdfswuolap', 'driver': 'com.mysql.jdbc.Driver' })
userProfileFeatureDF.show(100, False)
......
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