We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12cf02a commit c5b7f23Copy full SHA for c5b7f23
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/statefulOperators.scala
@@ -366,6 +366,14 @@ case class StateStoreSaveExec(
366
override def output: Seq[Attribute] = child.output
367
368
override def outputPartitioning: Partitioning = child.outputPartitioning
369
+
370
+ override def requiredChildDistribution: Seq[Distribution] = {
371
+ if (keyExpressions.isEmpty) {
372
+ AllTuples :: Nil
373
+ } else {
374
+ ClusteredDistribution(keyExpressions) :: Nil
375
+ }
376
377
}
378
379
/** Physical operator for executing streaming Deduplicate. */
0 commit comments