You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ruben Q L (Jira)" <ji...@apache.org> on 2026/08/18 14:51:00 UTC

[jira] [Assigned] (CALCITE-7726) Improve identifier validation on MemberExpression and ParameterExpression

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

Ruben Q L reassigned CALCITE-7726:
----------------------------------

    Assignee: Ruben Q L

> Improve identifier validation on MemberExpression and ParameterExpression
> -------------------------------------------------------------------------
>
>                 Key: CALCITE-7726
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7726
>             Project: Calcite
>          Issue Type: Task
>            Reporter: Ruben Q L
>            Assignee: Ruben Q L
>            Priority: Major
>             Fix For: 1.43.0
>
>
> ParameterExpression constructor only verifies if the name's first character is a valid Java identifier start (but not the rest of the name). MemberExpression construction does not even verify this. As a consequence, invalid identifiers can reach the dynamically generated code, causing CompileException later at runtime.
> This should be checked earlier and fail as soon as possible with a meaningful exception.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)