cloud-fan commented on a change in pull request #25420: [SPARK-28699][Core]
Cache an indeterminate RDD could lead to incorrect result while stage rerun
URL: https://github.com/apache/spark/pull/25420#discussion_r312983876
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/InMemoryRelation.scala
##########
@@ -131,7 +131,7 @@ case class CachedRDDBuilder(
def hasNext: Boolean = rowIterator.hasNext
}
- }.persist(storageLevel)
+ }, isOrderSensitive = true).persist(storageLevel)
Review comment:
I don't quite get it. The `isOrderSensitive` flag is used to describe the
map function. Why the map function is order sensitive?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]