소스 검색

generate label for mysql

罗俊辉 1 년 전
부모
커밋
3eb8f82411
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 >= '2024032700';"
         init_data_tuple = self.client_spider.select(select_sql)
         init_list = list(init_data_tuple)
         for item in tqdm(init_list):