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

Mihai Budiu commented on CALCITE-6454:
--------------------------------------

Fixed in 
https://github.com/apache/calcite/commit/1cdf864e9f853284f05aa3bf8515951a018ae22e
Thank you for the contribution, [~njordan]

> Implement array comparison operators
> ------------------------------------
>
>                 Key: CALCITE-6454
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6454
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Norman Jordan
>            Assignee: Norman Jordan
>            Priority: Major
>              Labels: pull-request-available
>
> The comparison operators <, <=, >, >=, =, <> are not implemented for arrays. 
> Here is an example query:
>  
> {code:java}
> SELECT array[2, 2] > array[1, 1]; {code}
> [This 
> page|https://popsql.com/learn-sql/postgresql/how-to-compare-arrays-in-postgresql]
>  describes how the comparisons  work in PostgreSQL.
>  
> Check if the comparison operators for arrays exist in other DB engines.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to