anishshri-db commented on code in PR #54373:
URL: https://github.com/apache/spark/pull/54373#discussion_r2844062145


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/runtime/StreamExecution.scala:
##########
@@ -337,6 +338,29 @@ abstract class StreamExecution(
         }
 
         getLatestExecutionContext().updateStatusMessage("Initializing sources")
+
+        // Restore relevant SQL configs from checkpoint before evaluating 
logicalPlan.
+        // This ensures configs like ENABLE_STREAMING_SOURCE_EVOLUTION are set 
correctly
+        // when the logical plan determines source naming strategy.
+        val sessionEnforcementBeforeRestore =
+          
sparkSessionForStream.sessionState.conf.enableStreamingSourceEvolution

Review Comment:
   Is this the first time reading the config ? what are we trying to assert for 
in the section below ?



-- 
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]

Reply via email to