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 1ADB8E6FA for ; Thu, 28 Feb 2013 11:17:15 +0000 (UTC) Received: (qmail 12720 invoked by uid 500); 28 Feb 2013 11:17:15 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 12092 invoked by uid 500); 28 Feb 2013 11:17:14 -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 12058 invoked by uid 500); 28 Feb 2013 11:17:13 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 12055 invoked by uid 99); 28 Feb 2013 11:17:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 11:17:13 +0000 Date: Thu, 28 Feb 2013 11:17:13 +0000 (UTC) From: "Phabricator (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-3490) Implement * or a.* for arguments to UDFs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-3490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13589447#comment-13589447 ] Phabricator commented on HIVE-3490: ----------------------------------- njain has commented on the revision "HIVE-3490 [jira] Implement * or a.* for arguments to UDFs". code changes look good INLINE COMMENTS ql/src/test/queries/clientpositive/allcolref_in_udf.q:4 can you add limit 10 to reduce the output ql/src/test/queries/clientpositive/allcolref_in_udf.q:8 what are the columns of concat(*) - is it a.* followed by b.* Can you add comments ql/src/test/queries/clientpositive/allcolref_in_udf.q:9 again, add a limit at the end REVISION DETAIL https://reviews.facebook.net/D8889 To: JIRA, navis Cc: njain > Implement * or a.* for arguments to UDFs > ---------------------------------------- > > Key: HIVE-3490 > URL: https://issues.apache.org/jira/browse/HIVE-3490 > Project: Hive > Issue Type: Bug > Components: Query Processor, UDF > Reporter: Adam Kramer > Assignee: Navis > Attachments: HIVE-3490.D8889.1.patch > > > For a random UDF, we should be able to use * or a.* to refer to "all of the columns in their natural order." This is not currently implemented. > I'm reporting this as a bug because it is a manner in which Hive is inconsistent with the SQL spec, and because Hive claims to implement *. > hive> select all_non_null(a.*) from table a where a.ds='2012-09-01'; > FAILED: ParseException line 1:25 mismatched input '*' expecting Identifier near '.' in expression specification -- 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