[ 
https://issues.apache.org/jira/browse/ARROW-14122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17420003#comment-17420003
 ] 

Phillip Cloud commented on ARROW-14122:
---------------------------------------

Are there any operations for which interval comparison is necessary and not 
fraught with under-defined behavior?

To be clear, it's only when you have intervals with mixed >= day components and 
< day components such as `DayMilliseconds`. I think the only sane interval type 
for comparison would be the month interval type, but special casing seems 
likely to cause confusion.

I would imagine that the functions in 
https://github.com/apache/arrow/pull/10960 are sufficient to cover most or all 
cases where interval comparison would be needed except pretty printing, and 
they all have fully defined behavior.

> [C++] interval comparison kernels
> ---------------------------------
>
>                 Key: ARROW-14122
>                 URL: https://issues.apache.org/jira/browse/ARROW-14122
>             Project: Apache Arrow
>          Issue Type: Sub-task
>            Reporter: Phillip Cloud
>            Priority: Major
>              Labels: kernel
>
> Subtask for tracking interval comparison kernels



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to