浏览代码

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

zhangbo 1 年之前
父节点
当前提交
31d029d655
共有 1 个文件被更改,包括 2 次插入0 次删除
  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:
     try:
         dt = datetime.datetime.strftime(now_date, '%Y%m%d%H')
         dt = datetime.datetime.strftime(now_date, '%Y%m%d%H')
+        # 测试 张博
+        dt = "2024022319all0last0"
         check_res = check_table_partition_exits(date=dt, project=project, table=table)
         check_res = check_table_partition_exits(date=dt, project=project, table=table)
         if check_res:
         if check_res:
             sql = f'select * from {project}.{table} where dt = {dt}'
             sql = f'select * from {project}.{table} where dt = {dt}'