Github user sujith71955 commented on the issue: https://github.com/apache/spark/pull/22758 I think this issue shall not be in improvement category, it shall be Critical Bug which is affecting the normal join query performances. Hope we address this issue. "Insert query flow is not updating the table stats because its stats is empty hence failed to refresh the table , so i thought lets initialize the stats even in this flow so that after insert query the flow will also refresh the table and invalidate the respective relational cache." ![image](https://user-images.githubusercontent.com/12999161/48186580-65d9be80-e35e-11e8-9feb-b4c0604d7eac.png) ![image](https://user-images.githubusercontent.com/12999161/48186601-738f4400-e35e-11e8-8876-dd5b55623a9c.png)
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org