wangyum opened a new pull request #30648:
URL: https://github.com/apache/spark/pull/30648


   ### What changes were proposed in this pull request?
   
   This pr add support analyze all tables in a specific database:
   ```g4
    ANALYZE TABLES ((FROM | IN) multipartIdentifier)? COMPUTE STATISTICS 
(identifier)?
   ```
   
   ### Why are the changes needed?
   
   1. Make it easy to analyze all tables in a specific database.
   2. PostgreSQL has a similar implementation: 
https://www.postgresql.org/docs/12/sql-analyze.html.
   
   
   ### 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.

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