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

+ 1 - 1
alg_recsys_recall_4h_region_trend.py

@@ -34,7 +34,7 @@ def check_data(project, table, partition) -> int:
         check_res = t.exist_partition(partition_spec=f'dt={partition}')
         if check_res:
             sql = f'select * from {project}.{table} where dt = {partition}'
-            print(sql)
+            log_.info(sql)
             with odps.execute_sql(sql=sql).open_reader() as reader:
                 data_count = reader.count
         else: