hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Camacho Rodriguez (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-15583) CTAS query removes leading underscore from column names with CBO
Date Wed, 11 Jan 2017 13:55:58 GMT

     [ https://issues.apache.org/jira/browse/HIVE-15583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jesus Camacho Rodriguez updated HIVE-15583:
-------------------------------------------
    Attachment: HIVE-15583.patch

> CTAS query removes leading underscore from column names with CBO
> ----------------------------------------------------------------
>
>                 Key: HIVE-15583
>                 URL: https://issues.apache.org/jira/browse/HIVE-15583
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>    Affects Versions: 2.2.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Minor
>         Attachments: HIVE-15583.patch
>
>
> L209 in PlanModifierForASTConv.java:
> {code:java}
>       if (colAlias.startsWith("_")) {
>         colAlias = colAlias.substring(1);
>         colAlias = getNewColAlias(newSelAliases, colAlias);
>       }
> {code}
> I would like to explore if we can just remove this limitation.
> For instance, due to this issue, when we create a table with Druid storage handler, we
need to add an additional underscore for column names as Druid is expecting columns with a
certain name.



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

Mime
View raw message