Return-Path: X-Original-To: apmail-avro-user-archive@www.apache.org Delivered-To: apmail-avro-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 5155F10242 for ; Tue, 25 Jun 2013 22:13:17 +0000 (UTC) Received: (qmail 21321 invoked by uid 500); 25 Jun 2013 22:13:17 -0000 Delivered-To: apmail-avro-user-archive@avro.apache.org Received: (qmail 21154 invoked by uid 500); 25 Jun 2013 22:13:16 -0000 Mailing-List: contact user-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@avro.apache.org Delivered-To: mailing list user@avro.apache.org Received: (qmail 21140 invoked by uid 99); 25 Jun 2013 22:13:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2013 22:13:16 +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 mason@verbasoftware.com designates 209.85.160.42 as permitted sender) Received: from [209.85.160.42] (HELO mail-pb0-f42.google.com) (209.85.160.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2013 22:13:08 +0000 Received: by mail-pb0-f42.google.com with SMTP id un1so13292024pbc.15 for ; Tue, 25 Jun 2013 15:12:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=s3zBBYUMc2ha6qjkzqYstHNVnScXvbY62Wi5+iexmWQ=; b=AfHJsn6WhXTkAD3UZ7dIJ150b8uANikSwa2L26nxIknLCDr8wFbORMfFajLHnuauO1 wbwbPUkLSLt7AJCK2nsUp+A3a4mmTZkXKBFVc3gAOHWUWOndEgYXAxH0wBgGF4CQhJM6 W18bHAQdPOq9sMJ+87rio0Wl0t3usrNimKeu1CJAVqTi6rJTwDZqKD9SyeNMTEhkzBbL FvKg/ONGsyhadd7kUPqFXyf/U4Gnqx7e+6/k1HECFBmgPfB4fFzwtnmDcNpR9CA1pDHI vAUufNo8icWM5VxlIiH6E529JG4yjwhIQS/4ZIbsSBxyQ0G0bitvctZTc12KFQaD+2DS RiWQ== X-Received: by 10.68.232.225 with SMTP id tr1mr1011567pbc.143.1372198366458; Tue, 25 Jun 2013 15:12:46 -0700 (PDT) Received: from Masons-Mac-mini.local (verbasoftware.564Market.monkeybrains.net. [208.90.213.211]) by mx.google.com with ESMTPSA id b4sm22303156pbm.6.2013.06.25.15.12.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Jun 2013 15:12:45 -0700 (PDT) Sender: Mason Message-ID: <51CA15DC.5090108@verbasoftware.com> Date: Tue, 25 Jun 2013 15:12:44 -0700 From: Mason User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: user@avro.apache.org Subject: Re: Avro Schema to SQL References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQn+OSLnngB262qfI9K2k1eN5RnwWScJ0HvAltd/c1V0cv3hdg73qlh8K6dYsbkS/fxEhnHy X-Virus-Checked: Checked by ClamAV on apache.org Might be worth looking at Sqoop's source. On 6/19/13 02:31 AM, Avinash Dongre wrote: > Is there know tool/framework available to convert Avro Schema into SQL. > If now , How Do i iterate over the schema to find out what records, > enums are there. I can think of how to achieve this with simple > Schema, but I am not able to figure out a way for nested schemas. > > > > Thanks > Avinash >