liujie-yt opened a new issue, #2673:
URL: https://github.com/apache/doris-website/issues/2673

   
https://github.com/apache/doris-website/blob/4bac4236aee6aeecc833fbea2d6e193510e04eec/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/scalar-functions/date-time-functions/date-trunc.md?plain=1#L16
   
   
   Doris 3.0.3 is not suppot DATE_TRUNC(<time_unit>, <datetime>)
   
   select date_trunc('month', OEE_DATE) from  mcp.line_oee
   
   SQL Error [1105] [HY000]: errCode = 2, detailMessage = the second parameter 
of date_trunc function must be a string constant: date_trunc('month', OEE_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