Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E822188D3 for ; Sun, 8 Nov 2015 22:27:09 +0000 (UTC) Received: (qmail 37676 invoked by uid 500); 8 Nov 2015 22:27:09 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 37606 invoked by uid 500); 8 Nov 2015 22:27:09 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 37595 invoked by uid 99); 8 Nov 2015 22:27:08 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Nov 2015 22:27:08 +0000 Received: from [192.168.178.37] (x4d0c21f9.dyn.telefonica.de [77.12.33.249]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 507301A0252 for ; Sun, 8 Nov 2015 22:27:08 +0000 (UTC) Message-ID: <563FCC3A.2060208@apache.org> Date: Sun, 08 Nov 2015 23:27:06 +0100 From: Chesnay Schepler User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:16.0) Gecko/20121005 Thunderbird/16.0 MIME-Version: 1.0 To: dev@flink.apache.org Subject: Re: Function input type validation References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 08.11.2015 21:28, Gyula Fóra wrote: > Let's say I want to implement my own TupleTypeinfo that handles null > values, and I pass this typeinfo in the returns call of an operation. This > will most likely fail when the next operation validates the input although > I think it shouldn't. So i just tried this. Removed the final modifier from TupleTypeInfo, created one that extended TupleTypeInfo, threw in a returns() call into the ConnectedComponents example and it passed the input validation. Unless i misunderstood something you're premise is invalid.