[ 
https://issues.apache.org/jira/browse/SPARK-56273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18069166#comment-18069166
 ] 

Yan Yan commented on SPARK-56273:
---------------------------------

https://github.com/apache/spark/pull/55070

> Simplify extracting fields from DataSourceV2ScanRelation
> --------------------------------------------------------
>
>                 Key: SPARK-56273
>                 URL: https://issues.apache.org/jira/browse/SPARK-56273
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.2.0
>            Reporter: Yan Yan
>            Priority: Minor
>              Labels: pull-request-available
>
> `DataSourceV2ScanRelation` is a case class with 5 fields. Many pattern match 
> sites only need the scan field or a subset of (relation, scan, output), using 
> wildcards for the rest. This couples every match site to the constructor 
> arity, so adding or removing fields requires updating all of them.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to