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

Julian Hyde commented on CALCITE-3288:
--------------------------------------

Ah, I know. The hashCode of Integer is the integer itself. So, you were very 
very lucky.

Let's have a test that uses strings, or integers not in ascending order.

Then you'll probably have to use LinkedHashSet to achieve determinism.

> linq4j: support Set literals
> ----------------------------
>
>                 Key: CALCITE-3288
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3288
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: xzh_dz
>            Priority: Critical
>              Labels: pull-request-available
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to