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 78BB69223 for ; Tue, 12 Jun 2012 20:17:43 +0000 (UTC) Received: (qmail 71611 invoked by uid 500); 12 Jun 2012 20:17:43 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 71571 invoked by uid 500); 12 Jun 2012 20:17:43 -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 71558 invoked by uid 500); 12 Jun 2012 20:17:43 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 71555 invoked by uid 99); 12 Jun 2012 20:17:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 20:17:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id DCB71141663 for ; Tue, 12 Jun 2012 20:17:42 +0000 (UTC) Date: Tue, 12 Jun 2012 20:17:42 +0000 (UTC) From: "Edward Capriolo (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1430884876.9133.1339532262907.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1572255538.55220.1339202493839.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HIVE-3107) More semantic analysis errors 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-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293892#comment-13293892 ] Edward Capriolo commented on HIVE-3107: --------------------------------------- "By design" I mean to say that it has always been that way. We have unit tests and as far as I know we have had no regressions. If we want semantic analysis to be easier or more intelligent it is a "feature request" not an "error". > More semantic analysis errors > ----------------------------- > > Key: HIVE-3107 > URL: https://issues.apache.org/jira/browse/HIVE-3107 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.9.0 > Reporter: Richard Ding > > This is related to HIVE-1922. > Following queries all fail with various SemanticExceptions: > {code} > explain select t.c from t group by c; > explain select t.c from t group by c sort by t.c; > explain select t.c as c0 from t group by c0; > explain select t.c from t group by t.c sort by t.c; > {code} > It is true that one could always find a version of any of above queries that works. But one has to try to find out and it doesn't work well with machine generated SQL queries. -- 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