qiuliang988 opened a new pull request, #36412:
URL: https://github.com/apache/spark/pull/36412

   
   ### What changes were proposed in this pull request?
   This pr keep rowCount after hive table partition pruning if table only have 
hive statistics
   
   ### Why are the changes needed?
   Improve query performance. Since 
[SPARK-34119](https://issues.apache.org/jira/browse/SPARK-34119) keep necessary 
stats after partition pruning, But if the table only has Statistics generated 
by Hive, the HiveTableRelation does not have Statistics such as rowCount.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Unit test
   


-- 
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: [email protected]

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