leonardBang commented on pull request #15306:
URL: https://github.com/apache/flink/pull/15306#issuecomment-803735758


   > Is there any reason why we not use the `BuiltInScalarFunction` to 
implement this new function? From my point of view, it would be much simpler if 
we use `BuiltInScalarFunction` because it doesn't need to refactor the codegen 
logic.
   
   The reason is that the scalar function can not resolv the function name 
`CURRENT_ROW_TIMESTAMP`, it always use the function name 
`CURRENT_ROW_TIMESTAMP()`, I think what we want is aligned with 
`CURRENT_TIMESTAMP`
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to