[ 
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.01.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.01.patch, 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)

Reply via email to