Browse Source

generate label for mysql

罗俊辉 1 year ago
parent
commit
a14259077b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      process_data.py

+ 1 - 1
process_data.py

@@ -83,7 +83,7 @@ class DataProcessor(object):
             # print(insert_sql)
             self.client_spider.update(insert_sql)
 
-        select_sql = "SELECT video_id, hour_dt_str FROM lightgbm_data where label is NULL and hour_dt_str < '20240327';"
+        select_sql = "SELECT video_id, hour_dt_str FROM lightgbm_data where label is NULL and hour_dt_str >= '20240327';"
         init_data_tuple = self.client_spider.select(select_sql)
         init_list = list(init_data_tuple)
         for item in tqdm(init_list):