What does this mean?
[Vertica]VJDBC ERROR: Cannot subtract infinite timestamps
It's being caused by this line:
where datediff(day, "D_TIME_for_AR_by_AR_DOC_Date"."CALENDAR_DT", CURRENT_DATE) BETWEEN 1 AND 364
null values shouldn't break datediff, correct?