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

[jira] [Created] (HIVE-3268) expressions in cluster by are not working

Namit Jain created HIVE-3268:
--------------------------------

             Summary: expressions in cluster by are not working
                 Key: HIVE-3268
                 URL: https://issues.apache.org/jira/browse/HIVE-3268
             Project: Hive
          Issue Type: Bug
            Reporter: Namit Jain


The following query fails:

select key+key, value from src cluster by key+key, value;


--
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] [Commented] (HIVE-3268) expressions in cluster by are not working

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

Namit Jain commented on HIVE-3268:
----------------------------------

https://reviews.facebook.net/D4269
                
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Updated] (HIVE-3268) expressions in cluster by are not working

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

Kevin Wilfong updated HIVE-3268:
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.10.0
           Status: Resolved  (was: Patch Available)

Committed, thanks Namit.
                
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>             Fix For: 0.10.0
>
>         Attachments: hive.3268.1.patch, hive.3268.2.patch
>
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Commented] (HIVE-3268) expressions in cluster by are not working

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

Carl Steinbach commented on HIVE-3268:
--------------------------------------

@Namit: I added comments on phabricator. Thanks.
                
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>         Attachments: hive.3268.1.patch
>
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Commented] (HIVE-3268) expressions in cluster by are not working

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

Namit Jain commented on HIVE-3268:
----------------------------------

refresh
                
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>         Attachments: hive.3268.1.patch
>
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Updated] (HIVE-3268) expressions in cluster by are not working

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

Carl Steinbach updated HIVE-3268:
---------------------------------

    Status: Open  (was: Patch Available)

Please attach the latest version of this patch to the ticket.
                
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>         Attachments: hive.3268.1.patch
>
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Updated] (HIVE-3268) expressions in cluster by are not working

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

Namit Jain updated HIVE-3268:
-----------------------------

    Status: Patch Available  (was: Open)
    
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Updated] (HIVE-3268) expressions in cluster by are not working

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

Namit Jain updated HIVE-3268:
-----------------------------

    Status: Patch Available  (was: Open)
    
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Assigned] (HIVE-3268) expressions in cluster by are not working

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

Namit Jain reassigned HIVE-3268:
--------------------------------

    Assignee: Namit Jain
    
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Updated] (HIVE-3268) expressions in cluster by are not working

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

Namit Jain updated HIVE-3268:
-----------------------------

    Status: Patch Available  (was: Open)

comments addressed, latest patch attached
                
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>         Attachments: hive.3268.1.patch, hive.3268.2.patch
>
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Updated] (HIVE-3268) expressions in cluster by are not working

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

Namit Jain updated HIVE-3268:
-----------------------------

    Status: Open  (was: Patch Available)

Some tests failed - debugging
                
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Updated] (HIVE-3268) expressions in cluster by are not working

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

Namit Jain updated HIVE-3268:
-----------------------------

    Attachment: hive.3268.1.patch
    
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>         Attachments: hive.3268.1.patch
>
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Commented] (HIVE-3268) expressions in cluster by are not working

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

Kevin Wilfong commented on HIVE-3268:
-------------------------------------

+1
                
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>         Attachments: hive.3268.1.patch
>
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Commented] (HIVE-3268) expressions in cluster by are not working

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

Kevin Wilfong commented on HIVE-3268:
-------------------------------------

[~cwsteinbach] It's been a week without further comments.

I remain +1 on it.
                
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>         Attachments: hive.3268.1.patch, hive.3268.2.patch
>
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Commented] (HIVE-3268) expressions in cluster by are not working

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

Hudson commented on HIVE-3268:
------------------------------

Integrated in Hive-trunk-h0.21 #1611 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1611/])
    HIVE-3268. expressions in cluster by are not working. (njain via kevinwilfong) (Revision 1373918)

     Result = SUCCESS
kevinwilfong : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1373918
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/QBParseInfo.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
* /hive/trunk/ql/src/test/queries/clientnegative/expr_clusterby1.q
* /hive/trunk/ql/src/test/queries/clientnegative/expr_distributeby1.q
* /hive/trunk/ql/src/test/queries/clientnegative/expr_distributeby_sortby_1.q
* /hive/trunk/ql/src/test/queries/clientnegative/expr_orderby1.q
* /hive/trunk/ql/src/test/queries/clientnegative/expr_sortby1.q
* /hive/trunk/ql/src/test/results/clientnegative/expr_clusterby1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/expr_distributeby1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/expr_distributeby_sortby_1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/expr_orderby1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/expr_sortby1.q.out

                
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>             Fix For: 0.10.0
>
>         Attachments: hive.3268.1.patch, hive.3268.2.patch
>
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Commented] (HIVE-3268) expressions in cluster by are not working

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

Namit Jain commented on HIVE-3268:
----------------------------------

Currently, we get a random error.
It would be much nicer to throw a good semantic error instead.
                
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Updated] (HIVE-3268) expressions in cluster by are not working

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

Carl Steinbach updated HIVE-3268:
---------------------------------

    Component/s: Query Processor
    
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>             Fix For: 0.10.0
>
>         Attachments: hive.3268.1.patch, hive.3268.2.patch
>
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Commented] (HIVE-3268) expressions in cluster by are not working

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

Hudson commented on HIVE-3268:
------------------------------

Integrated in Hive-trunk-h0.21 #1737 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1737/])
    HIVE-3573. Revert HIVE-3268. (njain via kevinwilfong) (Revision 1397994)

     Result = FAILURE
kevinwilfong : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1397994
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/QBParseInfo.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
* /hive/trunk/ql/src/test/queries/clientnegative/expr_clusterby1.q
* /hive/trunk/ql/src/test/queries/clientnegative/expr_distributeby1.q
* /hive/trunk/ql/src/test/queries/clientnegative/expr_distributeby_sortby_1.q
* /hive/trunk/ql/src/test/queries/clientnegative/expr_orderby1.q
* /hive/trunk/ql/src/test/queries/clientnegative/expr_sortby1.q
* /hive/trunk/ql/src/test/results/clientnegative/expr_clusterby1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/expr_distributeby1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/expr_distributeby_sortby_1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/expr_orderby1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/expr_sortby1.q.out

                
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>             Fix For: 0.10.0
>
>         Attachments: hive.3268.1.patch, hive.3268.2.patch
>
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

--
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] [Updated] (HIVE-3268) expressions in cluster by are not working

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

Namit Jain updated HIVE-3268:
-----------------------------

    Attachment: hive.3268.2.patch
    
> expressions in cluster by are not working
> -----------------------------------------
>
>                 Key: HIVE-3268
>                 URL: https://issues.apache.org/jira/browse/HIVE-3268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>         Attachments: hive.3268.1.patch, hive.3268.2.patch
>
>
> The following query fails:
> select key+key, value from src cluster by key+key, value;

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