hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Haindrich (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-15976) Support CURRENT_CATALOG and CURRENT_SCHEMA
Date Tue, 12 Jun 2018 07:03:00 GMT

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

Zoltan Haindrich commented on HIVE-15976:
-----------------------------------------

I see that you have followed the "practice" but I can't convince myself why would it be a
good idea to add "current_schema" things to IdentifierParser...
It seems to me that CURRENT_DATE and CURRENT_TIMESTAMP are there to make it possible to enable
the parser to handle its result the same as parsing a date string...
I think this patch would be fine without the changes to IdentifiersParser/Lexer changes...

> 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
>         Attachments: HIVE-15976.01.patch, HIVE-15976.02.patch, HIVE-15976.03.patch
>
>
> 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)

Mime
View raw message