Hive
  1. Hive
  2. HIVE-3267

escaped columns in cluster/distribute/order/sort by are not working

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Query Processor
    • Labels:
      None

      Description

      The following query:

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

      fails

        Activity

        Show
        Namit Jain added a comment - https://reviews.facebook.net/D4203
        Hide
        Kevin Wilfong added a comment -

        +1 Running tests

        Show
        Kevin Wilfong added a comment - +1 Running tests
        Hide
        Kevin Wilfong added a comment -

        Committed, thanks Namit.

        Show
        Kevin Wilfong added a comment - Committed, thanks Namit.
        Hide
        Hudson added a comment -

        Integrated in Hive-trunk-h0.21 #1554 (See https://builds.apache.org/job/Hive-trunk-h0.21/1554/)
        HIVE-3267. escaped columns in cluster/distribute/order/sort by are not working. (njain via kevinwilfong) (Revision 1363610)

        Result = SUCCESS
        kevinwilfong : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1363610
        Files :

        • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/RowResolver.java
        • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
        • /hive/trunk/ql/src/test/queries/clientpositive/escape_clusterby1.q
        • /hive/trunk/ql/src/test/queries/clientpositive/escape_distributeby1.q
        • /hive/trunk/ql/src/test/queries/clientpositive/escape_orderby1.q
        • /hive/trunk/ql/src/test/queries/clientpositive/escape_sortby1.q
        • /hive/trunk/ql/src/test/results/clientpositive/escape_clusterby1.q.out
        • /hive/trunk/ql/src/test/results/clientpositive/escape_distributeby1.q.out
        • /hive/trunk/ql/src/test/results/clientpositive/escape_orderby1.q.out
        • /hive/trunk/ql/src/test/results/clientpositive/escape_sortby1.q.out
        Show
        Hudson added a comment - Integrated in Hive-trunk-h0.21 #1554 (See https://builds.apache.org/job/Hive-trunk-h0.21/1554/ ) HIVE-3267 . escaped columns in cluster/distribute/order/sort by are not working. (njain via kevinwilfong) (Revision 1363610) Result = SUCCESS kevinwilfong : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1363610 Files : /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/RowResolver.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java /hive/trunk/ql/src/test/queries/clientpositive/escape_clusterby1.q /hive/trunk/ql/src/test/queries/clientpositive/escape_distributeby1.q /hive/trunk/ql/src/test/queries/clientpositive/escape_orderby1.q /hive/trunk/ql/src/test/queries/clientpositive/escape_sortby1.q /hive/trunk/ql/src/test/results/clientpositive/escape_clusterby1.q.out /hive/trunk/ql/src/test/results/clientpositive/escape_distributeby1.q.out /hive/trunk/ql/src/test/results/clientpositive/escape_orderby1.q.out /hive/trunk/ql/src/test/results/clientpositive/escape_sortby1.q.out
        Hide
        Hudson added a comment -

        Integrated in Hive-trunk-hadoop2 #54 (See https://builds.apache.org/job/Hive-trunk-hadoop2/54/)
        HIVE-3267. escaped columns in cluster/distribute/order/sort by are not working. (njain via kevinwilfong) (Revision 1363610)

        Result = ABORTED
        kevinwilfong : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1363610
        Files :

        • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/RowResolver.java
        • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
        • /hive/trunk/ql/src/test/queries/clientpositive/escape_clusterby1.q
        • /hive/trunk/ql/src/test/queries/clientpositive/escape_distributeby1.q
        • /hive/trunk/ql/src/test/queries/clientpositive/escape_orderby1.q
        • /hive/trunk/ql/src/test/queries/clientpositive/escape_sortby1.q
        • /hive/trunk/ql/src/test/results/clientpositive/escape_clusterby1.q.out
        • /hive/trunk/ql/src/test/results/clientpositive/escape_distributeby1.q.out
        • /hive/trunk/ql/src/test/results/clientpositive/escape_orderby1.q.out
        • /hive/trunk/ql/src/test/results/clientpositive/escape_sortby1.q.out
        Show
        Hudson added a comment - Integrated in Hive-trunk-hadoop2 #54 (See https://builds.apache.org/job/Hive-trunk-hadoop2/54/ ) HIVE-3267 . escaped columns in cluster/distribute/order/sort by are not working. (njain via kevinwilfong) (Revision 1363610) Result = ABORTED kevinwilfong : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1363610 Files : /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/RowResolver.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java /hive/trunk/ql/src/test/queries/clientpositive/escape_clusterby1.q /hive/trunk/ql/src/test/queries/clientpositive/escape_distributeby1.q /hive/trunk/ql/src/test/queries/clientpositive/escape_orderby1.q /hive/trunk/ql/src/test/queries/clientpositive/escape_sortby1.q /hive/trunk/ql/src/test/results/clientpositive/escape_clusterby1.q.out /hive/trunk/ql/src/test/results/clientpositive/escape_distributeby1.q.out /hive/trunk/ql/src/test/results/clientpositive/escape_orderby1.q.out /hive/trunk/ql/src/test/results/clientpositive/escape_sortby1.q.out
        Hide
        Ashutosh Chauhan added a comment -

        This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.

        Show
        Ashutosh Chauhan added a comment - This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.

          People

          • Assignee:
            Namit Jain
            Reporter:
            Namit Jain
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development