HeartSaVioR commented on a change in pull request #35673:
URL: https://github.com/apache/spark/pull/35673#discussion_r826477929
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/AggUtils.scala
##########
@@ -447,8 +475,10 @@ object AggUtils {
val aggregateExpressions = functionsWithoutDistinct.map(_.copy(mode =
PartialMerge))
val aggregateAttributes = aggregateExpressions.map(_.resultAttribute)
MergingSessionsExec(
- requiredChildDistributionExpressions = None,
- requiredChildDistributionOption =
Some(restored.requiredChildDistribution),
+ requiredChildDistributionExpressions =
Some(groupingWithoutSessionAttributes),
+ isStreaming = true,
+ // This will be replaced with actual value in state rule.
Review comment:
We don't create a dedicate class for state rule. See
https://github.com/apache/spark/blob/a30575e91e82e9f4394add40f1ba9265eb1f7819/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/IncrementalExecution.scala#L105-L209
--
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]