Joe 9 달 전
부모
커밋
469709561b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      qiaojialiang/checkHiveDataUtil.py

+ 1 - 1
qiaojialiang/checkHiveDataUtil.py

@@ -39,7 +39,7 @@ def check_data(project, table, partition) -> int:
     try:
     try:
         t = odps.get_table(name=table)
         t = odps.get_table(name=table)
         # check_res = t.exist_partition(partition_spec=f'dt={partition}')
         # check_res = t.exist_partition(partition_spec=f'dt={partition}')
-        check_res = t.exist_partition('dt=20240703/hh=14')
+        check_res = t.exist_partition('dt=20240703')
         if check_res:
         if check_res:
             # sql = f'select * from {project}.{table} where dt = {partition} limit 0,100'
             # sql = f'select * from {project}.{table} where dt = {partition} limit 0,100'
             sql = f'select * from loghubods.alg_recsys_sample_all where dt = 20240703 limit 0,100;'
             sql = f'select * from loghubods.alg_recsys_sample_all where dt = 20240703 limit 0,100;'