hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <>
Subject [jira] [Commented] (HIVE-6013) Supporting Quoted Identifiers in Column Names
Date Wed, 18 Dec 2013 01:02:31 GMT


Ashutosh Chauhan commented on HIVE-6013:

Approach looks ok to me. Some implementation level comments on RB.

One test scenario. If this is already covered in your test, feel free to ignore. Otherwise,
can you add following test.
create table t1 (aa int, ab string);
select a.* from t1; -- this should select both columns.

Also, you mentioned in html doc, some of jdbc api methods need to change, but I don't see
any changes in jdbc package.

> Supporting Quoted Identifiers in Column Names
> ---------------------------------------------
>                 Key: HIVE-6013
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Harish Butani
>            Assignee: Harish Butani
>             Fix For: 0.13.0
>         Attachments: HIVE-6013.1.patch, HIVE-6013.2.patch, HIVE-6013.3.patch, QuotedIdentifier.html
> Hive's current behavior on Quoted Identifiers is different from the normal interpretation.
Quoted Identifier (using backticks) has a special interpretation for Select expressions(as
Regular Expressions). Have documented current behavior and proposed a solution in attached
> Summary of solution is:
> - Introduce 'standard' quoted identifiers for columns only. 
> - At the langauage level this is turned on by a flag.
> - At the metadata level we relax the constraint on column names.

This message was sent by Atlassian JIRA

View raw message