瀏覽代碼

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

zhangbo 1 年之前
父節點
當前提交
de2611f960
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      alg_recsys_recall_1h_region.py

+ 0 - 2
alg_recsys_recall_1h_region.py

@@ -107,7 +107,6 @@ 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}"'
@@ -153,7 +152,6 @@ def get_feature_data(project, table, now_date):
     """获取特征数据"""
     dt = datetime.datetime.strftime(now_date, '%Y%m%d%H')
     # 张博 测试
-    dt = '2024022319all0last0'
     records = get_data_from_odps(date=dt, project=project, table=table)
     feature_data = []
     for record in records: