[
https://issues.apache.org/jira/browse/CALCITE-7726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruben Q L resolved CALCITE-7726.
--------------------------------
Resolution: Fixed
Done in
[{{17db027}}|https://github.com/apache/calcite/commit/17db027dbefd8839869be7907b50827bf2d40cd1]
> 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
> Labels: pull-request-available
> 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)