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 2BE03200BC7 for ; Fri, 25 Nov 2016 14:30:15 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2A8D6160B1C; Fri, 25 Nov 2016 13:30:15 +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 9BA3D160B01 for ; Fri, 25 Nov 2016 14:30:14 +0100 (CET) Received: (qmail 70858 invoked by uid 500); 25 Nov 2016 13:30:13 -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 70847 invoked by uid 99); 25 Nov 2016 13:30:13 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Nov 2016 13:30:13 +0000 Received: from Timos-MBP.fritz.box (ip5b423f28.dynamic.kabel-deutschland.de [91.66.63.40]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 2ED9C1A0055 for ; Fri, 25 Nov 2016 13:30:12 +0000 (UTC) Subject: Re: Move Row, RowInputFormat to core package To: dev@flink.apache.org References: From: Timo Walther Message-ID: Date: Fri, 25 Nov 2016 14:30:10 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit archived-at: Fri, 25 Nov 2016 13:30:15 -0000 Hi Anton, I would also support the idea of moving Row and RowTypeInfo to Flink core. I think there are many real-world use cases where a variable-length record that supports null values is required. However, I think that those classes needs to be reworked before. They should not depend on Scala-related things. RowTypeInfo should not inherit from CaseClassTypeInfo, the current solution with the dummy field names is a hacky solution anyway. Row should not inherit from Scala classes. Regards, Timo Am 24/11/16 um 16:46 schrieb Anton Solovev: > Hello, > > > > In Scala case classes can store huge count of fields, it's really helpful for reading wide csv files, but It uses only in table api. > > what about this issue (https://issues.apache.org/jira/browse/FLINK-2186), should we use table api in machine learning library? > > To solve the issue #readCsvFile can generate RowInputFormat. > > For commodity I added another one constructor in RowTypeInfo (https://github.com/apache/flink/compare/master...tonycox:FLINK-2186-x) > > What do you think about add some scala and moving Row to Flink core? >