You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "John Sichi (JIRA)" <ji...@apache.org> on 2010/09/22 04:13:33 UTC

[jira] Assigned: (HIVE-1654) select distinct should allow column name regex

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

John Sichi reassigned HIVE-1654:
--------------------------------

    Assignee: Arvind Prabhakar  (was: John Sichi)

Arvind, this one is a good one to work on together with HIVE-1459 if you're up for it.

I think we should rewrite the tree when we see * and regex, replacing them with the actual column reference list, so that downstream code like DISTINCT doesn't have to special-case it.


> select distinct should allow column name regex
> ----------------------------------------------
>
>                 Key: HIVE-1654
>                 URL: https://issues.apache.org/jira/browse/HIVE-1654
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.6.0
>            Reporter: John Sichi
>            Assignee: Arvind Prabhakar
>             Fix For: 0.7.0
>
>
> This works (matching column name foo):
> select `fo.*` from pokes;
> but this
> select distinct `fo.*` from pokes;
> gives
> FAILED: Error in semantic analysis: line 1:16 Invalid Table Alias or Column Reference `fo.*`
> It should work consistently.

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