Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB94017296 for ; Sun, 26 Oct 2014 16:27:13 +0000 (UTC) Received: (qmail 16930 invoked by uid 500); 26 Oct 2014 16:27:13 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 16889 invoked by uid 500); 26 Oct 2014 16:27:13 -0000 Mailing-List: contact issues-help@flink.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.incubator.apache.org Delivered-To: mailing list issues@flink.incubator.apache.org Received: (qmail 16872 invoked by uid 99); 26 Oct 2014 16:27:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Oct 2014 16:27:13 +0000 X-ASF-Spam-Status: No, hits=-2000.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 26 Oct 2014 16:26:51 +0000 Received: (qmail 16440 invoked by uid 99); 26 Oct 2014 16:25:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Oct 2014 16:25:34 +0000 Date: Sun, 26 Oct 2014 16:25:34 +0000 (UTC) From: "Stephan Ewen (JIRA)" To: issues@flink.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-1182) Bad Error Message when trying to use expression keys on non-POJO types MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Stephan Ewen created FLINK-1182: ----------------------------------- Summary: Bad Error Message when trying to use expression keys on non-POJO types Key: FLINK-1182 URL: https://issues.apache.org/jira/browse/FLINK-1182 Project: Flink Issue Type: Bug Components: Java API, Scala API Affects Versions: 0.7-incubating Reporter: Stephan Ewen It says "type is not composite (but is) and goes on talking about POJO types." I think that should be fixed. {code} Type GenericType is not a composite type. Key expressions are only supported on POJO types and Tuples. A type is considered a POJO if all its fields are public, or have both getters and setters defined at org.apache.flink.api.java.operators.Keys$ExpressionKeys.(Keys.java:249) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)