aokolnychyi commented on code in PR #52920:
URL: https://github.com/apache/spark/pull/52920#discussion_r2511955076
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala:
##########
@@ -203,8 +204,19 @@ class QueryExecution(
}
}
+ // refresh table versions before cache lookup
+ private val lazyTableVersionsRefreshed = LazyTry {
+ if (QueryExecution.lastExecutionId != id ||
TableRefreshUtil.shouldRefresh(commandExecuted)) {
Review Comment:
The logic here is to refresh always unless Dataset is created and executed
immediately without any temporary steps in between.
--
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]