InvisibleProgrammer opened a new pull request, #6023: URL: https://github.com/apache/hive/pull/6023
### What changes were proposed in this pull request? DatabaseMetaData.getPrimaryKeys can query the table metadata once for each column. It can cause significant slowness. Now we can query that info once, during the initialization of the Rows object. ### Why are the changes needed? To fix the performance issue. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? - Added extra tests for TestTableOutputFormat - Manual test on a test table -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org