cfmcgrady commented on pull request #33146:
URL: https://github.com/apache/spark/pull/33146#issuecomment-871895699


   > Hey mind explaining why cast path issue is related to being cached?
   
   Actually, the cached result is what we want. The issue is that 
`spark.read.json` is not an expected result when the input schema has a 
nullable setting to false. From the log, we found it's a cast operation.
   ```
   === Result of Batch Preparations ===
    CollectLimit 21                                    CollectLimit 21
   !+- Project [cast(value#5 as string) AS value#18]   +- *(1) Project 
[cast(value#5 as string) AS value#18]
   !   +- Scan ExistingRDD[value#5]                       +- *(1) Scan 
ExistingRDD[value#5]
   ```
   


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