chore: use enum as date_trunc granularity
#18390
Merged
Loading
date_trunc granularity
#18390