[ 
https://issues.apache.org/jira/browse/SPARK-44071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Max Gekk reassigned SPARK-44071:
--------------------------------

    Assignee: Ryan Johnson

> 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
>            Assignee: Ryan Johnson
>            Priority: Major
>
> 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

Reply via email to