Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1D227200C2B for ; Thu, 2 Mar 2017 13:24:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1BA89160B7A; Thu, 2 Mar 2017 12:24:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 62473160B61 for ; Thu, 2 Mar 2017 13:24:49 +0100 (CET) Received: (qmail 75626 invoked by uid 500); 2 Mar 2017 12:24:48 -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 75613 invoked by uid 99); 2 Mar 2017 12:24:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2017 12:24:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DABB6C09CD for ; Thu, 2 Mar 2017 12:24:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 1YwB2817ZClY for ; Thu, 2 Mar 2017 12:24:47 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 043ED5FDEA for ; Thu, 2 Mar 2017 12:24:47 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 521DAE0652 for ; Thu, 2 Mar 2017 12:24:46 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6F26124160 for ; Thu, 2 Mar 2017 12:24:45 +0000 (UTC) Date: Thu, 2 Mar 2017 12:24:45 +0000 (UTC) From: "Anders Sundelin (JIRA)" To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (AVRO-1933) SchemaCompatibility class could be more user-friendly about incompatibilities MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 02 Mar 2017 12:24:50 -0000 [ https://issues.apache.org/jira/browse/AVRO-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin reassigned AVRO-1933: ------------------------------------- Assignee: (was: Anders Sundelin) > SchemaCompatibility class could be more user-friendly about incompatibilities > ----------------------------------------------------------------------------- > > Key: AVRO-1933 > URL: https://issues.apache.org/jira/browse/AVRO-1933 > Project: Avro > Issue Type: Improvement > Components: java > Affects Versions: 1.7.7, 1.8.1 > Environment: Any Java env > Reporter: Anders Sundelin > Priority: Minor > Fix For: 1.9.0 > > Attachments: AVRO-1933-compatible-with-AVRO-1931.patch, AVRO-1933.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > Today, the class SchemaCompatibility reports incompatibilities with quite little detail. The whole reader and the whole writer schema is listed, and no particular detail about what was incompatible. > The attached patch fixes this, introducing a new enum (SchemaIncompatibilityType), and more specific sub-schemas that were incompatible. > The old, overall picture, is still there - the new compatibility state is encapsulated in the SchemaCompatibilityDetails class. > Lots of test cases have been added, and there has been refactoring done in the TestSchemaCompatibility and other test classes. -- This message was sent by Atlassian JIRA (v6.3.15#6346)