Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-20568

Delete files after processing in structured streaming

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0, 2.2.1
    • 3.0.0
    • Structured Streaming
    • None

    Description

      It would be great to be able to delete files after processing them with structured streaming.

      For example, I am reading in a bunch of JSON files and converting them into Parquet. If the JSON files are not deleted after they are processed, it quickly fills up my hard drive. I originally posted this on Stack Overflow and was recommended to make a feature request for it.

      Attachments

        Issue Links

          Activity

            People

              kabhwan Jungtaek Lim
              saulshanabrook Saul Shanabrook
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: