[ 
https://issues.apache.org/jira/browse/CALCITE-4435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chunwei Lei resolved CALCITE-4435.
----------------------------------
    Fix Version/s: 1.27.0
       Resolution: Fixed

Fixed in 
[https://github.com/apache/calcite/commit/ad6d1d907b913bab36d66879d656ae3115aa220e.]
 Thank you for your PR, [~fan_li_ya]!

> Incorrect logic for validating RexFieldAccess
> ---------------------------------------------
>
>                 Key: CALCITE-4435
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4435
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Liya Fan
>            Assignee: Liya Fan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.27.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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() ]}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to