@@ -402,17 +409,19 @@ WHERE partition_date>='{start_date}' AND partition_date<'{end_date}' and page_na
# for data in hive.cursor.fetchall():
# data_dic[data[0]] = data[1]
# --query词曝光
query_sql="""
SELECT params['query_words']
FROM bl_hdfs_maidian_updates
WHERE partition_date>='{start_date}' AND partition_date<'{end_date}'
AND action = 'report_status'
AND page_name in ('search_home','search_home_more','search_home_welfare','search_home_diary','search_home_wiki','search_home_post','search_home_hospital','search_home_doctor')
# WHERE partition_date>='{start_date}' AND partition_date<'{end_date}'
# AND action = 'report_status'
# AND page_name in ('search_home','search_home_more','search_home_welfare','search_home_diary','search_home_wiki','search_home_post','search_home_hospital','search_home_doctor')