kovjanos opened a new pull request, #3214: URL: https://github.com/apache/hive/pull/3214
### What changes were proposed in this pull request? Missing keys/index is to be added to the HMS backend db schema ### Why are the changes needed? On a high-concurrency test we found that backend database is doing full table scans in some cases where the table has missing key/index. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Integration tests for all database types: ``` [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.hadoop.hive.metastore.dbinstall.ITestPostgres [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.949 s - in org.apache.hadoop.hive.metastore.dbinstall.ITestPostgres [INFO] Running org.apache.hadoop.hive.metastore.dbinstall.ITestMssql [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.711 s - in org.apache.hadoop.hive.metastore.dbinstall.ITestMssql [INFO] Running org.apache.hadoop.hive.metastore.dbinstall.ITestMysql [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.032 s - in org.apache.hadoop.hive.metastore.dbinstall.ITestMysql [INFO] Running org.apache.hadoop.hive.metastore.dbinstall.ITestDerby [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.101 s - in org.apache.hadoop.hive.metastore.dbinstall.ITestDerby [INFO] Running org.apache.hadoop.hive.metastore.dbinstall.ITestOracle [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 94.393 s - in org.apache.hadoop.hive.metastore.dbinstall.ITestOracle [INFO] [INFO] Results: [INFO] [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0 ``` -- 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]
