Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-32999

TreeNode.nodeName should not throw malformed class name error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0, 3.0.0, 3.1.0
    • 2.4.8, 3.0.2, 3.1.0
    • SQL
    • None

    Description

      Similar to SPARK-32238, the use of java.lang.Class.getSimpleName in TreeNode.nodeName is problematic because Scala classes may trigger java.lang.InternalError: Malformed class name.

      This happens more often when using nested classes in Scala (or declaring classes in Scala REPL which implies class nesting).

      Note that on newer versions of JDK the underlying malformed class name no longer reproduces, so it's less of an issue there. But on JDK8u this problem still exists so we still have to fix it.

      Attachments

        Activity

          People

            rednaxelafx Kris Mok
            rednaxelafx Kris Mok
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: