[
https://issues.apache.org/jira/browse/ARROW-14122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17421853#comment-17421853
]
QP Hou commented on ARROW-14122:
--------------------------------
> So then, if I understand correctly, the point on hashing comes down to
> whether or not the cast from Arrow Interval to Postgres Interval is a
> zero-copy metadata only cast or the bytes need to be mutated for consistent
> hashing.
Yes, regardless how it is casted to the postgres interval type, normalization
needs to be applied to the postgres interval type before we can perform hashing
and comparison operation on it.
I fee like we can leave it to individual compute engine implementations to
decide how they want to perform the cast. They could choose to do zero-copy
metadata cast or use a reference point in time to take leap seconds/days/months
into account depending on the contract they provide to the users.
> [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)