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 F08D7100FB for ; Thu, 15 Aug 2013 05:11:54 +0000 (UTC) Received: (qmail 21192 invoked by uid 500); 15 Aug 2013 05:11:54 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 20450 invoked by uid 500); 15 Aug 2013 05:11:51 -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 20389 invoked by uid 500); 15 Aug 2013 05:11:50 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 20376 invoked by uid 99); 15 Aug 2013 05:11:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Aug 2013 05:11:49 +0000 Date: Thu, 15 Aug 2013 05:11:49 +0000 (UTC) From: "Hudson (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-2608) Do not require AS a,b,c part in LATERAL VIEW 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-2608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13740684#comment-13740684 ] Hudson commented on HIVE-2608: ------------------------------ FAILURE: Integrated in Hive-trunk-hadoop2 #361 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/361/]) Hive-2608 Do not require AS a,b,c part in LATERAL VIEW (Navis Ryu via egc) Submitted by: Navis Ryu Reviewed by: Edward Capriolo (ecapriolo: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1514119) * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/FromClauseParser.g * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java * /hive/trunk/ql/src/test/queries/clientnegative/udtf_not_supported2.q * /hive/trunk/ql/src/test/queries/clientpositive/lateral_view_noalias.q * /hive/trunk/ql/src/test/results/clientnegative/lateral_view_join.q.out * /hive/trunk/ql/src/test/results/clientnegative/udtf_not_supported2.q.out * /hive/trunk/ql/src/test/results/clientpositive/lateral_view_noalias.q.out > Do not require AS a,b,c part in LATERAL VIEW > -------------------------------------------- > > Key: HIVE-2608 > URL: https://issues.apache.org/jira/browse/HIVE-2608 > Project: Hive > Issue Type: Improvement > Components: Query Processor, UDF > Reporter: Igor Kabiljo > Assignee: Navis > Priority: Minor > Fix For: 0.12.0 > > Attachments: HIVE-2608.8.patch.txt, HIVE-2608.D4317.5.patch, HIVE-2608.D4317.6.patch, HIVE-2608.D4317.7.patch, HIVE-2608.D4317.8.patch > > > Currently, it is required to state column names when LATERAL VIEW is used. > That shouldn't be necessary, since UDTF returns struct which contains column names - and they should be used by default. > For example, it would be great if this was possible: > SELECT t.*, t.key1 + t.key4 > FROM some_table > LATERAL VIEW JSON_TUPLE(json, 'key1', 'key2', 'key3', 'key3') t; -- 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