sunchao commented on a change in pull request #35657:
URL: https://github.com/apache/spark/pull/35657#discussion_r822095789
##########
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:
Yea I agree with you. What do you think if we pass the clustering
expressions instead? something like:
```scala
distribution: Option[Seq[Expression]] = None,
```
--
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]