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 7335310E25 for ; Thu, 25 Apr 2013 13:27:19 +0000 (UTC) Received: (qmail 87895 invoked by uid 500); 25 Apr 2013 13:27:19 -0000 Delivered-To: apmail-avro-user-archive@avro.apache.org Received: (qmail 87783 invoked by uid 500); 25 Apr 2013 13:27:18 -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 87762 invoked by uid 99); 25 Apr 2013 13:27:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Apr 2013 13:27:17 +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 (athena.apache.org: domain of jcoveney@gmail.com designates 209.85.216.53 as permitted sender) Received: from [209.85.216.53] (HELO mail-qa0-f53.google.com) (209.85.216.53) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Apr 2013 13:27:12 +0000 Received: by mail-qa0-f53.google.com with SMTP id p6so846869qad.5 for ; Thu, 25 Apr 2013 06:26:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=fZLsM5rZH5DzkXeczMOKUhd3BDnoikBL4i+5tmomuAY=; b=LT30x4Q3ZB7XXL2eLrwOILngh1AIkhO/9umS4ZoV66URz1yTdR3NqblccdgZMfwXba X+ADU+pv6mmZzhdYkBF9VbN0ZcI6otH/o4lqTxj6g9e45ewQc+zATo/AwM/MGHZ8zpdS VSI7mVsSAqEK8rwifsbwSekiplKKYWc3emA+Gl9cxOYRr1tjdyVaNwgVvq6yoJSNlIic 4mnasJLzKhRpPdamL2U4Zxz6HUJpIMBNhhg9nJ8J/R0hdzgq1W9xufA3wjlXcRlwwo+8 DcJwcMHpcepTQNYyUG3ODsnhdwnAl/Gcr3o92moYAMeCQTog7NN9fSLI4PMw3NMpTfb+ vYsw== MIME-Version: 1.0 X-Received: by 10.224.25.134 with SMTP id z6mr12025363qab.55.1366896411977; Thu, 25 Apr 2013 06:26:51 -0700 (PDT) Received: by 10.49.17.135 with HTTP; Thu, 25 Apr 2013 06:26:51 -0700 (PDT) Date: Thu, 25 Apr 2013 15:26:51 +0200 Message-ID: Subject: Issue with a union with bytes and DataFileReader? From: Jonathan Coveney To: user@avro.apache.org Content-Type: multipart/alternative; boundary=047d7bf0e91014ad1e04db2f5f19 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bf0e91014ad1e04db2f5f19 Content-Type: text/plain; charset=UTF-8 This should replicate the issue on 1.7.4: https://gist.github.com/jcoveney/5459644 Basically, when using DataFileReader to read a union of bytes, it's outputting in the form of {"bytes": ""}, which it doesn't do for any other union types. Is this expected? Is this a bug? I appreciate your help, Jon --047d7bf0e91014ad1e04db2f5f19 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This should replicate the issue on 1.7.4: https://gist.github.com/jcoveney/= 5459644

Basically, when using DataFileReader to read a uni= on of bytes, it's outputting in the form of {"bytes": "&= lt;thebytes>"}, which it doesn't do for any other union types.<= br>
Is this expected? Is this a bug?

I appreciate your help,
Jon<= br>
--047d7bf0e91014ad1e04db2f5f19--