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 F4115200C38 for ; Wed, 15 Mar 2017 11:15:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id F3268160B70; Wed, 15 Mar 2017 10:15:46 +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 4CD85160B8A for ; Wed, 15 Mar 2017 11:15:46 +0100 (CET) Received: (qmail 77977 invoked by uid 500); 15 Mar 2017 10:15:45 -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 77854 invoked by uid 99); 15 Mar 2017 10:15:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2017 10:15:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DCF33182170 for ; Wed, 15 Mar 2017 10:15:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.651 X-Spam-Level: X-Spam-Status: No, score=0.651 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id qa2uFLsDT-3t for ; Wed, 15 Mar 2017 10:15:44 +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 C850E5F4AA for ; Wed, 15 Mar 2017 10:15:43 +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 8EE79E0AE8 for ; Wed, 15 Mar 2017 10:15:42 +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 DD795243BA for ; Wed, 15 Mar 2017 10:15:41 +0000 (UTC) Date: Wed, 15 Mar 2017 10:15:41 +0000 (UTC) From: "Fabian Hueske (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-6059) Reject DataSet and DataStream without RowTypeInformation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 15 Mar 2017 10:15:47 -0000 Fabian Hueske created FLINK-6059: ------------------------------------ Summary: Reject DataSet and DataStream without RowTypeInformation Key: FLINK-6059 URL: https://issues.apache.org/jira/browse/FLINK-6059 Project: Flink Issue Type: Bug Components: Table API & SQL Affects Versions: 1.2.0, 1.3.0 Reporter: Fabian Hueske It is not possible to automatically extract proper type information for {{Row}} because it is not typed with generics and holds values in an {{Object[]}}. Consequently is handled as {{GenericType}} unless a {{RowTypeInfo}} is explicitly specified. This can lead to unexpected behavior when converting a {{DataSet}} or {{DataStream}} into a Table. If the data set or data stream has a {{GenericType}}, the rows are treated as atomic type and converted into a single field. I think we should reject input types of {{GenericType}} when converting data sets and data streams and request a proper {{RowTypeInfo}}. -- This message was sent by Atlassian JIRA (v6.3.15#6346)