seddonm1 commented on pull request #9376: URL: https://github.com/apache/arrow/pull/9376#issuecomment-770464465
> @jorgecarleitao -- I agree with @Dandandan -- think `date_trunc(scalar, array)` and `date_trun(scalar, scalar) are the really important cases. I have no use case for `date_trunc(array, array)` Having been trying to implement a lot of the Postgres logic recently they all logically support the use of arrays for each of the parameters (i.e. `date_trunc(array, array)`) I have no idea how common the use of this functionality really is - and I suspect it is low - but if we are building the API for Postgres compatibility it would be good to solve. ---------------------------------------------------------------- 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