[ 
https://issues.apache.org/jira/browse/HIVE-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13633290#comment-13633290
 ] 

Kevin Wilfong commented on HIVE-4344:
-------------------------------------

+1
                
> 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
>         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

Reply via email to