weibin0516 created CALCITE-5397:
-----------------------------------

             Summary: 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
         Environment:  !image-2022-11-23-16-01-06-098.png! 
            Reporter: weibin0516
            Assignee: weibin0516
         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-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!



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

Reply via email to