dongjoon-hyun commented on pull request #31081:
URL: https://github.com/apache/spark/pull/31081#issuecomment-756890129


   @sunchao . I tested this case with Apache Spark 3.1.0 RC1 with Iceberg 0.10. 
This is a correctness issue. How do you think about that? If you agree, please 
make a backport. (Also, cc @HyukjinKwon )
   ```
   {code}
   spark-sql> SELECT * FROM local.db.table;
   4    5
   
   spark-sql> CACHE TABLE v AS SELECT * FROM local.db.table;
   
   spark-sql> SELECT * FROM v;
   4    5
   
   spark-sql> REPLACE TABLE local.db.table AS SELECT 100 id, '100' string;
   
   spark-sql> SELECT * FROM v;
   4    5
   
   spark-sql> SELECT * FROM local.db.table;
   100  100
   ```


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to