Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5237A175E4 for ; Tue, 7 Oct 2014 22:40:34 +0000 (UTC) Received: (qmail 25677 invoked by uid 500); 7 Oct 2014 22:40:33 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 25610 invoked by uid 500); 7 Oct 2014 22:40:33 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 25595 invoked by uid 500); 7 Oct 2014 22:40:33 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 25592 invoked by uid 99); 7 Oct 2014 22:40:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2014 22:40:33 +0000 Date: Tue, 7 Oct 2014 22:40:33 +0000 (UTC) From: "John Scheibmeir (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-8388) Support GROUP/ORDER BY column references by ordinal position MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 John Scheibmeir created HIVE-8388: ------------------------------------- Summary: Support GROUP/ORDER BY column references by ordinal position Key: HIVE-8388 URL: https://issues.apache.org/jira/browse/HIVE-8388 Project: Hive Issue Type: Improvement Components: SQL Reporter: John Scheibmeir Priority: Minor Allow user to reference the group by or order by column by the desired column's ordinal position Support syntax such as: select t.col1, sum(t.col2) from my_table t group by 1 order by 1 -- This message was sent by Atlassian JIRA (v6.3.4#6332)