You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Naveen Gangam (Jira)" <ji...@apache.org> on 2020/08/26 19:30:00 UTC
[jira] [Resolved] (HIVE-24076) MetastoreDirectSql.getDatabase()
needs a space in the query
[ https://issues.apache.org/jira/browse/HIVE-24076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Naveen Gangam resolved HIVE-24076.
----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Fix has been merged into master. Thank you for the review.
> MetastoreDirectSql.getDatabase() needs a space in the query
> -----------------------------------------------------------
>
> Key: HIVE-24076
> URL: https://issues.apache.org/jira/browse/HIVE-24076
> Project: Hive
> Issue Type: Sub-task
> Components: Hive
> Affects Versions: 4.0.0
> Reporter: Naveen Gangam
> Assignee: Naveen Gangam
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> String queryTextDbSelector= "select "
> + "\"DB_ID\", \"NAME\", \"DB_LOCATION_URI\", \"DESC\", "
> + "\"OWNER_NAME\", \"OWNER_TYPE\", \"CTLG_NAME\" , \"CREATE_TIME\", \"DB_MANAGED_LOCATION_URI\""
> + "FROM "+ DBS
> There needs to be a space before FROM so the query is right. Currently it falls back to JDO, so not lapse in functionality.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)