You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/03/28 00:41:00 UTC

[jira] [Updated] (SPARK-56273) Simplify extracting fields from DataSourceV2ScanRelation

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

ASF GitHub Bot updated SPARK-56273:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org