[
https://issues.apache.org/jira/browse/IGNITE-21185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17805032#comment-17805032
]
Aleksey Plekhanov commented on IGNITE-21185:
--------------------------------------------
[~dkryukov] {{name()}} method returns interned string (see
[https://github.com/apache/ignite/blob/master/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/trait/DistributionFunction.java#L59]),
so it's safe to use {{==}} operator here.
> In DistributionFunction strings are compared with == instead of equals()
> ------------------------------------------------------------------------
>
> Key: IGNITE-21185
> URL: https://issues.apache.org/jira/browse/IGNITE-21185
> Project: Ignite
> Issue Type: Bug
> Reporter: Dmitrii Kriukov
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Line 157:
> {color:#cc7832}if {color}(f0 == f1 || f0.name() == f1.name())
--
This message was sent by Atlassian Jira
(v8.20.10#820010)