Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E129868 for ; Tue, 3 May 2011 14:46:30 +0000 (UTC) Received: (qmail 19963 invoked by uid 500); 3 May 2011 14:46:29 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 19902 invoked by uid 500); 3 May 2011 14:46:29 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 19894 invoked by uid 99); 3 May 2011 14:46:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 14:46:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of matthew@foursquare.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vx0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 14:46:21 +0000 Received: by vxa37 with SMTP id 37so178661vxa.35 for ; Tue, 03 May 2011 07:46:00 -0700 (PDT) Received: by 10.52.174.46 with SMTP id bp14mr105444vdc.170.1304433960058; Tue, 03 May 2011 07:46:00 -0700 (PDT) Received: from Matthew-Rathbones-MacBook-Pro-2.local (pool.foursquare.com [74.113.162.58]) by mx.google.com with ESMTPS id n13sm29340vcr.17.2011.05.03.07.45.58 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 May 2011 07:45:59 -0700 (PDT) Date: Tue, 3 May 2011 10:45:58 -0400 From: Matthew Rathbone To: user@hive.apache.org Message-ID: In-Reply-To: References: Subject: Re: Export data with column names X-Mailer: sparrow 1.1.2 (build 688.7) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org If you use the thrift client you can call connection.getSchema() -- Matthew Rathbone Foursquare | Software Engineer | Server Engineering Team matthew@foursquare.com | @rathboma | 4sq On Monday, May 2, 2011 at 11:12 PM, Raghunath, Ranjith wrote: Does anyone know how to export data out with column names? Any help here is appreciated. > > Thanks, > Ranjith >