[ https://issues.apache.org/jira/browse/HIVE-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan updated HIVE-4344: ----------------------------------- Resolution: Duplicate Fix Version/s: 0.12.0 Status: Resolved (was: Patch Available) Fixed via HIVE-4547 > CREATE VIEW fails when redundant casts are rewritten > ---------------------------------------------------- > > Key: HIVE-4344 > URL: https://issues.apache.org/jira/browse/HIVE-4344 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.11.0 > Reporter: Samuel Yuan > Assignee: Samuel Yuan > Fix For: 0.12.0 > > Attachments: HIVE-4344.HIVE-4344.HIVE-4344.HIVE-4344.D10221.1.patch > > > e.g. create view v as select cast(key as string) from src; > The rewriter tries to replace both cast(key as string) and key as > `src`.`key`, because cast(key as string) is a no-op. > There may be other cases like this one. > See HIVE-2439 for context. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira