Samuel Yuan created HIVE-4344:
---------------------------------

             Summary: 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


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.

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