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 EBA1B4E6C for ; Tue, 5 Jul 2011 19:33:38 +0000 (UTC) Received: (qmail 20705 invoked by uid 500); 5 Jul 2011 19:33:38 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 20662 invoked by uid 500); 5 Jul 2011 19:33:38 -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 20654 invoked by uid 500); 5 Jul 2011 19:33:38 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 20651 invoked by uid 99); 5 Jul 2011 19:33:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 19:33:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 19:33:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A2A294499B for ; Tue, 5 Jul 2011 19:33:16 +0000 (UTC) Date: Tue, 5 Jul 2011 19:33:16 +0000 (UTC) From: "Sohan Jain (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <665844924.1529.1309894396662.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <604773191.1524.1309894156580.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (HIVE-2256) Better error message in CLI on invalid column name 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-2256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sohan Jain reassigned HIVE-2256: -------------------------------- Assignee: Sohan Jain > Better error message in CLI on invalid column name > -------------------------------------------------- > > Key: HIVE-2256 > URL: https://issues.apache.org/jira/browse/HIVE-2256 > Project: Hive > Issue Type: Improvement > Components: CLI, Query Processor > Reporter: Sohan Jain > Assignee: Sohan Jain > Attachments: HIVE-2256.1.patch > > > In the CLI, if a user inputs an incorrect column name, we currently just print the bad column name in the query. Typically, the user needs to "describe" the table to figure out the correct column. > This patch prints out a list of valid column and partition names in the table when a user inputs an incorrect column name. > e.g., > {{Error in semantic analysis: Invalid table alias or column reference 'col_does_not_exist' (possible column names are: col1, col2)}} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira