@@ -36,7 +36,7 @@ from (
select signature, stat_date, row_number() over (partition by signature order by stat_date) as rn
from application.kuaishou_material_video_report_daily_dw
where signature is not null
- and stat_date between {start_time} and {end_time}
+ and stat_date >= {start_time} and stat_date<={end_time}
) t
where t.rn = 1)a
left join