HeartSaVioR commented on a change in pull request #35673:
URL: https://github.com/apache/spark/pull/35673#discussion_r826478105
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/AggUtils.scala
##########
@@ -491,10 +521,15 @@ object AggUtils {
private def mayAppendUpdatingSessionExec(
groupingExpressions: Seq[NamedExpression],
- maybeChildPlan: SparkPlan): SparkPlan = {
+ maybeChildPlan: SparkPlan,
+ isStreaming: Boolean): SparkPlan = {
groupingExpressions.find(_.metadata.contains(SessionWindow.marker)) match {
case Some(sessionExpression) =>
UpdatingSessionsExec(
+ isStreaming = isStreaming,
+ // numShufflePartitions will be set to None, and replaced to the
actual value in the
+ // state rule if the query is streaming.
Review comment:
same here
--
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]