[
https://issues.apache.org/jira/browse/CALCITE-5397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
weibin0516 updated CALCITE-5397:
--------------------------------
Description:
I think
{code:java}
!thisTrait.equals(thatTrait){code}
should be used here instead of
{code:java}
!={code}
!image-2022-11-23-16-01-06-098.png|width=677,height=307!
As shown in the figure below, the content of the two is consistent, but it is
currently judged to have a difference.
!image-2022-11-23-16-06-11-621.png|width=524,height=160!
was:
I think
{code:java}
!thisTrait.equals(thatTrait){code}
should be used here instead of
{code:java}
!={code}
!image-2022-11-23-16-00-51-559.png|width=694,height=315!
As shown in the figure below, the content of the two is consistent, but it is
currently judged to have a difference. !image-2022-11-23-16-06-11-621.png!
Environment: (was: !image-2022-11-23-16-01-06-098.png! )
> There is a bug in judging whether traits are different in
> RelTraitSet#difference.
> ---------------------------------------------------------------------------------
>
> Key: CALCITE-5397
> URL: https://issues.apache.org/jira/browse/CALCITE-5397
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.32.0
> Reporter: weibin0516
> Assignee: weibin0516
> Priority: Major
> Attachments: image-2022-11-23-16-01-06-098.png,
> image-2022-11-23-16-06-11-621.png
>
>
> I think
> {code:java}
> !thisTrait.equals(thatTrait){code}
> should be used here instead of
> {code:java}
> !={code}
> !image-2022-11-23-16-01-06-098.png|width=677,height=307!
>
> As shown in the figure below, the content of the two is consistent, but it is
> currently judged to have a difference.
> !image-2022-11-23-16-06-11-621.png|width=524,height=160!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)