cloud-fan commented on a change in pull request #35657:
URL: https://github.com/apache/spark/pull/35657#discussion_r821746938
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DataSourceV2Relation.scala
##########
@@ -117,7 +118,9 @@ case class DataSourceV2Relation(
case class DataSourceV2ScanRelation(
relation: DataSourceV2Relation,
scan: Scan,
- output: Seq[AttributeReference]) extends LeafNode with NamedRelation {
+ output: Seq[AttributeReference],
+ distribution: Distribution = UnspecifiedDistribution,
Review comment:
hmm, ideally a scan node should report output partitioning, the parent
node such as join node reports required distribution. This looks a bit
counterintuitive.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]