Ju-MINJAE commented on issue #18175:
URL: https://github.com/apache/datafusion/issues/18175#issuecomment-3429947998

   Umm. .. 
   In the `SQLExpr::Floor` pattern matching, the `field` parameter (which 
contains the `CeilFloorKind`) is being ignored with `_field`. 
   
   Shouldn't we check if `field` contains a `Scale` value using something like 
`is_some()` or pattern matching, and then pass that scale value as the second 
argument to the floor/ceil function?


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