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

Incorrect logic for validating RexFieldAccess

    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

          Issue Links

            Activity

              People

              • Assignee:
                fan_li_ya Liya Fan
                Reporter:
                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