[
https://issues.apache.org/jira/browse/HIVE-25879?focusedWorklogId=781173&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-781173
]
ASF GitHub Bot logged work on HIVE-25879:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 14/Jun/22 13:15
Start Date: 14/Jun/22 13:15
Worklog Time Spent: 10m
Work Description: kgyrtkirk merged PR #3348:
URL: https://github.com/apache/hive/pull/3348
Issue Time Tracking
-------------------
Worklog Id: (was: 781173)
Time Spent: 1h 40m (was: 1.5h)
> MetaStoreDirectSql test query should not query the whole DBS table
> ------------------------------------------------------------------
>
> Key: HIVE-25879
> URL: https://issues.apache.org/jira/browse/HIVE-25879
> Project: Hive
> Issue Type: Bug
> Reporter: Miklos Szurap
> Assignee: Miklos Szurap
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0-alpha-2
>
> Time Spent: 1h 40m
> 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)