[
https://issues.apache.org/jira/browse/ARROW-14122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17421197#comment-17421197
]
Jorge Leitão commented on ARROW-14122:
--------------------------------------
You are right, [~cpcloud]: I change my opinion: partial order is not defined to
the intervals. Thank you very much for that!
[~houqp], I think that the `PartialOrd` in Rust is not the same as partial
order I referenced above. `PartialOrd` may return None when two types are not
comparable, whereas the partial order above must always return true or false.
However, even that is not what we want for compatibility with postgres.
So, from my side this discussion brought ideas on how to address this in
datafusion and C++ compute kernels that wish compatibility with postgres, as
[~westonpace] summarized: interval -> "postgres duration" -> hash/cmp/etc.
> [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)