dongjoon-hyun commented on PR #46456:
URL: https://github.com/apache/spark/pull/46456#issuecomment-2099681039

   Ah, I got your point. It's a very interesting `connector` bug.
   > df2 should be immutable.
   
   I was thinking the following. My bad.
   ```
   scala> spark.range(10000).sample(0.1).count()
   res0: Long = 1080
   
   scala> spark.range(10000).sample(0.1).count()
   res1: Long = 998
   ```


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to