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 D613D200CAC for ; Mon, 5 Jun 2017 06:53:40 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D5411160BE3; Mon, 5 Jun 2017 04:53:40 +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 1E82E160BE0 for ; Mon, 5 Jun 2017 06:53:39 +0200 (CEST) Received: (qmail 94327 invoked by uid 500); 5 Jun 2017 04:53:39 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 94316 invoked by uid 99); 5 Jun 2017 04:53:38 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2017 04:53:38 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B665EDFD70; Mon, 5 Jun 2017 04:53:38 +0000 (UTC) From: gatorsmile To: reviews@spark.apache.org Reply-To: reviews@spark.apache.org References: In-Reply-To: Subject: [GitHub] spark issue #16386: [SPARK-18352][SQL] Support parsing multiline json files Content-Type: text/plain Message-Id: <20170605045338.B665EDFD70@git1-us-west.apache.org> Date: Mon, 5 Jun 2017 04:53:38 +0000 (UTC) archived-at: Mon, 05 Jun 2017 04:53:41 -0000 Github user gatorsmile commented on the issue: https://github.com/apache/spark/pull/16386 @NathanHowell It sounds like we also can provide multi-line support for JSON too. For example, in a single JSON file ``` {"a": 1, "b": 1.1} {"a": 2, "b": 1.1} {"a": 3, "b": 1.1} ``` When using the `wholeFile` mode, we only parse the first Json record `{"a": 1, b": 1.1}` but ignore the following records. It sounds like we should also parse them too and rename `wholeFile` to `multiLine`? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org For additional commands, e-mail: reviews-help@spark.apache.org