I have a Zsql query that returns a date field as part of the result. If the result contains a row where that field has not yet been filled in, I get the following error: Error Type: ValueError Error Value: Invalid value, 0000-00-00, for DATE_START in record 6 How can I work around this?