[ 
https://issues.apache.org/jira/browse/HIVE-15976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16497873#comment-16497873
 ] 

Laszlo Bodor commented on HIVE-15976:
-------------------------------------

As far as I can see, CURRENT_CATALOG and CURRENT_SCHEMA will point to the same 
thing in Hive: current database.

CURRENT_SCHEMA: in Hive, it's database

CURRENT_CATALOG: it should also point to the current database, according to a 
postgres documentation:
|{{{{current_catalog}}}}|{{name}}|name of current database (called "catalog" in 
the SQL standard)|

> Support CURRENT_CATALOG and CURRENT_SCHEMA
> ------------------------------------------
>
>                 Key: HIVE-15976
>                 URL: https://issues.apache.org/jira/browse/HIVE-15976
>             Project: Hive
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Carter Shanklin
>            Assignee: Laszlo Bodor
>            Priority: Major
>
> Support these keywords for querying the current catalog and schema. SQL 
> reference: section 6.4



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to