can't cast [{ts '2019-11-18 04:28:36'} 00:00:00] to date value