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

Define UnresolvedNode trait to reduce redundancy

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0
    • Spark Core
    • None

    Description

      Looking at unresolved.scala, spark would benefit from an UnresolvedNode trait that various UnresolvedFoo classes could inherit from:

      trait UnresolvedNode extends LogicalPlan {
        override def output: Seq[Attribute] = Nil
        override lazy val resolved = false
      }

      Today, the code is duplicated in ~20 locations.

      Attachments

        Activity

          People

            ryan.johnson@databricks.com Ryan Johnson
            ryan.johnson@databricks.com Ryan Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: