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 EAF642009A8 for ; Tue, 17 May 2016 22:13:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E9ABA160A1F; Tue, 17 May 2016 20:13: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 695FA1607A8 for ; Tue, 17 May 2016 22:13:15 +0200 (CEST) Received: (qmail 79016 invoked by uid 500); 17 May 2016 20:13: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 78808 invoked by uid 99); 17 May 2016 20:13:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2016 20:13:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8958B2C1F5D for ; Tue, 17 May 2016 20:13:13 +0000 (UTC) Date: Tue, 17 May 2016 20:13:13 +0000 (UTC) From: "Tatu Saloranta (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-3921) StringParser not specifying encoding to use MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 17 May 2016 20:13:16 -0000 Tatu Saloranta created FLINK-3921: ------------------------------------- Summary: StringParser not specifying encoding to use Key: FLINK-3921 URL: https://issues.apache.org/jira/browse/FLINK-3921 Project: Flink Issue Type: Improvement Components: Core Affects Versions: 1.0.3 Reporter: Tatu Saloranta Priority: Minor Looking at default `TypeSerializer` instances I noticed what looks like a minor flaw, unless I am missing something. Whereas all other array serializers indicate that type is not immutable (since in Java, arrays are not immutable), `StringArraySerializer` has: ``` @Override public boolean isImmutableType() { return true; } ``` and I think it should instead return `false`. I could create a PR, but seems like a small enough thing that issue report makes more sense. I tried looking for deps to see if there's a test for this, but couldn't find one; otherwise could submit a test fix. -- This message was sent by Atlassian JIRA (v6.3.4#6332)