Ruben Q L created CALCITE-7726:
----------------------------------

             Summary: 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


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)

Reply via email to