spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gatorsmile <>
Subject [GitHub] spark issue #16386: [SPARK-18352][SQL] Support parsing multiline json files
Date Mon, 05 Jun 2017 04:53:38 GMT
Github user gatorsmile commented on the issue:
    @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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message