You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sambavi Muthukrishnan (JIRA)" <ji...@apache.org> on 2012/07/22 16:50:33 UTC

[jira] [Created] (HIVE-3288) Hive does not support select distinct *

Sambavi Muthukrishnan created HIVE-3288:
-------------------------------------------

             Summary: Hive does not support select distinct *
                 Key: HIVE-3288
                 URL: https://issues.apache.org/jira/browse/HIVE-3288
             Project: Hive
          Issue Type: Task
          Components: Query Processor
    Affects Versions: 0.9.0
            Reporter: Sambavi Muthukrishnan
            Priority: Minor


select distinct * returns the below error in Hive while mysql supports this syntax.

hive> select distinct * from src;
FAILED: Error in semantic analysis: Line 0:-1 Invalid function 'TOK_ALLCOLREF'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HIVE-3288) Hive does not support select distinct *

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Chauhan resolved HIVE-3288.
------------------------------------

    Resolution: Duplicate

Dupe of HIVE-3199
                
> Hive does not support select distinct *
> ---------------------------------------
>
>                 Key: HIVE-3288
>                 URL: https://issues.apache.org/jira/browse/HIVE-3288
>             Project: Hive
>          Issue Type: Task
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Sambavi Muthukrishnan
>            Priority: Minor
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> select distinct * returns the below error in Hive while mysql supports this syntax.
> hive> select distinct * from src;
> FAILED: Error in semantic analysis: Line 0:-1 Invalid function 'TOK_ALLCOLREF'

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

[jira] [Commented] (HIVE-3288) Hive does not support select distinct *

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420184#comment-13420184 ] 

Namit Jain commented on HIVE-3288:
----------------------------------

Atleast, Hive should give a better error message
                
> Hive does not support select distinct *
> ---------------------------------------
>
>                 Key: HIVE-3288
>                 URL: https://issues.apache.org/jira/browse/HIVE-3288
>             Project: Hive
>          Issue Type: Task
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Sambavi Muthukrishnan
>            Priority: Minor
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> select distinct * returns the below error in Hive while mysql supports this syntax.
> hive> select distinct * from src;
> FAILED: Error in semantic analysis: Line 0:-1 Invalid function 'TOK_ALLCOLREF'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira