hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samuel Yuan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-4344) CREATE VIEW fails when redundant casts are rewritten
Date Fri, 12 Apr 2013 23:06:16 GMT

     [ https://issues.apache.org/jira/browse/HIVE-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Samuel Yuan updated HIVE-4344:
------------------------------

    Description: 
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.

  was:
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.

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

Mime
View raw message