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 A1708200BE3 for ; Thu, 8 Dec 2016 04:48:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A00BA160B26; Thu, 8 Dec 2016 03:48: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 E7D64160B0C for ; Thu, 8 Dec 2016 04:48:49 +0100 (CET) Received: (qmail 8278 invoked by uid 500); 8 Dec 2016 03:48:49 -0000 Mailing-List: contact dev-help@thrift.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@thrift.apache.org Delivered-To: mailing list dev@thrift.apache.org Received: (qmail 8261 invoked by uid 99); 8 Dec 2016 03:48:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2016 03:48:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 397E61A089E for ; Thu, 8 Dec 2016 03:48:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.12 X-Spam-Level: X-Spam-Status: No, score=-0.12 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id gub4oHOoNn9e for ; Thu, 8 Dec 2016 03:48:46 +0000 (UTC) Received: from mail-qk0-f169.google.com (mail-qk0-f169.google.com [209.85.220.169]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 5E4E85F39F for ; Thu, 8 Dec 2016 03:48:45 +0000 (UTC) Received: by mail-qk0-f169.google.com with SMTP id n21so438734545qka.3 for ; Wed, 07 Dec 2016 19:48:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=PH+Q1HDU8Fp9/w0kO3XV2Jp0G7WvGEzHWZNYP/whOlM=; b=skG6kaxFQKa2tbpBkG1KRiobRuxpOGU/iVJEjVPzbZPTpT8XH1/enu6jY2kSko1cLk ZxeIPzLy8iEEtf5u0rLSzZO1UfGBhg7wps/uYVaOCZn93DlFs6qdGj1MizQ+H9BAO0Sw aCB0SsllnLo50OvdiqV89Tuyk55OkdO0JY7D3SiKAfDZvbObTiZraQ3hihpfv7EO1lNw hklNdi2ZZxogfDMo+lwgSE92Akg08ShtJrFsSCzXx/zMdUJkWXczkuIhyCw9z59tnFjK tl+YfQOeObbSXNqFrqGkengCwxNCafg5LU/jDnDVlmuyTY7kWLVGLSp9l7cuKDbOnMLw utbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=PH+Q1HDU8Fp9/w0kO3XV2Jp0G7WvGEzHWZNYP/whOlM=; b=BWUzQac9dslQUoUSuzAeZtsmQjjcAOjk6crxhkdBYWHr7mAzFjHeOBEpue7Si7Zpaa 5k4/XyA9E2NXhNaANVtAqKLeOgKDaPb8Emz6ehHJyBx5nE+Nd1Z4yo8Yoqc7hxIQRhxS jBcd6ozQQqiMqWg7WhISUUbQqO/Re0gf8whlz2UpLtmb43uESLpiJJ2tvfXd8mKbLXHd GpEtzaJ9OWCdbD8DoZ/vrfHjBeXVY2SlGFR2n2X9J+ErZk5aZjfNX+WkAsx6Qw/+lZm9 W6VgLGge2vX4SysVMwoswz177G7Uv6ggumbZfqewMo1qClPQf34gAr6sQvE9JWR/7KGX e1bw== X-Gm-Message-State: AKaTC00Vgn1RP7zPtGsqshUqtAiIlY4SAfwZNnu2pQCZq0m7YLTQixBGcrkCCVBlOHxV9pcaFipLs6DJYoKAxw== X-Received: by 10.55.187.65 with SMTP id l62mr68709342qkf.270.1481168924276; Wed, 07 Dec 2016 19:48:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.59.24 with HTTP; Wed, 7 Dec 2016 19:48:43 -0800 (PST) In-Reply-To: References: From: Allen George Date: Wed, 7 Dec 2016 22:48:43 -0500 Message-ID: Subject: Re: Why are there no unions in ThriftTest.thrift? To: dev@thrift.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable archived-at: Thu, 08 Dec 2016 03:48:50 -0000 Ooops. My bad - "Jens" not "Jen". So sorry for the misspelling :( Terminal Musings: http://www.allengeorge.com/ Raft in Java: https://github.com/allengeorge/libraft/ Twitter: https://twitter.com/allenageorge/ On Wed, Dec 7, 2016 at 10:48 PM, Allen George wrot= e: > Hi Jen, > > Ah. That makes sense. Absolutely - I'd be happy to toss up a PR in the > next few days. > > Allen > Terminal Musings: http://www.allengeorge.com/ > Raft in Java: https://github.com/allengeorge/libraft/ > Twitter: https://twitter.com/allenageorge/ > > > On Wed, Dec 7, 2016 at 3:09 AM, Jens Geyer wrote: >> Hi George, >> >> good question. Main reason is very likely because a) they were added lat= er >> and b) they work a lot like structs. >> >> Nevertheless you are absolutely right, they should be, as they are a cor= e >> part of the language. Would you mind adding them and some test cases in = one >> or two languages of your choice? That would be awesome. Having that, we = can >> start integrating those test cases in all other languages. >> >> @Aki, Jake & Roger: That will very likely break the Test suite until all >> languages are properly covered. How can we handle this? Feature branch >> maybe? >> >> Have fun, >> JensG >> >> >> -----Urspr=C3=BCngliche Nachricht----- >> From: Allen George >> Sent: Wednesday, December 7, 2016 12:09 AM >> To: dev@thrift.apache.org >> Subject: Why are there no unions in ThriftTest.thrift? >> >> It seems like a lot of other cases are covered, and unions seem like a >> surprising omission. Why is that? I also notice that includes (and so, >> namespaced-types) are not there as well. >> >> Thanks, >> Allen >>