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 6D5A9200C52 for ; Mon, 10 Apr 2017 09:29:30 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6A628160B99; Mon, 10 Apr 2017 07:29:30 +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 B115E160B85 for ; Mon, 10 Apr 2017 09:29:29 +0200 (CEST) Received: (qmail 48317 invoked by uid 500); 10 Apr 2017 07:29:27 -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 48295 invoked by uid 99); 10 Apr 2017 07:29:25 -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; Mon, 10 Apr 2017 07:29:25 +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 AD046C8704 for ; Mon, 10 Apr 2017 07:28:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.479 X-Spam-Level: X-Spam-Status: No, score=0.479 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=allegrogroup-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id sbx4a352ivkk for ; Mon, 10 Apr 2017 07:28:52 +0000 (UTC) Received: from mail-lf0-f46.google.com (mail-lf0-f46.google.com [209.85.215.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D0CC260DB2 for ; Mon, 10 Apr 2017 07:28:51 +0000 (UTC) Received: by mail-lf0-f46.google.com with SMTP id s141so30270002lfe.3 for ; Mon, 10 Apr 2017 00:28:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allegrogroup-com.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=7QL4XM9yCL3mGFZDEezbhD3xnxu5Af0C/YaQkKEWUWU=; b=Lgp8zT16njrlshAyFQSDwr6TUzwpXvSN/zMnomKyT7eIosVorcdrSPo/04pZDPayLd OA6wevFV1Xfqsipdbz9QfVhTRWhDUXbBl6/tqEqWo8bjbJ77cvn+8efZZ7tdFpS2dPIQ 1FlBE+RrAncuKPf8uDO7blB329c8xWdRDlrFakRhOOiLN4XNhjwpDs0snbIMNICOCPv8 l7b4Lv0K8GkbJe45qo5mV++j7JVCKIwmelVfrw75PT7P8k2jv2+WCBfUKrPN/+dcr0Em /YVa/ApOpfPgGCzjA7L6fdxX5xNTLsvLyoT5oONJyaQ3BNda7bGhBz2/XdZXrVGpGY35 D7Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=7QL4XM9yCL3mGFZDEezbhD3xnxu5Af0C/YaQkKEWUWU=; b=CKaMWx52yi/D9P43lzmXNxgKHE+DXHyI4v21pRXzl8Wj0A8AF141AN4LEu3QuJlgFG fiFoGbG7oe+AIjOdShelFv/SaC5vwlM5k/1XIfmmBiUriziVIlNxLJkiS9zqXmaJMXN2 AdWjdrL+eK/naLIkwxdz1Y3XOLgEEfo8LudL6SLp6uLx7JBVmH8vTtuLxMZlrLOXY2kl Ijt/slQs22EDENMS/FxbP7oURhVE+LfhZhrB/g7KcRh6P02Yy+cHp/xhoJa9sUMvPprs KfTb2GS++MQV9+gMTfqrxqfiiUhDCY+/q0FYoR/GU/gB8ayml9c/6oJPfPXZwJPthe7s DkzA== X-Gm-Message-State: AFeK/H1jppKjKmbg+iz+YRQzRTtWhlaCpSOq5y9iaOqWNOrg9EDDbXduQIY5C+m5oMUD5yKQ X-Received: by 10.46.33.168 with SMTP id h40mr15091491lji.52.1491809331256; Mon, 10 Apr 2017 00:28:51 -0700 (PDT) Received: from [172.18.8.199] (xdsl-330.wroclaw.dialog.net.pl. [81.168.129.74]) by smtp.googlemail.com with ESMTPSA id r38sm431225lfi.67.2017.04.10.00.28.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Apr 2017 00:28:50 -0700 (PDT) To: dev@avro.apache.org From: Rafal Kluszczynski Subject: Why canonical form excludes default? Message-ID: <3cc25375-761e-9f4f-6a86-73da172691da@allegrogroup.com> Date: Mon, 10 Apr 2017 09:29:00 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit archived-at: Mon, 10 Apr 2017 07:29:30 -0000 Hello, I have a question about canonical form. So far, we are storing schemas in schema-registry service. Usually this mean, that developers use different schema versions on dev, test or production environments. That is why we were interested in using fingerprint as unique schema identifier for particular version (the same on every env). This, of course, mean we have to adapt schema-registry and that is OK for us. Unfortunately, default is also stripped from original schema which in our case is important for such tools like Hue or Presto. Could you explain why default value is stripped and what is the basic idea behind fingerprint and canonical form in current version of Avro specification (1.8.1)? Kind regards, -- // Rafal Kluszczynski Software Engineer Allegro