Kousuke Saruta created SPARK-31416:
--------------------------------------

             Summary: Check more strictly that a field name can be used as a 
valid Java identifier for codegen
                 Key: SPARK-31416
                 URL: https://issues.apache.org/jira/browse/SPARK-31416
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.1.0
            Reporter: Kousuke Saruta
            Assignee: Kousuke Saruta


ScalaReflection checks that a field name can be used as a valid Java identifier 
by checking whether the field name is not a reserved keyword.

But, in the current implementation, enum is missed.
Further, some characters including numeric literals are not used as valid 
identifiers but not checked.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to