[ https://issues.apache.org/jira/browse/HIVE-7366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14174667#comment-14174667 ]
Lefty Leverenz commented on HIVE-7366: -------------------------------------- Any doc needed, or is this strictly behind-the-scenes? By the way, the wiki only mentions direct SQL in three parameter descriptions: * [Configuration Properties -- hive.metastore.integral.jdo.pushdown | https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.metastore.integral.jdo.pushdown] * [Configuration Properties -- hive.metastore.try.direct.sql | https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.metastore.try.direct.sql] * [Configuration Properties -- hive.metastore.try.direct.sql.ddl | https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.metastore.try.direct.sql.ddl] > getDatabase using direct sql > ---------------------------- > > Key: HIVE-7366 > URL: https://issues.apache.org/jira/browse/HIVE-7366 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 0.14.0 > Reporter: Sushanth Sowmyan > Assignee: Sushanth Sowmyan > Priority: Critical > Fix For: 0.14.0 > > Attachments: HIVE-7366.2.patch, HIVE-7366.3.patch, HIVE-7366.4.patch, > HIVE-7366.patch > > > Given that get_database is easily one of the most frequent calls made on the > metastore, we should have the ability to bypass datanucleus for that, and use > direct SQL instead. > This was something that I did initially as part of debugging HIVE-7368, but I > think that given the frequency of this call, it's useful to have it in > mainline direct sql. -- This message was sent by Atlassian JIRA (v6.3.4#6332)