Uploaded image for project: 'Kite SDK'
  1. Kite SDK
  2. KITE-323

Unpartitioned FS Datasets will create empty files when getWriter is called

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      None

      Description

      When a Dataset is not partitioned, a file writer is returned by the DatasetView#newWriter method. If this writer is opened and closed without writing any data, it will still write a file with just a file header. The FS implementation shouldn't create files unless records are written, even though open is called, open signals that the caller is ready to write, not that they are guaranteed to.

        Attachments

          Activity

            People

            • Assignee:
              blue Ryan Blue
              Reporter:
              blue Ryan Blue
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: