Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-6161

The equalsDeep of sqlCall should compare sqlOperator's sqlKind

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • 1.36.0
    • 1.38.0
    • core

    Description

      Here is the situation:

      when I create two SqlBasicCalls, one uses UNARY_MINUS operator and the other uses MINUS operator. But their operandList is the same. However, The result after calling their equalsDeep() method is true.

      I found that the sqlKind of many operators is reused, and the name is not guaranteed to be unique. Only the combination of kind and name can determine the unique operator.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jiefei30 Mingcan Wang Assign to me
            jiefei30 Mingcan Wang

            Dates

              Created:
              Updated:

              Slack

                Issue deployment