Slach commented on issue #20664:
URL: https://github.com/apache/superset/issues/20664#issuecomment-1250188079

   formatDateTime return string (documentation is unclear in this part)
   
   SELECT toTypeName(formatDateTime(now(),'%Y-%m'))
   
   so if you want return Date
   you should use
   ```toDate(toStartOfMonth(BUSI_DATE))```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to