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 1169A1130A for ; Tue, 22 Jul 2014 19:23:20 +0000 (UTC) Received: (qmail 31591 invoked by uid 500); 22 Jul 2014 19:23:14 -0000 Delivered-To: apmail-avro-user-archive@avro.apache.org Received: (qmail 31509 invoked by uid 500); 22 Jul 2014 19:23:14 -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 31499 invoked by uid 99); 22 Jul 2014 19:23:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 19:23:14 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lewis.mcgibbney@gmail.com designates 209.85.192.51 as permitted sender) Received: from [209.85.192.51] (HELO mail-qg0-f51.google.com) (209.85.192.51) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 19:23:12 +0000 Received: by mail-qg0-f51.google.com with SMTP id a108so147729qge.24 for ; Tue, 22 Jul 2014 12:22:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uepwKShE6J4wcDgQ351BlsYnGdXjY9UuXoIS+fEKBFw=; b=ZdXGtisEJPkj2NPWt4GCp+cJd9XWAeQuimUupoUX2zDnKiWjMpX6+sDt6ROnofyyfk ucYNn8JHaP2zlZvcIPTjIa99zpPDzqWAsnPml/gex1fzWFk7sTi/ow50tdvUTNvBo+Af /TKMGRAA7SeGNcBGTrqn7ZGJ3p5xI4yrUbNU6HWJeVkeTrHtnMtaDUJp8FnlBEFD/uYS ffHXXp2OTxH2+dJ7e9CGImhSarlOkjjFgXJUqcaimym8v07/fzZlAi2EL3FsCPV78LTb Gz6JFGUT0XzRo6f5lUzc3TtxDQTdjsoCaitClzxgWaPccRj/NBN9YhcH51QvYDo7T93D Dwvw== MIME-Version: 1.0 X-Received: by 10.224.134.201 with SMTP id k9mr59334712qat.59.1406056967246; Tue, 22 Jul 2014 12:22:47 -0700 (PDT) Received: by 10.96.22.168 with HTTP; Tue, 22 Jul 2014 12:22:47 -0700 (PDT) In-Reply-To: References: Date: Tue, 22 Jul 2014 12:22:47 -0700 Message-ID: Subject: Re: How to deserialize avro file with union/many schemas? From: Lewis John Mcgibbney To: user@avro.apache.org Content-Type: multipart/alternative; boundary=047d7b5d25a8112f8904fecd2663 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b5d25a8112f8904fecd2663 Content-Type: text/plain; charset=UTF-8 For the purpose of others on this list, can ytou please provide an example of your schema? Thanks Lewis On Tue, Jul 22, 2014 at 12:06 PM, Echo Li wrote: > Hello, > > I'm new here, hope I can get help from you guys. Basically I have an avro > file with union/many schemas and mixed records. I will need to split it to > many avro file, one schema per file. All the stuff I've been reading is > about serializing and deserializing avro file with one schema, which is > pretty straightforward, but in my case I have no clue, any ideas? > -- *Lewis* --047d7b5d25a8112f8904fecd2663 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
For the purpose of others on this list, can ytou plea= se provide an example of your schema?
Thanks
Lewis


On Tue, Jul 22, = 2014 at 12:06 PM, Echo Li <echolql@gmail.com> wrote:
Hello,

I&= #39;m new here, hope I can get help from you guys. Basically I have an avro= file with union/many schemas and mixed records. I will need to split it to= many avro file, one schema per file. All the stuff I've been reading i= s about serializing and deserializing avro file with one schema, which is p= retty straightforward, but in my case I have no clue, any ideas?



--
Lewis
--047d7b5d25a8112f8904fecd2663--