Jesus Camacho Rodriguez created HIVE-15583:
----------------------------------------------
Summary: 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
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)