Ryan Johnson created SPARK-44071: ------------------------------------ Summary: Define UnresolvedNode trait to reduce redundancy Key: SPARK-44071 URL: https://issues.apache.org/jira/browse/SPARK-44071 Project: Spark Issue Type: New Feature Components: Spark Core Affects Versions: 3.5.0 Reporter: Ryan Johnson
Looking at [unresolved.scala|https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala], spark would benefit from an {{UnresolvedNode}} trait that various {{UnresolvedFoo}} classes could inherit from: {code:java} trait UnresolvedNode extends LogicalPlan { override def output: Seq[Attribute] = Nil override lazy val resolved = false }{code} Today, the code is duplicated in ~20 locations. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org