Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 97183 invoked from network); 1 Jul 2009 21:59:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jul 2009 21:59:59 -0000 Received: (qmail 60745 invoked by uid 500); 1 Jul 2009 22:00:09 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 60704 invoked by uid 500); 1 Jul 2009 22:00:09 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 60694 invoked by uid 99); 1 Jul 2009 22:00:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 22:00:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 22:00:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 91844234C004 for ; Wed, 1 Jul 2009 14:59:47 -0700 (PDT) Message-ID: <1030657589.1246485587581.JavaMail.jira@brutus> Date: Wed, 1 Jul 2009 14:59:47 -0700 (PDT) From: "Namit Jain (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-590) Pass type information in genFileSinkPlan In-Reply-To: <941239155.1246303607172.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain updated HIVE-590: ---------------------------- Attachment: hive.590.1.patch > Pass type information in genFileSinkPlan > ---------------------------------------- > > Key: HIVE-590 > URL: https://issues.apache.org/jira/browse/HIVE-590 > Project: Hadoop Hive > Issue Type: Bug > Components: Query Processor > Reporter: Raghotham Murthy > Assignee: Namit Jain > Attachments: hive.590.1.patch > > > Right now only column names are being passed between semanticanalyzer and fetchtask. Once type information is passed, we can use LazySerDe to serialize the data (into json) in Driver.getResults(). > Driver.getSchema() should then return a new thrift type ResultSchema instead of String: > {code} > struct ResultSchema { > // column names, types, comments > 1: list fieldSchemas, > // delimiters etc > 2: map properties > } > {code} > Once this is done, the jdbc client can instantiate a simplified serde from the ResultSchema and parse the query results. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.