You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/12/11 03:04:00 UTC
[jira] [Updated] (CALCITE-4435) Incorrect logic for validating
RexFieldAccess
[ https://issues.apache.org/jira/browse/CALCITE-4435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated CALCITE-4435:
------------------------------------
Labels: pull-request-available (was: )
> 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
> Time Spent: 10m
> 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)