[
https://issues.apache.org/jira/browse/HIVE-437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zheng Shao updated HIVE-437:
----------------------------
Attachment: HIVE-437.2.code-only.patch
Talked with the team offline and make some changes:
1. We will now output an error if an identifier in the expression can be both a
table alias and a column.
2. The Expression GraphWalker's process will return NULL for a table name.
Originally we were returning a String for table name, and exprNodeDesc for
others, which is not good. I didn't change the PartitionPruner in the same
direction, because we are going to refactor that code completely pretty soon.
> Allow both table.col and col.field in the grammar
> -------------------------------------------------
>
> Key: HIVE-437
> URL: https://issues.apache.org/jira/browse/HIVE-437
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Query Processor
> Affects Versions: 0.4.0
> Reporter: Zheng Shao
> Assignee: Zheng Shao
> Attachments: HIVE-437.1.code-only.patch, HIVE-437.1.patch,
> HIVE-437.2.code-only.patch, HIVE-437.2.patch
>
>
> There is a bug in the grammar that only allows table.col but not col.field.
> We should allow both.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.