Commit 7fc99c2c authored by litaolemo's avatar litaolemo

update

parent ea553dcb
......@@ -77,8 +77,8 @@ spark.sql("CREATE TEMPORARY FUNCTION arrayMerge AS 'com.gmei.hive.common.udf.UDF
sql = """
select card_id from strategy_content_exposure_index where card_content_type="user_post" and preciseexposure_num>=50 and ctr>=0.05 and avg_page_stay>=20 and create_day="2020-09-17"
"""
second_demands_count_dict, tags_v3_count_dict = get_user_post_from_mysql(sql)
second_demands_count_dict, tags_v3_count_dict,card_id_list = get_user_post_from_mysql(sql)
print(card_id_list,tags_v3_count_dict)
t = 1
day_num = 0 - t
now = (datetime.datetime.now() + datetime.timedelta(days=day_num))
......
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