[ 
https://issues.apache.org/jira/browse/HIVE-25879?focusedWorklogId=768790&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-768790
 ]

ASF GitHub Bot logged work on HIVE-25879:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/May/22 00:19
            Start Date: 11/May/22 00:19
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] closed pull request #2964: 
HIVE-25879: MetaStoreDirectSql test query should not query the DBS table
URL: https://github.com/apache/hive/pull/2964




Issue Time Tracking
-------------------

    Worklog Id:     (was: 768790)
    Time Spent: 50m  (was: 40m)

> MetaStoreDirectSql test query should not query the DBS table
> ------------------------------------------------------------
>
>                 Key: HIVE-25879
>                 URL: https://issues.apache.org/jira/browse/HIVE-25879
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Miklos Szurap
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> The runTestQuery() in the 
> org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java is using a test query
> {code:java}
> select "DB_ID" from "DBS"{code}
> to determine whether the direct SQL can be used.
> With larger deployments with many (10k+) Hive databases it would be more 
> efficienct to query a small table instead, for example the "VERSION" table 
> should always have a single row only.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to