watfordkcf commented on issue #6876: URL: https://github.com/apache/arrow-datafusion/issues/6876#issuecomment-1631086729
Postgres has a function `make_interval`: ``` make_interval ( [ years int [, months int [, weeks int [, days int [, hours int [, mins int [, secs double precision ]]]]]]] ) → interval Create interval from years, months, weeks, days, hours, minutes and seconds fields, each of which can default to zero make_interval(days => 10) → 10 days ``` Would this help if ported @liukun4515 ? -- 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]
