You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "weibin0516 (Jira)" <ji...@apache.org> on 2022/11/23 08:08:00 UTC

[jira] [Created] (CALCITE-5397) There is a bug in judging whether traits are different in RelTraitSet#difference.

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)