spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <>
Subject [jira] [Assigned] (SPARK-26081) Do not write empty files by text datasources
Date Thu, 15 Nov 2018 21:17:00 GMT


Apache Spark reassigned SPARK-26081:

    Assignee:     (was: Apache Spark)

> Do not write empty files by text datasources
> --------------------------------------------
>                 Key: SPARK-26081
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Maxim Gekk
>            Priority: Minor
> Text based datasources like CSV, JSON and Text produces empty files for empty partitions.
This introduces additional overhead while opening and reading such files back. In current
implementation of OutputWriter, the output stream are created eagerly even no records are
written to the stream. So, creation can be postponed up to the first write.

This message was sent by Atlassian JIRA

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

View raw message