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 64774200C41 for ; Fri, 10 Mar 2017 04:51:44 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 631EB160B84; Fri, 10 Mar 2017 03:51:44 +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 AC44C160B75 for ; Fri, 10 Mar 2017 04:51:43 +0100 (CET) Received: (qmail 91169 invoked by uid 500); 10 Mar 2017 03:51:42 -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 91158 invoked by uid 99); 10 Mar 2017 03:51:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Mar 2017 03:51:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1A14DC67E9 for ; Fri, 10 Mar 2017 03:51:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id oSmwla7maX1X for ; Fri, 10 Mar 2017 03:51:41 +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 2AABE5F1EE for ; Fri, 10 Mar 2017 03:51:41 +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 34463E0045 for ; Fri, 10 Mar 2017 03:51:38 +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 E4912243A6 for ; Fri, 10 Mar 2017 03:51:37 +0000 (UTC) Date: Fri, 10 Mar 2017 03:51:37 +0000 (UTC) From: "Luke Hutchison (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-6016) Newlines should be valid in quoted strings in CSV MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 10 Mar 2017 03:51:44 -0000 Luke Hutchison created FLINK-6016: ------------------------------------- Summary: Newlines should be valid in quoted strings in CSV Key: FLINK-6016 URL: https://issues.apache.org/jira/browse/FLINK-6016 Project: Flink Issue Type: Bug Components: Batch Connectors and Input/Output Formats Affects Versions: 1.2.0 Reporter: Luke Hutchison The RFC for the CSV format specifies that newlines are valid in quoted strings in CSV: https://tools.ietf.org/html/rfc4180 However, when parsing a CSV file with Flink containing a newline, such as: "3 4",5 you get this exception: Line could not be parsed: '"3' ParserError UNTERMINATED_QUOTED_STRING Expect field types: class java.lang.String, class java.lang.String -- This message was sent by Atlassian JIRA (v6.3.15#6346)