mszurap opened a new pull request #2964: URL: https://github.com/apache/hive/pull/2964
### What changes were proposed in this pull request? Performance optimization: the MetaStoreDirectSql#runTestQuery determines whether the direct SQL can be used. The proposed change is that the VERSION table should be used for this purpose instead of the DBS, which may have significant size. ### Why are the changes needed? Performance improvement. With bigger deployments the test query can run 10x faster (~3 ms instead of 30 ms), and this test query runs for **every** ObjectStore initialization. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Local cluster. It does not change the functionality, the fix is trivial. -- 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]
