Return-Path: Delivered-To: apmail-avro-dev-archive@www.apache.org Received: (qmail 48320 invoked from network); 17 Sep 2010 17:59:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Sep 2010 17:59:59 -0000 Received: (qmail 61073 invoked by uid 500); 17 Sep 2010 17:59:58 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 60565 invoked by uid 500); 17 Sep 2010 17:59:57 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 60493 invoked by uid 99); 17 Sep 2010 17:59:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 17:59:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 17:59:57 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8HHxbxT017209 for ; Fri, 17 Sep 2010 17:59:37 GMT Message-ID: <1023406.256121284746377184.JavaMail.jira@thor> Date: Fri, 17 Sep 2010 13:59:37 -0400 (EDT) From: "Ron Bodkin (JIRA)" To: dev@avro.apache.org Subject: [jira] Updated: (AVRO-670) Allow DataFileWriteTool to accept schema files as input In-Reply-To: <29308070.255971284746197647.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ron Bodkin updated AVRO-670: ---------------------------- Description: For non-trivial schemas, it's difficult to pass them inline as a command line argument. I made a patch to use two different arguments: instead of having the first argument be the schema you would now use -schema-file file or -schema schema and then have one other argument (the input JSON file) was: For non-trivial schemas, it's difficult to pass them inline as a command line argument. I made a patch to use two different arguments: instead of having the first argument be the schema you would now use --schema-file file or --schema schema and then have one other argument (the input JSON file) > Allow DataFileWriteTool to accept schema files as input > ------------------------------------------------------- > > Key: AVRO-670 > URL: https://issues.apache.org/jira/browse/AVRO-670 > Project: Avro > Issue Type: Improvement > Reporter: Ron Bodkin > Fix For: 1.5.0 > > Attachments: datafilewritefile.patch > > > For non-trivial schemas, it's difficult to pass them inline as a command line argument. I made a patch to use two different arguments: instead of having the first argument be the schema you would now use -schema-file file or -schema schema and then have one other argument (the input JSON file) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.