morningman commented on pull request #7301:
URL: https://github.com/apache/incubator-doris/pull/7301#issuecomment-986045937


   Hi @whutpencil , thanks for your contribution.
   But you have implement the function on BE side (required) and FE 
side(Optional), or the query may crash during the execution.
   
   The FE side implementation of a function is just for calculating the 
function result with all constant parameters.
   such as `date_trunc('2010-12-02 19:28:30', 'year');`, but is we call 
`date_trunc(column1, 'year');`, it has to be
   executed on BE side.
   
   But if you wish, you can just pull your FE side implementation, and see if 
someone can help you to impement the BE side
   based on your FE side implementation.
   


-- 
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