zhangbo 1 year ago
parent
commit
012277e511
1 changed files with 1 additions and 0 deletions
  1. 1 0
      alg_recsys_recall_4h_region_trend.py

+ 1 - 0
alg_recsys_recall_4h_region_trend.py

@@ -38,6 +38,7 @@ def check_data(project, table, partition) -> int:
             with odps.execute_sql(sql=sql).open_reader() as reader:
                 data_count = reader.count
         else:
+            log_.info("表{}分区{}不存在".format(table, partition))
             data_count = 0
     except Exception as e:
         log_.error("table:{},partition:{} no data. return data_count=0".format(table, partition))