Commit be1db75b authored by 宋柯's avatar 宋柯

模型bug修复

parent eb269e5e
......@@ -981,7 +981,7 @@ if __name__ == '__main__':
res.append((card_id, partition_date, label, partition_date_label_count_dcit.get(partition_date, 0)))
return res
itemStatisticDF = itemStatisticDF.rdd.flatMap(splitPatitionDatasFlatMapFunc).toDF("card_id", "partition_date", "label", "label_count")
itemStatisticDF = itemStatisticDF.rdd.flatMap(splitPatitionDatasFlatMapFunc).toDF(["card_id", "partition_date", "label", "label_count"])
itemStatisticDF.show(1000, False)
sys.exit(1)
clickDF = spark.sql(clickSql)
......
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