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 0319090D7 for ; Tue, 17 Jan 2012 02:51:53 +0000 (UTC) Received: (qmail 87909 invoked by uid 500); 17 Jan 2012 02:51:51 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 87559 invoked by uid 500); 17 Jan 2012 02:51:45 -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 87551 invoked by uid 99); 17 Jan 2012 02:51:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2012 02:51:43 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [122.98.14.32] (HELO kecgate02.infosys.com) (122.98.14.32) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2012 02:51:36 +0000 X-TM-IMSS-Message-ID: <1d3edaf2000432b7@infosys.com> Received: from blrkechub04.ad.infosys.com ([10.66.236.44]) by infosys.com ([122.98.14.32]) with ESMTP (TREND IMSS SMTP Service 7.1) id 1d3edaf2000432b7 ; Tue, 17 Jan 2012 08:18:57 +0530 Received: from BLRKECHUB05.ad.infosys.com (10.66.236.45) by blrkechub04.ad.infosys.com (10.66.236.44) with Microsoft SMTP Server (TLS) id 8.2.176.0; Tue, 17 Jan 2012 08:21:13 +0530 Received: from BLRKECMBX08.ad.infosys.com ([10.66.236.81]) by BLRKECHUB05.ad.infosys.com ([10.66.236.45]) with mapi; Tue, 17 Jan 2012 08:21:13 +0530 From: Krishnan Krishnamoorthy To: "user@hive.apache.org" CC: "kkrishnan88@gmail.com" Date: Tue, 17 Jan 2012 08:21:12 +0530 Subject: FW: Hive_Datatypes_Complex Thread-Topic: Hive_Datatypes_Complex Thread-Index: AczUwprK1R2NMyrsQ66sSl17c80/XgAADy2w Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_A89BEF41E94FCA4CA9DF6418EFFA2604047772293BBLRKECMBX08ad_" MIME-Version: 1.0 --_000_A89BEF41E94FCA4CA9DF6418EFFA2604047772293BBLRKECMBX08ad_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I've been trying to find out how to create data files for input into tabl= es having the following descriptions : * CREATE TABLE complex_array ( col1 ARRAY); * CREATE TABLE complex_map ( col2 MAP); * CREATE TABLE complex_struct ( col3 STRUCT); I'd be really grateful if anyone could create sample data files (having a= t least 2-3rows) for each of the tables so that I can load them into thes= e tables. Thanks and Regards, Krishnan K Infosys Limited | Bangalore | India Direct : +91 80 39137352 | Extn: 51693 | Mobile: +91 7411822886 **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended sol= ely for the use of the addressee(s). If you are not the intended recipient, p= lease notify the sender by e-mail and delete the original message. Further, you= are not to copy, disclose, or distribute this e-mail or its contents to any other= person and any such actions are unlawful. This e-mail may contain viruses. Infosys h= as taken every reasonable precaution to minimize this risk, but is not liable for = any damage you may sustain as a result of any virus in this e-mail. You should carry= out your own virus checks before opening the e-mail or attachment. Infosys reserve= s the right to monitor and review the content of all messages sent to or from t= his e-mail address. Messages sent to or from this e-mail address may be stored on th= e Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** --_000_A89BEF41E94FCA4CA9DF6418EFFA2604047772293BBLRKECMBX08ad_ Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

 <= /o:p>

 

H= i,

 

I’ve been trying to find out how to create data files for input into tables having the following descriptions :

=

 

·         = CREATE TABLE complex_array (

col1= ARRAY<INT>);

 

·   = ;      CREATE TAB= LE complex_map (

col2 MAP<STRING, INT>);

 

·         CREATE TABLE complex_struct (

col3 STR= UCT<a:STRING, b:INT, c:DOUBLE>);

 

 

I’d be really gratefu= l if anyone could create sample data files (having at least 2-3rows) for = each of the tables so that I can load them into these tables.<= /p>

 =

 

Thanks and Regards,

<= p class=3DMsoNormal>Krishnan K

Infosys Limited | = Bangalore | India  

Direct : +91 80 39137352 = | Extn: 51693 | Mobile: +91 7411822886<= /span>

 

=
*************=
*** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended sol=
ely 
for the use of the addressee(s). If you are not the intended recipient, p=
lease 
notify the sender by e-mail and delete the original message. Further, you=
 are not 
to copy, disclose, or distribute this e-mail or its contents to any other=
 person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys h=
as taken 
every reasonable precaution to minimize this risk, but is not liable for =
any damage 
you may sustain as a result of any virus in this e-mail. You should carry=
 out your 
own virus checks before opening the e-mail or attachment. Infosys reserve=
s the 
right to monitor and review the content of all messages sent to or from t=
his e-mail 
address. Messages sent to or from this e-mail address may be stored on th=
e 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
--_000_A89BEF41E94FCA4CA9DF6418EFFA2604047772293BBLRKECMBX08ad_--