hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cw (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2906) Support providing some table properties by user via SQL
Date Wed, 15 Oct 2014 07:41:34 GMT

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

cw commented on HIVE-2906:
--------------------------

Hi [~navis].  We found that we can not use the identifier 'user' as table alias because the
FromClauseParser.g was changed in this patch.

-    : tabname=tableName (ts=tableSample)? (KW_AS? alias=identifier)?
-    -> ^(TOK_TABREF $tabname $ts? $alias?)
+    : tabname=tableName (props=tableProperties)? (ts=tableSample)? (KW_AS? alias=Identifier)?
+    -> ^(TOK_TABREF $tabname $props? $ts? $alias?)

It changed the 'identifier' to a uppercase 'Identifier'. Is it intended or just a mistake?

> Support providing some table properties by user via SQL
> -------------------------------------------------------
>
>                 Key: HIVE-2906
>                 URL: https://issues.apache.org/jira/browse/HIVE-2906
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Navis
>            Assignee: Navis
>             Fix For: 0.12.0
>
>         Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2906.D2499.1.patch, ASF.LICENSE.NOT.GRANTED--HIVE-2906.D2499.2.patch,
ASF.LICENSE.NOT.GRANTED--HIVE-2906.D2499.3.patch, ASF.LICENSE.NOT.GRANTED--HIVE-2906.D2499.4.patch,
ASF.LICENSE.NOT.GRANTED--HIVE-2906.D2499.5.patch, HIVE-2906.D2499.6.patch, HIVE-2906.D2499.7.patch
>
>
> Some properties are needed to be provided to StorageHandler by user in runtime. It might
be an address for remote resource or retry count for access or maximum version count(for hbase),
etc.
> For example,  
> {code}
> select emp.empno, emp.ename from hbase_emp ('max.version'='3') emp;
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message