You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "izveigor (via GitHub)" <gi...@apache.org> on 2023/05/09 17:27:35 UTC

[GitHub] [arrow-datafusion] izveigor opened a new issue, #6311: Negation of `Intervals`

izveigor opened a new issue, #6311:
URL: https://github.com/apache/arrow-datafusion/issues/6311

   ### Is your feature request related to a problem or challenge?
   
   I propose to introduce the negation of `Intervals` into `arrow-datafusion`.
   Example:
   ```
   query ?
   select -interval '5' year;
   ----
   0 years -60 mons 0 days 0 hours 0 mins 0.000000000 secs
   ```
   
   ### Describe the solution you'd like
   
   The function `negative` and `arithmetic_negate` starts to support all types of `Intervals`.
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   PostgreSQL (Date/Time Functions and Operators): https://www.postgresql.org/docs/current/functions-datetime.html


-- 
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: github-unsubscribe@arrow.apache.org.apache.org

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


[GitHub] [arrow-datafusion] alamb closed issue #6311: Negation of `Intervals`

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #6311: Negation of `Intervals`
URL: https://github.com/apache/arrow-datafusion/issues/6311


-- 
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: github-unsubscribe@arrow.apache.org

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