Browse Source

523实验 地域1小时 更新公式

zhangbo 1 year ago
parent
commit
31d029d655
1 changed files with 2 additions and 0 deletions
  1. 2 0
      alg_recsys_recall_1h_region.py

+ 2 - 0
alg_recsys_recall_1h_region.py

@@ -106,6 +106,8 @@ def h_data_check(project, table, now_date):
 
     try:
         dt = datetime.datetime.strftime(now_date, '%Y%m%d%H')
+        # 测试 张博
+        dt = "2024022319all0last0"
         check_res = check_table_partition_exits(date=dt, project=project, table=table)
         if check_res:
             sql = f'select * from {project}.{table} where dt = {dt}'