hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-466) Fix queries like "SELECT t.*, t.a"
Date Wed, 27 May 2009 01:05:45 GMT

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

Zheng Shao updated HIVE-466:
----------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

The fix is already committed as a part of HIVE-420.


> Fix queries like "SELECT t.*, t.a"
> ----------------------------------
>
>                 Key: HIVE-466
>                 URL: https://issues.apache.org/jira/browse/HIVE-466
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.3.1, 0.4.0
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>             Fix For: 0.4.0
>
>         Attachments: HIVE-466.1.patch
>
>
> There was a bug in the SemanticAnalyzer that adds the columnID for one more time for
"*".
> This causes queries like this to fail:
> {code}
> create table zshao_lazy (a int);
> // load one row of data into zshao_lazy
> select * from (select *, a as a2 from zshao_lazy) z order by a2 limit 10;
> {code}
> The query will fail at execution time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message