can't cast [{ts '2020-07-06 13:26:07'} 00:00:00] to date value