maropu commented on issue #25280: [SPARK-28548][SQL] explain() shows wrong 
result for persisted DataFrames after some operations
URL: https://github.com/apache/spark/pull/25280#issuecomment-515815214
 
 
   wait, it seems the query works well in v2.4.3;
   ```
   scala> df.explain
   == Physical Plan ==
   *(1) Range (0, 10, step=1, splits=4)
   
   scala> df.persist
   res1: df.type = [id: bigint]
   
   scala> df.explain
   == Physical Plan ==
   *(1) InMemoryTableScan [id#0L]
      +- InMemoryRelation [id#0L], StorageLevel(disk, memory, deserialized, 1 
replicas)
            +- *(1) Range (0, 10, step=1, splits=4)
   scala> 
   ```
   Which commit affects the behaviour?

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

Reply via email to