I have two queries which work correct separately but together there is an error:
with minimum_time as ( SELECT date(min(_PARTITIONTIME)) as minimums FROM `Day