anishshri-db commented on code in PR #47490:
URL: https://github.com/apache/spark/pull/47490#discussion_r1699078182
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/IncrementalExecution.scala:
##########
@@ -523,6 +551,7 @@ class IncrementalExecution(
// The rule below doesn't change the plan but can cause the side effect
that
// metadata/schema is written in the checkpoint directory of stateful
operator.
planWithStateOpId transform StateSchemaAndOperatorMetadataRule.rule
+ purgeMetadataFiles(planWithStateOpId)
Review Comment:
This could just move to the planning rule above ?
--
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]