sunchao commented on a change in pull request #35657:
URL: https://github.com/apache/spark/pull/35657#discussion_r826573598
##########
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:
I'm using
```scala
clustering: Option[Seq[Expression]] = None
```
for now, since `DataSourceHashPartitioning` is the `outputPartitioning` we
construct inside `DataSourceV2ScanExecBase`, so it isn't available at this
point.
Let me know if you have any other thought.
--
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]