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

Incorrect logic for validating RexFieldAccess

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      For the index of a RexFieldAccess, the correct range should be [0, refType.getFieldList().size() ).
      However, according to the current implementation of RexChecker#visitFieldAccess, the valid range is [0, refType.getFieldList().size() ]

      Attachments

        Activity

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

          People

            fan_li_ya Liya Fan
            fan_li_ya Liya Fan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m

                Slack

                  Issue deployment