Yan Yan created SPARK-56273:
-------------------------------
Summary: 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
`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]